« first day (1888 days earlier)      last day (2956 days later) » 

6:03 AM
@HelkaHomba That's an oddly specific number. It'd have to be 7 bars of 4/4 or 9 bars of 3/4, both of which seem quite uncommon
 
@Sp3000 not necessarily
it could also be 27/28 bars of 3/8, 14 bars of 6/8, 9 bars of 9/8 or 7 bars of 12/8
but all those numbers of bars seem uncommon
 
@Sp3000 It's for an elevator in Minecraft that plays note blocks in regular intervals on the way up. To reach the height limit exactly 27 "lifting modules" are needed.
 
I'm assuming the combination of "famous tune" and the small number of bars would narrow it down to mostly nursery rhymes and such, which don't generally have uncommon time signatures (as far as I can tell)
 
@HelkaHomba Screenshot?
 
@MartinBüttner I am not sure how to do that now. Is there any chance you could do it please?
 
6:07 AM
Is it 27/28 beats or 27/28 notes?
 
Any reason why it can't have more/less?
 
is it possible to find a question you deleted?
 
(still in creative)
@MarsUltor More is not an option, since it can't be higher. But less is possible
 
Wait
are they all note blocks?
Also, how are they triggered?
 
@MarsUltor Since they look the nicest of all blocks slime blocks can't move
 
6:09 AM
@MartinBüttner worked it out
 
@MarsUltor Only one on the side is triggered via pressure plate + repeater
 
If quavers are okay, you could do 4 bars of "I am the Doctor" from Doctor Who :P
 
@Lembik Only ones deleted in the last 2 months, or ones you've bookmarked.
 
@HelkaHomba The one sticking out from the right?
 
@ChrisJester-Young thanks
 
6:11 AM
@MarsUltor Yes. I'll probably be building it soon in the PPCG Minecraft Server, if you want to see specifically how it works
 
Shouldn't be too hard to change them to every four blocks
That way it shouldn't be too hard to add quavers/semiquavers
 
That wont work, the slime blocks push you up 7 blocks (this is an elevator first and foremost, then a music player)
@Sp3000 beats I guess. Or 27 notes all with the same timing
 
Same timing makes things hard :P
 
So quavers/semiquavers are probably too much work
Why to the max height though?
 
For elytra acrobatics :D
@Sp3000 This would be famous enough...if I knew it
 
Anonymous
6:19 AM
I would like some feedback on something in this challenge
 
Anonymous
I believe it's fair to say that all the answers that do system(url); (or equivalent) in the respective languages are trivially related and thus are duplicates
 
Is the elevator automatic?
 
Yes
 
Anonymous
Basically what I'm asserting is that, if there is a bash/batch/other shell language submission of A, other submissions that are simply calling system/exec/whatever with A (or a trivial modification thereof) are duplicates of the first.
 
Anonymous
Is that a reasonable assertion?
 
6:25 AM
@HelkaHomba Do you mind saving and linking the world?
 
@Mego I probably wouldn't go that far, but it almost does feel like there should just be a challenge for doing a system call in the fewest bytes
 
Anonymous
@Sp3000 I'd downvote that challenge for trivialness (triviality?) so hard that even Geobits would be like "damn".
 
The problem I'm kind of having here is that, for some languages, even if it had a different way of doing the task that doesn't directly use system, it could just be that system is shorter
 
@HelkaHomba If you really want music, it would be easier to choose music by wiring a pressure plate at the start and end to a time query gametime command block, then using that to decide on the number of ticks per note. Then, you wire the music up to start once someone enters, then wire it to the rest of the note blocks with appropriate delays.
 
I don't think Calka's intending to use command blocks on the server though (might be wrong about that)
 
6:39 AM
Yeah
I know
those are only to count the number of ticks it takes to get to the top
 
0
Q: Are these answers duplicate?

proud haskellerOn this challenge, because of the way it is constructed, there aren't many ways to solve the question. @mego has commented on a bunch of answers that directly used a system call "duplicate" (for example, here here and here) Although wrapping code in a system call is a trivial modification, the ...

 
@MarsUltor ehh, too much trouble, but you can join the server where I'll build it
@Sp3000 right
 
6:54 AM
Woo! First challenge in a while: codegolf.stackexchange.com/questions/76675/…
 
Well, Helka, you could do the elevator, and then do an arbitrary-length minecart rail with note blocks
Then you could do a whole song
The following messages are replies to hours-old messages.
@BernardMeurer Yeah, I hate it when people see my golfs with two indentation levels and suggest I switch to Python 2 so I can mix tabs and spaces. Blech
So, I should learn good version control practices I have never really needed it while golfing before, but while making games and my Piet answer to my Josephus question, my version numbers kind of went crazy. Can you guys give me some best practices now so I don't screw it up later? Like when do I pull and fork and so on
 
