« first day (1905 days earlier)      last day (3235 days later) » 

05:03
so, I found this cryptic file from september 28, 2013:
('*&[} %aiK@#\'J534;!./4(%2
R5"9;(!#+%2'[12,24].tr('!-;
','a-z ')<<?,).each_char do
|c|$><<c;sleep (1.0)/20;end
is it formatted like that
o.o
do you have any way of running it
it's Ruby, and it actually does something
neat
05:04
It's not Hello World, is it?
I also found a Ruby program that traps all errors. ^C is considered an interrupt error in Ruby
I had to background it and kill %1
because it read input in an infinite loop -_-
... okay, kill didn't work because that's also an error in Ruby
kill -9 did it...
import java.util.Scanner;
public class is_it_like_this{
    Scanner sc;
    public static void troll(){
        try{
            String s = sc.nextLine();
        }catch(Exception e){
            troll();
        }
    }
    public static void main(String[] args){
        sc = new Scanner(System.in);
        troll();
    }
}
@KennyLau I get trolled either way ;-;
The dankness is strong with this one
so did it do anything
lol
@Doorknob Why don't you just close it?
05:09
close what, the terminal?
because I didn't want to have to go find the directory again :P
I see xd
what does kill -9 do?
kills with SIGINT
kills it with the -9 flag which kills it without asking it if it wants to be killed
05:11
that's so cruel xd
er wait, not INT, it's KILL
Ctrl-Break for super kill, at least in Windows
@Maltysen "Hey, do you want to be killed?" "Yes please."
-9 kills it the deadest
what is break? @feersum
05:12
@El'endiaStarman nihilist programs :P
It means you need to hit the button so hard it breaks.
I wonder what kill -4.5 is. Kill it halfway? 50% chance of being killed?
kill: invalid signal number: -4.5
there are numbers from 0-16 for kill irrc
they go to 31
05:13
Ctrl-Break in case of emergency.
Hey, do kill -11 and turn it up to 11!
just opened htop and it looks like they do go to 31
11 is SIGSEGV
aka the signal for a segfault
llama@llama:...misc/oldstuffs/ruby$ sleep 10000
^Z
zsh: suspended  sleep 10000
llama@llama:...misc/oldstuffs/ruby$ kill -11 %1
[1]  + segmentation fault  sleep 10000
^ that's how I figured that out :P
Is there any data type of 4 bits?
Nibble.
...or is that 2 bits?
05:15
A nibble is 4 bits yes
@Doorknob kill -0 is cancel lol
@El'endiaStarman spelled nybble
Java:

1 bit: boolean
8 bits: byte
16 bits: short
32 bits: integer
64 bits: long
I think a chomp is 16 bits.
05:16
Rust's names make sense though
i8, i16, i32, i64...
I mean is there any programming language which uses a data type of 4 bits?
Probably not any modern ones...
well, it is exactly a hex digit
maybe I would call it a hex
@Doorknob that's lame, all terms should be incomprehensible to somebody who doesnt use the language
@Doorknob Does Rust allow you to do i7?
05:17
no
i128?
@Doorknob What about i1?
core i5?
IIRC it's only 8, 16, 32, 64
iMac?
05:18
(there's i8, i16, ... and f8, f16... for floats)
ii, matey?
Well what does that ellipsis after i64 represent?
and also u8, u16, ... for unsigned types
There's a couple of esolangs that use 4 bits but they're, well, esolangs
@feersum the f[...] and u[...] types
05:18
@Sp3000 e.g.?
Also isize and usize
and char I guess that doesn't count though
@Sp3000 Why would someone do that ._.
> Viktor's amazing 4-bit processor
Viktor's Processoro Supreme
05:19
> Viktor's amazing 4-bit processor is an esoteric computer hardware
there are more pages under nybble than nibble
@Doorknob An assembly language!!!!!!!!!
wtaf
> designed and soldered by
this is impressive
05:20
What in the world is "esoteric hardware"??
hardware that is esoteric
.-.
should Cheddar's logo just be a slice of cheese or something else?
it should be a slice of mozzarella cheese
@Downgoat don't go reinventing the cheese wheel for the logo
@Downgoat Do you even need to ask this question? Why would it be anything other than cheese?
05:22
how's that?
@KennyLau Also while I'm at it, I'm not going to provide what I have for the Befunge test cases because I have no proof of optimality
@AlexA. it could be an avocad
@Downgoat make it a juic avocad
@Downgoat That's not related to cheddar
05:23
@Sp3000 so... I'll just write what I can prove? I'll wait for someone to develop an optimal algorithm
Hey @Sp3, has your ><> review been well received? :)
@Downgoat -3/10 not cheddar cheese
@KennyLau Sure, that sounds good. I'd prefer to be sure of optimality, rather than posting a test case saying "the best I have is this but I don't know if we can do better"
@Maltysen its goat cheez
05:24
@Downgoat Brie is not goat cheese
I found a file called 1337h4xx0r.rb
llama@llama:...misc/oldstuffs/ruby$ ruby looksImportant.rb
> um?
Analyzing files
Analyzing data
Activating algorithm 9
Accessing files
Hacking into databases
Executing function 1
Deriving data
Controlling IP 38.135.163.147
Analyzing IP addresses
Accessing files
Deriving hackable IPs
Executing algorithm 0
Deriving data
Activating function 4
Finding formulas
Searching for files
Hacking IP 101.13.171.155
Hacking successful!
O_O
@AlexA. Was okay - seems like OP's new to both CR and PPCG, and posted a few Befunge answers in the past few days
> Hacking IP 101.13.171.155
uhhhh
@Doorknob was this the "make it look like I'm working"?
@Maltysen probably
It apparently generates IPs randomly
05:25
does Cheddar chese have holes?
why would you want to look like you were hacking something
does it randomly choose "algorithms" and "functions"
The 1337h4xx0r.rb file contained one line, which executed the looksImportant.rb file O_o
3
Sounds like a bad popcon.
@poi830 I think so
how's this?
05:27
deriving data lol
@Downgoat good, but not enough avocad
rogue drone tries to kill its creator
it has begun
rare footage
@orlp Marky must of been running it
@Sp3000 Oh, posted them here? That's great. :)
05:28
llama@llama:...misc/oldstuffs/ruby$ ruby rsent.rb
The giant orange dog drank the computer.
um ok
@Doorknob wat
upload your oldstuffs folder to github please
i need to see this
llama@llama:...misc/oldstuffs/ruby$ ruby jspre.rb
llama@llama:...misc/oldstuffs/ruby$ cat jspre.rb
llama@llama:...misc/oldstuffs/ruby$ ...
why is that file just... empty
05:30
@Doorknob upload oldstuffs to github please
@Doorknob also upload ~/.ssh/
just upload root
> poseted
>_<
to whoever answered "what logo":
@Downgoat how do I change my vote now that I know which logo it is?
05:32
you cant
@Maltysen uh, just tell me
I try for thirtee minuit and no chaneg
its the beauty of strawpoll
@Downgoat To be fair, you posted like 10 pictures of cheese, so it was difficult to determine which picture of cheese you were referring to.
llama@llama:...misc/oldstuffs/ruby$ ruby special\ numbers.rb
um hello
hi?
0, and that's all
what
llama@llama:...misc/oldstuffs/ruby$ wait what happened
05:32
@Maltysen i tri mak logo thirtee minut an no 1 liek
@Doorknob the third line was output, the rest was me typing
lol
code for the program?
@Doorknob wait is an actual command though :P
llama@llama:...misc/oldstuffs/ruby$ wait what happened
wait: job not found: what
rip
05:33
llama@llama:...misc/oldstuffs/ruby$ ruby special\ numbers.rb
123
456
131, 151, 181, 191, 313, 353, 373, 383, and that's all
789
@Sp3000 Nice, thanks for the link.
@Doorknob is that... primes? what primes?
@Doorknob whats the code for the program
@Doorknob 456 isn't prime
@Maltysen that was my input
05:34
nor is 123
oh ok
for x in ((gets.chomp.to_i)..(gets.chomp.to_i))
  print x.to_s + ', ' if x.to_s == x.to_s.reverse and isPrime(x)[0]
end
puts 'and that\'s all'
isPrime is a prime check at the top
it looks horribly inefficient also
i see
palindrome primes
05:34
yeah
so it counts 0 as a palindrome prime?
what about 1
apparently
llama@llama:...misc/oldstuffs/ruby$ ruby special\ numbers.rb
0
100
0, 1, 2, 3, 4, 5, 7, 9, 11, and that's all
okay
the prime check is broken lol
lmao 9
and 4
post the prime-check code
this is code-review
05:36
who submitted as Downgoat ಠ_ಠ
@poi830 can I not do that
it's terrible
@Doorknob its required of you
@AlexA. ;_;
It's potentially close to the worst code I've written (did I write this?)
it considers 4 and 9 prime hahaha
05:37
two people submitted as downgoat lol
okay, here you go...
def isPrime i
  prime=true
  badnum=0
  i=i.to_i
  (2...(Math.sqrt i)).each do|x|
    if i% x==0 then prime=false
      badnum=x
      break
    end
  end
  return prime, badnum
end
wince
> Are you a stalker? Plz don't stalker me.
no one has that username on ppcg
why does it return "badnum" if the program doesnt even use it
@poi830 there are more pressing questions to be asked
05:39
fair enough
>___<
llama@llama:...misc/oldstuffs/ruby$ ruby mylang.rb
prog: (funcname8)FUNCNAMEfuncname
begin: {}
{"funcname"=>"8"}
{"funcname"=>"8"}
prog: 8
begin: {"funcname"=>"8"}
8
{"funcname"=>"8"}
{"funcname"=>"8"}
{"funcname"=>""}
end: {"funcname"=>""}
{"funcname"=>""}
{"funcname"=>""}
prog:
begin: {"funcname"=>""}
mylang.rb:62:in `parse': Generic error (Exception)
	from mylang.rb:53:in `parse'
	from mylang.rb:75:in `<main>'
what even
lmao
it's 75 lines long
fiiiiine
@Downgoat What?
@Downgoat Oh, I didn't know there was a form. The "Not Alex" person actually isn't Alex.
PikaAmnn lol
llama@llama:...misc/oldstuffs/ruby$ ruby pi2.rb
hi
0.2E1
how are you
llama@llama:...misc/oldstuffs/ruby$ okay
(the second line was output)
05:42
.mlg lmao
> parse(IO.readlines('mylang.mlg').join)
@poi830 I don't think I knew what that meant; I think it was just supposed to be an abbreviation >_<
> mylang.mlg
> .mlg
@AlexA. yeah, suuuuuuuuure…
@Maltysen I've been in and out of here doing other things so I barely know what's happening right now
@Doorknob upload to github please i need to use this for everything
05:43
@AlexA. ¬_¬
@AlexA. I'm looking through an old directory full of insanely bad code
@AlexA. ( ͡° ͜ʖ ͡°)
Side note: Paying graduate tuition is quite literally the worst thing ever.
> avocadowngoat
.......
llama@llama:...misc/oldstuffs/ruby$ ruby pi2.rb
100
0.271828182845904523541394574723316060047757203600331189165145278713656889878086281181305125124179271000800655656519668938427350076806931888240263631590791348655317558460427221504533213120369484712371897704802923967955588560374837998732555771101054017451895311394736662555315939358446630576656747339808906373526905486066822420806458659330645017744696385848652091526121544960229104487719685938336328748590149097585100698542828308910564522140629266503555010204859E1
that's not pi! that's e
05:43
@AlexA. Well, if you like having money...
e/sqrt(input) maybe
this does not add up
Generally, when do we say that new languages are allowed for a question?
@KennyLau When they meet our definition of a programming language
@KennyLau when it fullfils our definition of a programming language
05:45
ninja'd
llama@llama:...misc/oldstuffs/ruby$ ruby pi3.rb
Enter a number: no
Prime!
what???
Enter a number: you can't tell me what to do
Prime!
Enter a number: THAT WASN'T EVEN A NUMBER
Prime!
Enter a number: liar
Prime!
Enter a number: 10
Divisible by 2 (5)
Enter a number: 9
Prime!
Enter a number: rofl
2
I think it uses the same prime checking code...
@KennyLau They can only be competitive for winning if they were created before a challenge was posted though.
so these non-numbers are 0 which count as prime?
@AlexA. @Downgoat I mean, generally when do we allow languages newer than a challenge participate in a challenge?
@Doorknob i wrote ti-basic programs more functional than these
05:46
@Downgoat brb, making socks with those usernames
@poi830 I... I guess...
@KennyLau we always due but it is not eligable for getting the freen checkmard
Like this
172
Q: "Hello, World!"

Martin BüttnerSo... uh... this is a bit embarrassing. But we don't have a plain "Hello, World!" challenge yet (despite having 35 variants tagged with hello-world, and counting). While this is not the most interesting code golf in the common languages, finding the shortest solution in certain esolangs can be a ...

"Unlike our usual rules, feel free to use a language (or language version) even if it's newer than this challenge."
> freen checkmard
o_O
@QPaysTaxes What do you mean?
05:46
@KennyLau that question is a catalog so it is an exception
@KennyLau They can always participate they're just not eligible for winning.
llama@llama:...misc/oldstuffs/ruby$ ruby hist.rb
alright so what does this one do
1 |
2 |##
3 |#
4 |###
5 |
6 |
7 |#
1
A: Stable Game of Life

DennisJelly, 26 bytes ṙ1,-S+zµ⁺_|=3 ÇÐḶLỊẋ@ÇÐĿL’ Try it online! or verify all test cases. Larger test cases (from @Katenkyo's answer): 15×15 stable | 15×14 glider

@Doorknob this one actually does something intelligible
@Downgoat What counts as a catalogue?
05:47
dennis is a legend
@Sherlock9 hi :)
@Doorknob unlike Chatgoat
@poi830 I knew you'd figure that out quickly
@poi830 what's new? :P
@Doorknob yeah this one actually works i take it back
05:47
llama@llama:...misc/oldstuffs/ruby$ ruby hist.rb

hist.rb:2:in `<main>': undefined method `[]' for nil:NilClass (NoMethodError)
yeah not so much
@Maltysen people don't appreciate it when I edit my message a hundered times so I'm not going to bother to fix it
@poi830 One does not simply outgolf Dennis.
yeah i saw that on the meme thread by @Doorknob
@Downgoat you just pinged me 7 times
2
:/
05:48
Hey Kenny
@Maltysen am I supposed to make a perfect hundred pigs?
@Downgoat what
what?
llama@llama:...misc/oldstuffs/ruby$ ruby math.rb
6+7=13
correct!
Score: 1 correct | 0 wrong

5-9=-4
correct!
Score: 2 correct | 0 wrong

3*6=18
correct!
Score: 3 correct | 0 wrong

1*6=why am I doing this
wrong!
Score: 3 correct | 1 wrong
@Downgoat What counts as part of a catalog?
05:49
@Doorknob wow you cant even do arithmetic how are you in algebra
@zyabin101 So my friend who is also a programming guy and also an engineering guy took one look at UGL and decided to try implementing it in Arduino
@Doorknob amusingly i have that same program on my calculator lmao
Not very soon, since he's busy as heck, but I thought you'd be glad to know
@KennyLau for some reason, one of my friends' translations for the tahu*8 sentence is: "Suddenly, tofus know (that) tofus know."
05:52
@Sherlock9 Don't you have a plural marker?
@Downgoat it tells me ive already responded but i only see an avocadowngoat
@KennyLau I think that's reduplication, but I'm not sure how we structured it in this case. It has been more than a month now since we thought it up, and none of us bothered to write it down till now :P
@Downgoat I would but its not letting me respond again? Should I try again with my spam accounts?
@Sherlock9 How would you say, e.g. cat and cats?
@Maltysen oh lemme clear the responses
05:53
0
Q: Convert to Roman Numeral!

Kenny LauYour task is to convert a given positive integer from Arabic numeral to Roman numeral. Things get difficult when you count to 4000. The romans did this by adding a line above a symbol to multiply that symbol by 1 000. However, overlines aren't exactly displayable in ASCII. Also, there are doubl...

@poi830 @Maltysen now try
@Downgoat oh, I wasn't actually gonna give you a helpful response
it was a joke
ಠ_ಠ
llama@llama:...misc/oldstuffs/ruby$ ruby texttotag.rb
um ok what is this
Spaces between tags? y/n y
[tag:um] [tag:ok] [tag:what] [tag:is] [tag:this]
interesting...
@KennyLau "kucing dan kucing-kucing"
05:55
@Downgoat me neither
@Sherlock9 thanks for the legitimate repsonse
@Doorknob
And I do find it amusing that "dan" meaning "and" is an anagram of "and"
@Downgoat Not a problem :D
translate: kucing dan kucing-kucing
(from Indonesian) the cat and the cat-cat
Sweet
Which translator is that from XD
05:56
Bing
@AlexA. oh shit a cat-cat? my anti-cat-cat-cat can only deal with cat-cat-cat-cats
You it is nailed to the Bing
@Maltysen were you the one who have a +0 ;_;
I should probably ask the translator near me, aka my mother who knows the language better
05:57
@AlexA. oh god, my ears.
@Downgoat no my actual response was helpful, it was a +1 and I said the perspective was wrong
I was just worried about stalkers for the other questions
@Sherlock9 So... Tahu-tahu, tahu-tahu tahu tahu-tahu tahu.
@poi830 were you the one who gave a +0 ;_;
05:57
@Downgoat This is one of the few albums I have on vinyl. :P
llama@llama:...misc/oldstuffs/ruby$ ruby simpleinterpret.rb
Enter your name: Knobbers
Hi Knobbers
i like the logo
translate: Tahu-tahu, tahu-tahu tahu tahu-tahu tahu.
(from Malay) Tahu-tahu, tahu-tahu know tahu-tahu know.
Nice
@Doorknob program of the year
05:58
@KennyLau Could be. I'm sure that it was the way I first wrote it, but I could be wrong
> downgoat pls give me bounty
whoever said that claims to be downgoat so give yourself the bounty >:D

« first day (1905 days earlier)      last day (3235 days later) »