« first day (2098 days earlier)      last day (2762 days later) » 

5:00 PM
@quartata post says to take a positive integer. You can use a default or your argument with an empty string and use %s which will still work with a number and will give the default strip when not present (although this is now pointless since OP seems to be saying you can open the page itself)
*or -> for
 
Yeah, the challenge was a little misleading IMO
 
I don't see a whole lot of difference between opening it using webbrowser and curling it then opening it using webbrowser though.
Are there any situations where __import__ is shorter than from x import*?
 
guess it's one for ES6 to win...
 
Eh, maybe I'll just scrap that challenge idea. Should I delete the sandbox post for it?
 
5:05 PM
@quartata Only the image and hovertext can be displayed. The rest of the webpage must not
3 answers, all deleted, suggests the wording could have been clearer though...
I've edited in some emphasis
 
Ah nice, feh can take a URL
 
2
Q: Bailey–Borwein–Plouffe Iterations (The Piangle)

carusocomputingThe PIangle We've seen a few pi challenges on PPCG, but none that specifically dictate the algorithm you should be using. I'd like to see implementations of the Bailey–Borwein–Plouffe algorithm in any language up to iteration n. The formula is as follows: Your algorithm should output each ite...

 
Ugh I can't even sed today
4
 
5:25 PM
@Yodle Yeah, I'm not sure how to salvage it. Most competitive answers would probably hit the post size limit before maxing score if it's just "most algorithms wins".
 
:%s/bytes/elephants/g
 
This is kind of a silly thing to notice, but all of xnor's badge counts are a nice even number. 10, 100, 256
 
@Geobits KitKat melt instantly in a pocket. Peanut M&M's don't and so are much better.
 
@HelkaHomba You don't put KitKats in your pocket, you put them in your mouth.
5
 
@Fatalize Obsolete? No kidding. ₰ hasn't been used in over four decades.
 
5:37 PM
Does that imply that you are an old dude?
 
Or that he has access to google and/or wikipedia.
Besides, I am an old dude and like I said, I don't remember ever seeing it as a kid in the 80s.
 
I think this is the first time I've posted an answer where I needed two pluses for the language name
perl + curl + feh
It almost rhymes; the feh ruins it
 
That's two plus :/
 
@Geobits they're hard to store for later there
 
If you're storing KitKats for later, you're doing it wrong.
 
5:39 PM
@Geobits Did I mention I'm sick and can't count?
 
lets say you have two piles, one of rocks, the other of pebbles. You can reduce these piles by trading X rocks for Y pebbles, or M pebbles for N rocks. X > Y, and M > N. Assuming you reduce as much as possible, will you always end up with the same number of rocks/pebbles?
 
That was awkward though
 
@quartata Now you did :)
 
(independent of the order)
 
Honest question here: do Skittles have that anti-melt candy coating like M&Ms? I've actually only eaten Skittles maybe three times in my life
 
5:41 PM
Nope, they melt very easily
 
I've never tried to melt one so
@Geobits Huh, strange. I guess Skittles aren't just fruit M&Ms
 
@Fatalize Not that old, but I do have relatives that still talk about stuff that happened 90 years ago.
 
Wait, skittles melt? I never knew that...
 
Try it on a bunsen burner
 
I don't think skittles melt like M&Ms. Also, I'm pretty sure there's no candy coating on skittles
 
5:44 PM
 
there's no crunch when you bite into it (unless they are frozen)
which, incidentally, is the best way to have skittles
 
I didn't think skittles could melt either
@NathanMerrill There is? Maybe you've been having the wrong skittles
 
I don't even know what skittles are
 
@TuxCopter Wow.
 
Me neither
 
5:45 PM
Maybe they're just a US and UK thing
 
Skittles is a brand of fruit-flavoured sweets, currently produced and marketed by the Wrigley Company, a division of Mars, Inc.. They have hard sugar shells which carry the letter S. The inside is mainly sugar, corn syrup, and hydrogenated palm kernel oil along with fruit juice, citric acid, and natural and artificial flavors. The confectionery has been sold in a variety of flavor collections, such as Tropical and Wild Berry. == History and overview == Skittles were first made commercially in 1974 by a British company. They were first introduced in North America in 1979 as an import confectionery...
 
