« first day (2036 days earlier)      last day (2798 days later) » 

4:01 PM
so, why can't you do the same thing for compiled programs?
 
I inherited some code from a former PhD student and after I finally got it to compile, it greeted me with WARNING: DEBUG BUILD — SHIT WILL BE SLOW. I think I would have liked that guy.
8
 
Dude that star text cutoff tho
 
maybe it'll change with 10 stars
 
@Syxer I'm using SELinux with a context switch to confine interpreters. That gives a fine-grained control of the application's permissions.
 
@Dennis ooh okay probably easier that way
 
4:05 PM
Nothing that involves SELinux is easy (at least not for a noob like me), but it should be more secure.
@NathanMerrill Hm, that would require compiling the interpreter every time it is run. That works as a last resort, but I hope there's a better way.
 
@Lynn @Dennis - you'll be pleased to hear bounce has been used :)
 
@Dennis oh, we're talking compiling the interpreter?
 
Yaaay!
 
2
A: This isn't rocket science

Jonathan AllanJelly, 37 bytes ;”_⁾ |;ЀŒḄ€;“/___\“ VvV”“ |“ /_\”;Y Same score as existing entry, but uses a fun new feature - ŒḄ, bounce. How? ;”_⁾ |;ЀŒḄ€;“/___\“ VvV”“ |“ /_\”;Y - argument: a string, S “ |“ /_\” - the top of the rocket [" |", " /_\"] ;”_ ...

 
ah, I though you were talking about compiled languages, not interpreters
hmmm...
yeah, I agree wiping the interpreter is a bad idea
 
4:07 PM
@Lynn, just a shame I couldn't bounce to make /_\ or /___\
 
er, can't you confine a process to a single folder?
 
@JonathanAllan I was gonna say, "yay, 4-way tie", but Pyke has 35 :(
 
:(
working on it :p
 
@NathanMerrill I'm sure it's possible. Still kinda new to the SELinux thing, but I'm confident I'll figure something out.
 
ah ok :)
 
4:11 PM
@Lynn @Dennis I feel I could add one leading space in for every line and rotate by 1 (with ___\/ with truncation to at most 5 char) but cant quite see how to do so in less bytes
 
@Dennis I'd star that if you golfed out the "Linu" part.
 
( ͡° ͜ʖ ͡°)
 
@El'endiaStarman I've actually hit this limit with perfectly valid code (parsing)
 
@Geobits wow
 
What? I'm just saying, it would look great on the starboard :P
 
4:16 PM
@Geobits Thank you, Dennis's conversations about his server are going to be a lot more entertaining from now on. :)
5
 
Glad to help. Don't overlook this gem:
11 mins ago, by Dennis
Nothing that involves SELinux is easy (at least not for a noob like me), but it should be more secure.
 
@Geobits you should have waited until this conversation was over. Now Dennis is going to be careful about what he says from now on
 
Might have to switch to AppArmor...
 
@Geobits Look what you did ^
 
4:19 PM
> This guy probably spent hundreds of hours testing and researching this problem. He finally admitted to a rather drastic solution, removing the TOE chip from the NICs in multiple servers. (link)
 
Using it intentionally in future messages would be the right choice here.
 
@TimmyD When in doubt, remove the toes
 
...wow, its actually an inside joke that works online
 
I just got outgolfed in my own language.
@TùxCräftîñg any luck with that question yet?
 
Anonymous
@RohanJhunjhunwala It's a wonderful feeling
 
4:25 PM
@RohanJhunjhunwala Wow, that's wonderful!
 
if I remember correctly, it was a while before anybody outgolfed Dennis in Jelly...but that was because were all struck with awe and confusion
 
Anonymous
@Dennis Would you allow interpreters to read (and possibly write) to files within their own directory hierarchy? For example, say you had Actually cloned in /home/TIO/Actually/. Would you allow Actually to read (and possible write) to files in /home/TIO/Actually/some_directory?
 
struct -.- too much coding
 
Anonymous
@Dennis I think a possible solution here would be some sort of package management for the interpreters
 
Anonymous
Only keep the compiled interpreter around, and keep track of the current version installed. When a new version is available, download and recompile, and discard the source code.
 
4:28 PM
@LeakyNun but in all seriousness, thanks for helping out. I really do like getting outgolfed in my own language, because that implies that my language is interesting enough for someone to put in some time to lake a look at it.
 
@RohanJhunjhunwala I'm sure you will like this:
 
My very first post was made to get 10 rep so I could post in a protected post to outgolf Dennis :p
 
0
A: Sylvester's sequence

Leaky NunS.I.L.O.S, 60 bytes readIO p = 2 lblL r = p r + 1 p * r i - 1 if i L printInt r Try it online! Port of my answer in C.

 
@Mego Interpreters will be able to read most parts of the file system, but they won't be able to make any persistent changes.
 
...in Jelly that is
 
Anonymous
4:30 PM
@Dennis Ok, that's fair. That means that Actually's library support can be used on TIO once you and I get our respective stuff set up :P
 
@JonathanAllan That is awesome.
 
@JonathanAllan You'd think that would kill the meme, but no such luck.
 
@TimmyD all journeys start with the first step - make it in the right direction :)
6
 
@Dennis That's because the meme is "simply" outgolf Dennis. Getting rep on another post just to be able to answer a protected post doesn't constitute "simple."
 
4:33 PM
@Dennis Thanks :)
 
