« first day (1596 days earlier)      last day (3335 days later) » 

12:04 AM
laptop is not designed for playing games , one would normally use a desktop for that
I mean you could, but I have heard way too many complains against laptops for game playing
 
Computers are not designed to do anything. That's why they are called "general purpose".
 
Computers are shit and laptops are doubly so
 
I've lately been using an ultrabook because it's so small and portable.
I can bring it with me to school without being weighed down.
Nothing is stopping me from using my (quite) faster desktop replacement laptop or my desktop.
 
user image
2
 
I vote to change sea lions into sea dogs.
 
12:10 AM
@Nooble Yeah, who the hell named them sea lions anyway
 
@Pris Someone who's clearly unfamiliar with the looks of either or both animals.
 
Is what I'm asking in the following question ambiguous?
2
Q: Can I use an alias for static member function templates?

PrisUsing C++11, I'd like to call a static member function template without qualifying it with the scope of its enclosing class: struct Test { template<typename T> static bool Function(T x) { /* ... */ } }; int x; Test::Function(x); // I don't want to write this Function(x); // I want t...

finally, god damn
 
@Nooble Some sea lions have manes that are (if you're imaginative) vaguely reminiscent of a lion's.
 
> Instead, Google CIO Ben Fried wrote what I’m pretty sure is the most brazen, jaw-dropping attack on an open Internet that has ever been publicly published by the executive of any Internet company
Oops. sauce
> Google opens with a “how-is-this-not-a-parody” argument that owning a TLD and not allowing anyone else to use it “lead[s] to diversified consumer choice”
> It’s sort of like how North Korea promotes choice because what if some people want to choose a totalitarian regime.
Strong rant that
 
@JerryCoffin I never knew they had manes. Interesting.
 
12:25 AM
@Nooble Not all do--in fact, I think those that do are a minority, but by the time that was realized, the name was apparently already established.
 
Ahh.
 
hmm
not sure why I felt compelled to piss on C but hey.
 
Everyday is piss-on-c-day.
 
0
A: Bad sign if nobody can comprehend one's code?

DeadMGIt's critical. Code should always be as clear and expressive as possible. Failure to write comprehensible code is failure to do the job. Just as a side note: Scientists have proved that there is no comprehensible code in C.

it's rather gratuitous really
but hey
I'm off to bed and will enjoy the downvotes in the morning.
 
Night, @Puppy
> The name sea lion is somewhat misleading, as sea lions are only distantly related to lions and other felines. Sea lions evolved from the canines, splitting from the bear line after it split from other dogs.
 
12:29 AM
Oh. But now we're just splitting bears
 
Tony The Sea Lion
Anyhoops, it turns out sea lions are in fact closely related to dogs.
I'm not sure I understand this. It splits from bears after it splits from dogs? Does that mean that dogs are a subset of bears?
 
Still splitting heirs
 
What do rabbits have to do with this?
(hehehe)
 
That's hares.
 
That's the joke.
 
12:34 AM
It's awful.
 
If by awful you mean "funny and creative" then yes.
 
Are there people who only write documentation for a living
 
@Pris Yes (though it may be questionable whether that should properly be called "living").
 
by your definition, many people are not living properly
but the truth is that most people used to be paid to be told what to do even though they do not like their jobs that much
 
@Nooble it was a good joke
What do dresses have to do with it anyways
> used to be paid
wat
Don't explain. I think we've heard it before. On occasion
Night all :)
 
@sehe :)
Good night @sehe
 
On a non-random note: n=(C D E F G A B "C4 "); od -A none BWV1014-Sonata-h-minor.ps | tr -dc 0-9 | while read -n1 k; do echo $k; x=${n[$k]}; sleep .05; play -qn synth pl ${x}3 fade 0 1 & done does an interesting interpretation of Bachs composition
 
Have you guys settled on a policy for when to use noexcept? I myself current use noexcept for move-constructor, move-assignment and cleanup functions.
 
Me too
 
12:51 AM
@Borgleader LLAP.
 
