« first day (1698 days earlier)      last day (3143 days later) » 

6:00 PM
Its okay, you'll figure it out slowly
 
It is okay, because you're wrong. That won't change.
 
Thanks for the edit @Geobits
English isn't my mother tongue :x
 
0
Q: Randomly Create All Possible Combinations following some rules!

Diego PatrocinioThe code must output all the possible combinations of 6 random numbers between 01 and 75 and output it on as STDOUT. The code should require no inputs, just randomly generate the numbers. Example Output: 01,02,25,26,50,51 03,04,27,28,52,53 05,06,29,30,54,55 And so on... Pretty simple, uh? ...

 
Oh FFS New Main Posts
 
wow, he posted it again :/
 
6:04 PM
Shall I nuke it?
 
Yes
 
I didn't look at the content to know if its something different/improved
 
@ChrisJester-Young For reference the old one is at codegolf.stackexchange.com/questions/58520/…
 
Thanks.
@DiegoPatrocinio Please use the Sandbox to get feedback on your question before posting on the main site. Otherwise, your question would keep getting deleted, and I wouldn't want that for you.
 
6:06 PM
@ChrisJester-Young He has insufficient rep to post on Meta so he won't be able to use the sandbox.
 
confirmed its a super ping!
 
No need to star, it's just in the message history. :P chat.stackexchange.com/messages/24288400/history
 
@ProgramFOX and which is faster?
also, message history is not directly linked anywhere for unedited messages, so you have to create the url
 
And I can "edit" it (i.e. see the raw message but don't make any changes).
 
@AlexA. I'll respond to this in the other chatroom.
 
6:08 PM
Uhh... starring unless you already exceeded the daily star quota :P
@Optimizer "permalink" -> "history"
 
@ChrisJester-Young What other chatroom? :P
 
@ProgramFOX again, which is easier/faster?
 
44 secs ago, by ProgramFOX
Uhh... starring unless you already exceeded the daily star quota :P
;p
 
People actually hit their daily star quota? I star liberally enough, but I'm not sure I've ever done that.
2
 
what was it again? 200?
@Geobits LIAR!!
 
6:10 PM
I'm not sure which part you think I'm lying about :P
 
you know it really well :P
 
(that you are not getting slow :P)
 
O
h
,
o
k
a
y
Stupid rate limiter.
 
:D
 
6:13 PM
I love challenges in which we have "write a function which.." since it means I can golf it better in C++14
 
Unless you're pretty explicit, "program or function" is the general default.
 
Most of the time, yeah
Lots of overhead when golfing in C++
 
I use Java, so... :D
 
its like what, 3x improvement for a basic cat program
 
rip
sort of! :|
[]{code & stuff}();
 
6:16 PM
@ProgramFOX That's too few ):
 
instead of int main(){...}
includes and stuff
 
@ZachGates Not really. Can you imagine the chaos if stars were entirely unlimited?
 
I was joking..
 
@sweerpotato I'm pretty sure you still need to count includes even for functions.
 
^
 
6:19 PM
Really?
makes sense
So unforgiving :<
 
Not really. Can you imagine the chaos of #includes were entirely unlimited?
 
:D
Hm.. is including your own library allowed?
 
But #defines are free, so go nuts!
 
Standard loophole I guess
 
Especially include ThingWithALongName as t
 
6:22 PM
#defines are powerful
 
So are statistical tests given a sufficient sample size. (en.wikipedia.org/wiki/Statistical_power)
 
So are massive objects moving at high speed.
 
What happens if something which can't be stopped hits something which can't be moved
 
Geobits takes off his fedora.
 
and upvotes all my submissions
 
6:25 PM
Ha!
 
#define while if
personal favourite
 
#define true false
 
@sweerpotato Seems better the other way around :D
 
That makes it more obvious! :~)!
 
What is that face?
:~)
Nose eel?
 
6:27 PM
I think it's a broken nose.
 
It's what happens when :^) gets clocked in the face
 
haha
err
 
He still smiles though
 
:-) too natural
 
Tell that to @ChrisJester-Young. ;)
Or should I say ;-)
 
6:28 PM
@ChrisJester-Young Hey, it wasn't the same post, I edited it and correct all the mistakes you guys pointed when I first posted it.
 
:8) breathing heavily
 
@sweerpotato Haha are those gigantic nostrils?
 
Yes :8)
 
Probably not a good idea. I imagine it would smell pretty bad in here if The Nineteenth Byte were a real, physical place.
 
Small underground shed with little air circulation
 
6:30 PM
And a llama.
 
