« first day (1405 days earlier)      last day (3535 days later) » 

10:00 AM
It's pretty clear to me that he never had anything in mind, since he kept changing it.
 
And nobody thought it would be a success. In fact most of the crew thought it would have been a disaster.
 
@Jefffrey What the crew thinks is irrelevant.
 
xcode seems pretty cool at first glance
 
@StackedCrooked Not really, considering the guy that had more experience on the set was the actor that played Obi-wan, and there are letters sent by him in which he says he doesn't know what the fuck is going on with the movie.
 
@Jefffrey ISTR that Warner Bros thought the same about The Matrix.
 
10:05 AM
@StackedCrooked Paul-Henri Spaak
apparently this guy said it
> Citation (très utile) d'un ancien premier ministre belge (Paul-Henri Spaak): "si tous les dégoûtés s'en vont, il n'y a que les dégoûtants qui ...
 
@AlexM. sore ga ai deshou Do you know which anime uses this song in its op?
 
he also said each country should have a statue of stalin for some reason huh
 
@AlexM. sorry for changing the topic so abruptly :)
@AlexM. er.. so he was a weirdo
@AlexM. Your Google skills are better than mine it seems.
 
apparently the OP is from fmp fumoffu
 
Google makes it too easy :(
@AlexM. Did you see fumoffu?
 
10:10 AM
/cc @Puppy
 
@StackedCrooked nah, not yet
I did see the original series
 
Ah, I was gonna say you need to watch the first season first.
But since you already did that you can proceed to Fumoffu.
It's an excellent series.
 
optional reference vs reference to optional
go.
 
I had something else in the queue to watch but now that you mention it I think I'll watch fumoffu first
 
@BartekBanachewicz meh vs meh
 
10:12 AM
@StackedCrooked why?
 
it's been a ton of years since I saw fmp and I'm sure I'll enjoy seeing the characters again
 
What goal supports both options?
 
I want to change const T& to either optional<constT&> or optional<T>const&
@R.MartinhoFernandes I am really not sure if both are even valid
 
@BartekBanachewicz If you adopt the convention that pointer means can-be-null and reference means cannot-be-null then the need for optional reference disappears because it can be replaced with pointer.
 
too bad C++ doesn't have liftM :|
@StackedCrooked but I have a value, not a pointer. Passing it would require taking an address
 
10:14 AM
@AlexM. I'm so proud of you right now.
 
wat why
 
I use const T& to signify that a function parameter is read-only
Isn't optional<const T&> an "optional read-only parameter"?
 
@BartekBanachewicz My point is that optional<T&> has no raison d'être since you can simply use T*. But perhaps misunderstood your original question.
 
@StackedCrooked You can't take the address of rvalues, but you can use optional<T&&>.
just for simple example.
 
@StackedCrooked What about optional<const T&> specifically?
 
10:18 AM
@BartekBanachewicz you could use const T*?
 
what about lifetime prolongement in that case?
 
@Puppy Ah, I had not yet considered that possibility.
 
@BartekBanachewicz Non-issue.
 
@BartekBanachewicz neither const T* or optional<const T&> prolong the lifetime
 
10:20 AM
@StackedCrooked Nor any function argument type, ever.
 
Right.
 
I want Maybe
:/
 
@BartekBanachewicz You want uncertainty? :)
 
this language is so fuckingly shitty unclear
 
write a letter to Bjarne then
:P
 
10:24 AM
it's unsolvable
it's just FUBAR.
maybe I could lift after all
 
@Ell Check out boo.
 
@R.MartinhoFernandes @Ell or Terra
or that Knuth's language
@R.MartinhoFernandes halp
I can't do it. I'm too dumb
 
@BartekBanachewicz What's unclear about "optional"
 
I have an interface that has a -> b and some implementations could use Maybe a -> Maybe b
I suppose that one option would be to lift all of the other implementations
@Puppy not it by itself (that would just be retarded maybe) - that combined with all of the possibilities of passing stuff around and storing it
in Haskell it's either a or Maybe a
no pointers, references, whatever
just values.
 
Then you can always just pass optional<T> vOv
No pointers, no references, just values.
 
10:36 AM
which won't work if you want to pass the same value to two different functions that only read it
because it will be copied.
in C++ value can be created either from scratch, by copy or by move
otherwise you have to reference it explicitly
 
