« first day (2037 days earlier)      last day (1524 days later) » 

7:02 AM
Pretty trivial in MATL: `:pG/G\`
@DJMcMayhem Do you intend it to be a CMC?
Shit, how do I code format a backslash?
I suggest you not to do it if you plan to post it
You suggest not to have it be a CMC before being a real challenge? Why not?
7:04 AM
My last two both were, and were received pretty well
I'm really just screwing around right now
@DJMcMayhem Silos, 66 bytes: here
Is silos similar to sesos?
not at all
although both are like assembly
but silos is a more powerful assembly
Ooh, that would be fun in brain-flak!
Nope, not planning to do it in brain-flak
7:08 AM
I don't think it would be that hard. Multiplication's not too bad, and modulus is already done
@DJMcMayhem I don't feel like copying codes
My only non-trivial brain-flak answer was mostly copied, haha
I just added one logic gate on top of modulus
@DJMcMayhem logic gate?
Maybe gate was the wrong word
A logical function
I challenge you to out-golf my one-stack swap (34 bytes)
7:11 AM
A NOT I believe
@LeakyNun no way, haha. I'm actually really bad at bf. I just had the original idea and Eamon took over the examples and marketing, lol
@DJMcMayhem one-stack not (24 bytes) (consumes input) (stack-safe)
That's pretty clever. I've always felt like there a lot of clever uses for the <> monad, but they're all really hard to come up with
@DJMcMayhem that's actually just a port of the brainfuck algorithm
Oh really? What is it in brainfuck?
@DJMcMayhem here
the snippet is [[-]>-<]>+
7:22 AM
I think I'm gonna go to bed. G'night!
see you
7:33 AM
Q: Design a algo for Building a Fort

NikhilA construction company is preparing to build a Fort. To simplify, all of the construction material had been created and it is prepared to be transported from site B to the actual construction site A, where the Fort would be build. The material had been packaged into equal blocks, each one weighin...

7:44 AM
Q: Simple Mastermind Game (Color = "RGBYOP") without using arrays or regular expression

user59031Without using arrays or regular expressions, write a Java program to implement the game MasterMind using only strings, characters and integers. Use the Scanner class to read user input and the Math class to generate random number. For the game, you must adhere to the following constraints: You...

quick, what's a website where a person who is clueless about computers can upload a binary file?
@feersum 2shared/dropbox/4shared/...
google drive
they don't require accounts?
Might as well post this here too:
7:56 AM
Shouldn't we have had a vote on meta for the new room owners? And what good does it do to appoint mods as room owners? They already can do everything a room owner can. Essentially, we've only gained 3 new room owners. — Mego 37 secs ago
(not that I object to the choices, other than my concern over appointing mods, but not letting all of the chat users weigh in on the choices isn't very democratic)
Halp what do | do in SILOS
@ReleasingHeliumNuclei absolute
-3 -> 3, 0 -> 0, 10 -> 10
Then the swap program can be 3 bytes shorter
b * -1 -> b |
@ReleasingHeliumNuclei does not work if the variables are negative to start with
8:04 AM
i woke up at 9 the first time after waking up at 12 for 2 months my brain melted
CMC: logical not in SILOS (TIO link)
0->1, anything->0 right?
@ReleasingHeliumNuclei yes
My solution is 38 bytes
@Sherlock9 hi
I posted in the Sandbox. Should come up soon
Lemme see...
8:10 AM
@LeakyNun i don't get the input, how to halp
@ReleasingHeliumNuclei template
A: Sandbox for Proposed Challenges

Sherlock9The Burnt Pancake Problem Related to Flipping Pancakes. code-golf sorting sequence You may have heard of pancake sorting, where a stack of pancakes is sorted by size by inserting spatula into the stack and flipping all of the pancakes above the spatula. The burnt pancake problem is slightly di...

@LeakyNun what is wrong with this ;_; silos.tryitonline.net/…
@ReleasingHeliumNuclei 1. input via CLA (Command-Line Argument), 2. a space is required after readIO
@LeakyNun thx
Almost double yours
8:21 AM
@ReleasingHeliumNuclei you forgot to press save again
@ReleasingHeliumNuclei I disapprove: it will be slow
@ReleasingHeliumNuclei nope
@ReleasingHeliumNuclei no, it is in the specs
8:24 AM
the if checks whether the parameter is greater than 0
ill use | then
18 mins ago, by Releasing Helium Nuclei
0->1, anything->0 right?
@ReleasingHeliumNuclei Java does not have type casting
@ReleasingHeliumNuclei not bad
8:27 AM
in a forum i mod there is a autosave thing, activates every 45 seconds
@ReleasingHeliumNuclei sometimes I save thing as backup
so if I fail, I just get back the link and start again
and I don't have to start again from the very beginning
Frequent enough to save, not frequent enough to slow
By the way, my solution is 34 bytes now
@ReleasingHeliumNuclei Do you want me to post it or do you want to continue exploring?
8:34 AM
@LeakyNun trying to find a shorter way
8:46 AM
Yay i found 34 too
Deleted message could be a lead
@ReleasingHeliumNuclei brilliant
@TùxCräftîñg hai
9:00 AM
Challenge idea: find the number of distinct shapes that can be achieved from a square with origami folds where you fold at least one vertex to another one.
Hey randomra
Long time no see
@randomra Sounds vague at the moment. Got diagrams?
hi, yeah, I drifted away for quite some time
and now maybe slowly creeping back :)
tons of new golf languages appeared
since I left
@Sherlock9 just played with a paper, but for n=0,1,2 f(n)=1,2,5
Yeah, we have Sesos and S.I.L.O.S recently. And Mego went from Seriously to Actually
@randomra Ah, I see now. Can't wait to see it posted/in the Sandbox :D
there seems to be no OEIS sequence
8 hours ago, by ColdGolf
user image
9:09 AM
@Adnan Oh my word what happened to your avatar
Not even once.
Why did you repost that onebox?
9:30 AM
15 minutes to generate ._.
^ took 20s ish
9:32 AM
maybe make the background a colour other than white first?
This one is still the best imo
what were the input images?
CMC: Generate an image that causes nightmares in at least 90% of viewers.
9:36 AM
@JonathanAllan It is isaacg's avatar
@feersum nightmares every night :(
oh man maybe I should reverse my two inputs...
armlessamy.thecomicseries.com < everything in this webcomic
@randomra Sounds fun, but oh boy. Flipping/rotating/etc counts as the same I'm assuming?
9:39 AM
@JonathanAllan What are you using to make those?
it still at 2% :/
@TùxCräftîñg what?
deep dream is still at 2%
@TùxCräftîñg Yeah, it's still in queue
9:42 AM
is website google's or it only uses the algorithms and is third party?
it's third party
the algo is open-source
upgraded kernel and graphics driver rebooting brb
wow this is a fast reboot o_o
$ systemd-analyze
Startup finished in 5.969s (firmware) + 139ms (loader) + 1.545s (kernel) + 1.057s (userspace) = 8.711s
9:45 AM
Apparently trying to use the same image for the source and the dream type makes the generator unhappy
Leave it to us to immediately break something cool
Hey, don't I have the hammer?
Why didn't my hammer work
banhammer? :P
You have a dupe hammer for
9:47 AM
It's not a codegolf
Q: The longest period iterating quine

NathanielAs we know, a quine is a program that outputs its own source code. However, it's also possible to write a program that outputs another, different program, that outputs the first program again. For example, the Python 2 program x = '''x = {} print 'print '+'"'*3+x.format("'"*3+x+"'"*3)+'"'*3''' p...

> Jobs in queue: 73
Jeez guys
9:52 AM
@LeakyNun Don't answer questions that you are voting to close, and don't steal other people's solutions.
@Mego Deleted.
@TùxCräftîñg Yeah, the pills puzzle and the fairy tale give the best results
@LeakyNun I saw that. The point stands though - don't do that.
9:54 AM
@Mego Noted
I now see why it's taking you time - using deep style, not deep dream.
changed the profilepic
no mod here to refresh...
I think you can also refresh when leaving the room and come back in
but I'm not sure
9:57 AM
oh :(
It'll refresh on its own if you give it time
CMC: factorial in Brain-flak
@LeakyNun CMC: three hours without a CMC or a request for one
10:01 AM
16 hours ago, by Martin Ender
@LeakyNun are you complaining that there's too much on-topic discussion going on in here?
There hasn't been an interesting challenge for over 24 hours now...
@ΛεγίωνΜάμμαλϠΨΠʹ ns rs and ms in this font... rnomir℩g
@LeakyNun No, I'm poking fun at the obsession you seem to have with CMCs :P
39 secs ago, by Adnan
There hasn't been an interesting challenge for over 24 hours now...
creepy ._.
10:04 AM
@Adnan - I think the rocket was quite interesting :)
just inside the window
the silos not cmc was fun
@ReleasingHeliumNuclei thank you
Here's some nightmare fuel for you guys:
10:11 AM
oh refresh
@JonathanAllan Oh god your face
@Mego IKR
;_; my profile pic still dont have refreshed
@JonathanAllan Yeah, that one was funny :)
@Adnan I'm still of the mind that one could make a Jelly solution to beat muddyfish's pyke entry :(
@Adnan mine is currently trailing by one byte if you want to try to golf it
10:26 AM
yay my profile pic updated
@JonathanAllan I don't see any easy improvements
Well Dennis already looked, so it's not gonna be easy :p
any cmc?
oops failed
10:32 AM
@Adnan maybe a rejig though, appending the leading spaces after creating everything else: 31 bytes
Palindromic rep! \o/
@JonathanAllan Maybe something like this: jelly.tryitonline.net/…
@Mego Congrats :)
@Adnan yeah I played with that too, but as you can see it's already 34 :(
Yeah, that's a shame :(
10:37 AM
@Sp3000 Yeah, flipped etc. is considered the same. It's a bit complex. I haven't written any code for it myself just wanted to create an origami related challenge as there is none on PPCG
@Adnan Any way to make a quick rough/small preview of a deep style image??
Not that I know of
It's the full 20 minute wait :p
10:42 AM
use Deep Dream
it's less impressive but it onlt take 10 seconds
@Adnan Very serene. Noot/10.
So that's what's been blocking my render job in the queue :P
10:43 AM
Much less serene
I did noot expect that
My avatar is spoopy now
10:50 AM
We're probably getting towards too many images in chat
Might want to pump the brakes a bit
yeah, that was the last one for now haha
11:07 AM
A: Sandbox for Proposed Challenges

TùxCräftîñgFind the right path Given a list of paths, output the correct path. Example of path: /\ ----+/ | - and | are horizontal and vertical paths. / and \ are 90° turns. + is treated as a - or a | depending of the current direction. Input will be like this: /--\ A------+--+--# B-...

@TùxCräftîñg can the input be like "ABC" "---" "#:#"
Here goes 23 bytes for C :/
@ReleasingHeliumNuclei what problem?
A: Sandbox for Proposed Challenges

TùxCräftîñgFind the right path Given a list of paths, output the correct path. Example of path: /\ ----+/ | - and | are horizontal and vertical paths. / and \ are 90° turns. + is treated as a - or a | depending of the current direction. Input will be like this: /--\ A------+--+--# B-...

11:16 AM
@NewSandboxedPosts ninja'd
@orlp might not be necessary i dunno
@NewSandboxedPosts eleven plz
@ReleasingHeliumNuclei I mean what is the challenge
@orlp the one @TùxCräftîñg proposed
11:35 AM
Q: Hiya, can I have my closed question opened again, please?

NathanielAs per the usual procedure, my question has been closed immediately after posting it, and I would like like to ask for it to be opened again, also as usual. In this case my question, the longest period iterating quine has been closed as a duplicate of Quit Whining, Start Quining!, because that q...

gtg bai
@TùxCräftîñg i gave up :/
12:16 PM
@LeakyNun Little late but: brain-flak.tryitonline.net/…
12:33 PM
@EamonOlive I'm incredibly concerend that brain-flak is almost as golfy as SILOS
@EamonOlive nice!
@EamonOlive that factorial function is shorter than my SILOS implementation
@RohanJhunjhunwala I'm doing major changes to silos.java if you don't mind
in order to optimize for speed
@LeakyNun sure, I commited something yesterday, so it may look like some spaghetti, but go ahead and refactor/ pull request, and I'll gladly merge it with master
@RohanJhunjhunwala so I advise you not to add new functionalities for the moment
12:35 PM
@LeakyNun ok, I will halt developement.
CMC: Given a string with alphabetic characters, output a truthy value iff the lowercase characters are in order and the uppercase characters are in order.
For example, aGdJeKf should give a truthy value (because adef and GJK are in order)
5 hours ago, by Leaky Nun
CMC: logical not in SILOS (TIO link)
^ iz nice
@RohanJhunjhunwala oh, we require 0 -> 1 and anything else -> 0
and we came up with the same 34-byte solution
@Adnan Pyth, 13 bytes: &SI@GzSI@r1Gz
@RohanJhunjhunwala nice
That is actually non trivial in SILOS rip
a=[i for i in s if i.isupper()]
b=[j for j in s if j.islower()]
@Adnan see above
@LeakyNun any ideas on how to do the cmc? LoadLine, and then check if in order...
12:48 PM
@RohanJhunjhunwala it's feasible, but i won't do it
@LeakyNun ok,
@LeakyNun do you think your 2593 byte quine is the shortest? I was experimenting with a way to use a macro to shave off all the repeated set commands, but it lengthened the quine
@RohanJhunjhunwala the key is to shorten the second part of the quine, because each character corresponds to 15 characters in the first part
a=[i for i in s if i.isupper()]
b=[j for j in s if j.islower()]
@LeakyNun the issue is by using a define statement I can golf off prints, but I have the increased cost of having to print def p print in a roundabout way
@RohanJhunjhunwala exactly
12:51 PM
@LeakyNun I think your solution is likely optimal
Unless there is some spaghetti which can be untangled, but I didn't see any...
@LeakyNun I got your TAC program
Some bytes had to be added to stop the single null byte at termination
@RohanJhunjhunwala hint: remove the second line
- 3 bytes
There has got to be a golfier way of going through and printing it backwards
@RohanJhunjhunwala Actually, tac is split each line and reverse the order, but never mind
Q: Implement "tac": Print lines from a file in reverse

Nick TBetween the kitten question and seeing this question at U&L about some sed magic, how about implementing tac? Objective Implement a program that will reverse and print the lines in a file. Input A file, provided as a name or via standard input Output The lines, reversed, to standard o...

um.. thats fairly challenging
If I can take input as one CLA per line it somewhat improves it...
@RohanJhunjhunwala I don't think so?
How are you going to store the first CLA
1:03 PM
@LeakyNun oh, I thought we were reversing each line not the order of lines. Yeah, that majes it even harder. Reversing the order of the lines, requires a unique homegrown data structure
@El'endiaStarman what do you think about having two functions in the same class myFunc(a: List) and myFunc(a: ArrayList)? Obviously, if I allow it, I'd always call the more specific one if possibe, but I'm not sure if it's a good idea
Any new CMCs? (It's been 3 hours)
Implement tac in SILOS (warning its a chat mega challenge
CMC: base conversion in SILOS
5, 2 -> 101
the base will be at most 10 and at least 2
My most elegant Mathematica answer:
(in my opinion, at least)
1:16 PM
@ΛεγίωνΜάμμαλϠΨΠʹ what is this?
@El'endiaStarman another question: Lets say I have two functions myFunc(a: Int) and myFunc(a: Int[Positive], and in my class, I pass in an Int (I don't know if its Positive). Should this be checked at runtime?
if so, I definitely need some syntax that indicates that this will happen (as I want runtime checks to be as explicit as possible)
@LeakyNun I tried to modify my reference implementation to Output "Fit" numbers with no luck
@RohanJhunjhunwala challenge link?
1:25 PM
(sorry for bombarding you with all these questions)
@RohanJhunjhunwala Do you mind if in the process I changed some behaviour
e.g. not requiring a space after readIO and loadLine
@LeakyNun sure
@LeakyNun as long as the features you add are a superset of the original functionality
@RohanJhunjhunwala sure
@LeakyNun here is the challenge whoes code I was trying to patch together codegolf.stackexchange.com/q/90067/46918
A: The kitten command

Rohan JhunjhunwalaS.I.L.O.S 179 characters loadLine : a = 256 x = get a lbla X = x B = x C = 91 B - 64 if B c printChar x GOTO x lblc C - x if C D printChar x GOTO x lblD x + 32 printChar x lblx a + 1 x = get a if x a lblb Feel free to try this code online! Essentially it translates to this in pusedocode. St...

@RohanJhunjhunwala and how can I help you?
1:40 PM
@LeakyNun I was attempting your CMC
@RohanJhunjhunwala I mean about the fit number challenge
Q: print output dictionary values in decreasing order of ranking

kunal sharmaNow i had stored result in dictionary as pStats={'Murray':[2,2,16,143,13,142],'Djokovic':[3,1,13,142,‌​16,143],'Muguruza':[‌​0,0,1,12,2,15],'Will‌​iams':[0,1,2,15,1,12‌​]} Now i want to print output in decreasing order of ranking, where the ranking is according to the criteria 1-6 in that orde...

@LeakyNun oh, I didn't really need help with it. I was just using the code from it on your CMC.
@RohanJhunjhunwala Mind if I attempt the challenge myself?
@LeakyNun sure, go ahead. You probably can outgolf me
1:54 PM
people have starred this message.
@ΛεγίωνΜάμμαλϠΨΠʹ how?
are you a RO?
@JonathanAllan You mean bold text?
@ΛεγίωνΜάμμαλϠΨΠʹ no how did you star your message?
@JonathanAllan No, I didn't star it
@JonathanAllan I starred it
1:56 PM
Thought it was a sneaky cheat :p
no one has stared this message D'oh
@JonathanAllan no, it was meant to display on the starboard
as X people have starred this message
yeah I see that :p
1:58 PM
A: Output "Fit" numbers

Leaky NunS.I.L.O.S, 120 bytes readIO p = 1 lbla m = i m % 2 M = m M - 1 M * F M + 2 p * M F = 1 F - m A = p A * m r + A i / 2 if i a r / 2 printInt r Try it online!

,000 ,000 people have stared this message

« first day (2037 days earlier)      last day (1524 days later) »