I must find a llama smiley
 
@DiegoPatrocinio Please fix and undelete your original post instead.
 
I should practise some Pyth
 
@sweerpotato You should practise CJam instead.
 
I tried it for a short while, but couldn't wrap my head around the loops
Stack-based languages are hard :<
 
6:36 PM
      __--_--_-_
     ( I wish I  )
    ( were a real )
    (    llama   )
     ( in Peru! )
    o (__--_--_)
 , o
~)
 (_---;
  /|~|\
 / / / |
 
:DD
 
@sweerpotato Did you try to make your display name "sweetpotato" but mistyped and now you can't change it for 30 days?
 
Haha
One may wonder
 
I certainly do
 
But no, it's actually supposed to be sweerpotato
 
6:39 PM
What is the meaning of this "sweer"?
Should I be looking for sweer potatoes at the market?
 
Personally I think sweer potatoes are better
 
Hah, where was that picture taken?
The misspelling of "nugget" is very close to being very offensive.
 
I have no idea where it was taken :|
Found it on 4chan an eon ago
apparently a meme now
 
@AlexA. other people have drawn a better llama... the tag on the right sounds like a reality now ...
 
2
Q: Generate a Monotonic Function

ZgarbOverview In this challenge, your task is to randomly generate a monotonic mathematical function between two sets. Input Your inputs are two positive integers s and n. After getting these inputs, your program shall generate a random mathematical function f from the set {0,1,...,s-1}n to {0,1,....

 
6:47 PM
that .. does not sound like a reply to what i was pointing out ..
 
It does sound like further evidence of it, though :)
 
evidence of the tag?
 
Yes
 
<.<
 
yes, the tag on the right
 
6:49 PM
--->
 
@AlexA. you are looking in the correct direction
 
Am I?
 
He's getting all shifty-eyed.
 
@AlexA. yes, it warps around
 
~.~
 
6:51 PM
two broken noses?
 
Yes, I broke both of my noses. :~(
 
@ChrisJester-Young Just leave it.. I made a similar code for college a few months ago and thought it would it be a fun challenge, but looks like you guys "have a hard time" understanding pretty obvious questions, like what to output when you ask for all possible combinations
 
It's much harder when you ask for all randomly chosen combinations. Either you want random combinations or not, but making it random makes it very veeeeery unlikely that you'll output them all in any given amount of time.
But posting duplicates isn't the right way to fix it anyway. If you want to fix/edit something, it should be edited, not deleted and posted fresh.
 
Woo, almost passed my SO rep here
 
7:00 PM
I still haven't. People keep occasionally upvoting my old answers there :(
 
Oh darn. :P
 
@Geobits And that's exactly the challenge lol be able to output such a large amount of data without taking an eternity or crashing the system. I was able to do it in C.
 
@sweerpotato I've doubled my SO rep here and I'm close to tripling it. :D
 
It's hard to get rep on SO; you'd need to be on Jon Skeet's level
 
mine is around 100 times here!
 
7:02 PM
I just answer simple questions which, more often than not, have duplicates
 
@DiegoPatrocinio I don't think you understand what I'm saying. It isn't hard to compute/output all combinations matching your constraints. I mean that doing it randomly makes no sense.
 
@DiegoPatrocinio btw, you know C is generally the fastest language out there, right?
 
@sweerpotato Yeah, I find that it's significantly easier to gain rep here than most other SE sites, but particularly SO. People are not generous when it comes to votes there.
 
I believe there's this one moderator who has a vote ratio of 1:1600
Disregard this message
 
@Geobits Of course it makes sense, if you don't do it randomly, how are you supposed to do it? Generate ALL possible combinations and them apply my constraints? That would take much more time and resource.
 
7:05 PM
@sweerpotato (you can edit chat posts btw)
 
1 being an upvote mistake
Oh, yeah, right
 
@Optimizer Yep, exactly why I used it lol some guys tried doing it in java, I think their code is still running and haven't finished it lol and it was a few months ago.
 
I think you missed a couple of "lol"
 
@DiegoPatrocinio No it wouldn't. Even without the "no more than two matching" between lines, you only have around 27M choices.
 
In Julia it would be easy to use combinations to return an interator and filter to efficiently pare down the results before collecting them. (Probably still fairly slow but not too bad.)
 
7:09 PM
"Write a beam search algorithm which finds a Malbolge program that outputs the nth row of Pascal's triangle"
 
D:
 
"It's computing intensive but pretty fun"
 
To be perfectly clear, I don't think your challenge is "dumb", "too hard", or anything like that. It's just written in an unclear way. If clearly presented, I don't think it would have been closed the first time.
It's a pretty straightforward problem at the core, tbh.
 
and the close reason clearly stated the exact same thing
 
@Geobits So I must have done something very wrong, because when I tried they way you suggested, it took at least 8x the time for processing. So What I did was generate a random combination and store it, then I generate another and compare with the ones I already have, if it respect the constraints, I add it to the ones I'm storing, else, I discard it..
 
7:18 PM
@DiegoPatrocinio So how you decide when you're done? Sampling/rejection would take far longer than generating them directly.
 
@Geobits Actually that's a good question, our output was limited to 3M, so I don't know how long it would take to try all possible combinations
 
I need to find more programming music
Should ask "good music, for programmers?" on SO
 
@sweerpotato "I need music for programming on a boat"
 
:DD
I'm glad the reference didn't pass over everybody's heads
 
I'm pretty tall.
 
7:24 PM
..and still managed to catch it!
Starting to get tired of the music I'm listening to
 
@Geobits btw, it's not only 27M choices, it's around 200M
 
@DiegoPatrocinio Only if you also ignore the three groupings of two.
The way it's set is (25choose2)(25choose2)(25choose2) (before the last constraint).
So 300^3.
 
I missed the conversation about PPCG rep vs. SO rep, but FWIW, I earned my +100 association bonus on SO from my efforts on here
 
So did I!
Didn't even know about it
 
:€
 
7:29 PM
:€
Cthulu/dude with significant canines
 
Oh. I thought someone had sewn your mouth shut (hence the frown).
 
:D
That's one interpretation I guess
I don't even know what that's supposed to represent
Thanks for the comment @ETHproductions
 
A pound in your mouth, that's what
No problem :)
 
:~)!
Hmm
I don't know if people have already started coding or not
Doesn't feel fair to change the challenge over one hour in
 