Hilarious... Qt's SSL stuff claims that a certificate that's valid between January 2014 and January 2019 has expired
(and yes, the machine's date is set correctly)
 
10:52 AM
@BartekBanachewicz Oh noes?
I unnecessarily copy lots of stuff.
besides, what this really boils down to is that Haskell can't express a large number of useful semantics.
 
@jalf That's a P1 bug.
How can they get this wrong..
 
@StackedCrooked beats me
 
maybe the issuing authority was compromised.
ISTR that there were a bunch of certs that were revoked because the issuers got hacked
 
@Puppy no, it's not revoked or anything. It's expired
(according to Qt, anyway)
 
ah, I didn't know that Qt made an explicit distinction.
 
11:00 AM
@Puppy like what?
 
I'm fairly sure they do. But also, it's not revoked because a web browser happily accepts the certificate
 
@Puppy which is really not an option if you have really big objects and the code runs on a mobile phone
 
@BartekBanachewicz Why not?
 
Because it seriously degrades performance.
 
did you profile it?
 
11:01 AM
No.
 
then you have no idea if it degrades performance or not.
 
I can look at that funny thing called fps meter.
 
which won't tell you for shit which piece of code is responsible.
 
right, if I change one piece of code to copy and it falls down then it's totally not that.
 
if you write 1000 functions but only one of them is responsible for an FPS drop, then it's a total waste of time to dick around with the other 999.
 
11:02 AM
that's nonsense
 
@BartekBanachewicz It doesn't have to be. Could be that there are other functions out there that are even worse but you just didn't notice before because it was above the minimum.
 
I mean of course
if you want to tell me "you're doing profiling wrong" then by all means do
 
I think that is the essence of what I'm saying, yes.
profilers exist for a reason.
and that reason is to tell you where it's worth spending your time.
 
and human knowledge exists for a reason
 
yes, and the sum of all human knowledge in such cases is, "Use a profiler".
4
 
11:04 AM
as much as you are not believing me that I know what I am talking about when discussing that, I don't believe that you actually understand the impact
and so your advice becomes kind of worthless.
 
I don't believe that, if you did not ask a profiler, that you can have a reasonably accurate picture of what the impact is.
 
The funny part is that you might be right.
 
although to some extent, I will agree with you
in that the C++ compiler does not have anywhere near as much freedom as it should do to perform these optimizations for you.
there are way too many cases where elision is illegal by Standard.
 
taking by value and not using anything but const members of a class might be one example when copy should be elided IMHO
 
I kinda agree.
 
11:08 AM
that would simplify a lot of code with minimal negative impact on some hackish solutions
that's pretty much compile-time COW
 
I think more generally, the compiler should have the power to elide whenever.
but if you have big objects that you're passing by value, may be worth considering passing them around by shared or unique pointer.
the cost of moving a pointer is minimal, or even copying a shared_ptr, compared to moving a big object (for sufficiently large values of "big"), so you can get a net win even after taking into account the price of dynamically allocating it.
 
Ugh
Okay QtC debugger is a fucking joke
I know it's GDB's fault but still
@Puppy eh
 
@Puppy yo_mama overflows the stack
And last time she went on the heap the system spent hours recovering from the paging disaster.
 
11:27 AM
yo mama jokes? Really?
Btw, am I correct in assuming that this madness

int postinc(int& i) { int x = i; i = i + 1; return x; }
i = postinc(i);

is still undefined?
 
I don't think that was ever undefined...
Can't see any reason for it to be.
 
So it doesn't fall afoul of the same rule that i = i++; does?
 
Don't see why it would. postinc is a function call. For the same reason, i = i++ is perfectly valid if i is of a type with overloaded operator++.
 
(basically, does the function call introduce a sequence point so that the modifications of i are separated?)
 
Sequence points don't exist as of C++11
But, basically, yes
(IIRC)
 
11:32 AM
@AlexM. I just mean you won't regret. It's a great series.
I still need to watch the 3rd season.
I'll do that after rewatching fumoffu.
 
@LightnessRacesinOrbit You do. But they're still a very useful approximation because the actual C++11 rules are slightly more permissive, but nobody can ever remember what they are because they're very complex, more like rules for assembly language. Sequence points is a vastly easier to remember and still mostly accurate approximation.
 
Okay thanks.
And a side question, how the hell does code formatting work here? Is it all or nothing for a post? (Tried CTRL+k to no avail)
 
@Puppy :)
It's limited: if you want multi-line code formatting, the entire message
has to be code and you must use leading four spaces.
For all other kinds of messages, multi-line
disables formatting _entirely_.
@Xarn But if you keep everything on one line then you still have backtick powah.
 
