« first day (1857 days earlier)      last day (2969 days later) » 

4:00 AM
@Maltysen I'm actually not sure if there is one. They're pretty much interchangeable in my mind.
 
@Quill YOUR SQL IS SCREAMING
 
ScreamQL
 
@AlexA. THAT'S HOW YOU WRITE IT
 
writing SQL while not screaming at the top of your lungs is a syntax error
9
 
@Quill THAT'S NOT HOW I WRITE IT
 
4:01 AM
@AlexA. Then you're... doing it wrong tm
oh boy mobile chat is fun
 
@Maltysen In most cases I think it's minimal if anything. You just have to make sure all of the requirements are met for both degrees. At the University of Washington, the College of Arts & Sciences has slightly different requirements than the College of Computer Science & Engineering, but if you get everything sorted out with an advisor and/or do careful course planning, you can reconsile the differences in requirements.
 
ohhh so the general ed courses have to be fulfilled also if you do a double-degree
 
Yeah, but general education requirements are (mostly) the same across the colleges within a university.
 
I did a double degree BS Math, BA Russian
because it was a double degree i got to double dip in classes that double majors wouldn't have been able to
 
@Liam Did you get to learn any Tatar as part of your Russian language degree?
 
4:05 AM
negatory ghost rider
 
ono
my ghosts rode
 
Russian was hard enough lol
 
@AlexA. coolio. thanks for the info
 
@Maltysen Any time!
When you're considering colleges, you should consider the University of Washington. ;)
It's objectively the best.
Because I say so.
 
@AlexA. what an unbiased suggestion!
 
4:07 AM
I dunno about objectively but I don't strongly disagree. :P
 
i'm on the other side of the country tho D:
 
UW is well-known for being a pretty good CS school.
 
@Maltysen West side is best side
 
My alma mater was RIT, in upstate New York. I didn't do well in the CS classes I took though. :/
 
@El'endiaStarman Indeed. Microsoft likes to hand-select graduates from the UW CS program.
 
4:08 AM
my parents don't want me going more than like 5 hrs away from home
 
At the time, I was pretty much incapable of doing programming as homework.
 
@AlexA. forgot you were up in Seattle
 
Hellz yes
@Maltysen Make them move to Seattle
 
honestly UW is like top tier in most things
 
B)
 
4:09 AM
"Hey mom and dad, we have to move to Seattle for my college because some guy named Alex A. on the internet says so"
 
@El'endiaStarman Why so?
 
I didn't have the motivation.
And, well, the teachers/homework weren't that great either.
 
I took 1 cs class in college... It was mindnumbingly boring
 
> Okay, Maltysen. I love you and I want you to attend this college because some rando on the internet says so. — Maltysen's Mom, 1 hour ago
 
why is her name a link to google
 
4:11 AM
Great links.
 
Why wouldn't it be
 
because it's a quote and google didn't say it?
I feel lied to
 
Google has said everything. You just need to know what to search.
 
@Liam my dad actually does work at google
 
@Maltysen Holy butts. Can he get me a job there? :P
 
4:12 AM
Not if you keep saying things like holy butts.
 
@AlexA. probably not? He doesn't like it there because its a lot of programming and he's used to doing crypto research
he does do interviews sometimes, but I don't he actually makes any hiring decisions
 
I was mostly kidding. But if you said yes then I would have revoked the joking aspect.
@IGoBest I must have misspelled holey.
 
like a high school kid asking someone out
 
haha
 
"hey dad, can you give the same rando your job?"
 
4:14 AM
@AlexA. I was going to make a holey joke, but it was a crappy one.
 
but daaaaaaaaaadd he's a moderator
 
I know where to get the best dosas in Seattle. Just sayin'.
*disclaimer: I have never had a dosa
 
what is a dosa
 
DOS is that Microsoft thing
 
It avocad in shel
 
4:15 AM
 
@AlexA. Have you really never had a dosa?
 
^
 
That's kinda like showing a picture of a burrito. What's inside? The world wants to know...
 
@AquaTart Yes
 
I've never had a dosa.
 
Umm...
 
