« first day (2729 days earlier)      last day (2113 days later) » 

12:08 AM
0
A: Sandbox for Proposed Challenges

Beta DecayProgramming Through Time: 1950s and 1960s code-golfimage Introduction The 1950s and 60s were periods of great cultural shifts but were also when the first modern programming languages were developed. For that reason, this challenge is themed on one of the great moments of the 60s: the first Mo...

 
12:41 AM
0
A: Sandbox for Proposed Challenges

OMᗺSpiral neighbourhoods Tags: code-golf, integer, [tag:???] If we take the natural numbers and roll them up counter clock-wise into a spiral we end up with the following infinite spiral: ....--57--56 | 36--35--34--33--32--31--30 55 | ...

 
@NewSandboxedPosts @Adám ... I know which language you're gonna use when that gets posted to main :-)
@NewSandboxedPosts So BASICally: do this in the BASIC variant of your choice.
 
@Zacharý I doubt it gets posted in it current form. See my comment there.
 
12:56 AM
I'm talking about the date restriction, regardless of what the challenge is.
I can feel TaylorScott's BASIC spam already
 
@Zacharý Isn't it a dupe of
62
Q: Automate Saving the World

DJMcMayhemYou are Desmond Hume. For the last 3 years, you and your partner, Kelvin, have been slave to a computer that requires a very specific sequence to be entered into it every 108 minutes to save the world. 4 8 15 16 23 42 Your partner died 40 days ago (due to an unfortunate accident involving Kelv...

?
 
The modern version thing is the difference.
(i.e, all of any publicly available Dyalog is available)
Or any BASIC variant.
 
@Zacharý Can we use C# due to BCPL?
 
@Adám I'd assume not, since most if not all BCPL programs don't work with C# and vice-versa
Whereas with Dyalog and <insert-old-APL>, a lot of programs would work
 
@Zacharý It doesn't say they have to be backwards compatible versions, does it?
 
1:06 AM
I'd assume they meant at least somewhat backwards compatible versions (i.e. something like Perl5/Perl6 might count as the same language, maybe even C/C++/Objective-C)
Ah, then there's probably going to be virtually no modern basics except maybe stuff like Chipmunk.
(The basic on TutorialsPoint that seems to be the most compatible with DARTMOUTH basic)
 
Racket due to Lisp?
 
(I ((Do Not) (Know)))
 
There certainly are modern versions of FORTRAN and COBOL.
 
Who on PPCG uses FORTRAN and/or COBOL?!
 
@Zacharý Quite a few use FORTRAN, but not so many use COBOL.
 
1:19 AM
I've seen SNOBOL being used more than FORTRAN.
But yeah, that challenge would attract the FORTRANers.
(Most definitely the BASIC folk would flock to it)
'cuz BASIC...
 
@Zacharý Wonder if TI-BASIC and VB.NET count. They are quite… different.
 
The .NET isn't needed for the different-ness, I don't think
 
 
4 hours later…
4:56 AM
IRC guy in #fedora: make sure to run the command in a vt incase your desktop environment crashes.
Me: I'll be fine, it basically never crashes
My DE: *crashes*
Hopefully my system will still be usable.
 
I'm changing Funky2's list literal to [...] to minimize conflicts.
 
Update: it boots and kde starts
 
@Zacharý You joke but most of the good BLASs are written in Fortran
Fortran is still important
 
@quartata on PPCG
 
Oh, yeah fair
It's a bit verbose
 
5:09 AM
Then again: there's a guy who golfs exclusively in Befunge, and people who golf in Java...
 
I certainly don't know any big COBOL golfers
@ATaco what was it before, (...)?
 
They're {...}
But that has a conflict with Block statements (which are a unique thing now)
 
Ah. Lua.
 
Funky likes being Lua in quite a few places.
 
wouldn't happen to like being Lua in its string stdlib would it
 
5:12 AM
How so? It offers quite a few of Lua's string library functions.
 
a joke on its sparsity
 
Ah
 
I mean it works but I'm not a fan of using gmatch for everything
 
CMP: Do you think that banning arbitrary languages is a bad idea? (re Automate Saving the World, and Sandboxed: Programming Through Time
 
Certainly not for those two
It's fun to make a competition to encourage older languages
 
5:15 AM
Competitions are not supposed to be between languages anyway.
 
@user202729 we all know that's not how it works on reality
 
The rule of thumb I follow is to not ban anything that isn't a part of the challenge.
 
theres more incentive to pick up mumps if there's going to be an actual reward for it...
4
 
It's never a good idea to ban "Golfing Language", and not a good idea to ban builtins.
 
Don't quote that out of context, I do not support infecting yourself with mumps
 
5:17 AM
Jelly's 1 byte solution to a challenge isn't going to devalue Python's 17 byte solution.
 
@Pavel Update 2: My system works but my DNF is completely fucked
 
Easy, Just sudo dnf update... Wait...
 
It's a language
 
It's in uppercase...
MUMPS (Massachusetts General Hospital Utility Multi-Programming System), or M, is a general-purpose computer programming language that provides ACID (Atomic, Consistent, Isolated, and Durable) transaction processing. Its differentiating feature is its "built-in" database, enabling high-level access to disk storage using simple symbolic program variables and subscripted arrays, similar to the variables used by most languages to access main memory. The M database is a key-value database engine optimized for high-throughput transaction processing. As such it is in the class of "schema-less", "schema...
 
5:20 AM
@ATaco dnf upgrade gives me a traceback.
 
What is "multi-programming"
 
0
Q: Count the lucky tickets within the given range

Дмитрий АрхипенкоIn Russia we have something like a tradition - we are looking for lucky tickets. Here's how a ticket regular ticket looks like: As you can see, ticket has a six digit number. It's considered lucky if a sum of the first three digits equals to the sum of the last three. Obviously, the one on t...

 
Apparantly this is a known problem with the F28->29 upgrade process
 
5:41 AM
@user202729 Banning completely arbitrary languages (i.e. no golf-langs, or no APL) is a bad idea, but doing old-language challenges like that is an okay (not necessarily good) idea
 
 
4 hours later…
9:53 AM
0
A: Sandbox for Proposed Challenges

Konrad BorowskiGenerate IBAN checksum digits code-golf Write a program or a function that takes a country code and an account number. It's allowed for a program to take them concatenated, as a country code is always 2 characters long. The algorithm for checksum digit generation is thus (source: https://en.wik...

 
10:08 AM
0
Q: Multi-level free parking space finder

CharlieImagine a representation of a parking lot like this one: ***************** * * * ··CC··C··CC·· * * ************* * * ··CCCCCCCCC·· * * * **********E****** In this representation a * means a wall, a · a free parking space, a E the entry point and a C a car already pa...

 
What happened here?
Last year it was +10
 
i hope it isn't a problem that my challenge pretty much demands big integer support, due to what it does
 
@BetaDecay People didn't like my new design :-(
 
10:24 AM
Nah, it looked great!
I guess people just don't want a PPCG app anymore
 
10:45 AM
PPCG2 is all the rage now
AKA Axtell
 
@NewMainPosts That's a tough golf
 
@BetaDecay I don't believe in apps in general. Why not just use a website? Most apps are just packaged browsers anyway.
 
Because a PPCG app would have more features that the mobile website. Stuff that you'd get in the userscript for example
 
@BetaDecay I use the userscript.
 
On mobile? How?
 
10:59 AM
@BetaDecay I only use real computers.
 
Oh I see.
 
11:25 AM
@BetaDecay At one point last year, I was asking around if someone skilled with design could assist for themeing, I got told it's not a thing anymore since PPCG2 will be.. So I threw that idea away
 
What is PPCG2?
 
@BetaDecay Axtell
 
I've known about it for years but nothing has happened yet
Can it be used?
codegolf.vihan.org isn't responding
 
I once had a golf there, but there wan't a lot of functionality which in addition to an app would have been the main point..
 
The images in the chat look good though. Is there going to be mobile support?
 
11:41 AM
@BetaDecay Apparenlty yes
 
Good
 
Just checked the todo.md, there's no mention of an app :S
 
I'll ask
@Downgoat @Mego Is Axtell going to have mobile site?
 
 
3 hours later…
2:36 PM
@BetaDecay It already works fine on mobile
 
When you get an error message, Google it, and get no results, you know you're going to have a bad day....
 
I'm sad: Fitbit has finally killed Pebble
 
3:01 PM
@AdmBorkBork I'm using a framework that, even though it's being updated every few months or so, doesn't have a single documentation file from after 2010 or 11. Tried looking for help on their forums to solve some errors I was having, and their answer was "Read the docs"
 
3:41 PM
@Pavel nani??
 
0
Q: Tell me the Lunar Phase!

Beta DecayChallenge Given an image of the Moon as input, output the phase of the Moon. Phases of the Moon Your program will be supplied one of these images in png format and you must output the phase exactly as given: new moon waxing crescent first quarter waxing gibbous full moon w...

 
4:02 PM
@BetaDecay Oh, that's too bad. I had a quality 131-byte Ruby solution: ->f{f=open(f,'rb').read;%w[first third waxing new full waning][f[699].ord%7]+' '+%w[x moon gibbous quarter crescent][f[998].ord%5]} :P
 
I say not the same bytes because I'm not sure of if they will be preserved if I, say, download the image using firefox
 
looks online for PNG format
As I can see, it's raster.
@BetaDecay Just store their xxd somewhere....
 
What's an xxd?
 
google turns out to produce more off-topic results than I expected
 
I'm on windows though
 
4:10 PM
sigh
There is certutil but...
My point is to store them in a digital format that is guaranteed to not be modified by browsers.
 
Oil painting
 
Of course if you install some weird browser plugins they may still turn e into 3 (which will change xxd!), but...
Anyway...
As far as I know, browsers should not arbitrarily modify download contents.
 
@BetaDecay Coreutils are available for windows
In particular, they come with git
So if you have git, you have xxd.
 
oh right
@Doorknob Your answer will be fine
 
You should still include a SHA256 or something into the post. Wikipedia may change at any time.
 
4:25 PM
Is there a way to pipe output directly to the clipboard?
 
@BetaDecay xclip
 
@EriktheOutgolfer That edit isn't needed anymore
 
yeah, deleted comments lag when you load them before deletion...if you think that my edit has changed the challenge, feel free to change it :-)
(I only realized after trying to flag)
hm, are the bytes guaranteed to be the same now?
@BetaDecay
 
yup
I'm adding hexdumps now for each image
 
ah, now the revision comment is "comment clarification", even though I just edited in the opposite (grace period...)
 
4:31 PM
@OMᗺ Windows ...
clip.
 
In my experience xclip never works properly
 
Yup, xxd 240px-Moon_phase_6.svg.png | clip is working like a dream
 
@user202729 That remind me of clippy :)
 
