« first day (1966 days earlier)      last day (1271 days later) » 

6:08 AM
@DrGreenEggsandIronMan I'd reccomend node 4.4.5 as that's what I've developed on
Oh, Too late.
Although it's running, so that's good!
eh, 6.2.1 should work still :P
\o/ \o/ :D :D :D \/o\ /o\/
> cheddar>
wat do?
tyep chedr coed
@DrGreenEggsandIronMan Enter expressions into the cheddar> prompt, and Cheddar will evaluate them.
6:11 AM
e.g. print "2+2=" + String::(2+2)
wait, how did you install?
The result will be returned as output on the screen.
did you install from release-0.1a or master?
git clone github.com/cheddar-lang/Cheddar.git
cd Cheddar
npm install
grunt build --minify
All from regular windows prompt
okay, you're gonna have to do it a little differently for beta testing:
git clone -b release-0.1a github.com/cheddar-lang/Cheddar.git
cd Cheddar
npm install
grunt build --minify
there, run that
@DrGreenEggsandIronMan Wait, wat?
@DrGreenEggsandIronMan well now you have a bug to report
Do you want to switch to the cheddar room to not clutter up TNB?
yeah, lets do it before alex elevens us again


For discussion of the design and development of the Cheddar pr...
Yeah, that was a lot of text.
I deleted though.
@Upgoat ?
6:16 AM
@zʏᴀʙiɴ101 Yes, I did it from a regular windows prompt
How could you install Cheddar from the regular Windows prompt? o_O
¯\_(ツ)_/¯ Which part do you think wouldn't work?
6:33 AM
CMC: Given x and n where gcd(x,n) = 1, find smallest p such that x^2p - x^p = 1 (mod n).
Edit: Given x and n, find smallest p such that x^2p = x^p (mod n).
Testcases: 7,10 -> 4; 8,10 -> 4
Have a little respect for yourself and your goddamn craft and download the gif to attach to the tweet. None of this direct link garbage
Yeah, it shows up very crappily on chat.
6:54 AM
> Tweeted by xor
It's tweeted by @xnor nemesis!
Guess the language: ciRicu$l_@@u@r*^^$$*%-%/_:___o
(it does my CMC)
@LeakyNun Unipants' Golfing Language
>_> omg just released cheddar first release. Just gotta tag & doc now
\o/ Congratulations @Upgoat on actually releasing Cheddar! \o/
7:08 AM
Just drafting the release. What should it say?
@Upgoat Initial release
Codename Cheddar.
@zʏᴀʙiɴ101 for the title?
@Upgoat "Initial release" for the title.
I liked "Codename Cheddar" for the initial title >_>
@Upgoat Okay, do "Codename Cheddar".
TODO: Next time, find more cheese sorts.
7:12 AM
does it sound cool to you to? :P I could always just do Cheddar v0.1 alpha
@Upgoat Okay, do "Cheddar v0.1 alpha".
And put "Codename Cheddar" in the release notes.
Or vice versa.
@Upgoat Well, when you finish the release, could you come to the zyabinVI beta room?
time to get some stickers made @Upgoat
@Quill omg yes
@zʏᴀʙiɴ101 haha, it's midnight for me. After the release I'm going to sleep
@MᴀʀsUʟᴛᴏʀ what would you like me to refer to you by on the Cheddar release? "somebody", "Mars", maybe your real name?
Okay, @Quill registers on a service where you can make stickers, @Upgoat makes the design, and... Erm...
@Quill design is the cheddar org logo, lets make these stickers a reality
7:23 AM
@Upgoat @somebody1234.
Siri on Mac doesn't want me to know how to juic an avocad
@Quill ._.
Greetings golfers!
@Quill Ask Google on Android.
I am excited to announce, after four hard months, Cheddar, the programming language, is released!
7:30 AM
OK Google, how to juice an avocado?
@Upgoat maybe I ought to make a cool program in Cheddar
G'night all!
@Katenkyo Greetings part of golfers!
@Upgoat I wonder if it will be better than at golfing than java ^^
@Katenkyo It should be as golfy, and maybe even golfier, than JS.
Siri for Mac: imgur.com/F5V9EWC
@zʏᴀʙiɴ101 I might give it a try so ^^
7:57 AM
A very small list of cheeses that @Upgoat can use for code names:
Add Red Leicester to the list.
I should make a census of PPCG users.
Here is a census map with approximate locations of PPCG users. Ping @zyabin101 to add yours.
I only need the country and region/state/province/territory of a user to be added.
8:17 AM
use SEDE
I'd better go with scraping the Users page into my mind, then writing the location data into the map.
@Upgoat "1.0-alpha" isn't a valid version in node -_-
@Optimizer why 13187 ?
8:35 AM
@LeakyNun I do believe MultiplicativeOrder is a valid answer for that in Mathematica
My new room (warning: it's gallery)
@zʏᴀʙiɴ101 Grenoble, Rhône-Alpes, France.
(Can't access google drive at work)
8:52 AM
@EʀɪᴋᴛʜᴇGᴏʟғᴇʀ Hey Erik, was just thing about your program flags meta post - how would you count flags that don't start with a hyphen? eg interpreter program n where the n turns on numeric output.
@Sp3000 This is what I call "extra arguments". Note that the filename, or an option accepting the code are not considered "extra", but in execute program lazy, lazy is an extra argument, so +4 bytes. So the n there is +1 byte. The space is required; it does not count.
So... extra arguments are more than just filenames?
With Mathematica, does anyone know if a false rule can be used for pattern condition /;?
9:08 AM
It should be the standard for publishing programs with unprintable characters on PPCG.
Situation: there are 16 competing standards.
@MartinEnder x_ ±y_:=BitOr[x,x+1]±BitAnd[y,y-1]/;x<y for 39 bytes, but it terminates with the correct values except that the operator is present and unevaluated. A fix could be x_ ±y_:={x,y};x_ ±y_:=BitOr[x,x+1]±BitAnd[y,y-1]/;x<y but increases it to 53 bytes. Probably a dead end?
@miles I tried this as well. You can save one byte with x_ ±y_={x,y}, but I'm not seeing anything else.
@MartinEnder ah well, it was promising. Maybe a future challenge could bring those operators into play.
@miles well, codegolf.stackexchange.com/questions/82867/… ... and I'm sure there's quite a few older challenges where I could have used that.
Oh you found a use already! I'm agree that among all the previous challenges some could probably be shortened with that too
9:18 AM
@flawr see that image again
@miles while writing that I found an interesting precedence quirk: a~b~c~d~e is d[b[a,c],e] (this part I knew), but a~b~+c~d~e is b[a,d[c,e]]. I can't imagine a situation where that saves bytes (because +c~d~e is the same length as d[c,e]), but I thought it's interesting ^^
9:45 AM
@Optimizer Oh right, and +1 cause it's prime!
Q: Does the triangle contain the origin?

shooqieChallenge description On a Cartesian plane, a triangle can be described as a set of three points, each point being one of the triangle's vertices. For instance, coordinates (2, 1), (6, 8), (-7, 3) correspond to the following triangle: As you can see, it does not contain the origin of the plan...

10:01 AM
Q: Drawing the heart shape in perl and JS

sai sasankaI have been going through , this page to draw a heart shape in perl and JavaScript, but am not able to understand the code that has been provided under perl and JavaScript.Could anyone explain the code under these sections?

10:21 AM
Weekly "dare to answer?" question: None for today.
Q: Lithp Tranthlator

georgeMy friend made a lisp translator the other day, that is to say it took a string and converted s=>th and S=>Th. It was quite long and I thought that it could be golfed. So the task is to make a program/function that takes an input string, translates it in to lisp and outputs the string Test case...

Retrospective question:
Q: Don't google "google"

rybo111We all know that if you google the word "google" it will break the internet. Your task is to create a function that accepts 1 string and returns its length, in as few amount of Unicode characters as possible. However, if the given string is google (lowercase), it will cause an error. For exam...

@Upgoat your range operator is broken, and String::(2:4) crashes the prog
@Quill Good, now document it with execution logs and file it on GitHub. :P
> If you encounter an airplane without wings (an unapproved case) do only your duty, call FAA immediately at 866-TELL-FAA (866-835-5322)
^ Life advice right there
10:26 AM
make sure to call that before boarding the plane
definitely before the plane takes off
Chat room idea: make a room where feeds related to some sites are syndicated into feed bots in the room.
So basically, a real-time channel containing everything happening on these sites.
>>> from plug import shameless
PackageError: package deprecated
Wait, how was it deprecated?
from plugs import shameless
A: Lithp Tranthlator

zyabin101Retina, 9 bytes S Th s th Try it online! The obvious answer.

I didn't realise PackageError was a thing :P
@Sp3000 It's a joke. :P
SarcasmError: not detected
I wonder how a language which preserves translation case would work
10:58 AM
@Sp3000 Dare to answer? =)
Answer what?
40 mins ago, by zʏᴀʙiɴ101
Weekly "dare to answer?" question: None for today.
but there's a retrospective question =)
39 mins ago, by zʏᴀʙiɴ101
Q: Don't google "google"

rybo111We all know that if you google the word "google" it will break the internet. Your task is to create a function that accepts 1 string and returns its length, in as few amount of Unicode characters as possible. However, if the given string is google (lowercase), it will cause an error. For exam...

I find these in the Code Golf newsletter almost every week.
I think that question already has enough answers tbh
(Not that new answers aren't welcome, I just mean there's no real need for me to add one :P)
There's really no need to. If you want, answer. If you don't want, don't.
Also, can I create chat rooms in the "Stack Exchange Network" namespace?
(assuming I do have 100 rep on The Stack Exchange Network, which I do)
11:16 AM
yes you can
if you want to make a room, go for it
I have a good idea for a challenge. :3
Output a snes9x movie file that beats Iggy Koopa when played back on a Super Mario World (U) [!].smc ROM.
11:35 AM
@Lynn So basically, a TAS to Iggy Koopa.
It's not a TAS because you want the most compressible output, not the shortest.
Well, it wouldn’t really be speed-optimized—yeah.
I've done one automatic game-playing golf on here for QWOP.
I like these but people complained about that one since OP gave no guidance on how to send inputs to a Flash application.
@Lynn No, it should be a coding challenge of how far your bot can get
Actually I don't think it was a golf... not sure what the winning criteiron was.
11:40 AM
I had an idea for a kolmogorov challenge, where you need to output in wich countries is currently morning (from 5AM to 10PM)
10PM is morning?
I wanted to write AM
also, how is that kolmogorov? the output is time-dependent
after we clarify all that, we move on to the big flame war about what counts as a country :p
Because you need output a long list of countries
I'd provide a list
kolmogorov is supposed to have fixed output
11:44 AM
Ohh, .-.
Then a simple code-golf
Challenge idea: generate a roguelike dungeon.
ah, and then there's the problem of DST
@zʏᴀʙiɴ101 Have you tried generating one? It's hard and requires multiple algorithms, one of wich is a maze algorithm
@zʏᴀʙiɴ101 you mean like this?
@aditsu DST?
11:46 AM
@aditsu Nope.
@Bálint Daylight Screwing Time
@aditsu Those would be clarified in the actual post
Maze algorithm
Minimum spanning tree algorithm
Flood fill optionally
(BTW, I can go at it, I implemented them before)
You don't need mazes.
what about dragons?
Dragons are excluded from the challenge.
You only have to do the dungeon itself.
11:58 AM
if you have dungeons, you need dragons :p
I am going to spam the Sandbox with the explanation of every step in running the dungeon digger algorithm.


Where you can play with chat features (except flagging) and ch...
@zʏᴀʙiɴ101 It's kind of hard to determine, whether a maze is legal or not
define all mazes to be legal, problem solved
Dungeon generation from my golfy roguelike.
@Lynn Will it have public servers?
12:11 PM
I doubt it
X=?#;S=' ';W=80;T=3e3;R=->a,b{a.+rand b}


puts l
That's the dungeon generation code.
The indented bit does the actual work. Everything above is setup, and the line below prints the result
@Bálint This was a pretty cool read.
It plots out some square rooms and connects their centres with L-shaped corridors
The full code so far is pretty funky
It has dungeon generation, movement, monsters, line-of-sight, combat, and death. The dungeon is infinitely deep! It’s not fun, though, at the moment.
@Lynn Can I re-make the code into Python?
12:16 PM
Sure! As long as you don’t, like, release it without crediting me, I guess ^^
What the display size should be?
@Lynn You could add randomly additional corridors, so the dungeon doesn't get too linear
This is the best dungeon generator I could find
Uses the same technique I described above
12:34 PM
A: Sandbox for Proposed Challenges

atlasologistHelp Me Send a Text code-golf My phone broke! I found my ten-year-old flip phone, and miraculously it's still working--but there's a problem. All of the letters have worn off from the keypad, and all I see are the numbers. It used to look like this: But now I just see the numbers! To send a ...

If a challenge was 2 days in the sandbox, and has 1 upvote, then should I post it?
@Bálint You decide.
dernit one box, the gist is here
12:52 PM
@Bálint I would judge by the feedback more than the votes
@trichoplax There was feedback, but I cleared it up
I go post it
If you want any last minute feedback just post it here and people from chat can have a quick look...
I made a roguelike template with Python and libtcod.
A: Sandbox for Proposed Challenges

BálintRotate a hypercube graphical-output geometry math ascii-art Introduction A hypercube/tesseract is the 4 dimensional equivalent of a normal cube. It's made by taking a cube net, extending it to the 3rd dimension, then – using the 4th dimension – folding it into a hypercube. It's basically a cub...

1:09 PM
posted on June 17, 2016 by Bálint

Introduction A hypercube/tesseract is the 4 dimensional equivalent of a normal cube. It's made by taking a cube net, extending it to the 3rd dimension, then – using the 4th dimension – folding it into a hypercube. It's basically a cube, where each side is a cube. To create a hypercube, you need 16 4d vectors (a vector with an x, a y, a z and a w component). These

Q: Geometric progression having the first and last values and the number of steps

artoorasHere's a task at hand: I have the first and last values (a range from 0 to 100) I have the number of steps (20) I need to find values for all 20 steps So, a simple arithmetic progression would be to use the difference of 5 for each step. However, I want the difference between steps 19-20 to b...

Q: Rotate a hypercube

BálintIntroduction A hypercube/tesseract is the 4 dimensional equivalent of a normal cube. It's made by taking a cube net, extending it to the 3rd dimension, then – using the 4th dimension – folding it into a hypercube. It's basically a cube, where each side is a cube. To create a hypercube, you need...

I haven't seen this before
@NewMainPosts @Bálint Why the burnination?
@zʏᴀʙiɴ101 ....that isn't a roguelike template. That's printing stuff to the screen.
1:21 PM
Ah, right.
@Bálint just to let you know, if you ever need to delete a post and then bring it back later, you can press undelete at the bottom of the post.
@Bálint The linearity was intentional!
Hello, zʏᴀʙiɴ101~
1:36 PM
@Lynn nice golfed code
Hello, Lynn~
@zʏᴀʙiɴ101 80x24
It breaks on anything else. Gotta save bytes.
Hello, Poke~
@Poke mon
Allrighty ... let the flame wars commence.
1:41 PM
@zʏᴀʙiɴ101 mon
3 hours ago, by zʏᴀʙiɴ101
Weekly "dare to answer?" question: None for today.
Retrospective question:
Q: Don't google "google"

rybo111We all know that if you google the word "google" it will break the internet. Your task is to create a function that accepts 1 string and returns its length, in as few amount of Unicode characters as possible. However, if the given string is google (lowercase), it will cause an error. For exam...

Q: PopCons and Graphical Output

TimmyDPreviously: How do we close questions without an objective validity criterion? Guidelines for posting and closing popularity contests Would "render the Mona Lisa in 1000 bytes" be on topic here? http://chat.stackexchange.com/rooms/34229/discussion-on-answer-by-dennis-guidelines-for-posting-and-...

@Bigtoes Randall is on to you.
2:03 PM
@isaacg feature-request: make .W a pfn
a Pyth jargon
@LeakyNun Pyth function?
wrong guess.
2:05 PM
wrong guess.
I don't know what is a pfn. )_)
Three options.
Try to search # in the pythdoc
and you'll see <pfn>
2:07 PM
there's an fu option :D lulz
For very large values of 3... ;)
pfn = Preceding function of arity n. *F, for instance.
Preceding function it is, then. The Humble Rev-Doc.txt saved the day.
no, preceding function of arity n. There is pf1.
pfx it is then? o_O
(Where x replaces n as the variable arity)
Well, we use n here...
2:28 PM
So, I want to make a Stack Exchange RSS feed.
iirc that exists
@EᴀsᴛᴇʀʟʏIʀᴋ I didn't finish.
you put a period/full stop
I need a feed for Stack Overflow questions with at least 25 votes, but sorted by creation date.
and sent the message
normally that means finish
@zʏᴀʙiɴ101 iirc that exists
2:29 PM
@EᴀsᴛᴇʀʟʏIʀᴋ Where?
@zʏᴀʙiɴ101 hm
that is all codegolf questinos
not sure how to sort by votes
stack2rss.quickmediasolutions.com/2.2/… doesn't seem to solve the problem.
This is SO questions with >= 25 score sorted by newest: stackoverflow.com/…
But it doesn't look like there's a ready-made feed for it. Scrape the HTML at regular intervals?
Plus, I think there's a technical difficulty with making an RSS feed for arbitrary search queries.
2:47 PM
in Mos Eisley, 28 secs ago, by Rand al'Thor
user image
@AlexA. puppy
Apparently yawning is contagious among puppies too. :P
@El'endiaStarman TIL
my internet hates me rn
i can't talk
2:50 PM
Then how are you talking right now?
i tri for 30 secund but no send
.. it no send????
@DrGreenEggsandIronMan ._.
2:51 PM
I'm not sure what youtube thinks of me.
I got a loop of rick astley dubstep once.
For science, of course.
That's actually really awesome.
kinda weird sounding, the OP explains in the comments why
basically changed keys for better dubstep-ness
can't listen right now, but will
TIL my parents have to go to a wedding, the gift the people wanted was a D&D ice cube tray. I want to meet these people.
@EᴀsᴛᴇʀʟʏIʀᴋ Oh, your parents are getting married? Congratulations! (wait...)
no, it's somebody else's wedding
it was a joke
yeah, but a rude one.
Some people don't actually get married (for various reasons).
3:08 PM
@EᴀsᴛᴇʀʟʏIʀᴋ eat
@EᴀsᴛᴇʀʟʏIʀᴋ this is actually really good for some weird reason
I miss video game demos
Or shareware episodes
I would buy Overwatch if I could run it
That's not really the problem
@quartata ikr
@quartata oh okay
you timed out and didn't actually disconnect, just wondering if something went wrong
wow. stuff like this is really dumb techdirt.com/articles/20160613/06415734694/…
Oh probably closed my laptop lid
3:20 PM
oh okay
@Poke That is incredibly stupid.
Hey, what are your recommendations for a work laptop?
@DrGreenEggsandIronMan Hardware Recommendations
But they also need more information about your "dream" work laptop.
Dell XPS series is pretty good
3:28 PM
Ohh, there's also portablepicker.com.
Some information that would be useful (for me): goo.gl/forms/Zs8hYVgTWCi3SGdd2
@LegionMammal978 I can think of way too many file formats to count.
@DrGreenEggsandIronMan Then list some ;)
This is a list of file formats used by computers, organized by type. Filename extensions are usually noted in parentheses if they differ from the format name or abbreviation. Many operating systems do not limit filenames to a single extension shorter than 4 characters, as was common with some operating systems that supported the FAT file system. Examples of operating systems that do not impose this limit include Unix-like systems. Also, Microsoft Windows NT, 95, 98, and Me do not have a three character limit on extensions for 32-bit or 64-bit applications on file systems other than pre-Windows...
more file formats than you will ever want
Good idea
3:35 PM
> The entire USPTO was overrun years ago by a pack of drunk monkeys, and no-one has noticed a difference in performance yet so no-one has bothered to investigate why the budget is increasingly focused on cases of beer and crates of fruit.
C, cpp, c++, h, hpp, pp, js, html, htm, xml, js, rb, py, txt, mp4, mp3, mp2, wav, avi, mov, jpg, jpeg, gif, webm, v, vim, md, suo,
I could go all day.
Obj, exe, make,
echo {a..z}{a..z}{a..z}
@Doorknob 3-character file extensions? Windows punk
@Doorknob -1 doesn't match html
@TimmyD Blame Microsoft
3:41 PM
@quartata Given the design of the FAT directory table at the time, it makes sense
That doesn't mean the design of the FAT directory table made sense
@Doorknob echo is not a format I know. {a..z}{a..z}{a..z} is not a format I know.
@quartata It was a pretty reasonable compromise. Given only 32 bytes per entry to work with, it packs in an astounding amount of information.
Huh. That may actually be an interesting challenge.
"Decode a FAT directory entry"
"Help a FAT directory entry lose weight!"
Anyway, I've got a little puzzle/challenge. The motivation is that I had the idea of making an FPS game where the room layout is non-Euclidean, perhaps toroidal. Doorways between rooms may or may not be portals connecting non-adjacent rooms. I also want to avoid infinitely long lines of sight. What is the smallest and/or simplest room layout that fulfills these criteria?

« first day (1966 days earlier)      last day (1271 days later) »