"One does not simply outgolf Dennis"
 
I didn't even choose a particularly easy question either :p
 
Anonymous
Outgolfing Dennis typically involves large bribes being sent to his internet provider
 
@Mego Does that require writing temporary files to the directory you mentioned? If so, that would require some additional tinkering...
 
Anonymous
4:36 PM
@Dennis Nope, just reading. Allowing for non-standard, user-created libraries will be a hassle on TIO, but we'll cross that bridge if people ever get interested enough to create their own libraries.
 
Anonymous
The only temporary files being written would be by Python, byte-compiling some files, but that's not essential
 
0
Q: Output source file name

vikarjramunWrite a program that prints the name of its source file. REPL environments are not allowed for this challenge. Your code must work in any file that your language's interpreter will accept. Your answer must also be a full program, not just a function. The source code's file extension must be print...

 
blast off! Shameless self promotion!
0
A: This isn't rocket science

Rohan JhunjhunwalaS.I.L.O.S 157 bytes (leading linefeed) def p print : lbl pLine | pLine /_\ loadLine : a = 256 :a x = get a if x c GOTO e :c p | pChar x pLine | pChar l a + 1 if x a :e pLine |_| pLine/___\ p VvV It should be fairly readable. Feel free to try it online!

 
@RohanJhunjhunwala `pLine/___` has not worked and spaces are printing something else on TIO
 
Yeah I get an error when I run it on TIO
Oh I didn't realize input needed to be command line arg
But still didn't work properly
 
4:44 PM
@JonathanAllan fixing now
 
Hayyyyy
 
tips top hat
 
@RohanJhunjhunwala - why no final dot in S.I.L.O.S(.)?
NAA?
 
@zyabin101 Are you up for this challenge?
 
4:46 PM
@JonathanAllan fixed,
@JonathanAllan idk, on esolangs there is no final dot so I guess thats the official name
@zyabin101 chatgoat still thinks he's you
 
@LeakyNun Ohh, exempt
 
@zyabin101 Ok, I'll do it then
 
@RohanJhunjhunwala He's not you, here can't be Chatgoat, how can there be Chatgoat? relieved
 
?
@BusinessCat its fixed now... turns out fixing the bugs golfed it down more
 
@zyabin101 done:
0
A: Sylvester's sequence

Leaky NunUGL, 15 bytes cuuild@$d*u@:_o Try it online!

 
4:51 PM
@JonathanAllan it's an attribute
 
@LeakyNun Ah k 😃
 
s.i.l.o.s.print()
 