@LightnessRacesinOrbit Weren't sequence points are just a mental model. The model has been updated. This happened in chemistry many times.
Btw, I should sleep soon.
 
@StackedCrooked More or less
 
11:37 AM
@LightnessRacesinOrbit Thats horrible.
 
@StackedCrooked It was updated for threading.
 
I didn't know that.
But now I do. Thanks :)
I had my wisdom teeth removed and I recognize the pain.
I guess most of you had you wisdom teeth removed as well.
 
I didn't.
Can't remove 'em if they're not there, I guess.
 
What are you, a mutant?
oh,wait, you are a robot
Sorry. I was being insensitive.
 
I only have two. Upper-left and bottom-right.
It's not rare to have less than four.
 
11:47 AM
I had all four removed, but in two sessions.
 
I just had those two show up, and never removed any.
 
I have bottom left and bottom right.
 
@LightnessRacesinOrbit lol, what's your latest avatar supposed to be?
 
Boobs with things around.
 
yeah, gives more reps
 
Xeo
11:52 AM
@StackedCrooked I only have wisdom teeth in my lower jaw, but those had space and grew normally
 
@Xeo so you gained chewing +1
 
@StackedCrooked I never had any wisdom. Oh...teeth. Never had wisdom teeth either.
 
I had the teeth, not sure about the wisdom.
 
Xeo
Well, I also lost two teeth in my lower jaw (one of my front teeth had no succedaneous (?) tooth, and one of my back tooth cracked from top to bottom at one point, so they removed it)
Damn that was unpleasant
 
A friend of mine had his wisdom teeth removed when we were in the Air Force. Not sure what it was, but they gave him some good pain-killers. I'm pretty sure if his arm had gotten sawed off, he wouldn't have felt a thing.
 
11:57 AM
@StackedCrooked oh, apparently they just grab every certificate they can find and pass it to OpenSSL, which then uses the first one it can find that matches. So if you both have an expired and a valid certificate, it'll use.... one of them. Sometimes the expired one
 
Ugh, mysqld segfaults.
How fun!
Fucking piece of dogshit.
 
@Xeo My lower right second incisor grew up from behind the others.
 
I have my all my wisdom teeth present
 
So happy my wisdom teeth grew normally.
 
It still feels awkward.
And it's annoying because it's easy to have food stuck between it and the "front row".
 
12:03 PM
Unlike my uncle who had third teeth start growing, which messed everything up.
 
What does "third" mean there?
 
Usually humans have two sets of teeth, right?
 
@Xarn Somehow the "unlike my uncle" reminds me of the old joke about: "I want to die quietly in my sleep like my uncle...not screaming terror like all his passengers."
 
Well, for some reason, he had two teeth that started growing for third time.
 
@JerryCoffin begs the question: where's the co-pilot?
 
Xeo
12:05 PM
Was his mother a shark?
 
@JerryCoffin Classic. :-D
@chmod711telkitty Your buses have co-pilots?
 
Their jokes do.
 
@Xeo Never asked him, and I am about 15 years too late to.
 
@chmod711telkitty "begs the question" doesn't mean "prompts one to ask the question".
 
Don't bother Jerry, that's a lost battle.
 
12:08 PM
@JerryCoffin Do you know that joke about bus driver and a preacher in front of Heaven's gate?
 
@R.MartinhoFernandes When did you see me being sensible about giving up on things just because the battle was obviously lost?
 
@Xarn the chance of all passengers die in one single bus crash is small
 
@Xarn Probably not, but be careful--I'm extremely religious.
 
@R.MartinhoFernandes the battle against inanity
 
12:09 PM
(And if you want that kind of pedantry, "begs the question" is the wrong choice: it originates from a mistranslation of Latin; arguably the correct usage of "begs the question" is the wrong one)
 
@R.MartinhoFernandes looks like a slippery slope
 
@chmod711telkitty It's a joke...
 
^ has to pay twice for the teeth cleaning
 
