« first day (2012 days earlier)      last day (2829 days later) » 

2:03 PM
@MᴀʀsUʟᴛᴏʀ look, like I've said repeatedly, it's nowhere near finished and solely for me right now. Feel free to use it, but don't expect me to help you with anything.
 
@Doorknob Would you accept PRs?
 
to my personal dotfiles repo? No.
 
@Doorknob Then what license is the CSS under (if any)? (Is it okay for me to copy, modify and then put it up on GitHub?)
 
@MartinEnder Hmm, maybe I should. Let's see if it currently works at all.
 
@Doorknob Too bad, because many of the most popular dotfile publishers on GitHub accept PRs. D:
 
2:10 PM
@MᴀʀsUʟᴛᴏʀ I don't have a license for my dotfiles. It'll be done when it's done. Until then please stop bothering me about it.
 
@zyabin101 And what exactly does this matter.
 
@zyabin101 good for them
 
Dotfiles are meant to be forked, not to be just hosted and contained in a private land.
(Not so private, because the repo is public.)
 
I keep my dotfiles at gitlab what now
 
@zyabin101 Yeah, but that doesn't mean I'm allowed to modify/copy them ;_;
actually, wait nvm
 
2:13 PM
@MartinEnder so, while looking through his blog, I found a super interesting algorithm for dungeon generation
so thanks for the reference :)
 
link? :)
 
er...
that's a different domain
maybe he linked to it?
 
hah, I've got stuff with stuff in my feed too
Bob Nystrom's pretty cool
oh I think I've read that post ages ago
 
@NathanMerrill The pictures there are absolutely mesmerizing.
 
@TimmyD maze generation always is
 
2:19 PM
flags as unproductive to a work environment ;-)
 
I really wish it was possible for me to dynamically produce HTML and change it on the fly while users watch it using Java
(with CSS, of course)
but AFAIK, its only JS that can do that
 
I'd be surprised if there's no library for that.
 
hmm, I found Flying Saucer, but it looks old
still might work though
 
Hrm. @NathanMerrill Your challenge is complicated. I'm running tests on just the first 100 words (so that it doesn't take forever to run), and I'm finding that the results vary depending upon whether I sort the input by length or not. Hah.
 
@TimmyD good!
hmmm. So, on flying saucer's user guide, it says "Dynamic changes to the content requires a reload of the document (quick, but noticeable), that is, you can't dynamically change the DOM and see results live"
 
2:30 PM
Did you expect something else?
 
I wasn't entire sure the scope of the project
its definitely a solution, though not the ideal IMO
maybe I could write some local webpage that opens in your browser and JS simply listens for DOM changes from a local server
 
I don't know much about CSS but it seems implausible that you could make a small change and somehow magically know to only recalculate a little of it.
 
@Dennis Could you add Jellyfish to TIO, so people can experiment with it? It's just a Python script that takes a source file, reads from STDIN and prints to STDOUT.
 
hmmm, you are right that browsers usually rerender the entire page
but they are really fast at it
 
@Dennis ping me when you do ^^^ :)
@Zgarb not sure whether we talked about this before. have you considered values/functions that have different values north and west? I guess X is currently the only way to achieve something like that?
 
2:35 PM
oooh, if I do do it that way, then I could also extend it to over the internet, which means that I could open a stack snippet, and watch the game run in ping-delayed realtime
I'm totally doing it
 
@MartinEnder You did suggest it, and I half-implemented it at some point, but then I decided that I'd rather keep the syntax simpler. X is not really a function, but a special part of the syntax.
 
That's a neat idea, live streaming HTML
 
@Zgarb Yeah I realise that, but it lets you achieve the same effect.
 
@Dennis Oh and BTW, I think you need Python 3 to run Jellyfish.
 
I just thought it might be neat to have something like a minmax function which returns min west and max north or something, to sort a pair of arguments.
 
2:37 PM
That would be cool, or something like divmod.
 
currently, you'd probably do something like this:
Xm S
M  S
   2
EE1
 
oooh, the term is "Server Sent Events"
 
@MartinEnder Seems about right, except that one S and one E are unnecessary.
 
oh right
XmS
M 2
E1
this layout is probably better so you can use this 3x3 block as a unit like some other 1x1 function:
XmS
M
E X2
  1