It's a bit annoying if it changes after you start coding. It's very annoying if you wait until there are answers posted.
 
7:33 PM
Yes, I agree with Geobits; change it now, before there are any answers.
 
A percentage bonus doesn't change the challenge a lot though
 
No, it's not a big difference
 
Thanks @Geobits
 
+1'd that post :)
 
7:35 PM
-10 % bytes each?
 
That would be -70% total
 
Yeah, that's a lot
or, well
 
@sweerpotato I don't like the way that the colon isn't aligned with the dashes in the euro sign :P
 
How about -7% for the 6 and -8% for the last?
That would be -50% total
 
@BetaDecay I blame mspaint
Yeah, that sounds fair
 
7:37 PM
Blame the font. It's not lined up in when typed either.
 
Do you think -7 % is a valid change?
 
@Geobits I know that but it's just...wrong
 
I'm a part-time font designer, and I don't ever center-align the colon in my fonts
So blame the English punctuation rules
 
The English won't want to be blamed for anything dealing with Euros.
 
7:39 PM
Oh yeah, blame the Europeans for having such an odd currency symbol ;)
 
Yeah, because the pound sign isn't odd ;)
 
Octothorpes are even (octo=8)
 
$¢£¥₭₮₯₰₱₲₳₴₵₸₹₠₢₣₤₥₦₧₨₩₪₫€
 
I changed the challenge, thanks for the input @ETHproductions
 
There's all the odd currency symbols I can think of
 
7:42 PM
₯ wat
 
@ETHproductions Can you name all of them? ;)
 
There's a pound and a double-lined pound?
 
@sweerpotato You might want to remove the "bytes" from next to the bonus now, BTW
 
Is that just a stylistic choice?
 
No, it's the sign for a "lira"
 
7:43 PM
That's certainly the case when writing it free hand
 
idk what that is
 
A couple countries used lira, not sure if they still do after the euro.
Italy, for one.
 
ℌere's some fancy ℋ's
In Unicode, not a different font
 
> For Turkish lira, the Turkish lira sign (Turkish lira symbol 8x10px.png) is used. Otherwise L, sometimes in a double-crossed script form (₤) or less often single-crossed (£)
@ETHproductions That doesn't render for me :(
 
You need a better font :P
 
7:44 PM
Bummer, they come right after the currency signs in Unicode
 
We've had this discussion before ;)
 
Woo, passed my SO rep
Life = complete
 
I did that ages ago :D
Of course I only had an SO rep of 800 ;)
 
Does my double-struck small pi show up properly? ℼ
 
Not for me
 
7:46 PM
Dang, it doesn't even on my computer
DejaVu's character set is soooo deceiving :(
 