Anonymous
@Sherlock9 Commit when you've done something. Push when you need that something to be accessible somewhere else. Fork when you want to work on someone else's something. Branch when you want to make changes to your something without affecting other somethings. Pull when you're ready for those changes to your something to affect your other somethings.
 
1
Q: Identify arborally satisfied point sets

PhiNotPiAn arborally satisfied point set is a 2D set of points such that, for any axis-aligned rectangle that can be formed using two points in the set as opposite corners, that rectangle contains or touches at least one other point. Here is an equivalent definition from Wikipedia: A point set is sa...

 
Anonymous
I structure my VCS by giving each major change/goal its own branch, and using master for pulling those branches together and doing minor changes and bugfixes.
 
@Mego Thanks Mego! :D I'm going to bookmark this chat for future use
 
Anonymous
7:05 AM
I hope my liberal use of the word something has led to you reaching enlightenment about your somethings.
 
It will, as soon as I pick up a project to something in.
 
Anonymous
You could always do some somethings with Seriously! I'm always open to collaboration. Especially if it involves turning the docs from nothings into somethings.
 
I'll take a look around. I can guarantee nothing though, as I've never really taken a look at other people's code before
Wait what's the difference between fork and branch?
 
Anonymous
A fork is someone else's repository that you've forked under your own name
 
Anonymous
Presumably to do some work and either submit pull requests to the main repo or continue on as a separate project
 
7:17 AM
 
Anonymous
A branch is a separate part of the same repository, usually temporarily made for the purpose of implementing major changes or merging pull requests
 
Well oops
Probably should have just saved to desktop instead of forked
 
or you can branork it
 
Anonymous
You typically will fork a project when you intend to do some work on it and make a pull request to the maintainer(s). Otherwise, simply cloning it is enough.
 
Anonymous
The only real difference between a fork and a clone is, on the remote end, you get your own repository with a fork
 
7:23 AM
Well, I was planning on doing work on the docs, so I guess forking was a good idea. I'm not sure at this point, but I'll just roll with it
 
Anonymous
Forking was the correct move, yes :)
 
Yay!
 
8:09 AM
1
A: basic python + spark (performance and copy-paste)

Zach GatesWith your first file, parser.py: Because the Info class' __init__ method requires the three arguments: a, j, and z, which it then attributes to itself, you can remove the class attributes of the same name, as they become superfluous. Within the process method, you set several variables before d...

Another successful convert
 
8:31 AM
Hello
 
8:45 AM
@zyabin101 monking
 
9:13 AM
-1
Q: What is the euclidean distance between two hex codes?

