« first day (1798 days earlier)      last day (3050 days later) » 

10:00 PM
@quintopia the older one is about finding fractions that can be reduced this way while the newer one (mine) is determining whether or not it can be reduced that way.
 
piece!^^
 
peas!
 
peas!^^
 
NINJA
 
10:00 PM
ninja'd ;(
 
d
 
lol
 
ninja'd ninja'd
 
war and peas!
 
10:01 PM
o-o
 
@Doorknob冰 So something like this:
 
->a{x,y=a.split(?/).map(&:chars);eval a+".0=="+(x-y).join+?/+(y-x).join+".0"}
That's 77 bytes now 0.0
Thanks
 
@quartata looks good
 
10:01 PM
@MartinBüttner If it makes you feel any better, I can't think of any other ways to shorten what I currently have so if you can get below 96 you'll still beat me.
 
Ruby
 
@quartata kill the parens after map as well
 
Robby
 
10:02 PM
@Doorknob冰 *69
 
@Doorknob冰 You can do .map&:chars? o_O
 
@AlexA. no, .map &:chars;
 
o
 
@RikerW IIRC that message holds the record across chat.SE and chat.meta.SE; chat.SO still has one at 75 stars
 
I wish GitHub repos oneboxed so that I could link to o.c every time I said "Oh"
3
 
10:04 PM
@Doorknob冰 golfed 19 bytes off in the Nineteenth Byte
 
@Dennis How about a challenge? The first one not to rep cap in 2016 loses. (With the mortarboard definition of rep cap.)
 
Interesting
 
@quartata \o/
 
Now if only floating point division was default in Ruby...
 
@MartinBüttner So you both have to rep cap every day and the first day one of you doesn't rep cap, that person loses?
 
10:05 PM
80 rep from mortarboard
 
@quartata You don't need to append .0 twice
only once
 
I tried it that way and I did
 
@AlexA. that's the idea.
 
I'm 97 rep away, and we only have two hours left :P
@quartata weird; you shouldn't
 
The first fraction would divide fine but the second one would divide like an integer, resulting in something like 0.blahblahblah == 0
 
10:06 PM
@MartinBüttner :D I hope Dennis accepts your challenge!
 
Oh, right
 
Oh, Dennis only has 25 today. I guess that means he won't.
 
@quartata then you only need the last .0, no?
 
I tried it both ways
 
huh
irb(main):001:0> 5.0 == 5
=> true
 
10:06 PM
Right...
Try this: 1/4.0 == 1/4
 
@MartinBüttner He might still, so long as he doesn't mind losing immediately after starting. :P That or gains +175 rep in the next 2 hours.
 
@quartata well, 1/4 is 0
 
Right. I need the .0 so that it doesn't int divide
 
But you're only doing one division
right?
 
No, two
 
10:07 PM
I think it is definetly possible for him to gain 175 rep in 2 hours, maybe 2 minutes
 
6 mins ago, by quartata
->a{x,y=a.split(?/).map(&:chars);eval a+".0=="+(x-y).join+?/+(y-x).join+".0"}
 
The eval compares the original fraction to new fraction
Look at it again
 
ohhh, a is a fraction
 
Yea
 
right okay
 
10:08 PM
Anyways I'm pretty damn happy with 76 bytes
Much shorter than I expected
 
Nice work :)
 
would not eval'ing the second part be shorter
 
Someone should make a Java golfing language.
Eh?
 
@Doorknob冰 I'm not sure
 
^^ Already in the process
 
10:09 PM
@Doorknob冰 I doubt it. It would mean a lot of casting
 
Well, CJam is implemented in Java, does that count?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I started work on one a long time ago and gave up
 
@GamrCorps Tell me more?
@quartata Shame.
 
Java can't evaluate itself very easily
 
@quartata Really?
compile a new program inside java?
 
10:09 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Since I joined I have been working on it. Shall I finish it?
 
It requires insane amounts of effort
You have to parse it yourself and use reflection
 
@GamrCorps 'Twould be nice.
 
Ok, I'm on it
 