Oh, that's beautiful. It doesn't in chat, but if I highlight it, the context menu shows it fine.
 
Googling it acts just like googling "pi"
 
Same here, but googling the lira symbol turned up at least a few GBP results too.
 
So Geobits, if I fix the challenge, will you try it? I'm curious for your solution now
 
@DiegoPatrocinio Possibly. It's not my normal type to answer, but I may give it a go. Probably not today, though. Will be busy here in an hour or so until late.
 
7:48 PM
LOL, There's a Unicode character called "Equals Sign with Bumpy Above"
 
Unicode characters are much like Mathematica builtins, just not as comprehensive.
 
What on earth is this sign good for? ⪋
 
Less than, equal to, or greater than
 
"Less-Than Above Double-Line Equal Above Greater-Than"
Basically the "equal to or not equal to" operator
1/0 ⪋ 0/1
 
I suppose a ⪋ b could mean that a and b are comparable.
 
7:52 PM
I don't see any of these 😢
 
@BetaDecay Here's a snowman to cheer you up: ☃
2
 
@ETHproductions :D
😃
 
@Geobits I edited it, do you think it's "understandable" now?
 
Nice @ZachGates!
 
@sweerpotato Thanks :P Did it on the bus ride home, haha
I'm sure a better Python solution will come along (if not from someone else, from me)
 
8:08 PM
Gosh, this is genius:
 
"HOT SAUCE"
 
A German brand did that
You'll see a link to it in the explain xkcd comments
 
Looks like now they announce it with colored arrows and flashing lights: rewe.de/marken/ja-clever-sparen
 
@ETHproductions Because you know, people love flashing things on websites
 
That's why they made JavaScript
 
8:16 PM
And HTML5
 
and IE
 
Although now, people use those for pointless stuff like making video games
 
I'm still waiting for <blink> to be revived
 
I'm thinking of using HTML5 for my CS GCSE coursework
I have no idea if it's a bad idea or not
 
I see a reference to one of my questions in a new question! :D
 
8:20 PM
Which new question is that? :)
 
10
Q: Seriously, GolfScript, CJam, or Pyth?

coredumpSome time ago, the following question was asked: GolfScript, CJam, or Pyth? Based on the title only, I thought that it would be a very nice challenge, but unfortunately, it turned out to be a question about those languages. Here is the challenge I wanted to read: Who said golfing languages we...

An answer (the accepted one) from Person of Interest is referenced.
 
Ahh is that referencing your meta question?
 
Oh hey, that is Person of Interest
 
@BetaDecay What meta question?
 
@ZachGates The CJam, Pyth or Golfscript question
That was on meta wasn't it? :/
 
8:24 PM
@BetaDecay The one I just linked? That's on the main page
 
0
Q: all about perspective plain JS