@OMᗺ Apparnatly his name is actually Clippit.
Apparantly, even.
 
4:50 PM
1
Q: Spiral neighbourhoods

OMᗺIf we take the natural numbers and roll them up counter clock-wise into a spiral we end up with the following infinite spiral: ....--57--56 | 36--35--34--33--32--31--30 55 | | | 37 16--15--14--13--12 29 54 | | ...

 
Didn't know that, Merlin was way cooler anyways
They call him clippy too: smore.com/clippy-js
 
5:08 PM
anyone happen to know (or care) about global optimization?
I know docs.scipy.org/doc/scipy/reference/generated/… but I remember reading that there were better methods
but I can't remember anything about them!
anyone happen to know?
 
@NewMainPosts: Guess there'll be a MATL answer pretty soon w/ 1YL..
0
A: Spiral neighbourhoods

Luis MendoMATL, 15 bytes 3*1YLtG=1Y6Z+g) Input and output are 1-based. The output gives the left, down, up and right neighbours in that order. Try it online!

 
5:30 PM
@BetaDecay oh, cool
 
 
1 hour later…
W W
6:52 PM
The third stack is frozen so I thought I'd ask here. Can anyone do this in less than 76 bytes.
(in brain-flak)
 
I hadn't tried. I'll give it a shot
 
