« first day (1892 days earlier)      last day (2954 days later) » 

6:00 PM
Random website of the day: wikipeetia.org
2
> Iin probalibity thoery, one sasy taht en evennt hapens allmost surelly (somtimes abbrieviated as a.s.) if it hapens wiht probalibity one. Teh consept is analagous to teh consept of "allmost everiwhere" iin measuer thoery.
 
Well, John Bytheway (a preacher, apparently) was tired of jokes about his name, but he did have a favorite. A woman who met him in an airport asked if he was going to name his son Owen.
 
@TimmyD did you see Sp's Labyrinth answer to Stretch the word?
 
I've not yet. goes to look
 
> Q.E.D. is en enitialism of teh Laten phrase , whcih trenslates as "whcih wass to be demonstrated" or "as wass to be ekspected".
lol
 
@Sherlock9 reminds me of this interview
 
6:06 PM
@Doorknob Eh, I found myself agreeing more with the counter arguments in the answers. What are the reading levels of other top posts on our Meta?
 
(Might not be on topic here, should I rather ask it on blender.stackexchange? And wait until I get a response...)

Does anybody know Blender's shrink/fatten? "translates selected vertices/edges/faces along their own normal"

How does it keep the points in the correct position? If I had a sphere, shouldn't it end up with a bunch of vertices that have a space between them?
 
@Stefnotch I know Blender. What kind of object do you have?
 
3
Q: Palindromizing the strings

AdnanIntroduction For the ones who don't know, a palindrome is when a string is equal to the string backwards (with exception to interpunction, spaces, etc.). An example of a palindrome is: abcdcba If you reverse this, you will end up with: abcdcba Which is the same. Therefore, we call this a p...

 
@NewMainPosts A sphere.
 
I am asking, because I want to implement it myself (and reinvent the wheel. :P )
(And, yep, a sphere)
 
6:17 PM
....ah, okay. Hmmm.
 
8 / 3 = 2.67
 
There is definitely a tool for doing that to faces, and if you don't care about vertices being split, that's what happens. If you do, that's the same thing as normal scaling.
 
@Geobits I just read your very sad statement... :(
hi @El'endiaStarman
 
@Lembik I've made a few of those. Which one?
 
@Geobits The one about my challenge being designed to put you off
 
6:19 PM
Oh, ha. No offense. I'm sure it's fine for more mathy types ;)
 
I wonder if I should add a terrible answer to encourage people :)
@Geobits no offence taken! :)
 
@El'endiaStarman Well, how does Blender manage to not split the faces? (Does it take the average of the normals around the vertex?)
 
anyone interested in my mathy challenge? codegolf.stackexchange.com/questions/77051/…
 
@Stefnotch Not sure what you mean. (In any case, you can extrude individual faces by going to edit mode, changing selection mode to faces, and clicking "Extrude Individual" in the Mesh Tools sidebar.)
 
actually at this point a very naive algorithm would do well
with no math knowledge whatsoever
 
6:22 PM
@aditsu That was fun :D
 
hi @quartata
@quartata That's a great statement for PPCG!
 
Does anyone know why this code causes an infinite loop? I removed all the left-recursion :/
 
