« first day (1013 days earlier)      last day (3928 days later) » 

5:00 AM
@Crowz Could be a dream for all you know.
 
no because other people tell me it happens... unless it's a dream within a dream
 
You'll convince yourself it's real no matter what unless you train yourself not to.
 
UNLESS EVERYTHING IS A DREAM!
 
My stupid sister.
I realized a dream was a dream and she was there telling me it was real, feeding me bs about why I was on the couch.
Convincing me my vision was too blurry to believe I had fingertips sprouting out of my fingers (lol)
 
My dreams are way too intense, I almost feel like I should get them checked out
 
5:02 AM
@Crowz They're typically more vivid around 4-7 or so with a normal sleep schedule.
 
I should stop sleeping altogether and become a God
 
That's what interested me about the other cycle. 4h of sleep each day.
And feeling more active than normal.
Now if I could just get into it properly and have time with it before I have to not nap for 20 min in the middle of the day...
 
And it was actually helping those lucid dreams.
@StackedCrooked Except you still get the same amount of good sleep.
By sleeping for 8 hours at night, you basically waste a lot of it before you get to the good stuff.
That's why it's hard to get into it. You have to train your body to not do that, or your naps and 3h sleep are a lot more useless.
Oh well, I'll get back to you on how it goes in 5+ years when I have another chance.
 
@StackedCrooked you don't seem to be sleeping any more either :p
 
5:09 AM
@chris Where are you in school?
 
Unless, by some magic, I manage to get a coop job where I can do it for 4 months.
@trojansdestroy University of Waterloo in a month and a half.
 
hmm jw how close is Waterlook to Queens; stupid question - but do people go between them at all? .. no i mean university relations not distance; i can do that too lol
 