@AlexA. Yeah, I felt like putting effort into something today.
Very out of character for me.
 
10:10 PM
@quartata There's a thing called Compiler and ClassLoader classes that can do it...?
 
@FlagAsSpam Nope
 
@quartata Really? You can't just put the program into a string, save it as a file, and compile it?
 
What about writeToFile("/tmp/a.java", code); system("javac /tmp/a.java; /tmp/a.out or whatever")?
yeah
 
Sure...
But then you have to reload the class loader and it's not very elegant
Plus then you can't evaluate tiny expressions without wrapping it in a class
 
10:11 PM
@Doorknob冰 This is what I meant. :P You can use the compiler and ClassLoader classes
 
It's just better not to go into that realm
Now Groovy can evaluate itself very easily
 
@quartata You might be able to use the JS eval.
 
Eval.me(
@FlagAsSpam Not quite the same
 
Not quite, but it works for simple stuff.
 
13
A: What's $-operator supposed to mean for a string?

Jon SkeetIt's an interpolated string literal, introduced in C# 6. It's broadly equivalent to: eventStream.ReceiveJoke += joke => Console.WriteLine(string.Format("Pretty nice joke: {0}, Thanks!!!", joke)); The compiler looks for braces within any string literal introduced with $, and applies stri...

JON SKEET STRIKES AGAIN
 
10:15 PM
I wish I had this many up votes.
18563
A: Why is processing a sorted array faster than an unsorted array?

MysticialYou are a victim of branch prediction fail. What is Branch Prediction? Consider a railroad junction: Image by Mecanismo, via Wikimedia Commons. Used under the CC-By-SA 3.0 license. Now for the sake of argument, suppose this is back in the 1800s - before long distance or radio communication...

 
@FlagAsSpam especially when when (hopefully) change to the +10 on questions
 
Nah. I don't have enough questions.
We should bump the answers to 20 rep each. :D
 
200 rep for every upvote
 
:DDDDD
 
Aleph 0 for every upvote
 
10:17 PM
Votes don't matter, everyone starts with 100k rep
4
 
As always, ESMin wins in char count but dies in byte count. codegolf.stackexchange.com/a/68359/41247
It was doing so well, too. ;(
 
@FlagAsSpam Half of that user's rep comes from that answer
 
I propose that for now on, all reputation from upvotes comes from Dennis' infinite well of reputation.
4
 
\o/
 
@ןnɟuɐɯɹɐןoɯ You really should implement a custom code page for ESMin.
 
10:18 PM
i wish i could start a bounty with rep from a different site. i'd gladly give up ppcg rep to get attention on a codereview question haha
 
it seems easy to abuse that though
 
@ןnɟuɐɯɹɐןoɯ I think I'll try porting your answer to Jolf.
X3
 
so i understand why you can't
 
10:18 PM
@quartata I really should.
 
Do it
I believe in you
 
Stuff just changes way too fast, though.
I get way too many new ideas.
WAY too many.
 
@undergroundmonorail transfers rep from one site to the next by carting rep through bounties
 
woah
 
Then pick a list of chars and stick with them
 
10:19 PM
I forgot I turned on my volume and a website yelled at me
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Please do.
 
@NiKoLaPrO You are in the wrong place. One second.
 
@ןnɟuɐɯɹɐןoɯ :D
 
Although your answer looks quite similar already.
 
okay @quartata where i can ask?
I am new here
 
10:20 PM

 Android Enthusiasts

Welcome to the main chat room for android.stackexchange.com! H...
 
okay
 
I think this is the right place?
 
thanks for help :)
yes it is, ty
 
in my experience with non-ppcg stack exchange sites, it seems like the easiest way for a non-expert to earn rep is interesting, well-formed questions. it's so rare for there to be a question i know how to answer that doesn't already have a better answer than i could give and isn't a garbage question that no one's going to look at and upvote answers to
 
huhwhat?
 
10:21 PM
@quartata light the mod signal!
 
If only having 1.5 bytes was possible...
 
Make a lang that uses half-bytes.
 
Just use 12 bit bytes
You could call them "swallows" or something.
 
10:30 PM
African or European?
 
@Doorknob冰 Ah man you beat me to it
 
@ןnɟuɐɯɹɐןoɯ The solution in Jolf is longer than my own.
 
So just how many JavaScript golfing languages are there now?
I honestly think JavaScript is the most popular non-golfing language on here
 
Python is
at least last time I checked
 
10:36 PM
I suppose since you don't see any JS answers on old challenges
Nowadays though I see more JS answers than Python answers
Part of it is that ES6 is surprisingly golfy
 
The data dump still hasn't been updated since August 18, so I can't rerun my script to check ;(
 
@Doorknob冰 :/
Can't you make some kind of SEDE query for it?
 
no, SQL is too limited
 
Hm.
 
@quartata ES6 is my jam
ES6Jam
 
10:39 PM
Mmm
 
@GamrCorps I've seen that. I think GitHub oneboxed once upon a time but they've sinced changed their API and blocked requests like that so oneboxing is no longer possible. (IIRC anyway)
 
@AlexA. I doubt it used the GitHub API.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Owow.
@quartata Except for those function names.
 
@ןnɟuɐɯɹɐןoɯ yeah
 
Hence the JSGL's.
 
10:41 PM
@mınxomaτ Oh, okay. Well, regardless of how it accessed the oneboxing magic before, GitHub now blocks those kinds of requests. That's all I know.
...
 
4
A: Word Search Puzzle

FryAmTheEggmanPython 2 - 246 259 275 308 298 297 294 313 322 w,s=input() r=range d='\n' I=''.join w=w.split(d) t,u=len(w),len(w[0]) v=d.join([I(x)for x in zip(*w)]+[d]+[I([w[i+j][i]for i in r(min(u,t-j))])+d+I([w[i][i+j]for i in r(min(t,u-j))])for j in r(max(t,u))]+[d]+w) print s in v or s[::-1]in v Thanks ...

underground railroad
 
@AlexA. Yeah, probably a simple HTTP substring like most other oneboxes.
 
@AlexA. 94 and the first time ever that I found a use for $'
 
Nooooo
Also what does $' do?
 
it includes everything after the match in the substitution
$` is the same for everything in front of the match
 
10:46 PM
Oh interesting
 
@Doorknob冰 Where is that from?
 
@RikerW data.SE
I'm really close to getting an accurate number on how much rep Calvin would gain should question votes become +10
(taking into account the cap)
 
Would he get the legendary badge?
 
I was playing around with phi, and I got this
 
What does that do?
I use chrome.
 
10:49 PM
Use FF.
It only works then.
It's a list of decimal representations of phi's continuing fraction.
 
Is 70.5 MB too big for an email?
 
@AlexA. Sysadmins hate you types
 
¯\_(ツ)_/¯
 
Can't you just upload the thing to mediafire and send a link?
 
@AlexA. Yes.
 
10:50 PM
To answer your question yes a 70.5 MB email will most likely get nuked by SpamAssassin
 
Gmail doesn't let me send ≥32mb
 
Ah, okay
 
Calvin would gain roughly 16k-17k rep if question upvotes were +10
 
@Doorknob冰 I think we did this already
 
we didn't take into account the rep cap
I stole a query from Mysticial, SQL wizard, that does
 
10:52 PM
Ah.
Mystical's queries sure are mystical
 
it's Mysticial
not Mystical
 
Dec 23 '15 at 17:25, by quartata
What the joke needs, the joke gets.
 
lol I thought that was a typo for a moment @Doorknob冰
BTW can we see the complete list of time capsule characters yet?
 
I'm not sure why he spells his username like that....
 
@RikerW no
wait approximately 364 days
 
10:54 PM
Aww, you have crushed my hopes and dreams.
 
@RikerW Yes...
 
yarly
 
That's the point of the time capsule
 
Never mind, stupid question.
@quartata Gosh, you don't have to act like I'm dumb or anything. Oh, wait...
 
@AlexA. 91
 
10:59 PM
@MartinBüttner Stop golfing and give Alex a chance here
 

« first day (1798 days earlier)      last day (3050 days later) »