« first day (2001 days earlier)      last day (2842 days later) » 

12:15 AM
hi @HelkaHomba!
 
Simpler proof of stacky logics ability to output all truth tables
a string of 1s or zeroes can carry the pointer to another question mark
a question mark can always output 1 or zero. if it outputs what was taken, this is simple, if not, just add a number tooutput it
You can always make a decision point that leads to a decision point
I'm not good at proofs actually
1
0
1?
01 0
1? 0
01 0
1? 10
?1010
001010
?1010
?1010
? 010
?  10
?   0
    0
?<
In case you didn't see it, this is some of my code.
 
What does it do?
 
It determines whether the number is 550
:)
 
for a 10 bit number?
 
12:19 AM
yes?
It will eventually determine, given a number between 451 and 600 (inclusive) is divisible by 25 but not 16
the spaces are for readability :)
now to work on the other half
;_;
I think I told you before, but this is harder than BF, by far
Ideas for TC and better output:
Two new commands
* and #
three actually
, is the third
* and # restart the program, * does so silently, # outputs the bit.
, in someway adds to the input for the next restart
perhaps it adds the last popped bit, and continues in that direction
 
12:35 AM
@PhiNotPi Most of the old cards that players used in their decks were Legacy cards, that they'd amassed over a few years. Then the devs did that, and suddenly everyone had to grind hard if that wanted good cards, and then you knew in the future that eventually you wouldn't be able to use those either. It became lame, and boring. And then they removed my favorite event or made is cost more to play. I liked my OP cards I'd amassed over the years.
 
@quartata do you know how to make J display the entire string without cutting it off? it's a long string
 
1
Q: Substring Sum Set

AdnanIntroduction Let's observe this array: [3, 2, 4, 1, 1, 5, 1, 2]. Each element displays the length of the substring which must be summed up. Let's take a look at the first element of the above array: [3, 2, 4, 1, 1, 5, 1, 2] ^ The element at the first index is 3, so we now take a substring o...

 
"PPCG the CCG" needs to happen
 
A PPCG-themed collectible card game.
 
12:47 AM
oh, I see
 
@NewMainPosts That's probably the first time I've ever FGITW'd a challenge. :P
 
@El'endiaStarman And, of course, I immediately get outgolfed by Dennis.
 
@HelkaHomba Can you make an online interpreter for stackylogic?
 
@DestructibleWatermelon No. Dennis might on TIO if you ask nicely and give him 🍪's
 
Oh, I just realised what TIO means
:)
 
Normally websites give me cookies, not the other way around.
 
How do i go about asking for Dennis' help
Is there a ritual I have to prepare?
Is there a special form of prose?
Do I have to use iambic pentameter?
 
you have to outgolf him
 
1:07 AM
Draw a golf ball on the ground and chant "I summon thee" 19 times.
 
Only then must he put the lang on TIO.
The less sure way of doing it is to ping him in chat nicely asking.
 
It's been a while since I've seen a good sacrificial dance.
 
Let me prepare a iambic verse requesting stackylogic
 
@DestructibleWatermelon I could create one but I would have to get home first, and that would be in ~5 hours
 
@PhiNotPi The last good one I saw is when we sacrificed those code trollers
 
1:09 AM
@Quill I forgot, what did we end up doing with the resulting soggoth?
 
I can't remember either <_<
 
@DestructibleWatermelon edc already basically did, fyi (assuming it works) codegolf.stackexchange.com/a/84879/26997
 
It's not the same, helka
 
it'll probably be fine, since it fears short code
 
Oh wow. I just opened up Chrome's task manager. It was full screen and still had a scrollbar.
 
1:14 AM
Okay, here is the closest thing to graceful iambic verse I could muster
If you would, @Dennis, please do make interpreter for stackylogic. (online)
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Then it's in CR?
 
@MᴀʀsUʟᴛᴏʀ ...uh oh. @Quill, warn your fellows of the impending soggoth .___.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ considering I spend more time here.... :p
 
¯\_(ツ)_/¯
 
function Stackylogic(program, input) {
    var index = program.split('<')[0].split('n').length - 1;
    var value;
    program = program.split('n').map(function(line) { return line.split(''); });
    input = input.split('');
    program[index].pop();
    while(program[index] && program[index].length) {
        var char = program[index].pop();
        value = char == '?' ? i.shift() : c
        index += value * 2 - 1;
    }
    return value;
}
@DestructibleWatermelon you can paste this into your browser's console for now
 