Prefijo SustantivoNo dojo, no libs, just plain JS. For simplicity, lets work monochrome. Suggested geometric entities Point: { x, y, z } Line: {originPoint, destinationPoint} Polygon: {sequence of lines} vanishing point (is a Point) observer: observer point (is a Point) xyAngle: [0, 2PI) yzAngle: [0, 2P...

 
@BetaDecay (I've never asked a meta question)
 
Same here
 
5
Q: GolfScript, CJam, or Pyth?

TreFoxWhich language usually produces shorter golfed code: Pyth, CJam or Golfscript? In asking this, I do not mean which has a prettier syntax or which has the most useful commands, I mean overall, which one is usually the shortest? What types of problems would we expect each language to have an advan...

That wasn't you...
Which question of yours was referenced?
 
I see TreFox's avatar there
 
8:26 PM
27
Q: Person of Interest

Zach GatesBackground Person of Interest is a crime drama on CBS, and my favorite TV show, as of late. The show is about a man named Harold Finch, a billionaire programmer, and his partner John Reese, a special forces veteran and ex-CIA operative. This programmer created a sentient AI called "The Machine"...

Andrea Biondo's answer is referenced in the new post ("Seriously, GolfScript, CJam, or Pyth?")
 
I see.
 
Meant to ping you earlier, but the answer I posted on that question beats yours by one byte :P @BetaDecay
 
oh snap
 
@ZachGates Wow, that's slim! :D
 
Cutting it close, haha
 
8:33 PM
Reminds me of this:
1
A: Let's play countdown!

Beta DecayPython 3 - 174 This requires the dictionary to be stored in a file named w with each word separated by commas. s=input() z=lambda s,f:all(f>{c}and not f.remove(c)for c in s) l=[i for i in open('w').read().split(',')if z(i,set(s))] print([x for x in l if len(x)==max(len(x)for x in l)]) Example...

I tried so hard to get below the other Python answer :D
 
I would +1 but I'm out of votes for today..
Maybe in 3 hours :P
 
There's a vote limit?
So many limits on SE :o
 
30 per day
40, if you vote on questions, apparently
But it says I voted 34 times today and it won't let me vote anymore /:
UTC time is annoying for me lol
 
@BetaDecay There are two badges for voting a lot.
 
I doubt I'll ever get either :P
2
I only vote on things is especially like or on things that need a downvote
 
8:42 PM
Suffrage and Vox Populi are the badge names
 
Suffrage (30 votes in one day) and Vox Populi (40 votes in one day).
Both are bronze badges.
 
How is that possible?
1163/1166
 
> <sup>1</sup>Advice may be invalid due to caching
Bahaha.
 
Oh, never mind, I've got the suffrage badge
 
8:50 PM
That is why I've got so many upvotes today.
@ZachGates I think this achievement of yours is on the same scale as the famous -15
 
Yay, I'm (in)famous on PPCG :D
 
Is there a difference in the meaning of 'infamous' and 'famous'?
Or is this about the same thing as 'flammable' and 'inflammable'?
 
If you're infamous, it means that you're famous for a bad reason
Like how OJ Simpson is infamous for killing his wife
 
Whoever this OJ Simpson is. But I get your point.
 
8:55 PM
@flawr That's due to a quirk of etymology. Lemme see if I can find an Irregular Webcomic! where it was explained in the annotation.
Well, that was easy. Link.
 
So if something is 'inflammable' it means that it is flammable for a bad reason?
 
@flawr No. It means something is not flammable
 
@ZachGates No, it actually means the same thing as flammable
 
@ZachGates I hope you're joking.
 
> easily set on fire
 
8:57 PM
I hope you are injoking.
 
It was a joke.. ):
 
I don't inbelieve you
 
Shame on you for confusing the inenglish person!
 
I was just using inhumor!
;-;
 
But it is a quite teresting topic.
4
 
8:58 PM
:DD
 
@flawr But in all seriousness, "inflammable" comes from "inflame" which really is just "in flame"
 
Ohh I never made that connexion
 
@ZachGates I just read @El'endiaStarman s link to the Irregular Webcomic=)
 
Note my old English spelling of connection ;)
 
4 mins ago, by El'endia Starman
Well, that was easy. Link.
@BetaDecay Is this really an old spelling or is it just something you just made up?
 
9:02 PM
@flawr Noo, I've seen it in many old books
Pre 1970 I think it was used
 
It's a real word
 
"old" =)
 
I'm 16, that's old for me :D
 
From the Latin "connexio" meaning "to bind together"
@BetaDecay Same :D
 
My parents must be ancient artefacts then.
@Doorknob I just noticed that this wasn't a domain name you just made up.
 
9:08 PM
Is making a post a community wiki encouraged? What's the advantage/disadvantage?
 
Guys, could you take a look at my question and see if its ok now, please?
Which combinations you have depend on which other combinations you have though. Would you resolve it in favor of 01,02,26,27,62,73 or 01,03,26,57,58,70? Which one would you print? The challenge is unclear. — Deusovi 6 hours ago
-4
Q: Output All Possible Combinations following some rules!

Diego PatrocinioThe code must output all possible combinations of 6 numbers between 1 and 75 in whatever way you prefer, STDOUT PRINT or .TXT Example: 01,02,25,26,50,51 03,04,27,28,52,53 05,06,29,30,54,55 Pretty simple, uh? But here comes the tricky part! These combinations must follow some rules: 1 - A c...

 
Are you trying to generate random numbers from a range without repeating digits? @DiegoPatrocinio
 
@ZachGates Yes and no, Not exctly...
 
@DiegoPatrocinio For formatting advice: you may want to cut down on your use of italics and bolds and maybe use some <hr> tags to slice up sections/examples. The way it is right now, it's hard to read.
 
9:20 PM
To me it still seems to be self-contradictory.
 
You golfed off quite a few bytes, so I went ahead and made it a wiki. @FryAmTheEggman
 
@DiegoPatrocinio Do you want to have a time limit?
 
9:35 PM
@ZachGates I tried my best, can you take a look?
@feersum I don't think it's necessary, as long as the code finish running.
 
If you don't have one, you'll get only answers that pairwise compare all the combinations
Or at least mention that you have to run your code to completion before posting.
 
BRB
 

« first day (1698 days earlier)      last day (3143 days later) »