fruitoftheloinsThis one kept me up last night. Solution will be a function which takes two 6-character hex strings (not prepended with #) and outputs their euclidean distance when plotted on a square like on this site. Distances should be scaled so that the square is 100 x 100 units. I prefer a readable langua...

 
9:40 AM
Is anyone here?
 
@Solver I'm here.
 
Yay!
 
@Solver nope
 
omg @Quill is a ghost! O_o
 
Yeah, I haunt people who write bad code
booooo
 
9:42 AM
oh nooooo
I'm gonna die...
bai
 
@Solver Sooooolver! Don't die!
 
 
1 hour later…
10:50 AM
1 hour of silence. >.<
 
11:16 AM
Welcome back @GraceNote. You are always welcome here. ^_^
 
hey there @GraceNote
 
We always like when Grace Note gives us the honor of her presence!
 
ven
11:33 AM
duh, .xI in Pyth uses .x as a pfn... :[
 
\o/
I got the VICE emulator to work with popular Commodore models.
 
11:57 AM
> 0.00006 GB RAM
 
63 KB of RAM. Nice
 
@Sherlock9 The header says 64 KB of RAM.
 
I was calculating backwards from 0.00006 GB, i.e. 0.00006 * 1024**2
 
posted on March 31, 2016 by Palepu Kartheek

I have an input N (i.e. N values) from console. I need N + 1 Rounds as below. Say N = 3 and the 3 input values are [70, 50, 30] then I need 4 rounds like this: Round - 1: [(70, 50, 30)] - # All are correct Round - 2: [(70, 50, 100-30), (70, 100-50, 30), (100-70, 50, 30)] - # Atleast two are correct Round - 3: [(70, 100-50, 100-30), (100-70, 100-50, 30), (100

 
@NewMainPosts I don't see this question in the list. :/
It obviously was deleted.
 
12:06 PM
@Sherlock9 Yes I rounded down from 0.000061...
 
There we go. 64 KB
 
12:17 PM
Interesting fact: the VICE emulator has the x128 executable emulate two screens, a small screen where the interaction is done, and another very wide screen. I think that screen is to be shown by a TV set.
The VICE emulator shows the second screen in a more natural resolution, but the screenshot is very wide.
 
I was going to challenge people in here with a neat little geometry puzzle, but I figured it might make a good question over on puzzling, so if anyone is interested....
 
0
A: Sandbox for Proposed Challenges

MidnightasYour task is to create a program that outputs a random pizza recipe following this one rule: No random number choosers, you may have random text choosers. All standard code-golf rules apply. A sample output: A simple PEPPARONI pizza sprinkled with fish and sausages. Your program must have the f...

 
12:35 PM
@Doorknob did Puzzling not have a separate meta post to announce graduation? just the design pitch?
 
@MartinBüttner Nope, I didn't even know we were graduating until yesterday
 
@Doorknob Genuinely can't tell if serious...
 
@trichoplax Completely serious.
 
Wow. Different sites do things differently... :)
I'm sure I've heard about puzzling graduating in passing somewhere recently - not sure if chat or somewhere else
 
12:42 PM
it came up yesterday
 
Ah - if I saw it yesterday then ignore me - I thought it was longer ago but I couldn't say for certain...
 
OHHH, did we ... graduate before Puzzling??
 
yeah, but they're already getting a design
 
so puzzling
 
That shows that golfed does not imply speed
 
12:51 PM
golfed implies incomprehendible
 
24 hours ago, by Geobits
I guess, but there are sites that have been waiting for months for this. It just looks bad imo (not the design).
 
You know, PPCG really needs some colour.
Like, a logo better than just the word PPCG
 
#fff
 
@Geobits I think there arent that many designs left in the pipeline.
 
our design should be the smallest .. why are they delaying it
 
12:54 PM
How many there are seems irrelevant to where the new ones should be placed ;)
 
@Solver That's not its current logo :P
 
PCG
Programming Code Guide
lol
 
@Sp3000 Then it's PCG, whatever :)
 
Potato Chip Grease
2
 
Perfect Code Garbling
 
12:55 PM
Make an "expand PCG" repo?
 
@zyabin101 By the way, I'm not dead :)
 
PPCG Cleared Graduation
 
@Solver \o/
 
:D
 
PPCG -- PPCG: Programming and Code Golf
Recursive acronyms are the cool thing to do, right?
 
12:58 PM
@Geobits Yeah fair enough... I don't blame them for not doing them in order though... it's a creative process, and if the artists happen to have more inspiration for some sites than others, it seems reasonable to do them in that order.
 
I'm going to try create some cover art for PPCG
If you want to say hi, @Solver me :)
 
@MartinBüttner Yea, I get that. And if they'd gotten a design concept some sensible time after the initial grad announcement, it wouldn't be as frustrating. I wouldn't think it would even be in the pipeline until after graduation was announced, but they've clearly been working on it beforehand.
 
@Solver This may help.
 
@zyabin101 Woah, thanks!
 
^ Look, I'm featured :)
 
1:03 PM
@Geobits oh yeah, I definitely agree with that... makes it seem a bit like "I really want to make the design for Puzzling, can we graduate them?" :D
 
+31 / -18 on the "open browser to PPCG" question. Good gravy.
 
@TimmyD 41.93548387096774193548387096775 percent of people who voted on this question think it is useful.
 
31/(31+18)*100=63.265
 
Then I must be using the wrong formula. XP
 
49 voters altogether, 31 of them voted up
 
1:10 PM
Okay, what do you think of this?
Logo!
 
@TimmyD And my joke batch answer got me rep capped for the first time yesterday. :P That question was interesting.
 
"Puzzles" is the one part of our name which is misleading, so it may not be helpful to put a puzzle piece in the logo
 
@Morgan'Venti'Thrappuccino \o/ You have Mortarboarded!
 
@zyabin101 Do you like the logo?
 
@Solver I somewhat like it. :)
 
1:13 PM
@zyabin101 Any improvement ideas?
Hi @ZachGates
 
Hello
 
@trichoplax Right. Hmm...
 
@Solver Yeah, it's frustrating. It looks great but I don't think it would work as a logo here. Might get us confused with Puzzling when scaled down too
 
I'm working with two curly braces now...
 
Lots of curly braces ideas, but that is used for Code Review and TeX so could also lead to confusion
 
1:17 PM
0
Q: Write a palindrome that prints "Hello, World!" without using comments