W W
It can probably be done, I feel like I'm just having mind clog.
 
Why does that have 10 downvotes
It's not the greatest challenge veer
But it's not bad, it's just easy
 
A lot of it might have to do with codegolf.stackexchange.com/revisions/168516/1
 
That would make sense, yes
 
7:02 PM
@WW At first I read mind dog, because cl looks like d, and I was horribly confused.
 
W W
Mind clog sounds like a Brainfuck derivative.
 
mind dog
are those like mind flayers, but cuter,
 
Jan 22 '16 at 21:29, by TimmyD
Simple is nice. Trivial is not.
 
W W
It's fun in esolangs. But it's also low effort, and not many answers are in esolangs anyway.
 
7:11 PM
thahhnk you, for this
it gives me very conflicted feelings because it is in fact very cute
and cognitive dissonance is what keeps me going;
 
It's a great webcomic
Dungeon Construction Co.
 
W W
@quartata I have to steal this for an rpg I am GMing. There is already a meme that I make the players fight dogs a lot.
 
@WW I wish there was a way to make challenges for simple things that are hard in certain esolangs without restricting languages or making a stupidly trivial challenge.
Which I guess is just CMCs
 
W W
Yeah, I have more fun on Brain-Flak CMCs than on Brain-flak mains.
 
@WW it's already well known that mind flayers acquire slaves to massage the central brain, so by extension mind dogs need slaves to pet thehm
make them fight an army of dominated Petting Slaves,
 