ven
aw no, tryapl is down :(
 
hi @MitchSchwartz
 
@El'endiaStarman Well, I am trying to recreate it in JS. So, I got a model with a bunch of vertices and face normals. If I move the vertices along the face normals, they get split. How do I prevent that? (Is that clearer? )
 
6:26 PM
@Stefnotch +1 for JS
 
@Sherlock9 Nothing brings me by at this time in particular. Had to reboot so rejoining all rooms looked like entry.
 
@Stefnotch If you don't want to split the vertices, then there is no difference between what you're describing and normal scaling of the whole object.
 
ven
@himarmjr it's down.
 
> A nearly massless cat
Don't starve kitties.
 
6:29 PM
(Wow, Downgoat gave out a +1)

What's a normal scaling?
 
@GraceNote You are automatically in every room at once? O_O
@TimmyD AMEN!!!
 
ven
It still is down.
 
um
 
ven
yes?
 
@ven check your DNS / firewall it should be up
 
6:30 PM
^
 
ven
it's down. the website is up, but you can't type anything in, because it errors
 
I had the same problem with imgur a while ago.
 
ven
therefore; another time: it's down.
 
Give me some apl code pls.
It works for me?
 
ven
might be back up now
 
6:31 PM
^^
 
ven
update or whateverelse
 
if it isn't run traceroute on whatever the AJAX is
 
@GraceNote Fair enough :D
 
Holy damn.
19676
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...

 
ven
@Downgoat ...
@CoolestVeto That's mysticial for you
 
6:32 PM
holy crap that is a lot of votes
 
ven
Mysticial doesn't click rep:
 
wtf
 
ven
:D
 
Dddddamn son.
 
0
Q: Where will the cat go?

soktinpkA nearly massless cat is dropped in space at the point (x, y, z) with velocity (vx, vy, vz). There is an infinitely dense planet (with volume of 0) at the point (0, 0, 0) and it attracts objects at distance r with acceleration 1/r^2. According to Newtonian gravity, where does the object go after ...

 
6:34 PM
Jon Skeet eats that much rep for breakfast
 
ven
year-long breakfasts, then :P
 
> Instead we went for a "small and fast" computation of only 12.1 trillion digits
._.
 
ven
that guy's insane, yes
 
6:36 PM
@Lembik Ƿes hāl
 
12 mins ago, by Downgoat
Does anyone know why this code causes an infinite loop? I removed all the left-recursion :/
pls halp
 
working on it
What does exec do?
 
@himarmjr idk what lang this is, but it probably executes a string as code
 
that just runs the provided grammar
E -> O E α
     ( E ) α
     P α
     L α
α -> O E α
     O α
     ε
does that grammar look fine?
 
omg what happened to ur name?
 
6:39 PM
himarm
im himarm jr now
 
3 hours ago, by Downgoat
@himarmjr what did you do to your username
 
go ping @Randal'Thor and @himarm about it here.
 
done
 
@Downgoat You're defining E = CheddarExpressionToken inside class CheddarExpressionToken ... that seems bad?
 
@Downgoat as the not so prod owner of speleing prpoblms, YOU ARE HIMARM JR JR JR
 
6:42 PM
@TimmyD it's just recursion, it shouldn't cause a problem (because there's no left-recursion)
 
Found the problem.
 
pls tell
 
Infinite recursion?
 
Oh my gosh. I hope today's xkcd isn't another long-time one...
 
somehow it isn't blowing the call stack tho.
 
6:43 PM
well yeah, but why's that there is no left-recursion
 
@El'endiaStarman Is like hoverboard.
 
@himarmjr It's not like Hoverboard at all.
 
bai for now
 
More like Time.
 
@El'endiaStarman I mean the interactiveness.
 
6:44 PM
I think.
 
@El'endiaStarman Click and drag?
Yeah, more like that one.
 
...[resigns myself to waiting]...
 
How does E -> O E α not have left-recursion?
 
On a side note, I do like how Randall is pushing the boundaries of "web comic".
 
6:45 PM
@TimmyD Because there is a O?
that way it won't be starting from the same position
 
! An octopus grew!
 
wat.
 
Oh, wait, I get ya now.
Hmm.
 
@El'endiaStarman screenshot pls
 
Screenshots? Permalink!
 
6:48 PM
^
 
There are also two trees now!
And some grass, I think.
 
Mine has done nothing........
 
> Relax.
 
@El'endiaStarman wai not live ;_;
 
fine
 
6:50 PM
@zyabin101 Huh? It's read-only for you, but I think it should update automatically.
 
@El'endiaStarman How long did it take for that stuff to appear?
 
Cactus!
@Dennis A few minutes.
It's been about 8 or 9 minutes now.
And another tree!
And the trees sway in the wind!
 
oh, in my xkcd garden a pot grew, if that is good
 
@Downgoat You can copy the URL to share your garden. From other browsers, it will be view-only.
 
@Dennis beautiful
 
Nothing is happening... ._.
 
mine grew the tree in like a minute :/
 
@MitchSchwartz I am impressed by your old English!
 
> Relax.
 
6:58 PM
(╯°□°)╯︵ ƃuᴉxɐlǝɹ
 
@Lembik your postmodern English isn't half bad either
 
@Dennis relaxing ノ( º _ ºノ)
 
@MitchSchwartz very kind! How are things?
 
I've got rocks too. I'm no good at gardening
I cant even get plants to gow
 
7:00 PM
i'm actually on the way out the door to the airport, so i won't be able to talk until later
 
no problem.. have a good trip
 
i have try for thirtee minut and no gardn
 
how juic xkcd
 
hi @Dennis
 
7:02 PM
Hello!
 
@Downgoat us the buttons at th top. or did u men Gardn?
 
@NewMainPosts Wow, +0/-18. .... [makes it +0/-19 just for kicks] :P
 
I'm finding areas with just red light get lots of cacti
 
7:05 PM
@Downgoat It's wonderful.
 
Makes sense - it's like a desert. Blue light produces octopi, at least.
 
there's a birdbath in the tree
 
@NathanMerrill @trichoplax is that you on top of the cactus? :P
 
This new xkcd is confusing
where are the carnivorous plants
0/10
 
-1/10 I only have rocks
 
7:07 PM
you have a stick
 
Something grew!
No clue wtf it is, but something grew!
 
\o/
wait wat.
 
you got pi
 
@Dennis there's a tree in that garden!
 
7:10 PM
how long do i have to wait to see anything happening?
 
@muddyfish And some extraterrestrial pi platform. \o/
 
I found a turtle in mine!
OMG
 
what?
 
@muddyfish s/a turtle/trichoplax/
 
Turtle?
 
7:11 PM
@Optimizer thirtee minut
 
@Dennis now you've got a place to work at!
 
A desk and a chair... Back to golfing.
 
@Downgoat Lol no I think that's a land-dwelling cousin (but I can't be sure...)
 
@Downgoat this is not .... an April's fool, right?
 
it is, but stuff does grow
 
7:12 PM
@Dennis do you think I should add a really naive solution to codegolf.stackexchange.com/questions/77051/… ? I am a little worried people might not get it
 
Eventually.
 
then how is it?
 
Nothing has grown in my garden yet.
 
I has dude.
 
I even have the optimal light setup
 
7:13 PM
\o/
CUEBALL COME TO ME
 
@quartata add 1 more lite
 
BUNNY
 
sorry to ask you directly.. does anyone have a view on this?
 
AND CUEBALL
@Lembik what?
 
@himarmjr what
 
7:14 PM
@himarmjr ?
 
> sorry to ask you directly.. does anyone have a view on this?
 
@Downgoat still nothing
 
I asked Dennis a question but I think I should have just asked generally
 
you guys are all lying
 
7:15 PM
@Optimizer Nah, things do grow.
 
@Optimizer do you think I would lie to you? :(
 
@Lembik A reference implementation? Sure, those are always a good idea. (If it's not competitive, it belongs in the question.)
 
@Downgoat even without a sweat!
 
@Optimizer It's really real. Honestly. Mine has lots, including a plant pot in a tree
 
@Dennis thanks
 
7:16 PM
@trichoplax brb copying your lites'
 
@Dennis in general, do you think the challenge is too hard?
 
@Lembik if it's nowhere near competitive, don't make it answer though
 
@Downgoat Lol I can't guarantee it was the lights that lead to such growth - it's been sitting in its own window in the background for many hours...
 
@Lembik No clue without trying. I have terrible intuition when it comes to fast code.
 
@MartinBüttner thanks.... I am hoping someone will post an answer at some point :)
 
7:18 PM
Still nothing, maybe watched gardens never grow
At least my lights are very aesthetically pleasing
 
Writing fast code is a slow process
 
@trichoplax that is true
 
@quartata I'm actually wondering if watched gardens do grow in this case.
 
@quartata I've seen one bush appear while I was looking at the screen, but everything else was introduced in my absence
 
7:19 PM
Oh, just saw a counter-example happen. :P
 
@El'endiaStarman they do
 
wtf my lights just disappeared
I must have accidentally pruned my garden
 
@Dennis I don't think I can guess that easily too. I don't know a very clever way to attack the problem
 
and of course a table grew
 
@quartata I had mine reset every so often when it was open in a Firefox tab. Since giving it its own Firefox window it hasn't reset again
 
7:20 PM
Can someone explain me why my garden grew a balloon and a rock ?
 
@MartinBüttner there is actually a mathematica function for my challenge although it might not be obvious
 
while (true) if (Math.random() * 10000 < 2) growSomething()
 
@FliiFe They are both in the intersection of the blue and yellow light...
 
I am very sure that's how it grows something
 
@FliiFe That's an obelisk. Anyway, all kinds of things grow. I have an octopus in mine.
 
7:21 PM
Still wondering why I'm staring at this garden...
 
@MartinBüttner I would love to know how fast it is
as I don't have a copy of mathematica myself
 
So, question for you SQL peoples.
 
@CoolestVeto what is it?
 
user image
3
That's pretty neat.
 
How would I go about randomly selecting a set number of questions (20000) from all possible questions?
 
7:24 PM
\o/ a strand of grass grew
@CoolestVeto you want to get 20000 random questions?
 
@CoolestVeto All questions on the site or all possible strings?
 
@Downgoat I want to get the up vote count of 20000 random questions from SO and from Arqade.
 
185
Q: Select n random rows from SQL Server table

John M GantI've got a SQL Server table with about 50,000 rows in it. I want to select about 5,000 of those rows at random. I've thought of a complicated way, creating a temp table with a "random number" column, copying my table into that, looping through the temp table and updating each row with RAND(), and...

 
\o/ Thanks
 
select top 10 percent * from [yourtable] order by RAND()
that could also work
 
7:26 PM
Weird. Deleting items from my garden also removes them from other tabs and windows showing the same address. So the content isn't encoded in the address...
 
@Lembik if you have code, I can test it :P
 
@MartinBüttner Can you please un-delete my post for me? I fixed it but a mod deleted so I can't.
 
works with any characters whatsoever
 
@MartinBüttner O_o how does that work?
 
@MartinBüttner I'm just going to use what I have since that wasn't available at my original time of posting.
 
7:31 PM
@Downgoat match a character then "reverse sort by" the substitution (which is empty, so all characters are identical, and the sorting itself becomes a no-op, but the reversing reverses all the characters))
 
@MartinBüttner thaniks!
@MartinBüttner do you run it on a raspberry pi?
 
even better !
 
....oh wait, is it possible that xkcd knows when I'm being active in any window?
 
7:33 PM
This person's got a deer with a tortoise sniffing it
 
roflmao
 
@MartinBüttner I believe it is SiegelTheta in Mathematica
@MartinBüttner SiegelTheta[Ω,s] In my case s = 0 and Ω = iP/pi
 
oh
3 grass grew
 
Welcome to the club!
 
This answer is weird:
 
7:35 PM
Hey look I got a deer
 
0
A: Palindromizing the strings

isaacgPyth, 11 bytes .VkI_IJ+zbB Test suite This code exploits a bug in the current version of Pyth, commit b93a874. The bug is that _IJ+zb is parsed as if it was q_J+zbJ+zb, which is equivalent to _I+zb+zb, when it should (by the design intention of Pyth) be parsed as q_J+zbJ, which is equivalent ...

 
It only works because of a bug that I didn't know about until I used it in the code
 
@Lembik iP?
 
@MartinBüttner I have hardly ever actually used Mathematica. I just saw using the online docs that it had such a function
@MartinBüttner sqrt(-1) times the matrix P in my problem
 
7:36 PM
@isaacg lel
 
I'l update it in an hour or two.
 
@Dennis do the same in a hour or two. /sarc
 
?
 
@Lembik looks like s is supposed to be a vector. do you mean the zero-vector of the same dimension as P?
 
@MartinBüttner yes exactly
 
7:39 PM
do you know a neat way to generate a random positive definitive matrix?
 
@MartinBüttner yes... here is what I do. Generate a random m by n matrix M with elements from -1,1 with m < = n. Now let P = I_n + M^T M
where I_n is the n by n identity matrix
I could even provide python code but I don't suppose it would help :)
 
hmmm...since we define a language by its interpreter, shouldn't we have some sort of requirements on what an "interpreter" is
 
@Lembik seems to work :)
 