s.i.l.o.superior()
2
 
@LeakyNun cuuild seems like it's Gaelic/Welsh or something. :P
 
4:53 PM
@El'endiaStarman lol
 
@El'endiaStarman XD
 
@JonathanAllan so there aren't two periods when you try to end your sentence with S.I.L.O.S.
3
 
@NathanMerrill or is there?.
 
@NathanMerrill thanks for coming up with a legitimate reason for leaving out the trailing period
 
5:01 PM
the alternate reason is that you wrote the language in PHP, and simply appended the letters together
 
It's so superior it's always the end of any sentence.
2
 
...er...read on
 
Thanks for the heads up :D
 
5:26 PM
@RohanJhunjhunwala ended up in a unreadeable mess, gave up.
 
4
A: Non-palindromic numbers

Leaky NunC, 82 bytes p(n,a,b,c,r){c=0;for(b=1;++b<n-2;c+=r==n)for(a=n,r=0;a>0;a/=b)r=r*b+a%b;return!c;} Ideone it! Explanation This code reverses n in base b and stores in r: for(a=n,r=0;a>0;a/=b)r=r*b+a%b; The outer loop counts the number of bases from 2 to n-1 in which n is a palindrome. If n...

How did my C answer get the most upvote :o
 
@TùxCräftîñg s/unreadable mess/beautiful spaghetti
 
Syntax error: Unmatched '/'
 
@LeakyNun how did the SILOS answer not get any upvotes beside mine rip
 
@RohanJhunjhunwala Would you do the challenge I just linked in SILOS?
 
5:27 PM
@LeakyNun sure
 
and btw the SILOS interpreter need to be rewritten
 
@TùxCräftîñg eh... soon (tm)
 
@TùxCräftîñg why?
@RohanJhunjhunwala Alright then
 
my brain melted when i tried to understand how the fuck it works
 
@TùxCräftîñg it aint too complicated
So it just goes through teh commands
and does them
 
5:29 PM
question: do you know you can create multiple functions in a class?
 
If it sees a branching statement it goes to the corresponding label
@TùxCräftîñg yes
 
<shameless-plug>
</shameless-plug>
 
@RohanJhunjhunwala What does :a do?
 
@TùxCräftîñg the above gitHub repo has fairly well structured code
@LeakyNun its a label
 
5:30 PM
@RohanJhunjhunwala so instead of lbla I can now do :a?
 
@LeakyNun so the def : lbl preplaces the : with lbl
 
Oh
 
> If you need more than 3 levels of indentation, you're screwed anyway, and should fix your program. –Linus Torvalds, 1995
3
 
Rohan need 8 level of indetation by mixing tabs and spaces
 
@LeakyNun yes just on the second line of code put def strToReplace replacement1 strToReplace2 replacement2
@TùxCräftîñg My IDE does it mostly for me
 
5:31 PM
@RohanJhunjhunwala Are you doing the challenge?
 
@LeakyNun yes, one second
SILOS is mindbending
 
@RohanJhunjhunwala your ide mix tabs and spaces ಠ_ಠ
 
@TùxCräftîñg no I just never hit format
@TùxCräftîñg rarely
 
;_; please press the button
 
5:33 PM
@TùxCräftîñg I will and then commit it
@TùxCräftîñg there is soon going to be gui support
 
@RohanJhunjhunwala Why is a leading linefeed needed?
 
@LeakyNun the macro definition must be on the second line
 
@RohanJhunjhunwala gui support...
 
@TùxCräftîñg I have an err... unique way of implementing it... you'll see...
 
5:34 PM
gui support in a thing where programming a factorial is hard?
@RohanJhunjhunwala yay more wtf specs
 
@TùxCräftîñg programming a factorial is trivial here silos.tryitonline.net/…
 
@ReleasingHeliumNuclei I think a 20 year old quote might not be accurate today
 
@RohanJhunjhunwala I explored so many hidden features lol
 
@LeakyNun yes, there are "undocumented features"
 