W W
7:14 PM
Good idea.
 
i like the idea off a very dog-centric game
dogs have very deep lore
 
@WW Brain-Flak CMC: Negate the input in brain-flak classic.
Because ([{}]) is rather boring
 
W W
@quartata It's mostly killing dogs. I like making them fight dogs because they never show any remorse when killing people but they tend to have an issue with murdering puppies.
@DJMcMayhem With or without accumulating loops?
 
Hmm. I'm not sure. Which one is BFC supposed to have?
 
@WW no reason you can,t build a massive dog society to garner sympathy
 
7:17 PM
this spec has non-accumulating loops, but I regret that. I don't remember whether modern brain-flak or loop-accumulating was invented first.
 
W W
I don't know which it's supposed to have.
 
Then I'll allow it for this CMC
 
I can't tell if everyone went on lunch break at the exact same time or if I missed a meeting
Whatever it is I got the whole section of the office floor to myself rn and it's pretty great
 
Time to rock out to some Slayer
 
W W
One of my three coworkers is off this week, so I've been spending a lot of alone time at work. It's great.
 
7:22 PM
I always take my lunch break at 11 even though I'm not hungry yet. A) No lines B) Office is super quiet later
 
Take some time, out of your day, to appreciate this:
running vinegar through my garbage disposal
 
Is that actually Shog
 
@Pavel yes
 
@Pavel It's probably using the wrong clipboard. xclip -selection clipboard works for me.
 
Cool
I should make that an alias
Actually I need to reinstall my linux box first
 
7:31 PM
@DJMcMayhem I just realized that's a lot more boring than I anticipated: ({<({}[])>[]}{})
 
'cause I managed to wreck dnf
 
W W
@DJMcMayhem Only works for positive.
 
Oh, true.
 
@WW I have 60, but I think I can golf it further. I'm using the stack height as a counter which may or may not be clever
 
W W
Oh that's a good idea.
 
7:34 PM
 
@BetaDecay it's responsive if that's what you mean.
mobile app may be in far, far, future
 
Axtell works pretty good on mobile
It's a little messed up on my phone (mostly the symbols on the buttons aren't quite aligned) but my safari is so old
 
Actually same here
(Chrome on Android P latest)
 
@quartata thing to make into a tweet of the day: what if dune had LSD instead of whatever drug it had? and the only way to get the LSD was to harvest it from sandworms
inspired by a dream i had
 
I already did a dune tweet, so it's on a Cooldown for 2 more months
 
7:40 PM
@quartata Why do you use ancient safari?
 
because my phone is a 4S
 
Aren't there updates
 
@quartata send screenshots and will fix
@quartata oh dang im surprised Axtell works O_o
 
@quartata fine
which tweet did you do?
 
im surprised the flexbox works we don't prefix that
 
7:48 PM
just rewatched #dune while completely stoned and am trying to construct a real life Weirding Way using two car batteries and a megaphone encased in pure Osmium
 
oh I remember that one lol
 
