« first day (2459 days earlier)      last day (2377 days later) » 

10:08 PM
@Christopher2EZ4RTZ :| how did you know I joined, I hadn’t logged in at that time
 
@Downgoat i know everything
 
Christopher is NSA confirm
3
 
10:21 PM
Heh, VSCode Insiders updated and now it's icon has been set to the default Electron icon.
 
@Downgoat I mean I already knew you would say that
And may I say your hair looks good today
 
Tiny question: I've got a bug in a submission to a challenge which another user found a few hours after I posted it. Should I delete the answer or just mark it as buggy and non-competing? codegolf.stackexchange.com/a/146116/74172
 
@JonathanS. remove it then fix bug
 
Thanks!
 
10:48 PM
@JonathanS. buggy answers aren't valid at all (noncompeting is only for solutions in languages that postdate the challenge, and is basically obsolete anyway) so you'd have to delete anyway
 
Welp, I accidentally left the STDIN buffer at 4 characters for Funky.
 
@ATaco ...
 
@ATaco how does this happen
 
The buffer is only for reading it into a string, so io.read can read arbitrary length strings, but the chunks it's split into when processing is dependent on the buffersize.
So even if that's 1, it will still be able to read as normal, but 256 is a more suitable value.
 
@ATaco huhwhat
 
10:57 PM
When it reads from STDIN, it reads it to a Buffer, then, it appends the contents of that buffer to a string, which is checked against whichever scan pattern the user specified until it matches. The buffer size only effects the difference between speed and memory of reading STDIN.
 
@ATaco use 1073741824 buffersize :P
 
I can imagine some problems with that.
Should I add fold/reduce functions for tables in Funky? Or is that Overdoing it on the builtins?
 
@ATaco imo anything beyond +-.,[]<> is just spoiling
 
@ATaco why not
 
I don't need to make Funky more confusing, but the functions are useful in golfing
 
11:37 PM
yo annoying teammate in bedwars kept dismantling my bridges and causing me to fall into the void like 10 times (told them to stop like 5 times). all I can say is that TNT and explosive fireballs are great for revenge...
@ATaco Do explicit return statements work in Funky?
 
Nope.
 
6/10 pls implement them lol
 
Nope! I've thought of it, but it's a pain.
 
are there continue or break statements?
 
It would require I restructure a fair bit of how I actually execute things.
And no, nothing of the sort for the same reason.
 
11:40 PM
ah ok
what I did was those expressions would return a Statement object and break the immediate scope, and then keep looking up until it found the relevant code block and do whatever with it
so like return would keep looking up until it found a function and then return from it
 
All I'd really need to do is make parse.Thing return with it a flag to return a value, but that's rather messy.
I'm sort of happy with my current style anyway.
 
ah ok
it just makes loop expressions a bit painful sometimes lol
 
A side effect of this method of execution is that every expression has some form of return value.
Even if that return value is "undefined"
 
well I guess that's the same with most interpreter languages (maybe)
not really
 
It's not incredibly unique, but it is neat.
 
11:45 PM
ah ok
 
(And I'm not sure of many languages that give a return value to for statements :P)
 
0
A: Sandbox for Proposed Challenges

Conor O'BrienGenerate a program to output a string in yup code-challenge metagolf string test-battery yup is an older language of mine with the following commands: 0 Pushes 0 to the stack. e Takes an argument N and pushes exp(N). | Takes an argument N and pushes ln(N). ~ Switches top two items on s...

 
@ASCII-only question: how to optimize string function
or array
like besides looping
 
huhwhat
 
we can't really effectively analyze the domain of all possible array
I was thinking maybe just not do complexvalue for domain tracking
 
11:49 PM
huhwhat
 
I always feel so lonely when TNB is quiet, science has shown that a coffee house level of noise boosts productivity. TNB is that coffee house, it lets me relax and be me. The moderators are not huge ass holes who make sure every sentence is perfectly on topic. They keep us in line from time to time but everything is just how it should be. Thanks for being you TNB.
 
@ASCII-only let's say we have:
 if array != [1, 2, 3] || array == [2, 3, 4].map({ \$0 - 1 }) { print ("ya") }
this will always be true
but to optimize this
we must track what values array will be and 2) what constraints are put on array in order for it to be true
but how can we know that all array value will be result in true
we can't possible look through all possible array
 
@Downgoat but we can constant fold
 

« first day (2459 days earlier)      last day (2377 days later) »