I am sad for all of you who have not tasted the rainbow. :P
6
 
@El'endiaStarman hahahaha
 
hmmm...after seeing the picture, maybe there is a candy coating
 
5:46 PM
@NathanMerrill I thought there was.
 
Yeah, the inside is whitish.
 
I've got like 5 packets of skittles next to me
2 of which are open
 
I like Smarties
 
There is a coating, but it's not meltproof in the least. Grabbing a handful of skittles and taking more than 30 seconds to eat them will result in Rainbow Hand Syndrome.
 
true
but why don't i test it?
 
5:48 PM
that happens with M&Ms too though
 
You definitely should. For science!
M&Ms take at least double the time to melt ime.
 
after careful testing, I have concluded that:
1. Skittles taste great.
2. They do in fact melt in your hands, making you want to go and wash them
And now I have to go and eat dinner
Skittles are great
 
Sample size too small. Eat more.
 
I think I had skittles once, mistaking it for M&Ms. It did not taste good
 
@El'endiaStarman Since you can't smell, can you actually taste the difference between the different colored Skittles or do they mostly taste the same?
Sorry if that's an awkward question
 
5:51 PM
@quartata They pretty much taste the same, from what I remember.
 
@KritixiLithos They're pretty much like Froot Loops, but pure sugar instead of half sugar.
 
@KritixiLithos That might've been because you were expecting M&Ms. I have, in the past, picked up a cup of water thinking it was milk, which was weird.
 
The yellow ones are probably more distinct I'd imagine
 
I don't like pure sugar
 
@quartata I do think I can tell the difference between yellow freeze pops and blue freeze pops.
Oh, TIL they're also called Freezies:
A freezie, freeze pop (United States), freezer pop, ice-pole, pop stick, icy-pole, ice pop, tip top, chihiro (Cayman Islands), ice candy (Philippines), aiskrim Malaysia or potong (Malaysia) is a water-based frozen snack. It is made by freezing flavored liquid such as sugar water, fruit juice or purée inside a plastic casing or tube, either round or flat. Prominent brands include Fun Pops, La Fiesta, California Snow, Otter Pops, Ice Tickles, Calippo, Fla-Vor-Ice, Chilly Willy (after the cartoon penguin of the same name), Pop-ice, Foxy Pop, (in the UK, Ireland, Canada and France) Mr Freeze, and Bon...
 
5:54 PM
Yeah since they're a little bit sour and that's a basic taste
 
I like KitKat, Lollipop, Marshmallow, and Nougat
 
they're called Otter pops here
 
Huh. I've never heard them called freezies.
 
even if they aren't of that brand
 
Mostly freeze(r) pops here.
 
5:54 PM
Am I the only person here who likes Mike and Ikes?
 
And Cupcake, Donut, Eclair, Froyo, Gingerbead, Honeycomb, Icecreamsandwich, Jellybean
 
Yeah. If it's an aromatic difference, I almost certainly won't pick up on it. Like, recently I was encouraged to try a cider donut. It basically tasted the same as a regular donut, nothing special.
 
@quartata No
 
@quartata Of course not :)
 
@KritixiLithos Not even subtle
 
5:56 PM
Whaddaya mean? I like them
 
@Geobits OK good. I've always been under the impression that there is some sort of war between skittlers and mike and ikers
 
I don't think I've ever had Mike and Ikes.
 
@quartata Just call me Switzerland if there is.
 
Or even knew they existed.
 
I much prefer Mike and Ikes so I was a little heistant to voice my opinion in such a pro-Skittles camp
 
5:58 PM
I like Mike and Ikes
 
Oh wait, Mike and Ikes are those candies! I've never had them (or maybe once), but I've definitely seen them.
 
I like vim
 
Oh, what I meant to say was "Blasphemy! Skittles or death!"
 
but if I were to side on a battle, it'd be Skittles. I like my sugar
 
I don't like sugar.
 
5:59 PM
Oooh candy? I've got a bag of skittles at my house.
 
Mike and Ikes are pretty much pure sugar too though.
 