No that was bad
 
uhhh
 
Disregard forever
 
OK, so I gotta overnight ship Doorknob an avocado and Alex a dosa
 
4:17 AM
@AlexA. I'll try
 
views history of message
regrets viewing history of message
3
 
also I saw that message and it will be forever burned in my brain thanks for ruining my life
 
^
 
@Doorknob Sometimes mod powers are a curse.
 
I blinked...
 
4:18 AM
You're lucky
 
^
 
constantly having TNB open is sometimes always a curse
 
^ I'm supposed to being doing stuff
RIP hopes and dreams
 
Oh and I need to ship flawr a burrito
 
Has flawr never had a burrito?
 
4:19 AM
@Liam Nothing is stopping you. This is merely a convenient excuse :P
 
0
Q: Pascals Triangle

user51747I am trying to create a Pascal's Triangle. However the way I'm trying to do it is different than another question posted on here. I am trying to create a pascal's triangle that is a nested list and contains zeros in the unused spots. As usual, looking for a solution that uses the least characters...

 
do we dupe that or not?
 
@AlexA. apparently not since he asked what a burrito was a while back
 
@Maltysen technically it's different, I guess...
 
I'm gonna be food santa claus
 
4:20 AM
@AquaTart I'm sure Doorknob has had an avocado though.
 
@NewMainPosts that looks like a homework problem or something
 
I have never had an avocado
 
did anyone see that last edit @NewMainPosts ಠ_ಠ?
 
@Maltysen I did :/
 
@Doorknob WHAT
 
4:21 AM
¯\_(ツ)_/¯
 
All we have to do is claim to have never had some food and we get it shipped to us? I've never had a, umm... large cheescake with strawberry topping.
 
@Maltysen what was it....
 
> Preferably in python, java, c++, c#, Perl, or Ruby. But I welcome any exotic solutions as well.
 
@IGoBest sorry I don't want you getting diabetes
 
@Doorknob Stop what you're doing and find an avocado. EAT IT
 
4:22 AM
@AlexA. I don't like avodacos *ducks*
 
@AquaTart Nah, I'm healthy as a horse. A healthy horse, that is.
 
@Maltysen What are avodacos ducks?
>:U
 
Nah the avocados he gets in Texas are probably shit. He needs a really good one
 
@AlexA. hahahaha I actually made a laughter-noise when I read that and imagined someone screaming that at me
 
@Doorknob You weren't imagining anything; that was me screaming it at you.
 
4:24 AM
Lol
 
Turns out Alex has been hiding in your suitcase waiting for the next family vacation
4
 
Avocados are amazing. Suitcases are not. Holes are.
Wait, my suitcase???
 
I poorly executed that meme.
 
How is that new question not closed yet? o_O
 
4:27 AM
Anyways a slightly obscure chat meme is that Alex "goes" on Doorknob's family vacations
 
what would you close it for?
 
@IGoBest Why should it be? It's technically on-topic.
 
@Liam off topic
 
Joke follows from that
 
it is a challenge though
 
4:28 AM
@AquaTart I got the joke :P
 
I might close it for looking like a homework problem that he clearly wants help with
it's underspecified maybe
 
@Liam but he's allowing any language
so its probably not hw
 
@Doorknob <3
 
@AquaTart Why are you using quotation marks?
 
I mean... even if it is homework, why does that make it off-topic?
 
4:29 AM
I do go on his family vacations.
 
It's not like golfed code is going to be of much help anyway :P
 
Which is why I haven't voted to close yet
It could do with some editing, remove all the "I" usage etc
 
There are 4 close votes telling him to go to Stack Overflow.
One more and it's closed.
 
I saw that
I might give it a major edit-overhaul
 
Is "Pascal's Triangle" really different from "Pascal's Triangle (with zeros for padding)"?
 
4:30 AM
can you reopen hammer when that happens
 
I could, but I'm not going to
 
why do we have something telling people to go to stackoverflow
 
I'm just waiting on this to be reopened ಠ_ಠ
 
@IGoBest Probably. You have to get the right number of zeroes before and after each thing.
 