5:38 PM
1
A: Send a cosmic call

TùxCräftîñgPython 3, 64513 bytes Only use ASCII ! http://pastebin.com/PMLb4Xti Old version, 64529 bytes: http://pastebin.com/nteYkUtM

 
@RohanJhunjhunwala since you specified that the def must be one the second line... I moved the third line to the first line lol
 
someone deletevoted... ?
 
@TùxCräftîñg can't delete-vote positive vote-count answers
 
> The square of the hypotenuse is equal to the sum of the squares of the other two sides. – Pythagoras, 500 BC
 
@LeakyNun I didn't realise that, that would work. I thought the macro wouldn't work on the first line, but it does since it parsees thorught the whole thing with a find/replace call
 
5:39 PM
 
@RohanJhunjhunwala 10 bytes off
@TùxCräftîñg nvm
 
Solutions should be self-contained (the code should be viewable without relying on an external link). Because the code is longer than the post limit, you will need to compress it and provide the compressed code (usually that's done by base-64 encoding the compressed code). Given that this code contains already-compressed data, that will be quite the challenge for you. — Mego 5 mins ago
#compressionception
 
@TùxCräftîñg huh, I think relying on a pastebin is generally acceptable
 
Compress the whole code, then exec it? :p
 
@LeakyNun thanks for saving me some bytes
 
5:43 PM
idk if posting a downloading code and adding it's length to the score is acceptable
 
@EᴀsᴛᴇʀʟʏIʀᴋ No, I'm not that good
 
@TùxCräftîñg its a "standard loophole" idk though, I think your answer is just fine.
 
okay, so only the knob has?
 
have a n upvote
 
@quartata do you know if mego has?
 
5:45 PM
Definitely not
I think we only got him to play once
 
@RohanJhunjhunwala ah forget this >_>
1
A: Send a cosmic call

Leaky NunPyth, 46381 bytes For obvious reasons it cannot be posted here. jc.BC"<too long>"127 Sample. Pastebin of hexdump of program.

another answer with code on pastebin
 
@TùxCräftîñg wait wat where is that specified
 
What is the size of the original image?
 
46370 bytes
 
5:47 PM
clearly the solution here is to store your code in image form on imgur
4
 
@LeakyNun the Sylvester sequence is hard
 
that way, if imgur goes down, both the question and the answer goes down
 
@RohanJhunjhunwala Are you doing it or not?
 
@LeakyNun yes, I just wanted to let you know that it might take a bit. Ill have it before 2:15 hopefully
 
@RohanJhunjhunwala timezone?
 
5:48 PM
EST
 
@RohanJhunjhunwala noted
 
;_; my answer is the longest
 
I want to try this with MarioLANG
 
promise to be hard
 
5:54 PM
@RohanJhunjhunwala Do you know why you need a prompt for loadLine but not readIO?
It's because of your inconsistency:
				} else if (tokens[0].equals("readIO")) {
					mem['i'] = getIntFromUser(line.substring(7));
				} else if (tokens[0].equals("rand")) {
					mem['r'] = (int) (Math.random() * evalToken(tokens[1]));
				}else if(tokens[0].equals("loadLine")){
					String in = getStringFromUser(tokens[1]);
line.substring(7) vs tokens[1]
 
@LeakyNun oh yeah, I was too lazy to count the characters in loadLine
@LeakyNun let me fix it
@LeakyNun once I'm done the challenge
 
Alright
 
So I'd just replace it with line.substring(9); right?
 
@RohanJhunjhunwala yes
 
...this is why I use other people's parsers
 
5:58 PM
@Doorknob Been scrolling through the Nethack source code and so far it's actually not that bad
I was expecting something far more hideous
 
@NathanMerrill yeah, I have been too scared to actually write a nice cfg parser
 
try out antlr
you define a grammar, and it parses it for you
 
Yeah, there are plenty of parser generators you could use
Bison supports Java I think
 

« first day (2036 days earlier)      last day (2798 days later) »