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

8:01 PM
even this question is pretty awesome :) mathematica.stackexchange.com/questions/110190/…
 
I didn't even get around to really trying out the answers yet :/
 
XD
 
Okay, @Downgoat, would select top 20000 AVG(Score) from Posts order by RAND() select 20000 random posts and return their average?
 
ven
> The repair people can only wait for so long. So your code needs to be as short as possible.
I love it :P
 
@ven Which question?
 
8:07 PM
Heya
 
ven
@zyabin101 the chair one
btw, if anyone wants to try Jelly and would like a searchable ref: here
 
@flawr .o/
 
Tomorrow we're going to figure out who the mods are!
 
@Solver Alex, Alex's sock, Alex's other sock, and Alex's t-shirt
 
8:10 PM
@TimmyD I'm a fan of Alex, but you forgot Dennis.
And that's kinda gross.
 
From a (Buzzfeed or similar) thread I read the other day
> My nephew refused to wear socks because they were puppet's bodies.
 
:)
 
0
A: Sandbox for Proposed Challenges

SuperJedi224Shortest Unique Substring code-golfstring Given (on STDIN, as command line arguments, or as function arguments) a list of from two to arbitrarily many distinct strings, find and return the shortest substring of the first string which is not a substring of any of the following strings. If no suc...

 
8:24 PM
@flawr That it is, and the prior Autobiography one as well.
 
Goodnight!
 
@El'endiaStarman But I still cannot imagine how to get anything done without being able to see.
 
@flawr You hear everything instead.
 
I hear the traffic light going green?^^
 
Disabilities 101: People will figure out how to get around their disability. :P
 
@flawr Considering that there are cars made for blind drivers, they figured it out somehow. Also, public transportation.
 
@flawr he might hear the traffic around him speeding up?
 
Juggling and tightrope walking is going to be somewhat more difficult too.
 
My garden now has a turtle trichoplax in it.
 
Really?
 
A bunch of years a go I also had a tortoise sprinting into my garden. But there was no tortoise missing in quite a radious around.
Oh
XD
 
> tortoise sprinting
 
Those things are damn fast!
 
Tortoises of the genus Gopherus have been clocked at rates 0.13 to 0.30 mph
(0.05 to 0.13 m/s)
 
@TimmyD good to know that i am 15 times faster
 
Elephants can walk really fast: 11 mph / 18 km/h.
That's a fast jog for a human.
 
@El'endiaStarman I imagine they can be even faster.
 
Maybe they've evolved and gotten faster in the past 16+ years, but I'm reasonably confident even I could outrun a tortoise
 
@flawr They can't really run, though, because their leg bones aren't quite strong enough.
 
@El'endiaStarman But they are fast enough to make me run.^^
 
8:42 PM
 
It looks like they can be almost as fast as humans.
25mph = 40kmph
 
@flawr I'm looking at those exact two paragraphs on Wikipedia. :P
25mph is probably not a sustained speed.
 
40kmph also is not a sustained speed for humans^^
(At least not for me)
 
I don't think even Usain Bolt reached that speed.
 
humans can go that fast?
 
8:45 PM
40kmph isn't a sustained speed for any human
 
40kmph isn't an attained speed for any human
 
@El'endiaStarman I think sprinters usually average at about 40 kmph
 
trolololol I'm taking an online course to skip stuff in school, and it turns out they ripped their test questions from here: images.pcmac.org/SiSFiles/Schools/AL/SatsumaSchools/SatsumaHigh/…
 
100m / 9.5s = 10.5m/s = 37kmph
 
8:46 PM
So that is the average for the quickest 100m sprints.
The 200m are above that.
 
@El'endiaStarman Usain Bolt is human?
 
So that means that the max speed is also above that.
 
@flawr There is absolutely no way that 200m sprints have a higher average speed than 100m sprints.
 
omg they ripped literally all their questions from random online problem sets
 
Why not?
 
8:48 PM
@flawr Because humans suck at bursts of speed. We're endurance hunters.
 
Yeah but most sprinters do accelerate throughout the whole 100m
 
I've seen it said that sprinters are slowing down for the entirety of the race.
 
lactic acid / glucose depletion / etc.
 
While they do not at 200m
 
Usually the 60m to 80m is the fasted
 