4:31 AM
@ӍѲꝆΛҐӍΛПҒЦꝆ middle-squares, clearly
 
@ZachGates one more vote
 
^
I have an answer but I'm going to have to learn C# to post it (correctly)...
 
@Maltysen I'm looking for something better :P
 
Meh, ok, whatever. I'll admit I misread it at first, but I can't change my close vote reason now. I'd rather it be closed as a dupe, but I'm not retracting for that, so have fun with it I guess.
 
@ӍѲꝆΛҐӍΛПҒЦꝆ linear congruential?
 
4:32 AM
It could definitely use a rewrite, though.
 
He didn't post it as a challenge. It is a plea for help. If he reformat s then i will vtro.
 
I just realized it has been a month since Best of PPCG.
 
@Maltysen Well the problem is that generating a seed is... hard.
(I think)
 
I think I have found a suitable replacement for graduation jokez
 
@ӍѲꝆΛҐӍΛПҒЦꝆ time()?
 
4:34 AM
@Doorknob No such thing in DUP
 
Does anyone here speak C#?
 
@ӍѲꝆΛҐӍΛПҒЦꝆ read("/dev/urandom", <n>) for some reasonable value of n?
 
Does C# compile to Spanish?
@ZachGates I know a little.
 
@Doorknob Well, not cross platform I guess
 
@AlexA. Spanish or C# hehe
 
4:35 AM
@Doorknob Umm........... online interpreter?quirkster.com/iano/js/dup.html
 
oh
 
@ZachGates lel C#
 
@AlexA. How does this look in respect to this question?
 
What do you mean how does it look?
 
@AlexA. It should redefine the & operator to return false, but I'm not 100% on syntax
 
4:38 AM
Why not try it and see if it works?
 
Try where?
 
Doesn't the question ask for values of a and b to make it true? Whether it works seems irrelevant.
 
Use Mono.
 
@Doorknob I was thinking somehow using any STDIN text to do this, but that might not go too well as a PPCG submission :P
 
4:39 AM
@IGoBest Oh yeah I think you're right
un-ninja'd
 
@El'endiaStarman bonk
 
wth
 
It's a blender
 
how much does that cost, can i buy it
 
4:48 AM
Maybe can use to juic avocad
 
hahahahaha
 
@ZachGates how... how did you find that? o_O
 
@ZachGates Is that... photoshopped?
 
@Doorknob better?
 
Look closely at the 'D part.
It's very clear.
 
4:54 AM
apparently there is a brand of blender called Ninja
that would explain it
 
so still can't juic avocads?
D:
 
Master of ninjutsu
 
juicr of avocads
 
In middle school my friend tried jamming a banana in a garbage disposal to see what would happen
Turns out the banana spins real fast
 
@AlexA. ( ͡° ͜ʖ ͡°)
@AlexA. ( ͡° ͜ʖ ͡°)
 
5:02 AM
Haha, yes it's photoshopped
 
5:23 AM
People talking about self driving cars and robots, but I just want an AI that can auto-document my code.
 
@Doorknob Okay going back to this. I have no idea how to run the C compiler on the esolang wiki page, but if I figure it out, this might be of use.
 
@Liam Any reason you're wrapping timeall.sh is a loop instead of looping for every answer separately? I think the other option would give more accurate timings, with the additional benefit of producing a single official time.
 
@Dennis because I'm bad at bash
and also bad at thinking things through
 
@Doorknob: I've voted to reopen the question because of your edit, but I doubt that OP was posting a challenge in the first place
 
This should work nicely:
f ()
{
    echo $1;
    ./$1 1 > /dev/null;
    time for i in {1..10};
    do
        for j in ${a[@]};
        do
            ./$1 $j > /dev/null;
        done;
    done
}
 
5:31 AM
@Dennis +1 for not using tabs
 
Example run:
$ f pi
pi

real    0m0.782s
user    0m0.686s
sys     0m0.061s
@AlexA. That was auto-generated by Bash and copied from a terminal. My declaration had no indentation at all.
 
o_O
 
@Doorknob Are you still awake? I need you.
 