@Xarn Of course, since you seem to be new here, I should probably add that my being "extremely religious" means I think of myself as a God, to whom others should sacrifice money and virgins (and in the latter case, it's all about beautiful, young, and female--actual virginity is pretty much irrelevant).
 
@JerryCoffin Well, they both want to enter, but the bus driver is let in first. So the preacher indignantly asks "My whole life I served God and preached to people His greatness. Now I have to wait in line behind a bus driver?". The angel next to the gate answers: "When you preached, everyone was asleep. When he was asleep, everyone was praying."
 
12:14 PM
@Xarn That is pretty good.
 
@JerryCoffin So delusional, got it.
 
@bamboon my new glasses; do you like them?
 
@Xarn I don't know if "delusional" quite captures the real intent here.
 
@LightnessRacesinOrbit touché
 
@JerryCoffin Would you prefer "scammy like L. Ron Hubbard"? :-)
 
12:20 PM
@LightnessRacesinOrbit you are into breast feeding, we got it
 
I installed a SourceTree update, and now its UI is almost unusable =(
 
@Abyx use the Github app
 
@bamboon it sucks.
 
0
Q: Allocating an array of pointers

AshleyI'm hitting an odd segmentation fault that is happening somewhere and I was wondering whether it could be due to the way I allocated the matrix array of pointers. It's declared as such in the .h file: int **matrix; But when I pass it, I am using it in this way int *matrix[], in order to acces...

Jesus.
 
@Abyx wut, sourcetree sucks
 
12:24 PM
Help, I keep getting more question in comment to an answer.
 
haha you're posting on SO
 
@Xarn Still not quite right. If you really want more clarity, I'll probably need a virgin or at least some money though...
 
I found sourcetree to be more laggy while github is more cleaned up and slicker (speaking of the mac versions)
 
@bamboon but it has no features, comparing to sourcetree
 
@Abyx yeah, that's right. I still use the commandline once I need something fancier than the casual flow
 
12:26 PM
@bamboon and I want to use a GUI app instead of command line.
 
@Abyx then you probably have to get used to the new sourcetree UI ^^
 
@CatPlusPlus Yes. And every now and then I also ask stupid question. (Somehow my question fall into two categories. Either those that I could answer myself if I stopped and thought harder, or those that go unanswered)
 
Funny. The news site I go to often keeps showing me ads for big breasts bras. Not that I mind but I am kinda wrong target group. And no, I do not have man boobs!
 
user3010322
Hour 19.
 
@VáclavZeman maybe they just want to keep you happy... or are failing to realise you are not your misses... or maybe you have wee on in the family who is coming of age?
 
user3010322
12:34 PM
It's been 19 hours since I had my own personal computer. I have not seen Vim, Visual Studio, or QTCreator for this long. I have settled into imagining I am programming.
 
@thecoshman lol, no idea what data are they mining from where to get to the conclusion I should be exposed to those ads. :D
 
user3010322
At hour 13 I broke down and went to coliru to program... but the Surface and Internet Explorer 11 is so horrible it would not let me type into coliru.
 
@VáclavZeman vOv try something less vanilla next time you have an... urge
 
user3010322
I have not felt such despair in years.
 
@thecoshman lol
 
12:34 PM
@ThePhD what are you up to?
 
@ThePhD Have you never had a vacation without your notebook or PC at hand?
 
user3010322
@VáclavZeman I have not had a vacation in 11 years.
 
vacations... without PCs?
those must suck
 
@ThePhD Awww. Why?
 
I pitty you people... well, I don't, but if I cared for you I would.
 
user3010322
12:38 PM
I am in school and I have not done anything but do internships and go places for the last 11 years.
 
Best vacation is sitting at home and doing absolutely nothing
 
user3010322
Even when I took 2 years off from school, it was mostly doing work and helping family.
 
user3010322
Xeo was right. I should have gotten more books from the library.
 
user3010322
One wasn't enough...
 
I once was not allowed to take out some books from my uni library, eventually the realised it was because I had maxed out the limit :S
@CatPlusPlus I like food :)
 
user3010322
12:41 PM
Upcoming school year is going to be neck breaking.
 
final year?
 
user3010322
Not even.
 
user3010322
Full-time job plus full-time student schedule.
 
it's the final year for me, I'm kinda excited
I mean I almost never attend college but I'm kinda excited
no idea why
I'll dress in black and wear that graduation hat thing
 
Ahahahaha some buttcoiner wants to add me on LinkedIn
 
user3010322
12:42 PM
Oh, I could make a LinkedIn.
 
user3010322
I should do that.
 