1:17 AM
it isn't the same, but ok, thanks
where is my browsers console
 
@MᴀʀsUʟᴛᴏʀ remember to put this online when you get home
F12
 
uh
thats the key for a mac feature :(
 
or ctrl +shift+I
 
(with and without Fn)
nope
 
@DestructibleWatermelon I don't write interpreters for TIO (with a few exceptions), but provide a frontend for exiting ones.
 
1:19 AM
Then right click -> inspect, change to console tab
 
0
Q: Matching 32 bit unsigned integers

cresjoyHeres the problem I found on a website that looks pretty cool that I want to try. http://potw.quinnftw.com/problem/2015/1/ Consider the sample input 5 Danniel 116077289 Bowman 2316887705 Cleveland 2186347654 Marinda 2662238983 Viviana 3393681530 And the output Bowman Cleveland Marinda ...

 
2:09 AM
I just hit 9k! \o/
 
nice!
brb upvoting 100 times
OBTW I meant to ask: @DrGreenEggsandIronMan how does the Vim division test answer work?
 
How familiar are you with vim registers?
 
OK
22
Q: What is the purpose of the expression register?

Matt BriggsJust watched this http://www.derekwyatt.org/vim/vim-tutorial-videos/vim-advanced-tutorial-videos/#expression-register, and I can't see any benefit to using <c-r>= vs <c-o>normal or something like that (although I'm sure that is just because I am not understanding something)

Also, you should try running the vim answer to watch it in action.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ You still need to release that language :|
 
2:16 AM
@LegionMammal978 the painting one?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ yeah
 
I'm releasing it tomorrow.
 
I have to sleep soon
 
@DrGreenEggsandIronMan pls halp how run
I lost it at <C-Left>
 
2:25 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ Dunno. Try printf?
 
will try that
 
why are you writing these interpreters in J that sounds massively painful
 
not all of them
just one
I needed digits of pi
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Make sure to do '%s' printf <string> so as not to subject yourself to format string attacks
 
hi @HelkaHomba! I like your challenge. I might try it soon
 
2:26 AM
@quartata what are those? o_O
 
@CᴏɴᴏʀO'Bʀɪᴇɴ If you just given an arbitrary string to printf that's bad since it can have format things
 
@CᴏɴᴏʀO'Bʀɪᴇɴ are you going through them all?
all the esolangs
 
yup
alphabetically
 
._.
that's a lloooottt
 
You can use %n and other things to write arbitrary things into memory if you're clever
 
Actually I have to say this sounds like a fun programming exercise
going through them all and writing interpreters
 
well, not all of them
 
Do you have a list of the unimplemented ones?
 
I'm only doing the ones that won't take weeks
 
2:29 AM
Anyone good at geography?
I want to make a borderless world map similar to ^ but with a different projection.
(Borderless as in no black lines for borders, each country is still a different color)
 
use mathematica
 
I'll take a crack at Alarm Clock Radio to start
Looks pretty easy
 
I was about to say that
 
@quartata I skipped it because JS doesn't have an easy method to sleep
 
2:33 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ Hmm, I could. Good idea
 
ha
 
@CᴏɴᴏʀO'Bʀɪᴇɴ What I've done in the past is to have a setinterval that runs as fast as possible, and on each execution of the function, compare the current time with the last time that the time was recorded, and do something special when it goes over your set amount of sleep time.
 
@EᴀsᴛᴇʀʟʏIʀᴋ <C-left> == hold control, press left.
You'll also have to put two numbers in the buffer first.
 
@El'endiaStarman It's not easy :P
good night people!
 
night
 
2:56 AM
Hello
 
wait I actually gtg, I'll be back tomorrow
@Downgoat Update: Rational tests will be finished in 6-8 weeks
 
add me to a room if you make one, I'm not sure how much I can contribute right now (working on some js)
 
@CᴏɴᴏʀO'Bʀɪᴇɴ node) yes browser) yes with busy wait
@LegionMammal978 ._.
 
ok @charredgrass
 
2:59 AM
thanks @El'endiaStarman
 
No problem.
 
I just got my first gold badge for a single answer:
24
A: Output the alphabet, the ALPHABET, or just a character

isaacgPyth, 10 bytes h/#z[GrG1z Test suite We start by constructing a list with 3 elements: the lowercase alphabet, the uppercase alphabet, and the input. ([GrG1z) Then, we filter this list on the number of appearances of the input in the elements being nonzero. (/#z) Finally, we take the first ele...

 
@isaacg congrats!
 
How do you reenter the previous input in mathematica?
 
@Downgoat Thanks!
 
3:05 AM
@HelkaHomba i think you need a variable for that
 
@HelkaHomba % is the last output if that's what you meant
 
I mean like pressing up in a terminal
Any Mathematica pros out there? (@Ma....)
How might I do WorldPlot[{World, RandomColors}, WorldProjection -> Sinusoidal] with a Robinson projection?
WorldProjection only supports a few (and not Robinson)
:/
 
3:44 AM
I have a really simple BF question for anyone who knows brainfuck here. How exactly does decrementing an cell with 0 work? is it -1 or something else?
 
@charredgrass ITS, but idk BF at all
 
Pressing up works if you do use it from a terminal.
Graphics, maybe not so much.
 
@charredgrass I think it depends on the implementation but if the range is -128 to 127 then it should go to -1 esolangs.org/wiki/Brainfuck#Memory_and_wrapping
Major cookies if you help ;_;
 
@charredgrass In BF, there are really only two values: zero, and not zero. So the name for the number below 0 can be 255 or -1 (if you're using byte-sized cells) with no observable difference.
 
someone already solved the Stackylogic truth table challenge ;_;
I give up ;_;
 
3:59 AM
rip :P
 
rip ☹
well, back to my stackylogic "golf"
:'(
 
@feersum If I have a GeoGridPosition[{1.15513,1.29372}, Robinson], how do I get just the list {1.15513,1.29372}?
 
Try array indexing into it.
 
@DrGreenEggsandIronMan in what format?
>_>
 
@feersum Yes! Thank you! (I tried that but didn't realize that indexing uses double bracket >:|)
 
4:11 AM
@TùxCräftîñg @CᴏɴᴏʀO'Bʀɪᴇɴ any of you there?
nvm
 
@DestructibleWatermelon It's not that bad
It was a nice golf
 
4:26 AM
What is wrong with all the spams these days...
 
@LeakyNun means the site is getting bigger ;-)
 
@Quill that's very optimistic of you
 
spam usually grows with a site
 
@Quill does that mean we're graduating soon?
 
Actually, on that subject, I asked the CMs about it recently
Specifically where the design is at. They couldn't give me an ETA (designers are artists and art takes time)
They did tell me that the design is in the "soon" queue
the designers are pretty flat out with docs and doing easy sites
hopefully everything should settle down soon and we can get some feedback and discussion from the designers happening \o/
 
4:32 AM
@LeakyNun we've already graduated?
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
> is related to npm not being able to find a file.
that sounds like a problem with npm itself
pretty arrogant of npm to paste "most likely not a problem with npm itself" on every error
 
if you're running a node script, it happens when the actual script has an issue
for example if npm run build and build was busted, that error would show
 
okay well I'm trying to make npm package for Cheddar and it's borked
 
it's seriously annoying because npm swallows the stack trace and you have to directly do the script to get it
 
but its not supposed to be borked
it works fine locally
@Quill doesn't seem so:
npm ERR! enoent ENOENT: no such file or directory, chmod '/home/ubuntu/.nvm/versions/node/v4.4.0/lib/node_modules/cheddar-lang/dist/cli/cheddar'
 
link to teh codes?
 
4:50 AM
nvm fixed it somehow with a "start" script in package.jason
 
I give up :|
0
Q: Pixel perfect world map with no border lines

Helka HombaI'm trying to build a real world map in Minecraft and want a pixel-perfect raster image I can copy pixel for block. How can I modify CountryData["World", {"Shape", "Robinson"}] which gives such that: Each country is its own separate color (random colors are fine). The ocean color is dist...

@DestructibleWatermelon Don't let that discourage you. Nearly all challenges on this site have more than one answer.
 
@HelkaHomba [color] tag doesn't seem correct here as the tag-wiki says it's for named color functions but idk anything about mathematica either :|
I have put the following tags on Cheddar's npm:
[
    "language",
    "javascript",
    "interpreter"
    "cheddar",
    "cheese",
    "food",
  ]
@Quill halp, any idea why when I've updated the "description" item in my package.json it's not reflecting on npmjs's website? might it be caching?
 
blame caching
try again in a few hours
 
> dev pre-v1.0.0-beta.18.4
most convoluted version I've ever written ._.
 
5:07 AM
@Downgoat \o/
 
@Downgoat Cool! Can I just npm install?
 
@charredgrass yup npm install -g cheddar-lang works but probably still borked on windows machines
 
@Downgoat I think Cheddar will be the first language where every single design decision was made through a strawpoll
 
if PHP was designed through strawpoll the "SQL injection" wouldn't even be a thing
though I think it's good to get input from people when designing a language because that way you can better adapt it for more situations and coding styles
Hello @StevenH.!
 
nice html bro
 
5:21 AM
19 mins ago, by Downgoat
@Quill halp, any idea why when I've updated the "description" item in my package.json it's not reflecting on npmjs's website? might it be caching?
@Quill thx
@Quill ;_; y u no star chedr on npm
 
Because I don't have a npm account?
 
$ cheddar
realpath: /usr/local/lib/node_modules/cheddar-lang/dist/cli/../share/cheddar/dist/cli/cheddar.js: No such file or directory
cheddar>
;_;
@Quill sorry gaot cannot spel
 
0
Q: Sub-byte character encodings

isaacgWhat do people think about defining the encoding of a character in a given language as taking place in less than a byte? For example, take Brainfuck. Brainfuck has exactly 8 possibilities per character, (+, -, [, ], >, <, ., ,), so each character can be easily encoded into 3 bits. Given that, wo...

 
5:37 AM
@mods: status update on getting tour-page question fixed?
 
I have reached the point where my brain automatically types "byte" instead of "bye" just out of habit. The worst part is that my phone has stopped autocorrecting that....
 
@EᴀsᴛᴇʀʟʏIʀᴋ Just two decimal integers with a space (or several) between.
I think leading or trailing spaces should also be okay.
@Downgoat I don't think you can ping them like that. :P
 
@DrGreenEggsandIronMan I know, I just hope a mod will walk in and see it :P
or maybe a mod does a chat search for @mods
 
Well I know that at least Martin is lurking on meta atm, so he might be able to answer you.
 
@DrGreenEggsandIronMan Do you like cheddar?
 
5:49 AM
The cheese or the language?
5
I honestly don't even know why that got a star.
3
 
@DrGreenEggsandIronMan The cheese
 
@HelkaHomba I'd give it a solid 7/10. There are certainly better cheeses though. Brie is fantastic, but Gouda is by far the best.
 
@DrGreenEggsandIronMan Would you, could you with a goat?
 
I am not a fan of goat cheese, although I haven't tried a lot.
 
Would you, could you with a Downgoat?
 
5:54 AM
@DrGreenEggsandIronMan ;______; y u do dis Q____Q
 
Doesn't cheese come from female (right side up) goats?
 
@DrGreenEggsandIronMan how do you know I'm not a right side up goat pretending to be a upside down goat
 
:O Everything I've ever believed in is a lie.
 
On the internet, nobody knows you're a right side up goat.
3
 
@Downgoat Hey, I'm not wrong. Have you ever actually had smoked gouda? Way better than cheddar.
 
5:57 AM
@DrGreenEggsandIronMan I have never eaten smoked gouda?
oh :| read that wrong
 
I thought the same thing, don't worry
 
@DrGreenEggsandIronMan Eating non-cheddar cheese??? How dare you suspect me of such blasphemy.
 
smoke gouda erry day
 
@charredgrass high-five
 
damn now I want cheese... but I'm lactose intolerant... but I love cheese...
 
6:01 AM
@charredgrass ;_; that sucks
 
There's a relevant shia LaBeouf gif for every context.
 
@DrGreenEggsandIronMan idk whether to +1 for promoting eating of cheese or -1 for promoting eating dairy product while lactose intolerant
 
@Downgoat It's totally worth the pain though
 
Just do the first one of those options.
 
@DrGreenEggsandIronMan pls stahp spaming shia lebeouf gif
0
A: Advocate languages to golf in

DowngoatJavaScript ES6 Hearing "JavaScript" you may think: Uck that language with the weird type system? and that's one of the reasons it's so enjoyable and great to golf in! Why ES6? Well the days of function(){return arguments} are over. ES6 is the latest version of JavaScript looking to give t...

^ Why JavaScript is better than your language
 
6:05 AM
@Downgoat upvoted :D
 
@DrGreenEggsandIronMan halp. I did F[df] and vim borked and removed the []s to. how 2 avoid in future?
 
@Downgoat fugly is probably not an good term for meta
 
._. what else to use?
I'd say it's fine. I mean we're perfectly ok with "brainfuck" in answer headers
 
@Downgoat Well first off, use t instead, e.g. T[dt] but second off, that plugin I told you about can do dil[.
E.g. delete in last brackets.
 
T vs F = T does not include bracket?
 
6:08 AM
@Downgoat "byte hungry"
 
@Downgoat not really. t moves to before, f moves to.
 
that's what I meant
 
For example, with "hello" dfo would give an empty string, but dto would give "o".
Mnemonic: "f" == "find", "t" == "until".
Lol, wtf? This user keeps editing typos in to their post after I edited them out.
 
HIHIHI
I'm in a good mood today!
Anyone here heard of Minetest?
@Downgoat ARE YOU HERE ANSWER ME
 
6:18 AM
wat
 
6:31 AM
@charredgrass its basically free minecraft
(free as in freedom)
 
ven
6:56 AM
heyo
 
okay, I did another chunk of my stackylogic program
1
0
1?
01   0
1?   0
0   10
1?  10
? 1010
001010
? 1010
? 1010
?  010
?   10
?    0
     0
1?<
#stuff to go here 1
?
#stuff goes here 1
?
11
?
11
?
11
1?
?1
0?1
?1
?
wait a second
 
7:08 AM
I'M NEARLY DONE WITH THIS PROGRAM!
WOOT!
 
7:24 AM
@TùxCräftîñg fixed
 
8:14 AM
Hello
 
8:24 AM
HI!
I think I finished my stackylogic program
now for the moment of truth and stuff
 
@DestructibleWatermelon What does it do? :3
 
well, what i need to do now is figure out whether it works
 
fairly important
 
wait a second
dammit, I realised I made a mistake
;_;
 
::a::
goto b
::c::
goto a
::b::
goto c
now that's a bad infinite loop :D
and you can expand this as much as you want!
 
8:32 AM
@Katenkyo bonjour!
 
@Katenkyo bonjour ^^
 
@LeakyNun Bonjour cher ami!
 
ok, think i got it
 
. o O ( He got it... )
 
ok, guys, I need a little bit of assistance
 
8:33 AM
exempt
 
in python, you can make an int into a binary by doing bin(foo)
how do I make it a specific amount of digits?
 
@DestructibleWatermelon for example?
you can do 1<<9 to get 10 binary digits?
 
If i did bin(1), it would do 0b1
 
I think he means 9 --> 1001
 
@DestructibleWatermelon Remove the 0b part, then left pad it with 0s to the specified number of digits.
 
8:34 AM
what are you talking about I didnt make that highly embarrassing mistake
 
and totally didnt edit
 
@DestructibleWatermelon add 2^n where n is the amount of digits and then bin(m+2^n)[3:]
 
@charredgrass evryone makes tipos
4
I think its probably just best to take the length and add zeroes
 
@DestructibleWatermelon I nevre do!
 
8:41 AM
okay guys, i did it I think
I did it!
okay, I think my program is working
aw yes guys, it seems to work
 
the best kind of working
 
If it is working
I have become the first person to kinda complete a challenge with it
kinda because its made after the challenge
I also had to hardcode all the results \-_(ツ)_\-
most of the results
The amorphous blob of stackylogic is complete
I'm not sure how to go about comprehensively check this
Fairly sure it works though
now to check dem bytes
Do you guys think I should count all characters as bytes, or each character as two bits
 
@DestructibleWatermelon As bytes of course.
 
@DestructibleWatermelon you need to count each character as a byte unless you have an interpreter that can read compressed stackylogic
 
8:51 AM
It's not about the interpreters, its about the specs, dude
 
ven
no
 
Are you ready for the byte count?
 
you have to do it as bytes
have you golfed it yet?
 
I kindaaa golfed it
Think about it this way:
Someone has made a thing that outputs the program in SL that outputs the truth table
My program is a lot smaller than what would come from that
Also, remember, when you start golfing with a language, you don't golf so well, until you A) have someone give you some tips B) you eventually figure it out
 
ven
AKA experience
 
8:55 AM
< first stackylogic golfer
so no tips for me
I am going to post this now
noncompeting, however
 
why noncompeting?
 
it was made after the challenge
I think
yes it was
also as if it would be competing :)
 

« first day (2001 days earlier)      last day (2842 days later) »