Well, I typed it in the terminal. It's kinda hard and pointless not to put everything on one line...
 
5:34 AM
That's fair
+1 to the terminal for not using tabs
 
And just have that be your score?
 
Yes.
Well, divided by 10.
Btw, 10 runs exhibits a lot of variance for a solution that takes around 50ms per run...
 
yeah but there is no one even close
if there was another entry close, I would time the two of them many more times
 
I'm not good at reading but I think my submission is competitive with orlp's.
 
Huh, I thought I got two pings. Must've been my imagination
 
5:36 AM
You did. There was a ninja edit.
 
I'll time it tomorrow when I get around to downloading julia
If you guys are really close I'll have to time yours a whole bunch too
 
Oh, that makes sense then. :p
 
@Liam In that case, you should probably change the test cases as well. The smallest test case takes 0.001s per run. That's just noise.
 
test case or score case?
 
Score case.
 
5:38 AM
yeah. I really want to ping PeterTaylor and ask him to make an entry
to see if it can compete with yours
 
This is the first time I've written a non-trivial entry to a fastest code challenge, so probably.
It's all in the algorithm. My implementation is probably clumsy.
 
He said he spent about 40 hours optimizing a sieve of atkin for something else
And I wonder if that could compete.
He would probably say "yeah it can, I can trivially change it to fit your challenge, vote to close"
 
I don't think any kind of sieve could compete with the Meissel-Lehmer method.
 
I made a Sieve of Atkin in Julia, hoping it would be faster than my current Sieve of Eratosthenes and it isn't. ;-;
 
yeah it takes a lot of optmization to make it faster
but if anyone could do it
how does the Meissel-Lehmer method do with really big numbers?
 
5:42 AM
TIL Rust's package manager is infuriating.
 
I really want to be good at rust, but I haven't taken the time, so I find pretty much all of rust infuriating
 
@Liam Lemme check.
 
I spend most of the time begging the compiler to let me do things that I shouldn't
 
Do you know how to use a crate? I can't for the life of me figure out how to get extern crate num; to work!
 
I recall having difficulties with that
try putting * at the end or something
 
5:46 AM
At the end of what?
 
idk are you trying to use functions inside that crate?
like
extern crate num::*
or something
 
@AlexA. it's in your Cargo.toml right?
 
@Upgoat I don't have a Cargo.toml because I'm not building a crate or anything. I just want to make a .rs file.
 
@Liam It computes pi(10^12) in under 10 seconds, so rather well.
 
yo, I got some swag (fiiiiiiiiiinally) :)
 
5:50 AM
At that point, my implementation is very suboptimal though.
 
@aditsu Wooot! What for?
 
@AlexA. but you have num though?
 
the 10 million thing
it was like last September
 
@Upgoat I have no idea. I tried cargo install num and it said there were no binaries.
 
wow really impressive
 
5:52 AM
seems to be just half of what they promised
 
:/ What did they promise?
 
297
Q: 10 Million Questions - Let's Share Some Stories That the Number Doesn't Convey

Tim PostIt's easy to look at numbers; numbers tell us that many developers have been helped by what we built. That alone is very warming and makes us feel exceptionally great about what we're doing, wouldn't it be nice to take a little time on a Friday to share some stories that the numbers can't convey?...

see "In addition to this" ...
they kinda bungled that giveaway, but I'm still happy to get this stuff :)
 
Did they not send the author of whichever post you linked to some swag?
 
I was both the poster and the author :p
a bunch of people did that
 
oic
 
5:58 AM
it even says "If you're the author of the answer, you get both prizes."
 
@Liam Meissel-Lehmer basically consists in generating the primes up to n^(2/3), then calculating pi(n) as (number of integers below n that have no prime factors below n^(1/3)) + pi(n^(1/3)) - (number of integers with exactly two prime factors, both between n^(1/3) and n^(1/2)) - 1. Since n^(2/3) is much smaller than n, that rather fast and almost uses no memory.
 
heh, some items have the new logo and some have the old logo :p
 
where did you hear about it?
 

« first day (1857 days earlier)      last day (2969 days later) »