CrazyPythonYour Task: Print "Hello, World!" using a palindrome. Simple, right? Nope. You have one restriction: you may not use comments. "Comments" include Normal // or # comments Adding extraneous characters to a string literal Triple-quoted string comments Creating a string literal to hide characters...

 
what colours go well with green @trichoplax ?
 
@Dennis Is there any way to write an online interpreter of a language i designed?
do you know any good site for hosting such interpreters?
@MartinBüttner you seem to have such experience as well
 
I don't. Dennis hosts TIO.
 
Sorry, what is TIO?
 
If it doesn't do anything security-compromising and isn't too painful for Dennis to set up you could get Dennis to add it to TIO, otherwise you can set up a Heroku site like Pyth
 
1:30 PM
security-compromising? Which languages do that?
 
For example, Dennis wouldn't set up an online interpreter for Python, since sandboxing it is too hard. Basically anything that uses eval of some sort is out of the question
 
I made a new logo.
 
@PhiNotPi I actually don't think cloning is a half bad idea, as long as there a "die" command. The balance here is that you are allowed to make, say, 3 code changes per turn, meaning that more bots gives you less flexibility
 
@Sp3000 I think esolangs won't be as hard as python
 
1:32 PM
You should probably have a max limit to prevent the "spam my bot everywhere and flood the area"
 
@zyabin101 what dya think?
 
@Solver Good!
 
@KennyLau Depends on what you have in your esolang. As I said, if you have eval in your interpreter somewhere, there's a potential it could be abused badly unless you know what you're doing
I think file I/O is another thing TIO interpreters can't have, if I remember right
 
If you think I don't know what to do for zyabinVI, you're right. But I didn't skip a day to say that.
 
@sp3000 no problem
 
1:42 PM
In python you don't even need eval/exec to get arbitary code execution
 
ven
@isaacg mmh, pyth question. When I use "L..." (or even Dyb), the "b" I get is not assignable, correct?
 
We should implement a FakeFS framework for golfing languages. So it would be able to test file I/O online.
 
2:00 PM
@ven correct. Currently all assignments take place Inc the global scope. Example: pyth.herokuapp.com/?code=L%2C%3Db2by5b&debug=0
 
is 21! possible options too hard to min/max through?
 
abacabadabacaba
 
ven
@isaacg how2use a local variable, then?!
 
@PhiNotPi I retract my last statement. I don't like cloning, but allowing for a variable number of bots is somewhat interesting. If you do it that way, they have to all start with the same source code
 
ven
@isaacg because DybWb=tb will never terminate
 
2:08 PM
nevermind. I'd just stick with a fixed number of bots
 
I usually make the code recursive in a case like that
 
ven
aw shucks... not exactly easy in this case. well, guess I'll just define another function on the side...
 
2:23 PM
 
Anonymous
@MyHamDJ I think it's extremely trivial and a great example of HNQ working against us instead of for us
 
Yep. Couldn't agree more.
Do you think "Has no room for code-golfing" is a valid close reason?
 
no, its a valid question, if only a bit unclear
we could say the same thing about "Hello, world"
 
Anonymous
^
 
Anonymous
It's valid but crappy
 
Anonymous
2:27 PM
Rather than closing extremely trivial challenges, I would rather they just not get posted in the first place
 
there are significantly fewer trivial challenges in the first place
better to just get through them, then close the rest as dups
 
I wouldn't close a question for triviality (chances are there's a language in which the problem is interesting), but in hindsight banning system would have made answers more interesting here
But hindsight.
 
everybody has 20/20 hindsight
its the foresight that's we're all blind in
 
Well I'm blind :(
I'm probably going to get glasses on my next eye test
 
3
Q: Determine the type of an input

Stewie GriffinThe challenge is simple: Determine the type of an input, and output an identifier telling what type it is. "UI", Unsigned integer: 0, 1,34, 111111111111111111111111111111111111111111 "SI", Signed integer: +0, +1, +42, -1, -3, -111111111111111111111111111111111111111111 "UD", Unsigned decimal: ...

 
2:37 PM
@NewMainPosts waits patiently for the Retina answer
 
Anonymous
@TimmyD Be the change Retina answerer you want to see in the world
 
Ahahaha. That's funny.
I like how you think I know a language other than PowerShell.
;-)
 
@Dennis The retina in TryItOnline does not support d for 0-9? (A backslash is still needed)
 
@KennyLau d on its own only works in transliteration instructions. the regex flavour is the standard .NET regex flavour, so you have to use \d inside a regex.
 
Ha! According to this I am the 22nd highest challenge poster.
 