I don't really believe the "optimization opportunities" talk (until I see evidence). Maybe I should ask on the GCC mailing list.
 
@Nooble :)
 
I never use exceptions ever
One day I'll add 'em to a project tho
 
I prefer return codes.
v0v
 
Don't need to add them. You just need to throw them.
 
12:55 AM
@StackedCrooked @StackedCrooked: I have seen less labels and less cleanup code in assembler after adding noexcept. Basically, the unwinding is shorter.
 
Thing is that GCC always implemented the zero-cost model. So if noexcept where to make the success path faster then that would mean they lied about the zero-cost in C++03.
 
@sehe I read that as BMW2014-Sonata, and I was like "wait a minute... the Sonata isn't a BMW" =/
 
@StackedCrooked I do not think they lied. There is no setup cost. However, the additional basic blocks and boundaries inhibit some optimizations. With noexcept, some of the boundaries disappears and basic blocks are longer and thus you could get better schedule.
 
What is a basic block?
 
@StackedCrooked Basically a sequence of instructions between labels/jumps.
Or calls.
 
1:01 AM
Ah.
 
@StackedCrooked Just turn off exceptions ;)
 
But what should I throw then?
Throw assertions?
 
@StackedCrooked Throw nothing? Just abort() on every error? :)
 
@StackedCrooked exit(1) ;)
 
I could do that.
And run my application under a watchdog that restarts it after failure.
Super robust.
 
1:05 AM
Let the kitten killing begin. :) Arrays, new/delete, placement new all over the place:
0
Q: C++ vs Java: Arrays of Objects

Trent BoultC++: Student* sp = new Student[10]; Now, please correct me if wrong. I believe this creates an array of 10 instances of Student, each calling the default constructor with no arguments.Please use arrays and not vectors. Java: Student [] sa = new Student[10]; Again, correct me if I'm wrong b...

That looks like the same Brian that seems to rule the programming section of Quora.
 
a sentence in one of his answers:
> The behaviour, you observe, which always moves, is a bug in libstdc++, which is now fixed according to a comment on the question.
please, less, commas
 
@Blob They seem to be in the correct place.
 
@Jefffrey the first one's not necessary. but still, those are way too many breaks to process
 
Oh, it's "fuck commas" semester?
I must have not received the memo.
 
there are 4 commas in that sentence
 
1:17 AM
oh noes
4 whole commas?
 
yes. 4 whole commas.
"The behavior you observe (which always moves) is a bug in libstdc++ which is now fixed according to a comment on the question."
don't need the whole indirection thing (besides the thing i put in ())
 
lol
You need a comma between libstdc++ and which and you really solved nothing with the parenthesis thingy
Congrats in removing 1 comma
 
don't need the comma there
"There was a bug which is now fixed" is a valid sentence
 
nope
 
this is pretty similar
@LightnessRacesinOrbit, get over here
 
1:22 AM
> You use a comma before "which" in several places:
1. When the "which" clause refers to the whole preceding sentence:
"He punched me in the jaw and knocked me out, which I wasn't happy about.
2. ...
 
that example seems different
i'd definitely use a comma there
 
commas don't kill dude
and help section the phrase better
use commas
 
when commas are used like parentheses (side stuff), it can be tricky to figure out how they're grouped
 
better a comma more, than a comma less
 
I haven't answered a question in a long while.
Here's to downvote privileges!
 
1:28 AM
you can't downvote? :|
 
No.
 
what do you do when someone links a crappy question here?
 
Nothing :P
0
A: Error when trying to compile using sqlite3_open in Visual Studio 2013

NoobleThe solution, quite simply, is to link sqlite3 to your project. Libraries need to be linked (via the linker) for you to be able to use them. Head over here and download the pre-compiled binaries for your platform of choice (in this case, Win32). You may also choose to compile sqlite3 from source....

I don't participate much on SO.
 
uh
 
And fuck.
 
1:30 AM
glancing over it
looks like they answered in comments
 
I know ;_;
 
lol you didn't get the accepted answer
 
I KNOW.
 