they aren't as sweet.
that's all I can say
 
@KritixiLithos Are you deliberately trying to stir up drama?
 
I have no idea what their ingredients are
 
I wish I didn't like sugar :(
 
6:00 PM
I agree they don't really taste as sweet, but I have no idea why.
 
Maybe I'm more sensitive to sugar but they're pretty damn sweet
 
@El'endiaStarman No. I just don't like too much of sweetness.
 
Perhaps different candies use different kinds of sugar (or mix them in different ratios)?
 
This is coming from the person who thinks 90% chocolate is super sweet so
 
real sugar vs HFCS
 
6:01 PM
that's true. some sugars (like fructose) isn't nearly as sweet as other sugars
 
I've always liked the flavor of Coca Cola from Mexico that has the real sugar in it over the HFCS one.
 
@quartata I'm pretty much the opposite. Only milk chocolate and white chocolate are tasty at all to me.
 
The top two ingredients for both skittles and mike/ikes are "sugar, corn syrup" in that order, so I'm sure it's just a ratio thing.
 
Again, almost certainly because of the lack of smell.
 
I also like milk, but not white chocolate
I despise dark chocolate
 
6:03 PM
Whaaaaat?
 
I like white chocolate chips in some thinga. I can't really imagine myself eating a bar of it though
The only kind of chocolate bar I'd eat is dark.
 
Whaaaaat?
 
I've slowly started to dislike pure white chocolate myself
 
I wouldn't eat a bar of any kind of chocolate. Chocolate tends to kinda dry out my mouth, and no drink tastes good with the chocolate residue.
 
Dark chocolate and white chocolate are both better than milk chocolate.
 
6:04 PM
Milk chocolate is the best
 
I don't mind white, but I prefer milk/dark.
 
@El'endiaStarman Milk does
 
Hazelnut... aaah
 
@KritixiLithos Good dark chocolate has much much more interesting flavors. You probably just haven't experienced a good bar of it
 
@Geobits You're talking to a guy that drinks a gallon in 3 days. I'm sure I've tried drinking milk after eating chocolate. :P
 
6:05 PM
dark chocolate and hazelnuts or pistachios is the bomb
 
@quartata I've tried dark chocolate. Not worth it
 
@El'endiaStarman You might have tried it but came to the wrong conclusion :P
 
milk chocolate is named that because its supposed to go with milk, duh
 
@Geobits Ah, right, my experience is subservient to your opinion. Mustn't forget that.
 
Ritter sport hazelnut flavour is so satisfying to eat
 
6:06 PM
What prompted this discussion again?
 
Android versions
 
candy coatings
 
@quartata You.
25 mins ago, by quartata
Honest question here: do Skittles have that anti-melt candy coating like M&Ms? I've actually only eaten Skittles maybe three times in my life
 
@El'endiaStarman It's okay if you slip up sometimes. All is forgiven ;)
 
6:07 PM
@Geobits Ferrero's stuff isn't very good IMO
 
Actually, not quite. T'was Helka Homba.
 
Ferrero rocher is amazing
 
31 mins ago, by Helka Homba
@Geobits KitKat melt instantly in a pocket. Peanut M&M's don't and so are much better.
 
@quartata Their regular ones aren't, but I like the dark, white, and hazelnut ones.
 
It is like a little model of the Earth.
 
6:08 PM
Lindor is good too
 
Nutella
 
Is See's just a west coast thing or do you have them over there too
 
^^ The best
 
For truffles See's is unbeatable.
 
I've heard of See's, but I don't sees them around here and I don't really remember having one.
 
6:11 PM
They have basically everything imaginable. Around Christmas they have an Apple Pie Truffle that is to die for
Scotchmallow is also super good
 
OSX ELCAPITAN has destroyed everything
 
I could go on and on lol
@GLASSIC not surprised
2
 
has there been a "How many digits of e can you compute in 30 seconds" challenge?
or something similar
 
@GLASSIC Get macOS Sierra
 
37 mins ago, by Nathan Merrill
lets say you have two piles, one of rocks, the other of pebbles. You can reduce these piles by trading X rocks for Y pebbles, or M pebbles for N rocks. X > Y, and M > N. Assuming you reduce as much as possible, will you always end up with the same number of rocks/pebbles?
 