@MartinBüttner good :)
 
I mean, if I have an interpreter only only my machine, is it valid?
 
7:42 PM
@NathanMerrill You can define the interpreter by its language :P
 
(Mathematica does have PositiveDefiniteMatrixQ)
 
@MartinBüttner what does it do?
tests if a matrix is positive definite?
 
checks positive definiteness
 
ok
 
all ...Q functions are predicates
 
7:43 PM
ye of little faith :)
 
@Geobits I disagree. interpreters have bugs, and is actually the definition of the language. Similar to how a class is the implementation of a interface
 
@MartinBüttner Thanks.. now I know 1 thing about mathematica
 
@NathanMerrill I tried really hard to make that an obvious joke. I'll work harder next time.
 
oh, sorry :)
its a monday
 
7:44 PM
The :P gave it away for me...
 
@Lembik hm, weirdly, SiegelTheta throws some internal errors but does produce a result
 
can you test it with any of the matrices in my question?
 
regardless, intuitively, an interpreter that only exists on my machine seems invalid, but an interpreter that isn't free should be valid
 
Okay, yes, I'm terrible at this (never used SQL before and I'm stumbling through it, I'm sorry). How would I sum up the up votes and down votes given a list of questions?
 
that said, if the only valid interpreter was university specific, and not allowed outside of the university, is it valid?
or maybe a language designed for a company
 