@Blob If the question is "okay" or "meh", then vote to close. If the question is "terrible", then do nothing and laugh at it. Not closing/deleting gives everyone else a chance to enjoy it.
 
-1
Q: What's wrong with this code, C++

user2371764Just leaning C++, here's the code. #include <iostream> using namespace std; int absouteValue(int number); int main() { cout << absouteValue(-6); return 0; } int absouteValue(int number) { cout << "Enter a number" << endl; cin >> number; if (number < 0) { numb...

;_;
 
1:37 AM
I wanted to answer it, and then I realized I couldn't comprehend what the hell he was asking.
He uses the words "input" and "pass in".
 
i was writing a comment-answer but someone posted a real answer right before i finished
 
tl;dr not interesting
 
@Mysticial it gets fun near the middle
 
I will not sleep until my rep is greater than or equal to 125.
 
he's passing a dummy value that he'll write to using cin and wants to know how to get rid of the dummy value that he has to pass.
 
1:39 AM
I get it now, after the guy posted the answer.
I interpreted it as "How do I get input without getting input?"
 
but koalas are not native to New York :'(
 
could be an immigrant
 
@chmod711telkitty Yes they are, you just don't see them.
You know, apparently foxes are native to New York.
Probably upstate then.
I once had an eagle (or some big bird) land on my balcony and stay there for a few minutes.
 
you live closer to clouds than to the ground
what do you expect?
 
I mean, there are so few of them.
Ahh so Bald Eagles are native to New York.
 
1:50 AM
I fail to see why the question last linked in here was closed as off-topic. It has a clear problem statement along with a short sample code, and the desired behavior. (After some editing though)
 
link the question asking for reopen votes
 
The Wandering Albatross can have a wingspan up to 3.5m (12 ft).
 
stackoverflow.com/questions/28777058/… Should probably be reopened.
 
@zenith no really not
 
@Borgleader Perhaps then not. But the reasons mentioned for closing it don't seem to be true at all.
 
2:01 AM
I need to work on a game jam engine.
 
@zenith Regardless of the close reason, there's an unwritten rule about not reopening low quality questions - since it puts more work on the clean up process.
We should probably just delete the question.
 
Jun 4 '13 at 21:33, by R. Martinho Fernandes
@StackedCrooked @sbi's code is making use of it. We split a handle type into a POD base with the data and a derived type with all the value semantics of the handle (copies are costly). When we store that into a container we slice off the non-POD part. Then the container gets copied around (no moves) and none of those costly copies happen since what is left is a POD. Eventually it is time to get the things out of the container, and that's when it reattaches the POD part into a full handle.
 
@Nooble Me neither!
 
@JerryCoffin :P
You have more than 1000 times my rep.
 
@Nooble I'm tempted to point out that it's really over 2000 times. ;-)
 
2:16 AM
@JerryCoffin About 2131.147540984 times.
 
Why do people ask questions without enough info to help them? "Hi, I have a problem, my code has an error"
How does your mental process fail to realize you need to actually describe what the problem is?
 
Hi, my code isn't working, please help.
How do I do this homework? Thanks in advance!
 
@Mysticial Okay, I'll keep this in mind.
 
@Pris Not everyone is capable of putting themselves in other people's shoes.
 
2:32 AM
There's some twisted irony there where I guess I can't put myself in the shoes of people that can't put themselves in the shoes of other people
9
 
lol
 
2:56 AM
@Pris I guess I just can't put myself in your shoes, feeling that way... :-)
 
3:12 AM
seems a bit too long and from a long time ago
is "The Art of Computer Programming" worth reading?
 
@Blob Yes. It's (nearly) ageless and timeless. That said: yes, there are some parts you'll probably want to skip over.
 
@JerryCoffin are these parts easily identifiable?
wonder if my school library has some copies they'll lend me for a few years
 
@Blob Yes, at least mostly.
 
example?
 
@Blob why don't you just find out for yourself
 
3:18 AM
@DonLarynx because it's a 4-volume series
roughly 3-4k pages
 