8:49 PM
> Great minds waste time alike
 
Let us take Usain Bolt, his speciality is 100m sprints, but he also does 200m
According to WP he did 100 in 9.58 and 200 in 19.19
 
Current WR for 200m is 19.19s, by Bolt = 10.422m/s
 
You see, those two are quite close!
 
100m is 9.58s by Bolt = 10.438m/s
 
@El'endiaStarman Nothing grows in my garden =(
 
8:52 PM
> Relax.
 
@TimmyD s/fasted/fastest
 
It takes several minutes to grow.
 
my garden just resets to empty and 1 light after 10-15 minutes whatever i do
its so stupid
 
It has ben "growing" for about 15 min now
 
For some reason, I get a lot of "duplicates".
 
8:53 PM
I'm probably just a shitty gardener.
 
how are your gardens consistently growing?
 
@Optimizer Any chance you have something like a cookie/cache clearer or something? Sounds like something's not being saved.
 
no
i just open a new chrome window, leave it there, check back after 10 minutes - things have started to grow, check back after another. boom, everything is reset.. my lights position, color, number, plantation etc
 
8:54 PM
"Mary, Mary, Quite Contrary" is a popular English nursery rhyme. The rhyme has been seen as having religious and historical significance, but its origins and meaning are disputed. It has a Roud Folk Song Index number of 19626. == Lyrics == The most common modern version is: The oldest known version was first published in Tommy Thumb's Pretty Song Book (c. 1744) with the following lyrics: Several printed versions of the eighteenth century have the lyrics: The last line has the most variation including: Cowslips all in arow [sic]. and With lady bells all in a row. == Explanations == Like many...
 
It has to get saved on the server side, or permalink wouldn't work.
 
do you think that I can complain to some official organization that my online course that I payed money for is completely plagarized?
 
its just plain stupid
 
not that I really mind, since the answers are also online
 
@Maltysen Hmm. Maybe you could ask on Academia.SE?
 
8:57 PM
do they deal with high school stuff?
 
Yeah It would certainly be a n intersting question!
Go for it, you have my upvote=)
 
PETER SUE AND MARC?
 
@Maltysen ...I can't really think of why they wouldn't, but you can check their Meta.
 
OUI SI YES DA
 
9:01 PM
да
 
"da" is also good
 
@CᴏɴᴏʀO'Bʀɪᴇɴ There was a juggler who had an audience that included an American, a Frenchman, a Spaniard, and a German. He noticed that they had difficulty seeing him, so he got up on a table, and asked "Can you see me now?" Their response: "Yes oui si ja".
3
 
@El'endiaStarman XD
 
Haha
 
9:03 PM
(I didn't come up with the joke. Was just reminded of it.)
 
shhhh
 
I wonder if anyone's done a skit of that joke.
 
isn't "ja" German?
 
@aditsu Oh you're right.
 
Mexicans speak Spanish
 
9:06 PM
@aditsu They do, I was just thinking that it was a dialectal difference.
 
y u no onebox? :p
 
it kinda only talks about university stuff
but idk
maybe I'll go hit up their chat
 
@Maltysen That's probably the best course of action.
 
9:08 PM
first I have to find it…
oh found it
 
@flawr You got a plant!
Also, you're lighting up only half your garden...
Heyyy, two trichoplaxes in mine now! :D
 
Well I hoped there were some night flowers.
Some bats would have been nice too.
 
no one's on their chat :/
 
9:14 PM
yo golfers
Welcome to Code Review. This looks like code-golfing (especially as evidenced by the fact you are having to explain the code like that). I'm not sure this is a good fit for Code Review... — Phrancis 1 min ago
Can one of you take a look at this^ and possibly provide some input?
 
take out all that whitespace first of all
 
It's not code golf.
J just happens to be weird like that
 
Yeah this is just J
 
That's horrible
 
9:15 PM
Don't say something like that in this room.
 
Alright, I deleted that comment
 
let me advertise my challenge one last time codegolf.stackexchange.com/questions/77051/…
 
@Phrancis Even the name is golfed^^
 
for anyone interested, I assure you that a completely naive approach will get you somewhere :)
if maybe not the best possible answer
 
@Lembik so I don't have to know anything past how to do matrix multiplication?
 
9:17 PM
@Maltysen right
 
