« first day (1419 days earlier)      last day (3515 days later) » 

12:02 AM
the 32 bit gcc even uses dw2 exceptions
 
@Darklighter Nice, I thought it was the old MSYS, but this is completely different. I'll try it soon.
 
@milleniumbug the only real gotcha is this: sourceforge.net/p/msys2/wiki/MSYS2%20installation
after you update a msys2 system package, the shell is broken, so you have to update system stuff, restart the shell and update the rest
 
@Darklighter I'll keep it in mind.
 
i don’t know if the autorebase is handled automatically now, but it seams to work without invoking it manually
 
@nightcracker ??
 
user1646075
12:12 AM
@nightcracker what box/compiler is this? what exactly blows up?
 
user1646075
@VáclavZeman reds do have a chemical from the skins that causes grief - worse for some people. It's not just dehydration.
 
let me see if I can find my old example
 
Nov 29 '13 at 2:47, by nightcracker
btw @StackedCrooked I can't get this to work on windows: http://coliru.stacked-crooked.com/a/7b7ba2375627c75d
works on my machine
SEH, POSIX threads, GCC 4.9.0
Thread model: posix
gcc version 4.9.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project)
 
wow
I was just about to link that :P
anyway, that still crashes
 
not for me
 
12:18 AM
gcc version 4.9.0 (x86_64-win32-sjlj-rev1, Built by MinGW-W64 project)
 
maybe you should use POSIX threads eh
:p
 
I don't understand (broken implementations aside) why I would ever want to use posix threads on windows
since I'm using an abstraction anyway
 
well, it works
so I can't say I care
plus I'm pretty sure it's just pthreads-win32
 
@nightcracker then you should’t bother and choose the implementation that works
 
12:21 AM
@Darklighter which is all cool and stuff until you find "pthreads_some_version.dll is missing" after shipping
 
@nightcracker link statically
 
@Darklighter LGPL
 
@nightcracker depends which programs you build, but yeah, that’s a reason
 
@Darklighter no, win32-pthread is LGPL, regardless of what I build
 
@nightcracker you can link statically if your program is open source
 
12:23 AM
it might not matter if I'm building (L)GPL software myself, but that's often not the case
 
@nightcracker I don't see how this is an issue.
 
@Darklighter (L)GPL != open source
 
You're probably going to ship the standard library DLLs anyway
 
@Aravona Interesting side-fact: In the USA, law requires that eggs are washed before they can be sold. They thus always require refrigeration. In the EU however, you are not allowed to wash them. This keeps the natural protective film intact which simply dries. Unwashed eggs don't need to be refrigerated for a couple of weeks. If you get eggs in the US, I'd thus hard-boil all the eggs before starting the trip. That way, they are also safe for a couple of days probably. — Holger Just 8 hours ago
 
(L)GPL == a virus that enforces open source
 
12:24 AM
Huh so that's why Yanks are always refrigerating eggs. I did wonder.
 
weren't you here when we discussed that months ago? :p
maybe it was just puppy
Oh hey.
Nov 29 '13 at 2:52, by Rapptz
@nightcracker works for me
 
don't think so
meanwhile, this bullshit:
 
Your code has always worked for me.
 
I don't get it. Are you concerned that nature is unclean outside of the USA? — Lightness Races in Orbit 14 secs ago
 
have you always used posix?
 
12:26 AM
Yeah
 
well, that'd explain I guess :P
 
he is worried about the cleanliness of wild waterfalls and streams outside of the USA
 
@nightcracker your program is not required to have any license to link to LGPL libs, the user must only be able to replace the LGPL part with something else
 
@Darklighter what
 
I’m pretty sure with that.
 
12:27 AM
If you're reading this go to http://www.omegle.com/ and type in "midget goats" as your interest.
 
no, I mean, what do you mean with "the user must only be able to replace the LGPL part with something else"
 
@Borgleader I'd rather not..
 
You can make your object files available, so he can link a substitution for the LGPL library as a replacement, for example.
Or you use dynamic linking… which offers the same possibility
 
trading in this game is waaay too addictive
 
@nightcracker I'm not sure how Win32 threads works w.r.t. libstdc++.
 