no tweets in over a week :(
 
@Downgoat So can I use Axtell now?
 
@BetaDecay It's been functional for a while but it's not really done.
 
@BetaDecay as Pavel said it's functional but we still have a ways to go before we announce a beta
 
8:01 PM
@Downgoat Did you fix the scrolling being super laggy on the home page
 
^
 
I can't tell on my current computer because it's always been powerful enough to handle it
 
I don't mind. Where do I go?
 
W W
@H.PWiz Were you going to post? I'd like to see it.
 
8:03 PM
@WW Yeah it's at 58 now. I just don't want to post only to get a "save 4 bytes with this easy trick" message right after
I'll probably post in a few minutes
 
@H.PWiz Golfers hate him. See how you can save 4 bytes with this one trick.
10
 
Jul 9 at 20:13, by quartata
I haven,t tweeted in 3 days because i want The Website to be my 200th tweet and as a result half of modern civilization here has collapsed
 
@quartata So when is The Website
 
you think you,re having a rough time
 
@Pavel that's chrome's fault >:U
 
8:07 PM
@Pavel probably today, the last script I needed stopped segfaulting it's just closing the postgres connection too early
 
though I can't really fix it unless I stick a PNG of the rendered background which is problematic
I'll try to switch to an SVG later
 
@quartata ooh, make sure to tell us about it
 
you'll know
 
@WW Posted
 
That's probably the first time I've seen ((<><>)) in a brain-flak submission lol
 
8:22 PM
@DJMcMayhem What's that point of <><>
 
It's a NOP, but it has the value of 0.
 
Oh I see, push 0 twice
I feel like ((<()>)) is a nicer way
 
I feel the same way, but there's no difference in score so it's subjective.
 
What challenge is this, anyway
 
There's a lot of ways you could do that. <>((<>)), (<>(<>)), ((<()>)), etc.
2
A: Perfect Squares below \$n\$

H.PWizBrain-Flak (BrainHack), 58 bytes ({()<([]){({}{(<({}[()])>)}{}[()])}{}({}((<><>)))>}<>[()]) Try it online!

 
W W
8:25 PM
I think etc is only ((<[]>))
 
Fair
It's always bugged me that 0 is a minimum of 4 bytes. It feels like their should be some shorter method, but only in certain situations.
 
W W
Yeah it does feel that way
Perhaps someday we will find a 2 byter
 
Yeah, I'm sure that we haven't found it in our exhaustive search of the 4 possibilities.
We should really start calculating it earlier, but until the end of December we're always too busy trying to figure out which day Christmas will fall on.
10
 
In this case it could be replaced (<(())>) or (<([])>), but I like the one I have the most
 
So if you don't need the top value, why do you need to push it in the first place? Is it just to keep the [] value right?
 
8:31 PM
Actually, it fails with (<([])>)...
 
But not (<(())>)?
 
Nope. I can't figure out why it fails either
 
W W
Yeah I would think it would pass
Oh no it shouldn't
 
@ww btw...
 
W W
Your if clause pops the top value.
 
8:40 PM

 The Third Stack

A chat room for discussing the Brain-Flak programming language...
 
TIO passed 200 practical languages yesterday
tio.run/#bosh
 
0
Q: Given N, output n-th element of ['A', 'B', 'AB', 'C', 'D', 'CD', 'ABCD', 'E', ...]?

d33tahConsider the following list: expected = [ 'A', 'B', 'AB', 'C', 'D', 'CD', 'ABCD', 'E', 'F', 'EF', 'G', 'H', 'GH', 'EFGH', 'ABCDEFGH', 'I', 'J', 'IJ', 'K', 'L', 'KL', 'IJKL', 'M', 'N', 'MN', 'O', 'P', 'OP', 'MNOP', 'IJKLMNOP', 'ABCDEFGHIJKLMNOP', ... ] Here's one way to look at it - you're lear...

 
9:05 PM
@NewMainPosts Dang, that question wasn't that bad. It just had to go through some preprocessing in the sandbox.
 
#define :p
 
Actually, I like it a lot, that I want to make my own Sandbox post on it. Probably will wait about a day to see if OP changes their mind and undeletes.
 
9:26 PM
@JungHwanMin I agree and voted to undelete it.
 
Probably a change I would make would be to print a list, rather than a string of alphabets that wraps around. Also, a program that indefinitely prints the elements in order could be acceptable.
 
yeah, there was no reason to delete this one, a little bit of refurbishing should make it shine
personally, what I don't like is the fact that we should use the uppercase alphabet and 0-index, but that's not the core of the challenge
 
9:53 PM
I think I'm confused about what PPCG2/Axtell is... Is it PPCG.SE with a different theme and extra features or is it a completely separate PPCG-style website?
 
Anonymous
@BetaDecay The latter, but it supports importing challenges from PPCG.
 
Anonymous
Also the name is Axtell - PPCGv2 was a working name until we came up with something that didn't suck
 
hm that's a shame
 
10:08 PM
@BetaDecay well, if we don't just abandon it, it might just turn into something big, and might even save our community, in case the SE overloads decide to shut us down, despite us being graduated :P
 
Has SE ever shut down a graduated community
@BetaDecay What's a shame?
 
0
A: Sandbox for Proposed Challenges

BeefsterStrings without Literals string kolmogorov-complexity restricted-source code-golf Challenge Create a program that contains no string literals and outputs this exact text: This program contains absolutely no string literals. Rules and Notes Standard loopholes apply Your solution is only ...

 
10:32 PM
0
Q: Date Occurrences

MegoGiven three non-negative integers y, m, and d (of which at least one must be positive) and a valid date with a positive year (in any reasonable format that includes the year, month, and day, and no additional information), output the date that is y years, m months, and d days after the original d...

 
@Pavel I like stack exchange and can't be bothered building up 11k rep again
 
Anonymous
@BetaDecay At one point we talked about transferring rep, but it will likely be a different system than SE so I don't know how feasible it would be.
 
Anonymous
Also we're not rewarding moderation privs based on rep
 

« first day (2729 days earlier)      last day (2113 days later) »