k, I might try that
 
@Maltysen great!
@Maltysen you do have to be willing to experiment as clearly you can't actually do an infinite sum
if you have any questions please let me know
 
@Lembik Stupid computers can only do finite stuff.
 
@flawr well.. sort of :)
 
Currently trying to set a snake on fire. Is this the right SE for that?
 
9:20 PM
@flawr I was very surprised to discover nsum for python the other day docs.sympy.org/0.6.7/modules/mpmath/calculus/sums_limits.html
 
@Dennis Hahahaha :P
 
which supports infinite sums
@Dennis I can only assume that is a euphemism :)
 
Some (math) guy in a CS graph theory lecture drove the lecturer crazy by asking about shortest path algorithms on graphs with incountably infinite nodes.
 
@flawr I can see that would be annoying :)
 
@flawr *uncountably, and lol :P
 
9:21 PM
Well but he was asking the important questiosn.
 
Reminds me of xkcd's nerd sniping.
 
@flawr It does also sound interesting
 
Well consider the reals R as the nodes, then a graph on the reals could be represented by functions from R^2 to R
You'd probably need some continuity and some other stuff in order to make meaningful statements, but not uninteresting I think.
 
careful because if you show too much math ability I will ask you to attempt my challenge :)
 
I'm already doing that^^
 
9:23 PM
@flawr oh cool!
I really look forward to seeing what you come up with
In the mathematics of infinite graphs, an end of a graph represents, intuitively, a direction in which the graph extends to infinity. Ends may be formalized mathematically as equivalence classes of infinite paths, as havens describing strategies for pursuit-evasion games on the graph, or (in the case of locally finite graphs) as topological ends of topological spaces associated with the graph. Ends of graphs may be used (via Cayley graphs) to define ends of finitely generated groups. Finitely generated infinite groups have one, two, or infinitely many ends, and the Stallings theorem about ends...
so much to learn
 
@Lembik what is the transpose of a vector?
 
@Lembik Do'h I just started golfing my code =/
:28752449
   1
   2   ->       124
   4
 
@Maltysen it just means change it from a row vector to a column or the other way round
@flawr :)
 
ohhh doih
 
9:27 PM
@Lembik so is that just the dot product?
 
I have too many PPCG tabs again. And tabs from chat. Goodnight
 
x^T Px =?= x dot Px
 
@Maltysen yes exactly
 
@Maltysen Alternatively Px dot x
XD
 
it's all much simpler than it might look at first
@Maltysen which language are you using?
 
9:28 PM
@Lembik Do you have MATLAB?
 
@flawr no. I have python which should be able to do everything that matlab can
 
But matlab woud probably be faster
 
if you really want matlab there is always octave but python is easier and more powerful imho
 
well octave is way slower than matlab =S
 
I think I have a really naive algorithm
 
9:29 PM
I think I have to give up
 
@flawr It is? I always thought they were about on par
 
@flawr that's an interesting question.. I don't know if that is true that matlab is faster than python
@flawr why do you have to give up?!
don''t give up!
 
@Lembik PyPy is absolutely faster
 
@Lembik No by no means generally faster, but some matrix stuff is sometimes faster than numpy
For general purpos stuff matlab is slow as heck
But for matrix stuff it is quite fast.
 
@flawr I think the speed of matrix stuff in numpy depends on what library you compiled with.. e.g. BLAS etc
@quartata pypy is great but patchy as a speed up tool
 
9:32 PM
? PyPy should just be a drop-in replacement for CPython
 
@Lembik Builtins are allowed?
 
stupid python, not allowing infinite cartesian product
 
@quartata it is but some things get faster and some get slower
@flawr yes
 
gonna have to use Pyth for fastest-code now
 
@flawr unless the builtin simply computes exactly the sum in the question
 
9:33 PM
Uh no, I was thinking about a cholesky decomposition of P for speeding up the computation of that energy norm.
 
@flawr so that was a yes
 
@Lembik: Possibly best is to make an eigendecomposition and see the unitary matrix/eigenvalues as tranforming the regular grid to a rotated and stretched one in which you choose points in an expanding sphere around (0,0,0,...)
 
@flawr why "uh no"
@TonHospel sounds good
 
@Lembik The "uh no" means that I do not have a builting that evaluates this sum
 