12:30 AM
I started buying cheap from players and selling expensive to others in different places
 
@AlexM. That's pretty basic economics; well done
 
ikr
 
@Rapptz I think gcc internally uses gthread and there are different backends for it or smth.
 
If I get any more bored, I might just play Mario Kart 8 with people on /vg/.
 
k let's install mingw-w64 with SEH and posix
 
12:34 AM
must be old but i laughed
 
@Borgleader top lel
 
Hi, someone who plays with IDA Pro, here, just for a little tip help?
 
@R.MartinhoFernandes Be nice to the girl; she was most upset at my funeral.
 
@Raito IDA is annoyingly terrible imho
I saw your Q
 
@Rapptz it works with posix
 
12:36 AM
@BartekBanachewicz : What do you use then?
 
@nightcracker Weird.
 
@Raito nothing. I've concluded that hacking applications is meh and I'd rather write my own.
 
Good luck Bartek.
 
@BartekBanachewicz Well, writing a tool like IDA Pro is far from my skill anyway.
Very far.
 
12:38 AM
Writing your own "hacking" tools like IDA Pro is a recipe for disaster.
 
Agreed.
 
you misunderstood what I said, obviously
but then again I'm sleepy so it might not be your fault
 
@Rapptz it's dodgy as fuck though, ever releasing a binary with -static-libstdc++ -static means you're forced to give up your source code
 
What did you mean so ?
 
@nightcracker Don't static link then?
 
12:39 AM
that I ultimately stopped needing IDA because I stopped disassembling stuff
 
libstdc++ is already dodgy as fuck.
 
user1646075
I read a book, the story set in the pioneering days of America. The family was heading west in the wagons, and daddy had a mysterious barrel that he said would give them some good money at the other ends. The kids weren't told what it was and weren't allowed to look inside.

At the end, daddy popped the lid off, and it was full of eggs 'floating' in a full load of butter. Dad sold the butter and the eggs and the family had a financial kick start.

What a lovely story....
 
I see.
 
@Rapptz oh no I'm wrong
@Rapptz mingw doesn't use win32-pthread
 
Well, disassembling Chromium without using symbols gave me cancer this night.
 
@nightcracker Ah. What does it use then?
 
@Raito why are you doing that?
because the ultimate goal looks like a malware.
 
 * Use at own risk, there is no implied warranty to this code.
 * It uses undocumented features of Microsoft Windows that can change
 * at any time in the future.
 
@BartekBanachewicz Proxification, anti-malware.
 
12:42 AM
sasuga mingw
 
@Raito or that.
 
in that case I guess posix threads are just fine for me
 