@Mysticial aaaaaand say hello to Russell's paradox
@Blob just skim through it, do u think people have really read a 4k doc...cmon
 
Not everyone's capable of putting their feet into others shoes - especially those who have extremely large & fat feet
 
@Blob For one obvious point, the "more mathematical" sections are all marked with an asterisk (I think it's an asterisk anyway--been a while since I studied them).
 
when using mlkink whats the difference between a hard link (/H) and a regular one?
 
@Borgleader mlkinky?
2
Q: How can I programmatically distinguish hard links from real files in Windows 7?

SKINDERI have a difference between files size and used disk space (total file size is even more than disk size). I suppose because there are many hard links exist (to WinSxS components) in Windows 7/Vista. But how can I programmatically distinguish hard links from real files in Windows 7?

 
3:30 AM
https://gist.github.com/anonymous/edea09f6702d2d66f69f
This is the base object class in my lib. What do you think of the API for inheriting objects? Is it too ugly?
 
@Pris My rule of thumb is to worry first about making it work well for the intended use, and only secondarily about ensuring against misuse. This seems to reverse that.
 
@JerryCoffin Well I actually built up a fair bit of stuff using a more naive (but less ugly) design initially but it had a fatal flaw... so now I've had to go back and change everything. I'm trying to be a bit more careful this time around.
I guess I'm overthinking it with the misuse stuff, but its kinda harrowing because so many core things depend on this base class... kinda dreading having to go back and change everything again
 
3:55 AM
Good morning.
^ I have always wondered.
 
user3010322
4:24 AM
> Security certificates allow the government to detain and deport permanent residents or foreign nationals considered to be a security threat using secret evidence that the accused is not allowed to see. Making sound Progress, Canada
 
user3010322
 
@ThePhD You should totally play around with bwapi
 
user3010322
@Borgleader Ooh, Kinky.
 
@ThePhD Does that actually ping? test test
 
@MarkGarcia it does
 
user3010322
4:29 AM
 
Oops. Maybe I stroke the wrong words.
 
user3010322
Hue.
 
I love when an sscce works but you can't reproduce it in your actual project. Its just one more little 'fuck you, haha!' c++ throws your way
 
Do you guys have any experience with services that you send SMS messages from a computer? I need to send like a few when some large compute task is finished...
 
@Pris Why are you passing the event loop as a parameter?
 
4:41 AM
no
 
@Mikhail I once hacked a system in php that receives SMS messages from a 3G modem dongle. It was for some poll voting thing. Sending though, I know the library I used (I forgot what it was) supported it, but I don't need to send messages.
 
@VictorLopez So the object knows which event loop serves it?
 
@Mikhail I'm sure there are paid APIs for internationally sending SMS. I might encounter them someday when implementing two-factor auth.
 
@Pris What if the object wants to post in other event loop?
 
@MarkGarcia Yeah, a cursory Google search gives a bunch. I'm wondering which one is best and maybe free
 
4:44 AM
@ThePhD Saturation.
 
@Mikhail if you have GSM search for AT commands.
 
@VictorLopez Objects send each other signals. Object A sends signals to Object B, it doesn't know what object B's event loop is, it could be the same as A's event loop or different
 
@VictorLopez Ugh I tried on a 3G dongle AT commands using Boost.Asio. I was clearly bored back then.
 
@MarkGarcia What for?
@Pris What if the object wants to post in other event loop? I mean, I want the object to post in other event loop, maybe the signal would deliver me another event loop?
 
@ThePhD Yeah, no, our current Prime Minister is a bit of a nut.
 
4:51 AM
@VictorLopez Found a PDF on AT commands and just somehow thought it was a good idea to experiment it.
 
It wasn't C++'s fault, it was mine. I'm sorry I got mad C++, please_forgive<me>
 
@MarkGarcia I was about to start with R&D when someone was sending me weird SMS messages without subject from numbers like 307 and 00134 and received phone calls without caller id that I did not even answer.
 
@VictorLopez You can manually post events to any event loop you want. All signals do is post a callback to another event loop. Each Object is assigned a single event loop that will function as the default loop that handles signal callbacks for that object.
 
@Pris Do you have an event loop for posting events into other event loops?
 
@VictorLopez Um... why you?
 
4:58 AM
@VictorLopez Not necessarily? I mean, typically you create a single 'main' event loop for your application that spins in the main thread. Then you can create additional event loops in separate threads. Have you used Qt before?
 
Damn, I wanted to watch Elementary on Netflix, but it's only available through DVD rental :(
 
@MarkGarcia Because someone I used to know has friends that surely are working inside a phone company and wanted to tease me, you know, that person that thinks that everyone that develops software is a powerful master of IT and telecom and does everything by pressing keys very fast.
@MarkGarcia The more keys you press, the more powerful you are. If you have two keyboards (one for each hand), you're better, even.
@MarkGarcia Then I said to myself "I will adopt these tools", took my 2 keyboards and started pressing insane amounts of keys per minute.
@Pris It was a long time since I don't use QT, but I remember something about the event loop. It happens that I'm creating and event system but the core API is not thread-safe and there are other threads that may want to access properties from the API
 
@Pris It is being designed as a request-response system for each iteration. I'm using SDL2 and SDL2 is not thread safe neither its functions can be called from outside the main thread.
 
@Mysticial I'M QUERYING STACKOVERFLOW USING SQL UPPER CASE
> C# CODING
lol
 
5:10 AM
> This question appears to be off topic because it is in all caps.
I always want to say that. But I keep managing to hold myself back.
 
@VictorLopez Im using SDL2 as well right now. Signals and slots means I can dump all the SDL stuff in a single object that is tied to a single event loop. Then as long as I only use signals to modify the object's state, I'm guaranteed all callbacks will only occur in that one thread
 
@MarkGarcia query for "URGENT" || "URGANT" || "HELP" || "HALP"
@DonLarynx self portrait?
 
Those eyes look like bowling ball finger holes.
 
@DonLarynx Shopped.
Though if it's real then I'll find it hard to make good eye contact with him.
 
5:12 AM
@Pris I'm attracted to people with low nasal bridges, but not those with eyes spaced far apart. However, low nasal bridge is associated with fetal alcohol syndrome, but I met this girl today that looks like she has her shit together, but her nasal bridge is low, but she's attractive -- wtf
She spends like 9 hours a day in the science library, just like me. So today was the first time we actually had a conversation.
She's not asian
(I think)
who is more attractive?
clearly the one on the left (for me)
 
@Pris Is it by using QT?
@Pris That's pretty interesting. I still need to figure out thread safety for every call within SDL. By now I'm able to load spritesheets via JSON and widgets with this
 
@VictorLopez neat. Also no, I'm not using qt, I'm using asio for the event loops
 
did you already discuss #thedress or I missed it?
 
5:30 AM
@Pris I did even animate sonic under Fair Use, of course.
@Pris Yesterday I decided to call the elements standard-actor and interactive-actor since not every element should be clicked or called by the SDL event system. If you find something useful from libcrosswind feel free to use it.
Here's the link I don't feel really good today, yesterday Twitter suspended my account because I did post a screenshot from some users sending weird stuff to my account and they made a complaint about me being the bad guy.
 
plays a sad song
Which is bad because now everyone thinks that I'm the bad guy, and no, I'm the good guy here. The one that codes software and talks about coffee and scripts.
Which is good because everyone loves software, coffee and scripts.
 
5:50 AM
@DonLarynx That's oddly specific.
 
6:02 AM
I've got to go. See you later. I'll come back when I achieve bullet physics integration.
 
hint, do the collision checking in 2 passes...
also verlet sucks
 
6:17 AM
@AlexM. I know but remember you're the customer #yolo
you eventually learn to make the most of when people offer you free shit because it does not happen often
even though you feel like a twat for doing so
end of the day, they were the twats
be a klingon
@Blob comma on now
 
6:28 AM
@VictorLopez You insult me by claiming I'm nobody.
 
> I'm trying to download this from Nvidia's website but it keeps getting stuck at 3.5 GB.
 
lol
 
I would like to make that site. No funds.
 
SQL DEVELOPERS ARE ADDICTED TO CAPSLOCK. THEY JUST CAN'T AVOID IT. NO MATTER HOW THEY TRY, THEIR LEFT, LITTLE FINGER JUST HAS TO STRAY OVER... — Martin James 1 hour ago
^^ lol
 
that's right @MartinJames — sumit sen 1 hour ago
I'm not sure if...
 
6:43 AM
wouldn't it be lovely to make sql as strict as shell scripting?
 
Anybody tried to write a Delaney triangulation code? I'm trying to guesstimate the difficulty to role my own in JS...
 
@Mikhail s/Delaney/Delaunay/
 
speel check
I want to make a tool for my undergraduates to use for manually segmenting 3d volumes, and want to store the output segmentation as triangulations...
 
-2
Q: Why my .cpp files are not showing while trying to open with turbo C++?

Siddharth NARAYANA MENONI pasted a few of my files to the BIN folder of Turbo C++. When I try to open it from the turbo C++ it shows the folders but doesn't show the files inside it!

lol turbo
 
lol at user name
 
7:06 AM
been there an hour and not closed yet what
 
sorry I was busy contemplating my virginity
 
0
Q: dynamical initialization of std::vector<unique_ptr<class T>>

PreacherJayneI have a class Grid declared as follows: class Grid { public: Grid(int length_x, int length_y); ~Grid(); Position *at(int x, int y); private: int length_x, length_y; std::vector<std::unique_ptr<Position>> grid; }; Its most important member variable is the ve...

DYNAMICAL
 
I stranded successfully. Asio is cool.
 
You're going to have to show us a program that we can compile and run to reproduce the issue. Your MCVE will do fine. The one you've been debugging today. — Lightness Races in Orbit 17 secs ago
> *
fyi
Feb 24 at 3:09, by Lightness Races in Orbit
btw rut roh Nimoy's in hospital again :/
A life is like a garden. Perfect moments can be had, but not preserved, except in memory. LLAP
his last tweet goddammit
 
8:01 AM
git push origin master
now pris sleep bed
 
8:15 AM
woke up -> panic about the time -> realize it's not a work day
 
@Puppy Heh. How far did you manage to go panicked?
 
not that far
but I leapt up, got dressed, had breakfast, then remembered
 
8:41 AM
@Puppy Heh. That is quite a lot. :D
 
8:54 AM
So...
Yesterday, I was at a bar, standing near entrance drinking, watching people go by.
Then a group of Scottish men came in dressed in kilts.
 
Xeo
@Puppy Same. Woke up, thinking I had heard and ignored my alarm, look at the clock "oh, just 7:59, woke up just in time for the alarm. lucky." - try dismiss the alarm, don't see the button anywhere - "Oh yeah, it's weekend, ffs."
 
There was this Czech woman, and she deliberately dragged the hem of the kilt of one of the males up, to see if he has underwear. (She was a bit drunk, I think.)
The dude was like, who did this, and when he saw the woman, then he dragged the hem up himself, and shown everybody his ass. Everybody laughed and that was it.
I was thinking...if I did that to any woman I would likely not get off with just a laugh.
 
9:12 AM
@wilx I am curious ... did he have underwear?
 
@chmod711telkitty No, he did not. He was a redhead and his ass was very white. :D
 
9:27 AM
@_@
 
lol
I like the guy's accent
 
9:50 AM
@Puppy I had the reverse most of the week. I got bummed out on Friday when I realised it was Wednesday, a just getting into a well needed lie-in Saturday morning it turned out to be fucking Friday!
 
Xeo
@AlexM. That's the perfect videofication of my feelings wrt interviews.
 
I never got asked the weakness question
it's such a dumb question
but hey
canned questions deserve canned answers
 
Xeo
me neither. but OTOH, I've been interviewed for 2 jobs so far.
 
why is trello lagging
I want to take someone else's idea
and write it as my own
oh it works now
 

« first day (1596 days earlier)      last day (3335 days later) »