oh but then you need the additional E and S again
but you get the idea
 
-*- a = "Hello, World!" -*-

aO

# * * *

-*- a = 123 -*-

aO

# * * *

IO

# * * *

 I
IAO

# * * *

-*- p = 80 -*-

 p
IMO
^ Ideas for yet another 2d lang.
 
2:48 PM
hey, for an upcoming challenge, I need a bunch of github repos, and I thought it'd be cool to pick them from the community. If you guys could send me your github profile/repo, that'd be great
 
I think you a word
probably "KotH"?
 
nope, not a KoTH, actually :)
 
Sounds more like a code challenge to me
 
2:50 PM
@NathanMerrill You may take trending repos, showcases or even awesome repos' links. :P
 
if its on your profile, I've already got it, BTW
 
Do you want smallish ones or huge and complex oneS?
 
don't really care
 
@Zgarb @MartinEnder jellyfish.tryitonline.net
Do you have a program to test it with? I tried the GitHub example, but I'm not sure what kind of input it expects.
 
2:52 PM
@Dennis Thank you!
 
I'll take your word for it. :P Glad to see the name stuck. :)
 
@Zgarb how much exactly does i read?
 
0
Q: Szekeres's sequence

Leaky NunDefinition a(1) = 1 a(2) = 2 a(n) is smallest number k>a(n-1) which avoids any 3-term arithmetic progression in a(1), a(2), ..., a(n-1), k. In other words, a(n) is the smallest number k>a(n-1) such that there does not exist x, y where 0<x<y<n and a(y)-a(x) = k-a(y). Worked out example For n=...

\o/
Now the first 3 newest questions are all mine hahahaha
 
@MartinEnder It calls the input() function of Python 3, so one line, I guess.
 
so the only difference to j is that j needs to be triggered by an argument?
 
2:57 PM
(working) bounty bot
 
@MartinEnder Yes, and you can use j in operators to, say, read a line until a condition is met.
 
I see
ugh, division auto-converts to float? :D
 
I guess so. :P
 
fair enough
 
I didn't put much energy into planning the built-ins.
 