7:47 PM
@NathanMerrill Well, we allow paid-only langauges, and we allow languages that only work on very specific machines, so one that only works on your machine would probably be technically legal, but very unpopular/standard loophole
 
I'm not a fan of that, tbh. You run into the same problem as some of our TI-BASIC answers used to have; they don't work at all, but keep getting voted up because nobody says otherwise.
 
@Lembik yeah, still throws that error
 
hmm.. do the examples at reference.wolfram.com/language/ref/SiegelTheta.html also throw an error?
 
well, if it only exists on my language, how do I prove its existence?
for all you guys know, I've got an interpreter to English
 
Publish a VM snapshot of your machine?
 
7:49 PM
"This interpreter is on my machine only and I will not share" should just be straight-up disallowed.
 
@NathanMerrill just post the source code.
 
Otherwise, I'm going to start answering with zero-byte answers for everything. I've got a ton of interpreters laying around, ya know.
 
rofl
 
but say I had a company/university specific language (A DSL), that I wasn't allowed to share
 
@himarmjr The point is that the source code won't work on anyone else's machine
 
7:50 PM
The interpreter already has to be publicly available in some manner
 
is that invalid as well?
 
@Geobits Then you hit the "newer than the challenge" limit.
 
Now you could offer to charge $999,999,999.999 for an English interpreter and I suppose that would be valid...
 