do that
 
@CatPlusPlus oh yeah, linkedin, ¬_¬ I hare that place. Nothing but spam
 
then we could connect to each other
and be true professionals
 
I don't even have an account there, and I still get spam
 
12:43 PM
@AlexM. that's why it sucks
 
@CatPlusPlus how did you manage to tell he was a buttcoiner anyway?
 
Xeo
@ThePhD You could also go and watch animu on your tablet
 
@thecoshman cough fixed
 
@AlexM. Because his main ~business~ is some buttcoin shit and he of course must have "BUTTCOIN EVANGELIST" in the descripition
 
evangelist lol
 
12:44 PM
Yeah, that is pretty sure-fire way of telling.
 
user3010322
Sounds like Microsoft's TECH EVANGELIST.
 
user3010322
@Xeo What animu? There's at least 3 hours between me and work, although I could go early just so I can start programming... stuff.
 
@ThePhD You like spam?
 
Xeo
@ThePhD Whatever animu you find interesting
 
user3010322
@R.MartinhoFernandes It's actually because my mentor here over the course of my internship thus far has NOT shut up about how I need to make a LinkedIn and add everyone from the organization.
 
12:46 PM
Panty and Stocking
 
Xeo
lol
 
@ThePhD again, why linkedin sucks
 
I'm going to make up for the fact that I implemented a singleton by adding the first unit tests to be seen here
 
user3010322
She's INCREDIBLY annoyed with me and demands that I get all up in that networking jam.
 
mother.fucking.unit.tests.
 
12:47 PM
When everyone is recommended, no one is ಠ_ಠ
 
user3010322
So far I've just been kind of forgetting to do it under all the crushing deadlines.
 
@AlexM. You add singletons and unit tests?
It's not gonna work.
 
I already unsubscribed twice and there's nothing to unsubscribe from
AND I STILL GET THE FUCKING EMAILS
 
well it's not exactly a singleton tbh, if you put it like that, I kinda couldn't do it
I just provided a single global point of access to an instance of a class, but !singletons can be used if desired
like how I'll use in the tests
 
It's time to say goodbye to all LinkedIn emails and set up auto-spam rule
 
user3010322
12:49 PM
Everyone here is also surprised I don't even have a facebook. ._.
 
@cat how you manage your own email? I've got mine set up, but I just don't use it
 
I use GApps atm
 
user3010322
Asking for my zipcode to make a profile...
 
user3010322
I guess it makes sense. Then they can send me spam RELEVANT TO MY AREA.
 
you got in early enough to get it for free, or actually paying?
 
12:51 PM
Also fucking LinkedIn rewrites sender
Yeah I have a free account
 
@CatPlusPlus :'( I want free gaps
 
how do you guys get linkedin spam without an account
I don't get linkedin spam and I do have an account wtf
 
Because they let people send invites even to unregistered people
 
user3010322
That's the rub.
 
you must have lower standards
 
12:52 PM
AND EVERY RANDOM SCRUB CAN DO THAT
 
user3010322
They don't bother people who are registered: they have you in the system.
 
And GMail filters can't match on arbitrary headers
GREAT THANKS YOU USELESS SHIT
 
@thecoshman no really I don't get anything in my inbox except for stuff like "a connection got a new job" or "someone wants to connect with you"
 
lol?
 
12:54 PM
That's standard Rails shit
I have no idea what they're checking with that
 
user3010322
Where's the lol?
 
user3010322
utf8={checkmark}?
 
user3010322
I mean, it's weird to serialize a Boolean from a checkmark.
 
Ell
when you put a checkmark it automatically does something utf related
idk
 
user3010322
It's a little whack, to be honest.
 
12:55 PM
It's a browser test
Fuck knows what for, though
 
Ell
33
A: Rails 3 UTF-8 query string showing up in URL?

Simone CarlettiThe utf8 parameter (formerly known as snowman) is a Rails 3 workaround for an Internet Explorer bug. The short answer is that Internet Explorer ignores POST data UTF8 encoding unless at least one UTF8 char is included in the POST data. For this reason, Rails injects an UTF8 character in the form...

 
user3010322
INternet Explorer....
 
user3010322
Not having my music
 
user3010322
is a nightmare in and of itself.
 
Welp, I just plugged in my notebook to recharge it.
There was flash from the fingerprint reader.
 

« first day (1405 days earlier)      last day (3535 days later) »