I want polymorphic lambdas. :(
 
@EiyrioüvonKauyf goo.gl/maps/Nc6b8
 
@chris For engineering?
 
5:11 AM
@Rapptz Me too. Those [] normal functions look pretty interesting, too, but they're not coming (yet).
 
@Rapptz Me too.
 
@trojansdestroy Software, yes.
 
@Rapptz looks fun :3
 
Some people were talking about how lambdas make std::bind useless, so I tried to replace this std::bind with a lambda but I definitely can't do it.
 
Coroutines in Boost.Asio using lambdas...
 
5:12 AM
not without some [](auto, auto) { } magic.
 
I still wish they would lighten up and allow us to eliminate the auto.
 
@chris nah auto is nice
 
@chris Generic lambdas lite™? :P
 
I can't explain how much more I like C#'s lambdas for terseness.
 
@StackedCrooked do you have any relation to med in general? seeing a programmer cite pubmed is rare
 
5:14 AM
But when I Googled I found the pubmed link first.
And now I ended up reading about the defragmentation theory of sleep.
 
Sleep being defragmentation seems pretty popular.
 
now if we could just get a neural equivalent to an external hard drive - i.e. computer assisted memory or an alternative
 
Like a notebook?
 
Did you hear about the DNA storage investigations?
 
5:21 AM
ehhh i'm thinking an SSD
@chris you mean the MIT guys and their book? Using DNA to encode memory
 
Apart from being wildly expensive, it's going quite well.
 
@chris tissues?
I was talking about haploids
 
clearly you mean diploids.
 
i think haploid
 
5:23 AM
I store my haploids in tissues quite frequently.
 
@EiyrioüvonKauyf Yeah, that direction.
 
no nevermind i was wrong
 
We might see it become our new storage device eventually.
 
@Chemistpp I think i'm misunderstanding I mean synthesizing custom DNA using bases to encode
 
@EiyrioüvonKauyf I'm making a terribly immature joke. haploids = gametes = semen
 
5:24 AM
... shit you're right
 
I'm drunk
 
many companies are coming out with new things; e.g. magneto-stuff HD's, electro-shit hd's and many other types
 
@EiyrioüvonKauyf Gotta have some hope. Things that seemed impossible a couple decades ago are here now.
 
nah i mean it might not be DNA that's the new thing ;)
ok time to sleep; missing stops isn't cool
 
@EiyrioüvonKauyf "might" keeps it from being all that strong.
 
5:25 AM
@JerryCoffin dammit i can't read; sorry about that
 
@EiyrioüvonKauyf Don't be sorry. Be happy! :-)
 
@Chemistpp share the booze yo
 
So, what's the most acceptable way to use Bootstrap once it's there?
 
i swear i read somewhere that the next awesomeness was going to be computers that used polarized light. But whateves, I've been hearing about quantum computers, etc for a decade
 
5:27 AM
i need to read physics world more
 
everytime I build a new computer, still 1 and 0s
 
@Chemistpp uhhh atm the current awesomeness is twisted light to get faster transmission; that's polarized
 
@EiyrioüvonKauyf so it is true, what I read
 
dam think of all the porn programs you could download at 1.6 Tb/s
 
sweet. I understand polarized light well being a carbohydrate chemist (polarimetry was one of the first techniques to measure alpha/beta ratios in sugars)
@EiyrioüvonKauyf or porn
 
5:29 AM
@Chemistpp i understand many of the words you say when taken out of context; the problem is when they're in context
 
@EiyrioüvonKauyf I would but I left it at the bar. I got tailed by a cop home, I was shitting bricks. I only drank 2 beers in about 45 minutes, but they are double india pale ale (10% pints so like 4 beers, unless your european, then 2 beers still)
 
i know what a carbohydrate and a chemist is; i.e., what do you do
 
@EiyrioüvonKauyf lol, tl;dr or don't understand: I use polarized light
 
@Chemistpp for what? ; is it tasty? :3 .. are you by chance a phd at Indiana Univ? I have a friend there or Purdue ... and that's all I know in Indiana
 
5:32 AM
https://en.wikipedia.org/wiki/Optical_rotation
We can use that to measure carbohydrates.

I am at Indiana Univ but I'm leaving for England soon (I hope. interview on August 1st)
 
cool; gl
 
@EiyrioüvonKauyf Thanks. It's with oxford uni working for bill gates
eer, at least it's funded by the gates foundation
 
cool :D
i have a friend at oxford .... or was it cambridge ... one of those
 
imaging tuberculosis
eh, they're all the same
 
sounds cool
 
5:33 AM
light is polarized differently when passing through some isomers, I think that is the crux of what chemistpp was getting at.
 
sounds like I"ll be coughing blood
 
@seth TIL something
 
@seth seth is correct
 
ok time to sleep adios
 
I wish there was SO for chemist. I would have positive rep
 
5:34 AM
the perks of being a chemistry/math major
 
@EiyrioüvonKauyf later.
 
there is a chemistry beta
 
Speaking of faster everything, my internet is 25/2, but what I get is 8/0.5. That might be as advertised soon if all goes well.
 
@EiyrioüvonKauyf night
@seth no kidden
 
@chris Seems like a pretty serious improvement.
 
5:34 AM
@chris probably the remainder is 5
I realize that was probably horus ago
-12
Q: C++ Modulus Operator

BlakeasdIf the modulus operator takes num1/num2 and returns the remainder why is 25 % 2 = 1 ? Take the following code for example: float modulus2 = 25 % 2; printf("%f",modulus2); This code will print out 1.000 . 25/2 is equal to 12.5, so why is the modulus 1 instead of 5?

25%2 I saw 25/2
I'm bad at jokes.
 
I don't think I've seen -12 before.
 
it's pretty good
 
Oh, I thought you meant 25%8.
 
I mean, my worse is -3
 
Which is also 1.
 
5:36 AM
@Chemistpp lol
 
Make that -13. Someone here responsible, methinks
 
I don't know why I never see this questions when I look to answer shit
I just see stuff that is wel beyong me
 
@seth -12 is nothing:
-148
Q: How to send 100,000 emails weekly?

xRobotHow can one send an email to 100,000 users on a weekly basis in PHP? This includes mail to subscribers using the following providers: AOL G-Mail Hotmail Yahoo It is important that all e-mail actually be delivered, to the extent that it is possible. Obviously, just sending the mail conventiona...

4
 
@Mysticial LOL
nice
 
Best headline ever.
 
5:38 AM
it's beautiful
 
And the lowest voted post of all time on all of SE is probably this one:
-185
A: Can we have the ability to rescind a close vote before it closes?

Jeff Atwooddeclining -- you can always cast a reopen vote if the post gets closed. Also note that all close votes automatically expire after two days. (and for that matter reopen votes, or any other vote that attempts to reach a threshold -- otherwise, over an absurdly long period of time, say 10 years, e...

 
150 upvoted on that comment. I think it's maxed.
 
Locked for historical significance?
 
@Chemistpp Not nearly.
 
@trojansdestroy It kept getting deleted. So the mods opted to lock it.
 
5:39 AM
@chris oh, lol. still funny. I think you're a script kiddie. lol
@Mysticial so the kid reposted it more than once?
 
@Chemistpp No. Normal users kept deleting it. And the mods kept undeleting it.
 
@Mysticial lol.
 
user142019
@Mysticial s/you can always cast a reopen vote if the post gets closed/I'm too lazy to implement it/
 
Wow, hating on the creator much? Poor Jeff
 
@Chemistpp Maybe at heart, but I do all that with raw winapi.
 
5:39 AM
After a few iterations of that, the mods locked it to prevent it from getting deleted.
 
@chris no, i mean the comment said that. I don't think that about you. you probably know more than me.
 
Why did they want to keep it?
 
@trojansdestroy Technically, it's a valid question with a good answer.
 
user142019
@trojansdestroy terrible idea = downvote, no matter who.
 
@Chemistpp Oh, lol. I didn't eve read it (though I have seen that question before).
 
5:41 AM
The intention of the OP is not supposed to be a factor in moderation. But people are free to vote anyway.
 
I agree! I don't mean Jeff should be treated specially. Just that I've never seen a post so downvoted (esp. one of his)
 
@chris I am probably the least experienced in the room ;) I don't talk when certain people are in here that's how noob I am. I don't think I coudl call anyone a script kiddie
 
lol, I got 50 upvotes for my ASCII table answer
 
@rightfold I think I agree, anyway. I'm not quite sure if you mean I had a terrible idea, or downvoting no matter who is a terrible idea
 
user142019
> e.g. PhpMailer if PHP's your poison of choice
 
user142019
5:43 AM
> poison of choice
 
user142019
LOL
 
@trojansdestroy On meta, voting is more about agree/disagree.
 
user142019
@trojansdestroy I mean that on Meta Stack Overflow, terrible ideas—like in this case Jeff's—should be downvoted.
 
@rightfold I see. Oh man...don't hate, but why is it a terrible idea?
 
so do you guys routinely use structs or default to declaring full blown classes?
 
user142019
5:46 AM
Because canceling your own close votes is a logical feature.
 
user142019
It should be there.
 
user142019
It makes more sense than not having that feature.
 
Wait, why is it status-completed?
 
@rightfold Good point. But in that case (devil's advocate) why not edit the post? Just because it isn't a mod's job? (which makes perfect sense)
 
user142019
Wat.
 
user142019
5:48 AM
How can you edit a Meta Stack Overflow post that is somebody's opinion.
 
...My bad.
Not thinking things through tonight, clearly
Confused meta posts with SO proper posts
 
http://www.cplusplus.com/forum/general/3054/
I guess that is a pretty good post from the second due to answer my question.
I don't really know what meta is
it looks like a place to discuss SO
heh
an SO for SO
 
meta is awful
 
I feel like I'm being mocked. Rightfully so. Duly embarrassed
 
@trojansdestroy eh, here I can understand. no mocking.
 
5:52 AM
@Rapptz Why is it awful?
 
user142019
0
Q: Nexus 7 locked - no forgotten password option

46enforceMy girlfriend forgot her password on her Nexus 7 and can't remember it. It's writtent everywhere on the web that you can use the gmail login after 5 wrong password but it doesn't seem to work anymore! It doesn't ask for the gmail account and never shows the forgotten password option. I have try...

 
user142019
Kill with fire.
 
@trojansdestroy Spend a couple days there and you'll see for yourself.
 
nooo I lost my consecutive day count :(
2
 
Oh wow, I derped hard on the printing order question.
 
user142019
5:59 AM
@Aboutblank Congratulations. You have a life.
 
@CatPlusPlus, Thanks for the Bootstrap suggestion. While still ugly, it's a lot prettier than before (i.imgur.com/f8gxxDX.png).
 
@rightfold now why would I want one of those
 
user142019
To breed.
 
I may or may not have shamelessly stolen the layout to practice with.
 
0
Q: How is this C++ code working

Cameron BallI'm working on an existing project (written by someone else) and I can't get my head around these two simple functions. The first function I am interested in contains this: int iCounts[NUM_GRADES]; PROFILEMAN->GetMachineProfile()->GetGrades( pSong, GAMESTATE->GetCurrentStyle()->m_StepsType, iCo...

this is a dupe isnt it?
 
6:05 AM
I sorely wish C++ didn't pick up all of C's deficiencies.
That's what D is for, I guess.
 
Do you (anyone) think there's a time/an age when it's too late to start programming?
 
@rightfold that makes it more confusing.
 
user142019
It doesn't.
 
@trojansdestroy Yes. If you're over 140 years old, it's probably too late to start programming.
 
user142019
And your original answer was wrong, FYI.
 
user142019
6:09 AM
You don't pass "the array itself".
 
user142019
You pass a pointer to it/the first element.
 
The array is a fucking pointer to the first element
thats what pointer semantics mean
 
user142019
It's not.
 
user142019
An array isn't a pointer, you noob.
 
user142019
An array is an array and a pointer is a pointer.
 
user142019
6:10 AM
And arrays decay to pointers because of the retarded C part of C++.
 
@Borgleader It isn't.
 
Well in this case it doesn't decay into a pointer because you still have the size of it in the function signature
i think?
 
so does this page c-faq.com/aryptr/aryptrparam.html hold completely for C++ also?
 
@JerryCoffin I guess I managed to squeak by! What good fortune!
 
user142019
@Borgleader The size in the function signature is ignored.
 
6:14 AM
@rightfold If you had a last name of Stroustrup how would pointer semantics be?
 
Renaming them to ponies would be a start.
 
user142019
In C you can do SomeFunction(int xs[static 42]).
 
@chris I can't find a dupe for this
0
Q: String and pointer in C++

Insane CoderBelow is the code for which I want to know the answer to 2 questions commented in the code below.Please help me #include<iostream> using namespace std; int main() { char *p="Hello"; cout <<*p; //gives H cout <<*(p++); //also gives H.Why? cout <<*(p++); //gives e. cout <<...

 
user142019
@trojansdestroy No pointer arithmetic nor automatic conversion from arrays.
 
@Borgleader arrays?
 
user142019
6:16 AM
Also, string literals would be std::string const&s instead of char const*.
 
Wait, never mind, they store it as a pointer.
 
@chris Nah it's postfix operator ++ returning original value
 
@rightfold amen to that.
 
Derp, they're incrementing it.
 
I was thinking postfix op vs prefix op
 
user142019
6:17 AM
Also, pointers would default-initialize to nullptr.
 
They don't know what dereferencing does, though
 
user142019
(And all other primitive types would default-initialize to some zero value too.)
 
user142019
And you wouldn't be able to cast pointers to unrelated pointer types.
 
-1
A: String and pointer in C++

Kolyunya //also gives H.Why? Because you use a post-increment. Learn how it works.

shitty answer... wow
 
user142019
> It should give some garbage value!
 
user142019
6:18 AM
hahaha
 
I can't get that to compile, I get ` warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]`
 
Was gonna answer that std::cout question but decided not to
 
user142019
Good.
 
@seth Exactly, it's not valid C++11 code, and shouldn't have been valid before that.
Oh, I read their question as not knowing why *p gave H.
And then all the crap about the postfix increment and everything.
My making sense to spewing nonsense ratio is extremely low tonight. Where's sehe?
 
user142019
I'm going to unfollow the C++ tag before I downvote my own reputation back to 124.
 
6:24 AM
How does the OS manage to not use 100% CPU all the time?
Stupid question probably.
But thinking about it, I can't come up with an answer.
 
user142019
@StackedCrooked By doing 90% I/O.
 
user142019
Like most websites.
 
user142019
And load-balancing different physical servers.
 
user142019
More challenging question: how does Google do it?
 
AFAIK it's not possible for an active thread to not use 100% CPU usage.
The only way is to perform a sleep or wait operation.
 
user142019
6:27 AM
> I/O
 
How does this work at the CPU level?
 
user142019
Most of the time it's waiting for HTTP requests, sending HTTP responses and communicating with the DBMS.
 
user142019
@StackedCrooked I/O?
 
How does IO work from CPU perspective?
 
user142019
I suppose the kernel deactivates your thread once you make a blocking system call that involves doing I/O, and reactivates it when the I/O operation is complete.
 
user142019
6:28 AM
Not sure how it works on the CPU-level.
 
user142019
You have hardware drivers that do I/O. :v
 
I seriously am lacking in basic CS knowledge.
 
Through interrupts. That's about all I really know.
 
user142019
Anyway, time to go to work.
 
A computer processor is described as idle when it is not being used by any program. Details On processors that have a halt instruction, like x86's HLT, it may save significant amounts of power and heat if the idle task consists of a loop which repeatedly executes HLT instructions. Most operating systems will display an idle task, which is a special task loaded by the OS scheduler only when there is nothing for the computer to do. The idle task can be hard-coded into the scheduler, or it can be implemented as a separate task with the lowest possible priority. An advantage of the latter ...
 
6:31 AM
Actually, I find it funny when people think the System Idle Process is a virus.
 
user142019
In computer science, scheduling is the method by which threads, processes or data flows are given access to system resources (e.g. processor time, communications bandwidth). This is usually done to load balance a system effectively or achieve a target quality of service. The need for a scheduling algorithm arises from the requirement for most modern systems to perform multitasking (execute more than one process at a time) and multiplexing (transmit multiple flows simultaneously). The scheduler is concerned mainly with: *Throughput - The total number of processes that complete their exec...
 
user142019
This is also relevant.
 
user142019
@chris Humans are afraid of the unfamiliar.
 
user142019
It's natural.
 
@rightfold did you see that mlp hoodie i linked you :P
 
6:32 AM
Is there a way to paste small code snippets in chat, akin to ctrl+k?
 
Yeah like the big black box on Windows. Also known as cmd.exe
 
user142019
@Borgleader No, did you?
 
last night
 
@seth Same thing here.
 
user142019
Anyway I really need to go to work. Bye.
 
6:32 AM
@Rapptz I hate people who assume any console window open means trouble.
Partly because that was the case with my school board.
 
@chris Was installing some things on my brother's computer, cmd.exe showed up and by instinct he tried to close it. So I had to slap his hand away from the mouse.
 
lol
 
@Rapptz @chris I grew up in a less-than-tech-savvy home. The Registry and Command Prompt were signs that the computer was going to die
 
Oh god, I got in trouble for downloading useful programs in high school, just because I hadn't been given explicit permission to download them. I guess from the IT peoples view we were all trouble waiting to happen, but it was so annoying.
 
@trojansdestroy Yeah, same, but I wasn't too great with computers until grade 9-10.
 
6:34 AM
I've always had a computer :D
 
I would explore, sure, but I didn't learn anything too out of the ordinary like that.
 
My grandmother bought me Diablo 2 when I was like 10 yrs old... Oh the fun times
 
Actually it answers my question.
 
@seth That was the least of my worries there.
 
6:35 AM
so, in reference to the question posted earlier (I am slow), is this valid C++11 to achieve similar results? ideone.com/DbS5N6
 
They were more worried about their plaintext spreadsheet with all the admin passwords in it that they had lying around.
 
hahahaha
 
@chris I was, for lack of a better word, completely ignorant of technology in general until very recently (say, 2.5 years). Since then I've gotten less dumb-as-a-post, but am constantly reminded of my relative stupidity
 
@StackedCrooked Pretty sure those interupts aren't limited to the OS, think it was possible to use them in VHDL aswell
 
@seth Don't do the sizeof(char) bit there, it's.. pretty irrelevant. It's just 1.
The compiler does it automatically too, or well, at least when doing operator[].
 
6:37 AM
oh, thanks
 
Can a user program access this hardware timer?
 
@chris I feel like they are prime candidates for this xkcd.com/327
 
@seth Maybe, it wouldn't have been hard to do that through other methods, but yeah. To my knowledge, they pretty much didn't actually fix anything. Again.
 
@seth ideone.com/mSnaRl This can show the concept too.
 
@StackedCrooked Not sure, the interupts with VHDL where for programming the processor :(
 
6:40 AM
Someone should make a proposal for typesafe printf and scanf alternatives in the C++ standard.
:(
 
@FlorisVelleman Oh I did some VHDL in my first semester in university. That was neat ish... Except the part where the software we used to program the chip was utter fucking shit xD
@Rapptz Make your own? :P A. Alexandrescu wrote a typesafe printf during a conference, the video and the slides are on the internet
 
The printf part is easy. The latter.. not so much.
then again, I don't really know how scanf even works internally.
 
@Borgleader It's not like you will get some amazing IDE for it :P
 
No but I was still expecting something yknow... kinda usable
 
@Borgleader Which IDE?
 
6:44 AM
Some proprietary software for programming chips... cant remember the name of it
 
Xilinx? In my very short experience I've used that and Altium
 
Mightve been, but these chips were old 4 years ago... so
 
@StackedCrooked Yes and no. I believe they still use (an imitation of) an 8259. It's accessible to the processor, but any decent OS will protect it, so you can only play with it in kernel mode.
 
@Borgleader I've used VHDL before on my own, and I'll need to for university next year. Perfect :)
 
We had to code a basic elevator "switchboard"
before that all we did was circuits with logic gates
that was painful
 
6:49 AM
vhdl isn't to hard though
 
Oh it's pretty easy, I liked VHDL
Logic circuits? NOPE
 
My experiences are mainly building components from other components, like an ALU from logic gates.
 
Logic is so much fun though!
I've done some Verilog, no VHDL
 
The off-topic option seems more relevant to me.
Same area as tool/library.
 
6:51 AM
Nah, it's definitely opinion based (library picking)
Could be both though.
 
@Rapptz And library is one of the ones mentioned in the OT option :p
 
Yeah I forgot primarily opinion doesn't include library, but rather OT.
 
I'm probably the only one here still playing candy box :(
 
ah well, closed.
 
It is rather ambiguous sometimes, though. I find myself staring blankly and wondering what to pick sometimes now.
 
6:52 AM
@FlorisVelleman the hell is candy box
 
The game played here forever ago
 
oh that thing
 
2
A: Dealing with "Find out who's going to buy the croissants"

Shog9First off, the answer to this question is easy: Should it be left open? Power to the people? Yeah, that. There's nothing particularly exceptional about this question apart from its popularity; given that most of the attention is coming from this post and SO itself, I'm not too worried that ...

^^ Damn... that croissant question has turned nasty.
hey
 
Isn't that basically what Code Golf is for?
 
6:59 AM
@Mysticial Hey, this is like.. the first time in a while I've agreed with shog.
 

« first day (1013 days earlier)      last day (3928 days later) »