@EasterlyIrk No, I have them all laying around now. I'm letting you know this now, so I'll be answering new challenges with them.
 
@quartata that seems underpriced
 
7:50 PM
@Downgoat name changed back
 
@MartinBüttner is the result that is outputted correct at least?
 
@NathanMerrill Good point; oracles are priceless or at the very least a couple more 0s than that
 
yes
took 60 seconds for the last example though
 
I think either freely available or owned by a reasonable number of other people is reasonable. That being said I'd rather not make a rule until it comes up.
 
interesting.that's slow!
 
7:51 PM
@EasterlyIrk \o/
 
mathematica.stackexchange.com/a/109993/6316 is an awesome answer by the way
@MartinBüttner my suspicion is that mathematica is doing something much too complicated for this case where s = 0
 
possibly
@Lembik thank you :)
 
if you literally just try all vectors x with x_i in {-1,0,1} you don't do too badly
 
@quartata I'm not greedy, so I'll just settle for the billion dollars.
Though I think "English interpreter" would turn into "evil AI bent on destruction" soon enough that the price wouldn't matter.
 
@Geobits small loan of a million dollars
 
7:56 PM
@MartinBüttner there are 3^n of those which is doable for small n if not great
 
Nice answer @MartinBüttner
 
^
Epic answer.
 
thanks :)
 

« first day (1892 days earlier)      last day (2954 days later) »