@flawr oh ok :) Please feel free to use any builtin you like in that case
 
9:35 PM
@TonHospel You mean PCA =)
 
@TonHospel please submit an answer! You can still be the first :)
 
@flawr: related but not exactly
@lembik: My favorite perl is so not the language for this
 
@TonHospel But the PCA does exactly what you suggested to do?
 
@Lembik wtf?
 
9:37 PM
@flawr what is that chart for?
 
@Lembik Oooh, bounties=)
Math.SE
 
@Lembik Sure you can do it but it's not the right tool for the job.
also that module is written in C most likely
 
@quartata it is if it's the only tool
@flawr is that my rep?
 
@Lembik But it's not
 
@lembik: Here I'd definitely prefer to use a language that has basic matrix ops builtin
 
9:39 PM
@quartata I think Ton Hospel was saying he only knew how to program in perl
@TonHospel did I get that wrong?
 
@lembik: I actually know lots of languages, but i mainly do perl and C++
 
@TonHospel ok
 
A lot of golfing languages have matrix operations but I know that's not your cup of tea
 
It's really rare for great programmers to only know one or two languages. :P
 
Could we make a tag as a synonym for ?
 
9:41 PM
I have to go for a bit but re: my challenge, I should say that for small n it works ok to consider only vectors x where x_i in {-1,0,1} and that is nice and quick if n is small.
if anyone wants a trivial way just to start off
@TonHospel python has matrix operations
 
0
Q: Tips for King of the Hill

mbomb007What general tips do you have for creating a bot to participate in a King of the Hill challenge? What strategies do you use to go from considering the challenge to creating your bot? What data structures do you find most useful? Please post one tip per answer.

2
 
@Lembik where?
 
the problems start when that isn't good enough
@Maltysen sorry.. what do you mean by "where?"
I need full sentences as I lose context otherwise :)
 
@Lembik: I'd probably go for C/C++ with some math libraries here
 
@Lembik how do you do matrix multiplications in python?
 
9:43 PM
@TonHospel sounds good in that case
 
@mbomb007 sure?
 
@Maltysen numpy has np.dot for example and actually python has a new @ operator I think
 
oh numpy
and IIRC the new @ doesn't do anything yet
 
ok.. so numpy it is
 
@EasterlyIrk I haven't figured out how to create a tag yet
The tag has to exist in order for it to be added as a synonym
 
9:45 PM
I think you just need to tag something with it.
 
@Maltysen stackoverflow.com/questions/34142485/… I think it is meant to do something
I have to go for a bit. I look forward to seeing what has been done when I return
bye for now
 
@Lembik only if you implement it
 
ah ok
 
@mbomb007 I tagged your KOTH tips page with it, can you suggest the tag synonym?
 
I just finally finished the Cheddar tokenizer and it works!!! I am literally crying from joy right now.
 
9:50 PM
 
crap can't vote. :(
 
Anyone who has at least a score of +5 in KOTH and 1250 rep can vote.
 
I don't have the score or the rep, I just realized.
brb posting a answer to a koth
 
@El'endiaStarman Or you could rephrase and negate the question to make their answers contradictory.
@EasterlyIrk It needs 4 votes anyway.
 
@mbomb007 Eh, not as much fun. :P
 
9:57 PM
@El'endiaStarman It took me a bit too long to get it, since I wasn't pronouncing their answer in my head.
 
@mbomb007 +1
@Downgoat :D :D :D
 
@mbomb007 That's usually how I respond to jokes. If I don't get it immediately, I assume it's word/sound-play. If that doesn't work, then I keep thinking and/or give up. :P
 
@Downgoat :DDDdDDDDDD EPICNESS!!! Good job dude!
 
@EasterlyIrk Answer this in FOG.
 
sure
 
@EasterlyIrk thanks, that is one big chin!
 
IKR?
@CᴏɴᴏʀO'Bʀɪᴇɴ wait
 
@Downgoat Can we help you any further? :3
@EasterlyIrk oh no
 
i don't know if I can recurse in fog?
^^^
 
@CᴏɴᴏʀO'Bʀɪᴇɴ not for now, I'm mostly doing edge-case testing
 
9:59 PM
Let us know when we can help.
 
@Downgoat I am good at edge case testing! :D
 

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