2:59 PM
that rectangle counting challenge:
p/*m%*+1
    2Ei
oh wait, there's an increment built-in, isn't there
oh, but it would need a threading operator
 
@MartinEnder ` does threading.
 
yeah, but then it's not shorter any more
 
Oh right, it's not.
 
@Zgarb I haven't been paying much attention to the development of Jellyfish so my questions are: Is it anything like Jelly and is it anything like ><>?
 
0
Q: Szekeres's sequence

Leaky NunDefinition a(1) = 1 a(2) = 2 a(n) is smallest number k>a(n-1) which avoids any 3-term arithmetic progression in a(1), a(2), ..., a(n-1), k. In other words, a(n) is the smallest number k>a(n-1) such that there does not exist x, y where 0<x<y<n and a(y)-a(x) = k-a(y). Worked out example For n=...

 
3:03 PM
@Sherlock9 not really like either, but both Jelly and Jellyfish are inspired by J ;)
 
Ah nuts. I forgot I never got around to learning Jelly. I still have the docs tab open after how many months
 
@Sherlock9 What Martin said. You could say that it's somewhat like J, and thus, somewhat like Jelly. The functional array programming model is very close to J and Jelly, but the syntax is nothing like anything I've seen.
Which is pretty much why I made it.
 
Guys, I can't believe it.
2
A: Print Numbers from 1 to 10

WolfgangTS𝔼𝕊𝕄𝕚𝕟, 7 bytes ⩤ 1,Ⅹ Prints out 1,2,3,4,5,6,7,8,9,10 Implicit print, Ⅹ is 10 and ⩤ is range(a, b) so the overall pseudocode is stdout.write(range(1, 10)) Note that, while it is only 5 characters, it still takes up 7 bytes, this is due to the Ⅹ and the ⩤ not being ASCII characters. (Ⅹ ...

Someone actually learned my language!
 
Congrats :D
 
Fun fact: his icon means "seven" in Chinese
 
3:08 PM
@Zgarb it's definitely one of my all-time favourite syntax ideas :)
 
@mınxomaτ you have the best commit messages "url","test","err","speed"
 
@NathanMerrill uh where?
 
@NathanMerrill I just see comments and PRs there.
 
@MartinEnder I like it too. Unfortunately coding the built-ins is a chore...
 
3:09 PM
@MamaFunRoll you use Ubuntu font!
 
@mınxomaτ scroll down
Jun 27 to Jul 3
 
I don't see any commit messages in there.
That's the end.
 
that's the end on mine
 
Weird.
 
3:14 PM
Feb 20 at 23:16, by Alex A.
Nice commit messages
I have the best messages around.
 
4
Q: Simulate a sock drawer

ZgarbBackground I have a collection of "weekday socks", which are seven pairs of socks labeled by the days of the week. When I wash my socks, they end up in a pile, and I must arrange them into the correct pairs before putting them into the closet. My strategy is to pull one random sock from the pile...

 
@Zgarb there is no operator that swaps the arguments of a binary function, is there?
 
@MartinEnder ~ does that.
 
oh, overlooked the unary version
in the meantime, I've found a fork-based solution, which unfortunately is still the same length:
pm%/*[*i
  4  +1
is this a bug or am I misunderstanding how ~ should work? jellyfish.tryitonline.net/…
 
thanks, all, I think I got enough commits
 
3:20 PM
@MartinEnder That's a bug, thanks for finding it!
I also haven't done much testing.
Fixed now (hopefully) at GitHub.
@Dennis Could you pull Jellyfish?
 
a site I use for movies is giving away a year of free movies (67 movies) for inviting 5 people to use their site oO
that seems really abusable
 
@Zgarb Done.
 
Thanks!
 
I find your current selection of built-ins quite amusing :D
 
They are chosen pretty much based on what felt fun to implement at the moment.
Like I said, you can covert an integer to a base representation (a list like in J), but not back.
 
3:28 PM
 
@flawr
 
@zyabin101 whut?
 
@flawr You forgot the text in the message with a ping.
But you edited it. =)
 
Oh yes, shady as fuck.
 
3:38 PM
uhm
 
Ooh!
 
ok, so I've got an upcoming diff compression challenge. Does it make it more interesting it I require the diffs to be bidirectional?
aka, you store a diff that can transform A to B
however, that diff should also work to transform B to A
 
Did you see my ideas for a 2d lang? :3
 
hmmm, no, I don't think it is
 
3:48 PM
yes, but they don't mean anything to me if you don't at least try to explain what that jumble of characters means
 
ven
Congrats on 100k, @MartinEnder :)!
2
 
thanks :)
 
@MartinEnder congrats!
 
Now, the moderators should have enough power to build the room afresh.
 
3:50 PM
@Zgarb while writing that up I noticed that I have absolutely no clue how to explain a Jellyfish program. the semantics make more sense top-down, but explaining the actual computation is definitely easier bottom-up.
 
It imploded a few months ago.
 
that also got me wondering how one could visualise the program structure
 
@DrGreenEggsandIronMan There's only one correct answer to this
I think you meant to provide a choice?
 
@DrGreenEggsandIronMan I don't like either.
 
ven
@MartinEnder btw, Retina's readme still uses your old github username. (I noticed because I work with a local clone, no internet on holidays... Also why I can't PR)
 
3:51 PM
@quartata what do you mean?
 
@DrGreenEggsandIronMan Well, coffee is the only right answer. Isn't the point of a poll to provide several choices?
 
@ven good catch, thanks. you should be able to update your remote though.
 
@DrGreenEggsandIronMan Where's the answer for "I dislike hot beverages?"
 
@TimmyD Iced coffee and tea are things
 
Shh
 
3:53 PM
Iced coffee is pretty good.
 
I have an idea for a new esoteric programming language. What now?
 
@MartinEnder Some visualization tool would definitely be helpful in the explanations. The problem is that operators can make the whole thing much more messy, if you want to reuse their results too...
 
@betseg Share it!
 
ven
@NathanMerrill feel free to pick from @vendethiel on gh :)
 
I wonder if I should have included an option for soda
 
3:54 PM
@Zgarb That's what makes the language so beautiful though :D
 
@ven will do :)
 
ven
@MartinEnder no, I'm not able to do that without internet :P. (Using my phone atm)
 
you're also not able to send a PR without internet :P
 
@zyabin101 it's a 3D language, very similar to Hexagony but uses platonic polyhedra.
 
:O
 
ven
3:55 PM
@MartinEnder Well, I've coded a few things on my phone. But fighting github's web editor is a no-no....
 
@DrGreenEggsandIronMan Or soap ... or peanut butter ... or ... ;-)
 
ven
(Tho, yes, I can remote set-url without internet, I can't fetch said remote :P)
 
@TimmyD ew and ew.
 
ven
I've learned APL(though not for golfing), then Pyth, Jelly, CJam, J and Retina. It's amazing because they're all so different. What could be a very different language to learn next? :)
 
@ven PowerShell is great and does all things. ;-)
 
4:06 PM
@ven I recommend Haskell.
 
@ven Hexagony? Brainfuck?
 
ven
Those are not golfing languages :p. I know Haskell already and bf as well
Oooh, hexagony looks like an amazing amount of fun
 
@ven Labyrinth :)
 
ven
Labyrinth's a bit like Hexagony, right? In that it's very "position-based"
 
@ven -1 for changing question requirements after posting the question. :-p
 
ven
4:07 PM
(Or 2d I guess)
 
@ven well yeah they're both 2D. but I think Lab is much less of a headache than Hexagony and much more interesting to program in, in my opinion.
 
ven
@TimmyD hey, those are pretty much all golfing languages... :P (though J/APL were not designed that way...)
 
especially when you're trying to golf things
 
ven
I'm more interested in the language aspect for now, tbh. But thanks, I'll go that way :)
 
@ven You could learn V. It's extremely different than any language you have ever used, I guarantee it. :)
And it fits your name!
 
4:10 PM
@ven You could also learn one of the 2D pattern matching languages.
(Veiled self-advertisement.)
 
ven
@DrGreenEggsandIronMan \o/
 
Polyhedragony trying to find names for my language that I'll probably never actually finish.
 
@betseg Hydra? (poly = many, + dragon)
 
@betseg 10/10 very original ;)
 
ven
@Zgarb thanks!
 
4:18 PM
I wish there was a regular polyhedron based on hexagons...
 
@Dennis That reminds me, could you pull Grime?
 
hexAGONY xD
@Martin Ender have you seen the topology of your language? math.stackexchange.com/questions/53454/wrapped-hexagon-topology
 
40
A: What programming languages have been created by PPCG users?

Martin EnderHexagony Hexagony was created by me, Martin Büttner, in September 2015. As far as I know it is the first two-dimensional programming language which operates on a hexagonal grid (instead of the usual rectangular grid). To make matters worse, opposite edges of the grid wrap around, making the top...

> To make matters worse, opposite edges of the grid wrap around, making the topology of the source code a weird twisted torus.
 
@Zgarb Done.
 
Thanks!
 
4:26 PM
:31435331 There is no superscript in chat Markdown.
 
4:36 PM
its great xD
 
0
Q: Long user locations causes the "user page" to display weird

DJ McMayhemEarlier today, as I was settling into my daily morning routine of "Answer questions on meta while drinking coffee", I saw a strange bug on the user page. There is a huge block of whitespace through the middle of the users page! Link for the curious. I thought this was weird, but when I scroll...

 
@Dennis That n-.5 is really clever!
I’m surprised randint doesn’t complain.
Python is such a mess…
4
 
:D
import antigravity
try it ^
 
4:55 PM
from __future__ import braces
 
from __dentist__ import braces
while(braces){ridicule=true;pain=true}
if(!braces){teeth=nice}
6
 
1
Q: Diff compression

Nathan MerrillFor this challenge, you need to compress a diff. In other words, you need to provide one or more programs that can: Input A and B, and output a diff, C Input A and C, and output B Input B and C, and output A The goal is to make the diff, C, as small as possible. The diff can be anything: a ...

 
5:11 PM
could a mod nuke the comments here ^
 
I'm ok with the first two comments staying
 
ok, well let's just delete the rest :p
 
Can’t you two just delete—yeah.
 
nice dash :p do you have a keyboard bind for it or something?
 
@Nathan Merril, but I am unsure what a dif is?
 
5:15 PM
@Lynn oh, duh. thanks
 
0
Q: Move platforms!

daHugLennyThe Challenge Given either a string, multiline string, or a two dimensional array, and a positive integer n, output the position of the platforms n turns after the initial position. U, D, R, L are platforms. ^, v, >, < are arrows that change the directions of the platforms. U, D, R, L move...

 
you should set the spec in stone
 
@CᴏɴᴏʀO'Bʀɪᴇɴ my Google keyboard has these: - – —
 
@RohanJhunjhunwala "The diff can be anything: a string, a number, a blob of data"
it literally is a bunch of data used to differentiate between A and B
 
Can I use Bash+diffutils?
 
5:16 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Yes~! I try to use Unicode right, and I also like em dashes.
 
@betseg absolutely
 
@betseg You probably can, but note that it’s not .
 
@Lynn it kind of is (as I am including the length of the program in the score as well)
 
ok makes sense
 
Ah, I see.
 
5:19 PM
Any particularly interesting challenges to try out?
 
@betseg actually, I'm going to take that back, sorry. There might be a library out there that already does the task I'm specifying. I'm going to not allow builtins that produce diffs
 
Only if i had a computer... i don't think i can measure 50 diff files
@NathanMerrill oh ok
@Lynn how do i do the tag thing
 
[tag:code-golf]
 
@Lynn thx
 
@NathanMerrill I added in an explaination of a diff. Feel free to accept or reject it
 
5:28 PM
I'm doing my final attempt for today at building a new OS with SUSE Studio.
When the Live CD is ready, will publish.
 
Building an OS seems fun xD
 
Writing a kernel is one of the most unfun things imaginable
 
@RohanJhunjhunwala Building an OS in SUSE Studio, in your browser, is more fun :D
> 1 build, 306 MB, 1 build running
 
If only assignments in Python were expressions rather than statements
 
@StevenH. Not good for golfing I'll admit but code like x = (y = z) + 3 is horrible
I see stuff like that in C too often
 
5:34 PM
1) The 1 build is the USB disk raw image, that has to be ddd into a fresh USB disk.
(ddd - applied with dd)
2) 306 MB is the space it uses up on my 15 GB of free space allocated exclusively for build artefacts.
Not artifacts mind you, artefacts.
3) 1 build is running, and it's the Live CD.
It's ongoing for... for... for... checks appliance editor for...
Finally! It's ongoing for nine minutes!
 
@quartata I see what you mean, yeah. It does mean, however, that what would be i++ in C has to be written in its own line as i+=1, which is not particularly fun when you want to use the changed value later on in the expression.
 
@Lynn Yeah, I was quite surprised too.
 
@StevenH. not necessarily. you just can't do some_func(i++)
aka, if i++ returned nothing
and only incremented i
(although, that changes what integers mean, and doesn't really make sense in python)
 
5:49 PM
func(++i); and func(i++); confuses every newbie
 
OMG i hate pre/postfix abuse xD
 
Still better than i+=1\nfunc(i) and func(i)\ni+=1
 
this is all really about command-query separation
the only problem is queues/stacks
 
@NathanMerrill in your diff challenge perhaps add code-golf tag as code golfing is part of score?
 
I don't really want to. The challenge really isn't about golfing your code, and I don't want to emphasize it more than I have to
 
5:54 PM
Then why not take code golf out of winning criteria?
i dont see why it needs to be there
 
I found out that the Live CD build is finally finished!
 
it was the best method I could think of to prevent hardcoding
 
halp vim dont support unicode
 
"don't hardcoding" is really broad, and saying "I should be able to change the test cases and you have the same score" doesn't work either, because the test cases could have a dramatically different size
 
@TùxCräftîñg :se enc=utf8
Also :se guifont=*
If you're on gvim
 
5:59 PM
work
 
@TùxCräftîñg y u no use doesn't
 
@NathanMerrill perhaps do what i did with upgoat downgoat and provide three batches of test cases released everyday or after new answers and average the scores from them. Or just say "dont hardcode". I could always just find the checksum of input &length which would still be rather short and i get to hardcode
 
work on gvim but not on the terminal version :/
 

« first day (2012 days earlier)      last day (2829 days later) »