(I don't develop much closed source, but I'm not pro-GPL since I don't like being forced to disclose source)
 
@BartekBanachewicz :D. If that's been malware, I think that I would go in other place that Stack Overflow to ask this question.
 
12:43 AM
@Rapptz awesome
 
what are the chances of winpthread breaking?
 
@Raito righto!
 
@Rapptz p = 1
 
user1646075
@LightnessRacesinOrbit heh - it was so heart-warming, all the little mini-adventures; i'd probably puke if i read it now
 
@Rapptz With code so volatile? I can't promise it won't happen in the future.
 
12:45 AM
@Raito Why would you do that anyway?
 
@Rapptz Do what ?
 
Disassemble Chromium
 
There is no inherent mutual exclusion between "winpthread" and "breaking"
 
@Raito and rightly so.
 
He reached max lvl :P
 
12:46 AM
@Rapptz Because I want to understand how the SSL write / HTTP write works and how can I hook it
 
user1646075
@LightnessRacesinOrbit so much fail in Javascript. The perils of Rush to Production. Sigh.
 
you are aware that Chromium is open source right?
 
@Rapptz Of course.
@Rapptz I've already read the source code.
 
Then why go through the effort? I don't get it
 
ooh I got to 125k
 
user1646075
12:47 AM
@Borgleader heh - "When you reach max level, you cannot level up any more"
 
user1646075
BEST Star Trek Captain EVA (ducks for cover)
 
@Rapptz Because I've thought it was gonna to be more quick that way.
 
I see.
It's never quicker than reading source code.
 
I don't know really, because Chromium is quite the big project.
 
user1646075
@Rapptz Unless there's some sort of "real programmers" clause that applies here
 
12:49 AM
There is two impl of SSL sockets.
And there is something I don't understand like I said in the Q.
And I don't know which one is used by Chromium binary on Windows.
 
user1646075
nerrrrrr - was looking for a similar 'level up' meme for Sean Connery, found this:

http://2.bp.blogspot.com/-sqoaZ4hFJwQ/UYkDvDFBezI/AAAAAAAAPYM/B_2nSTMtYKs/s1600/h7B8010EC.jpg
 
user1646075
damn - why no inline?
 
I bet it's the hyphen
hax
 
good job man
 
thx
I am Good Job Man.
 
user1646075
1:05 AM
what was the trick - find another pic?
 
sasuga SDL
"-lmingw32 -lSDL2main -lSDL2 -mwindows -lm -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid -static-libgcc"
why is static linking such a pain
:(
 
@aclarke Put a "!" before the URL; forces oneboxing for images. Presumably some pattern matching is still applied as the http(s):// appears to be necessary, but at least part of the usual regex is overridden by the leading "!". Fuck knows.
nn
 
user1646075
1:22 AM
oooooo
 
user1646075
! = important
 
user1646075
or .... I REALLY MEAN IT!!!!!!!
 
user1646075
on a completely different subject - anyone here ever replaced the front brake disks on a car? easy to get the disk off, or do I need a tool that will apply 200 kilotons of extraction power to force them off?
 
Just unscrew them.
They come off easy.
 
user1646075
1:27 AM
phew! thanks. i've done pads, but never disks
 
Yo! As we all know division by zero in C++ is undefined. I have this small program that does: std::cout << " 15 / 0 = " << (15 / 0) << std::endl;
and it returns 5 / 0 = 11008
 
That said, they're usually tightly screwed (and you should screw them tightly too).
 
user1646075
lucky you! clearly it's following the rules
 
I get that its more-or-less expected to return an undefined (garbage) value, but where the 11008 came from?
 
user1646075
all i can see is that it's a kind of interference fit on the hub. no apparent boltage holding it on beyond the rim on the studs
 
1:29 AM
How this works?
 
user1646075
soooo... it would be wise to cramp down the wheel nuts to force it to snuggle down completely to the hub?
 
@KarimAgha What do you think "undefined" means?
 
That the value returned could be something unexpected
 
user1646075
11008 could be any crap left over in the register / stack space / wherever when the DIV op says "fuckkit I'm not going to do anything"
 
I get that. Now if you read unallocated memory, the value could be something that was at that dress before it was deallocated (or 0xDDDDDD if you run in debug mode). This is what I'm asking about.
 
user1646075
1:31 AM
yes.
 
@KarimAgha You're going to be surprised - it's even worse.
 
user1646075
absolutely anything at all.
 
@aclarke Probably a couple of small screws deep in holes.
 
why doesn't that crash the process?
 
because it's undefined
 
1:32 AM
Lemme find pics.
 
@KarimAgha Not only the value can be anything, the entire behaviour can be different.
 
I see
 
user1646075
@R.MartinhoFernandes ok - first time on any car job is an adventure. As long as it doesn't take me more than a weekend with the surprises and having to get remedial on my mistakes ....
 
@KarimAgha "Permissible undefined behavior ranges from ignoring the situation completely with unpredictable results, to behaving during translation or program execution in a documented manner characteristic of the environment (with or without the issuance of a diagnostic message), to terminating a translation or execution (with the issuance of a diagnostic message)"
 
user1646075
1:34 AM
@KarimAgha doesn't have to crash. If the DIV operation aborted, then it may be storing the OLD value (effectively meaningless junk) from a register into the memory, or maybe it doesn't even store the register to memory, or anything at all.
 
That's the usual set up.
 
user1646075
@R.MartinhoFernandes hmmm - pics of my car don't show that. I thought.....
 
ah. that makes sense
 
(The pic was taken after removing those two screws.)
 
thanks @aclarke
 
user1646075
1:35 AM
ok. those other unmarked holes are the ones you can use by putting a bolt in and using it to force the thing off? I've done that before on drums
 
The unmarked holes are for the bolts that keep the wheel on.
 
user1646075
@KarimAgha and don't forget teh bugz! read the quote well.
 
user1646075
ok - on mine, there's 5 studs sticking up about 3-4 cm
 
I don't write bugs.
I was trying that out because I wanted to implement a custom crash dump handler, and thought that it would be the easiest way to crash a process.
 
user1646075
no, i was reffering to 'milleniumbug' user who inserted a quote from the standards
 
1:37 AM
@aclarke Do you have bolts or nuts holding the wheels?
 
user1646075
hah - when you WANT a crash you can't make one! Computers are perverse.
 
If it's nuts, there will be a few protruding bits from the disc.
 
user1646075
@R.MartinhoFernandes i'll go fish up a piccy
 
user1646075
The hub has studs sticking thru the 5 holes shown here; rim slots over them, so I'm guessing it's an interference fit.
 
user1646075
 
1:40 AM
Can't see anything.
 
user1646075
hmmm - might be a hotlink block. Page it's from is

http://www.camskill.co.uk/m41b0s3972p49842/NISSAN_200SX_2_0_COUPE_TURBO_S14_%28SR20DET%29_%2806_94-09_01%29_-_SERVICING_PARTS_TUNING_SPARES_and_SERVICE_ACCESSORIES_-_Front_Brake_Discs_and_Brake_Pad_Set_-_NISSAN_200SX_S14_-_2_0i_Coupe_Turbo_SR20DET_06_94_to_09_01_UK
 
@aclarke I don't know what an "interference fit" is, probably because I don't know English terms for things; lemme google a bit.
 
user1646075
ummm, I might mean a 'friction fit' the metals are just tight enough to need a big smack to get them together / apart
 
@aclarke Hmm, times out.
 
user1646075
they interfere. I think that might be a slightly incorrect term
 
user1646075
1:42 AM
wierd. I'll try another page.
 
@aclarke Ah. I see.
You mean like this?
 
user1646075
yup that's it
 
user1646075
so i expect the inside dish of the disk scrapes onto the .... lump ... of the hub
 
Those you can pull without any special tool. We used to just grab them with both hands, one on the left, one on the right, and then shake it off.
 
user1646075
oh cool - that easy!
 
user1646075
1:44 AM
i was worried. The drums I did years ago on a car rewuired putting 2 bolts into two holes and screwing them down evenly to force the drum off
 
Yeah, drums can be tough to get off.
But as far as I remember, discs are pretty easy.
It's been a while since I worked at the garage, though.
 
user1646075
great. I hope it's not famous last words, but I think I can do it!
 
user1646075
i have a rubber mallet on stand-by ;-)
 
user1646075
any opinions about getting slotted rotors? The brakes on this car are really good already (the car is not too heavy) and they've NEVER faded on me. Would slots make the pad wear much quicker, and / or are they bad with standard pads?
 
Oh, that I don't know. I only worked at the garage for a few summers. Sorry.
 
user1646075
1:48 AM
no worries - great help already. Confidence building. Also, the taking your life into your own hands factor...
 
user1646075
if i die in a horrible crash, can my estate sue?
 
Yeah, no. Your fault for not testing it before hitting the road.
 
user1646075
wouldn't mind a year of apprentiship, just to get more self-sufficient
 
user1646075
heh
 
user3010322
1:49 AM
If at any point in my life I say the words "I am going to work on WinRT", I want someone here to remind me about how stupid I am.
 
I'm serious about the testing, though.
 
user1646075
once, i was doing the front pads, sat in the seat to get the box of new pads sitting inside, and, on automatic pilot, pressed the brake like a complete dunce. Pistons popped out, mess everywhere.
 
user1646075
think I'll put a milk crate over the pedals this time...
 
user1646075
like getting someone to spin them and tap the brake? How to test while still up on the stands?
 
Just keeping the wheels above ground and having someone press the brakes while you rotate it with your hand should be a good litmus test.
 
user1646075
1:51 AM
groovy
 
user1646075
i have a 10 year old who'd be happy to help ;-)
 
user1646075
kids are great slave labour. Get him to fetch me a beer after it's done
 
user3010322
Children = Free Labor
 
user1646075
not wrong. Probably the only positive reason for spawning.
 
I should go to sleep now.
 
user1646075
1:52 AM
cheers, sweet dreams.
 
It's 4am here.
Good luck with your operation.
 
user3010322
Sleep wel.
 
user1646075
ooo - err - stateside?
 
user1646075
thanks
 
user3010322
well*
 
1:53 AM
> Tomalak Geret'kal
> There are FAR too many exclamation marks in this post!!!!!!!!!!!!!!!!! (http://blogs.msdn.com/b/vcblog/archive/2014/09/03/vs-2013-update-4-ctp-1-is-live.aspx)
Good morning.
 
user1646075
mornin'
 
user3010322
Well is where the water is, of course.
 
Oh, and as usual when replacing brake parts, treat them as less reliable for a while. Wear material needs to get a bit of wear before it reaches maximum effectiveness.
 
user1646075
yeah, i'm also hunting for a recommended bedding in procedure
 
Now I'm really off.
 
user1646075
1:55 AM
ciao!
 
user1646075
i'm trying to avoid late braking now - the changed suspension makes it tail-happy already...
 
user3010322
Wow.
 
user3010322
I mean...
 
user3010322
... WOw.
 
user3010322
1:56 AM
That's great.
 
user3010322
I guess it's all my fault for having properties of the same name.
 
user3010322
Whatever, now I have an excuse to mutilate my code.
 
user3010322
Shit was filed over a year ago...
 
user3010322
I don't... I don't understand anymore. :c
 
> We don't support this bug so far.
wat
 
user3010322
2:00 AM
On the contrary, Microsoft, you're supporting it very well. :3
 
user1646075
hehehh
 
user1646075
maybe if O/P had used more exclamation marks
 
user3010322
Maybe.
 
2:26 AM
Why is std::regex so bad compared to boost::regex
 
user1646075
@Rapptz would a terrible pun be an acceptable answer?
 
no
it was a rhetorical question anyhow.
 
user1646075
PCRE FTW
 
2:47 AM
@Mysticial where do I file bug reports on YT?
this has been driving me mad ;-;
 
Which component?
 
the main site
like, when a video plays
I've had this exact issue: reddit.com/r/youtube/comments/2ao7fl/… for 5 months now
 
I can check if it's already filed internally.
Bugs filed from outside tend to get ignored unless they show up in mass.
 
sounds terrible
but iunno, I guess it makes sense for YT
 
Yeah, we don't even look at bugs that are filed by just one person.
 
2:51 AM
what's the threshold?
 
Depends on the product.
And how serious we think it is.
 
@Rapptz That pun.
 
They all get looked at. But it depends on how it's prioritized.
 
I consider 'forced to reset browser' to be pretty severe :(
cause if I close the tab, the audio continues
so I have to reset the entire browser
it's really annoying
 
Which browser?
All of them?
 
2:54 AM
Firefox.
I haven't really tried on IE or Chrome.
 
@Rapptz That's your problem right there.
 
Not that I'd know more with that info since I'm not in that component.
 
@Insilico :v
All 3 browsers suck ass as far as I'm aware.
I won't even consider Opera or Safari
 
@Rapptz Oh I agree. But Firefox lately has been unusually sucky the last time I've used it.
 
@Mysticial When I googled around, it seemed people were reporting it starting around July.
 
2:58 AM
That's a long time.
 
There seems to be an influx of unusually beginner's C++ questions lately. Not that's necessarily a bad thing, but it's more than usual.
 
Start of the school year.
 
School started today.
 
On a Wednesday?
 
The end of Labor Day break.
Monday was Labor Day, Tuesday was 'break', Wednesday was today :p
 
2:59 AM
@Mysticial The UCs start on a Thursday this year, I think.
(UC = University of California) They're starting rather late this year (Oct. 1)
The quarter-system schools, at least.
 
'quarter-system'?
You mean 4 semesters?
 
yeah
 
@Rapptz No, 4 quarters. Fall, Winter, Spring, Summer.
 
My undergrad is on the quarter system.
 
@Insilico That is called '4 semesters'.
 
3:01 AM
Fall+Winter+Spring is an "academic year".
 
Ah..
What..
 
fall - (winter break) - winter - (spring break) - spring - summer
 
My school had trimesters.
So it was different...
 
@Rapptz In UC "quarter-system" and "semester-system" refer to two different ways of breaking up the academic year.
 
My grad school is on the semester system. With Thanksgiving and Spring break bisecting the fall and spring semesters respectively.
 
3:02 AM
UC semester system breaks up the academic year in 2 terms (UC Berkeley and UC Merced does this I think).
The rest use the quarter system (academic year = 3 terms)
 
> At the University of Michigan and Brigham Young University, for example, the Fall trimester (informally still called 'semester') operates from September through December; the Winter trimester runs from January through April; and the Spring-Summer trimester operates from May through August, as two half-trimesters.
Most Spring-Summer classes either meet double-time for 7–8 weeks in May and June or double-time/double-plus-time for 6–8 weeks in July and August (with summer half-term classes sometimes starting in the last week of June).
 
^ Whatever Mysticial said.
 
this was my system ^
 
Yeah pretty much every school system does it differently. The UCs generally start rather late compared to lots of other schools.
 
Harvard is on the semester system but they start a bit later than usual. So their fall quarter finals are right after winter break rather than just before it.
I laughed so hard at my friend at Harvard when I learned that.
 
3:06 AM
@Mysticial Nothing could possibly go wrong with such a schedule!
 
3:35 AM
@Mysticial here this is common
Exams are usually in January
For anything beyond highschool.
 
@MarkGarcia idgi
What is there 'to see'?
 
user1646075
is this new feature?
 
user1646075
at least they haven't done a google, that is, managed to force it out in a way that simultaneously draws attention to it, obscures 30% of the remaining page and behaves obnoxiously when you try to figure out how to stop it.
 
user1646075
Clearly, not trying hard enough.
 
user1646075
4:38 AM
gasp - did they, like, perform usability tests ??!??!?!
 
I wonder if there's a way to have 'codified' URLs in ReST.
Something akin to stuff.
 
user3010322
Codified?
 
Woo. Got access to Jetbrain's secret C++ IDE. Wish me luck!
 
apparently it isn't
not easily anyway
 
user1646075
@Rapptz Yes - are we talking Rails? I have seen something where strings CAN be used instead of numbers, but you may have to use a modest RE
 
4:49 AM
it's been on the todo list for 13 years now
@aclarke How did you get 'Rails' from ReST?
 
user1646075
oh, I got REST-ful routing
 
I guess it should have been reST or rst. I don't know.
reStructuredText.
 
user1646075
oohhhhhhhhhhhhhhhhhhhhh
 
user1646075
yes, that is different!
 
user1646075
carry on.....
 
user1646075
4:51 AM
heh - looked at his URL as if it's the example, not the stuff that might be seen if I clicked it.....
 
@Nican Good luck. On Windows?
 
@MarkGarcia Running on Linux. IDE requires OpenJDK, and supports C++11. Playing around with it.
 
Does it support Windows?
 
Yes.
 
4:58 AM
I filled up the form, though they haven't contacted me. I got through the Resharper preview though.
 
Uses Cygwin/MinGW.
 
5:21 AM
She continues to live on.
 
@bolov: far better to ask basic questions and learn something than not ask and not learn anything. — G. Bach yesterday
 
5:36 AM
lol
 
5:50 AM
On math.SE you get patted on the back and urged forward. On SO, you get bitch-slapped by 5 close-voters and kicked in the balls by 3 delete-voters.
-1
Q: give your algorithm to the computer system

Sanjeev Kumargive your algorithm to the computer system What will I have for dinner?  biryani (large enough to feed 2 persons)  mango juice  aloo fry

 
lol. Raymond Chen!
 
user1646075
how bizarre. and he registered today expressly to post that?
 
lol no. Though it would be hilarious (though impossible).
 

« first day (1419 days earlier)      last day (3515 days later) »