2:55 PM
I'd like to see one that takes question scores into account as well.
 
0
Q: Friday the 13th

SkyPharaohThis post would make more sense if it were Friday the 13th today... But oh well. Write a full program that, given any year as the input from at least -10,000 to 10,000, prints all dates of that year that are Friday and also on the 13th of the month. Output can be expressed as MM/dd, dd/MM, dd.M...

 
@Dennis Can you please pull 05AB1E?
 
Does this count as a valid answer?
 
     |EoM| |---.
|>===[DCM] |[o]|
     |III| |.-.|
    -------''-'|
 
?
Who wants to play games?
 
2:59 PM
@Solver I make ASCII art like this when someone asks Dennis to pull the newest version of a golfing lang to Try it online!. :-)
 
:D
 
However, I miss EoM III.
@Solver Which games?
 
My language isn't worth to go on Try it online!
 
@Solver Which one?
 
@zyabin101 agar.io :)
My language is called Cookie
 
3:02 PM
@Solver My region is Russia, so I can't play. :(
 
:(
never mind.
 
@Solver The 3 vote snippet for this is a simple cat program.
wŕ"
 
@AandN Done.
 
Have you already seen cookie @zyabin101 ? Wow.
 
@KennyLau I host Retina on TIO, but I'm not particularly skilled in Retina, and I know next to nothing about its interpreter...
 
3:04 PM
One vote snippet is 'p' - primality check
@Dennis Does this count as an answer?
 
Never mind, someone answered my question
@Dennis Would you help me host my language when I (successfully) created it?
 
@Solver Do it on your showcase, and also on the primality check catalogue.
 
@zyabin101 What do you mean?
 
@Dennis Thanks :)
 
@Dennis is a celebrity.
 
3:07 PM
@Solver There is your showcase, but you can also do this as an answer on the "Is this number a prime?" question.
If input is implicit.
.-----.
| GYM |    .-.
| [|] | o/ |o|#
================
 
Yes, input is implicit, but Cookie is still in development.
:(
 
@Solver The snippets would actually have to work. If they do, yes.
 
@Dennis Right... That's an - implication :D
 
@KennyLau As long as I'm able to set it up and it doesn't create any security holes on my server, sure.
 
@Dennis Thanks
@Dennis Any language requirement?
 
3:11 PM
No requirement, but preferably something that is in the Ubuntu repos.
Python, if you take requests.
 
3:29 PM
sure, I'll try. I'm not quite fluent in python
my first language is the joke
 
Redeem it by writing a golfing langauge in it.
 
@Dennis You take java?
 
Yes, CJam and Vitsy are both written in Java.
 
Oh, I knew CJam was, but I didn't know that about PurseDog.
 
@Geobits ಠ_ಠ
 
3:37 PM
I don't see what is so insulting about purse dog anyways
2
 
Does it change your mind about vitsy, because you like java?
 
@EasterlyIrk Sorry, I just didn't know. No need to be offended :P
 
@quartata Just annoying.
@Geobits ಠ_ಠ
 
@Dennis Would you care to share the template so I know exactly where the inputs come from?
 
@EasterlyIrk I don't hate the Vitsy language, and haven't ever said I did. It's a silly joke about the name. People make stupid Java/coffee puns all the time.
 
3:38 PM
I don't. Java = Coffee?
 
okai
 
@KennyLau I write an individual wrapper for each language. github.com/DennisMitchell/tryitonline/tree/master/bin
 
I think Vitsy reminds me of the purse dog thing so much because I actually knew a tiny dog named Mitsy (Mitzi, Mittsy, Mitsie? idk). That thing was so annoying :P
Yapped more than any dog I'd ever seen.
 
@quartata We clearly have differing opinions about purse dogs.
 
3:47 PM
@Dennis flag answers that don't meet the challenge specs as not an answer or moderator intervention?
 
@Dennis I don't blame the dogs for it. Blame the people :P
 
So after about a century of development, FFXV is looking like it might be good:
 
3:50 PM
I like the alternating colors that happen from your messages and then other peoples.
@Geobits ಠ_ಠ
 
@Geobits they did a 3 hour event to launch the game
 
@EasterlyIrk s/century/decade/ , whatever :P
It's been in the works for a while.
It started development before the PS3 was released, so yea.
 
they were just waiting for teh tech to catch up
 
@Dennis what does /opt/cjam-code/build/cjam.jar mean?
 
@EasterlyIrk Moderator attention. But the first step should be a comment. Allow the poster some time to take care of the issues before involving a moderator.
@KennyLau It's the location of the JAR file.
 

« first day (1888 days earlier)      last day (2956 days later) »