6:18 PM
You're quoting yourself?
 
looking for an answer :)
I think the answer is yes, but I can't prove it
 
halp meh
 
@NathanMerrill I saw that earlier and started thinking about it, but got distracted by the ensuing candy conversation. :P
 
If you can show that there are at least two local minimums, that'd answer your question.
 
6:20 PM
Back from dinner, what are Mike and Ikes?
 
Then again, showing the existence of at least two local minimums is probably equivalently hard. :P
 
right
 
@muddyfish Something nobody cares about
 
@KritixiLithos That's quite demonstrably false.
 
I worked out a "random" example on paper and it came out to the same thing with two different swap orderings, but like others, candy ensued.
 
6:21 PM
I mean, if X/Y and M/N are both 5/1, then both 4,4 and 3,1 are minimums
but I don't think either of then are reachable from the same state
 
15 rocks, 27 pebbles, x/y = 5/3, m/n = 4/3, and got 0 rocks 3 pebbles each time.
 
actually, I think there's a simple proof. If a pile has enough pebbles to reduce, it doesn't matter how many times you reduce rocks, you'll still be able to reduce pebbles.
which means that you can never reduce in the wrong order
 
Wait, if we picture a grid where the X axis is rocks and the Y axis is pebbles (or vice versa), then trading rocks for pebbles corresponds to a line with a slope equal to the ratio in the trade. These lines form a lattice, and it's easy to see that they converge to some point closest to the origin. Unless you manage to put that point just past the origin. Hmmmm...
Oh wait, the slopes will always be negative, which is important.
Slopes will be negative and you cannot increase your (Manhattan) distance from the origin. And only the first quadrant is available for use (you can't have negative rocks or pebbles).
 
6:38 PM
Wait, how about this: Start with 4r3p, x/y = 3/2, m/n = 3/2. I get two distinct paths at least:
1r5p to 4r2p to 1r4p to 4r1p to 1r3p to 4r0p to 1r2p, stop
 
Too much math
 
or 6r0p to 0r4p to 2r1p, stop
 
I definitely think the key is that all possible intermediate states lie on a lattice.
 
@Geobits 1r5p to 4r2p isn't a valid step
you're increasing rocks by 3, and decreasing pebbles by 3
 
Argh, oops
 
6:43 PM
in case people are more interested now...has there been a "How many digits of e can you compute in 30 seconds" challenge? or something similar?
 
I think so
 
This feels like the "will the number eventually reach 1" thing -- I don't remember the name.
 
@TimmyD Collatz conjecture?
 
@El'endiaStarman Yes, thank-you. My brain was going "Goldbach!" "It's not Goldbach." "Oh, is it Goldbach?" "No, still not." "I know! I bet it's Goldbach!" ... scumbag brain.
 
you should get a dog called goldbach
it's good thing to shout at night out of your door
 
6:50 PM
@Lembik That could make for an interesting sequel to Beethoven.
 
0
Q: Simplificate an array

DopappInput An array that can contain arrays or non-negative, consecutive, ascending integers. The arrays can have any number of arrays inside of them, and so on and so forth. No arrays will be empty. Output This array simplificated How to simplificate an array We will use the array, [1, [2, 3], [...

 
:)
 
if I were to overload the bitwise operators for one argument, what should they do?
 
Arg. I feel like I'm so close to a proof.
 
@ConorO'Brien xor and xnor
 
7:02 PM
Idea: let (a,b) be the number of rock trades and pebble trades.
 
@TimmyD for one argument?
 
Since trading rocks can never decrease the number of pebble trades possible, and vice versa, for any (q,r) and (s,t) which are both reachable, then (max(q,s),max(r,t)) is also reachable.
 
@ConorO'Brien I didn't say it was a good suggestion ... :p
 
is it even a possible suggestion? :P
 
Also, the absolute number of objects in that (max(q,s),max(r,t)) is less than either of the two object totals of (q,r) and (s,t).
Let's say that there are two separate "un-tradable" endpoints.
Then, that procedure implies the existence of a third reachable state, which has fewer total objects.
 
7:09 PM
@PhiNotPi q,r and s,t not on the same "chain"?
Because, using Geo's example, 1r5p and 4r2p are both reachable, but 4r5p is certainly not.
 
@TimmyD q,r,s,t aren't numbers of objects, but numbers of trades.
 
Ah, that's the part that I misread.
 
Hi
where do I go for help with Rails
 
Train station!
5
 
The Ruby thing
 
7:13 PM
Ask @ArtOfCode
 
Oh, so like minecart rails? I'm guessing you'd find those in ruby mines.
 
que?
 
@Geobits You really are a troll in every way imaginable aren't you
 
Not in every way. I don't turn to stone in the sunlight or anything.
 
Not a bad thing just wow that follow up
@Geobits Well I should have seen that coming
 
7:15 PM
Yes
 
How to bork IRB: def eval;end
 
@ArtOfCode ...anyways @DmitryKudriavtsev had a rails question I believe
 
mmm?
 
Just getting started. I'm trying to get a page to redirect to itself after submitting a form.
Don't know how you would accomplish that.
It's a listing of all users.
 
> dedirect
 
7:17 PM
dammit
 
@DmitryKudriavtsev don't know why you'd want to do that, but just point the form's action attribute at the same page
 
I tried doing that
 
in a form_for tag, that just means use the path helper (or url_for) to the same page
 
Wait, what?
That exists? I had no idea. I was just setting form_for to users or something
 
form_for @resource, url: url_for(:controller => :same_controller, :action => :same_action) do |f|
 
7:22 PM
(enable audio) vine.co/v/ewmApaJ9v51
3
 
That's oddly beautiful.
 
i am disappointed that its only two lines
 
Well, yeah, but it's not gonna be much longer in a vine.
 
oh. i forgot 6 second thing.
what is it? 2014?
 
@Optimizer 11/10
 
7:27 PM
That amp sounds like it's at a 2 or 3, not all the way up to 11.
 
Bored? Go on youtube and search "important videos". Watch the first playlist.
Non-regex answer for that xkcd question incoming.
 
> "We've removed the ESC key so that users can never move to another ecosystem"
 
@mınxomaτ I lost 100 IQ points
 
7:33 PM
must... resist... joke
2
 
I know right? So many opportunities there.
 
betseg, is that you?
 
@mınxomaτ Jeez, you're really bored.
 
Beautiful coffee art.
 
Is that HowToBasic?
 
7:39 PM
Nah, not violent enough.
Nor enough eggs.
 
even better. HowToExitVimOnNewMacbookPro
 
@Optimizer Reminds me of this: youtube.com/watch?v=BhFz54V_Luk
 
youtube.com/… > Oh non oh non oh non
xD
 
is that real ?
 
@Optimizer That would be one sarcastic TV programme if it was real.
 
7:42 PM
well, in their defense.. they did mourn the blast.. after the smoke reached 100 feet in air.
 
CMC: Find the user who has the most similar avater to me, on whole SE
 
define similar
 
@GLASSIC The answer is @quartata Done.
 
NO
 
7:45 PM
What?
 
Doorknob is most similar out of the people who are in this room right now.
 
Depends how you define "similar"
 
@mbomb007 Probably best to use github.com/google/butteraugli
 
@mbomb007 Depends how you define "avater"
 
7:46 PM
Depends how you define "define"
 
Depends.
 
@mınxomaτ Dep (deep)
 
SIMILAR: in shapes, colors, context and the laughing and sad circles
 
VTC unclear what you're asking
 
^
Challenge must have an objective winning criterion.
 
7:50 PM
Well, Ok. my CMC is a bit unclear but really, there is a guy with nearly the same avatar on SE.
 
You mean CLASSIG?
 
I should probably stop watching 'important videos' and actually continue working on my esolang
 
Gnalose
 
@Geobits No, it's Waffle's Crazy Peanut
 
TIL all github avatars of user #0 to me (#8023543) take up 650ish GB.
While the biggest avatar is 750kB.
 

« first day (2098 days earlier)      last day (2762 days later) »