« first day (873 days earlier)      last day (4300 days later) » 

10:00
Sometimes I feel employment is like a habit, once you start... it's hard(er) to stop
@BartekBanachewicz Well. It's normal C++ alright. And I've done STL adaptors for MFC collections multiple times. But still... It's all duct tape.
user1357851
@sehe depends on the person
user1357851
for you & most people, probably
@Telkitty Habits depend on the person, yes :)
Then again, habits are like habits: once you start having habits, it's hard(er) to stop :)
user1357851
10:01
you can write fairly standard C++ in visual C++ however
@Telkitty (I don't like the implied idea that someone (the puppy) might not be cut out for work?)
@Telkitty True dat. But MFC is a different story. What with it's funny archiving. It's DDX_ macros (urrrfff!!), don't get me started
@sehe Well, I have to admit, on the first day of my contract I was supremely depressed about it.
user1357851
Puppy + MFC = GUI boi $
@DeadMG That's the thing. You have to find a modus to like it. You should be able to. If anything, start to look for opportunities to do "Skunk Works" after a while. (Or: look for them from day 1).
@Telkitty You can disable extensions
user1357851
10:03
k, not hate, kz
aye
With your skill set, it should be pretty easy to add convincing amounts of value in your "spare" time (read: 10% of your work hours for a start)
Once you got the credits, it'll be a natural role. It's like that for me for 15 years. With about as many clients
well it really comes down to, as previously, university- if I had coped better with that, then I'd be looking at some much sweeter job offers right now
user1357851
@BartekBanachewicz true, or separate GUI part and logic part. GUI part has to be MFC oriented, the logic part can be pure C++
@DeadMG Coping is the word. Look for ways to cope with the depressing parts of Uni Work Life in order to start being on top of that
10:05
ah well
@Telkitty In an MFC shop, there is usually 0% chance of that. The thing is, MFC dates a project. MFC favours larger projects.
Drugs! ...something else.
it all comes down to money, and for my contract, I'm paid to be depressed, as it were.
whereas university wanted me to pay them.
10:06
Larger projects don't get rewritten. They linger on.
@DeadMG Nah. That's not the attitude you want. Pick something that you will enjoy.
Xeo
Xeo
@sehe If anything, they get written again. A rewrite in a large project... uwah, the thoughts alone.
@DeadMG Not a bad line of thought. The cinch is: you don't need to keep being depressed. Well, at least not on account of your job.
user1357851
@sehe when you have data manipulation of strings and numbers, you can have a lib/inc in pure C++
user1357851
your own object types
10:07
If you have a tendency to be depressed, that would likely never change, essentially
Xeo
Xeo
Although I did do two fairly large rewrites in our codebase here.
@Telkitty Ifff. I know right
Xeo
Xeo
Transition to 64bit and rewriting server-side command handling.
That was fun
@Mysticial You need a degree and several years of experience to get there.
user1357851
@sehe I must be the happiest intelligent person ... sometimes :p </shameless self promotion> ... there is really nothing to be happy about really >_<
10:08
at least my contract counts as working on an optimizing compiler so I can quote it as experience to Microsoft if I want to try to join the VS team.
Xeo
Xeo
heh
user1182183
dammit reddit down for maintenance? -.-'
user1182183
well we have 9fag..
@DeadMG what happened to your degree?
My last MFC project was a classic example of where things were all contrained by shitty MFC constructs
(binary CArchive blobs in database with custom revision management in said database, I was forever pushing to replace it with XML serialisation on either CXmlArchive or Boost serialisation. I wasn't allowed to do it. And there wasn't enough 'spare' time, since handling said database framework took 80% of the time. No kidding.)
10:09
@BartekBanachewicz I ragequit.
a man can only be asked to memorize the Unicode Character Database so many times in his life
@DeadMG I wish I could do that too.
But while everyone agrees that uni is shity, still they require the diplomma
@DeadMG That's BULL SHIT. Tell yourself that every day and you're basically already killing your spirit. Stop it. Seriously. <sigh/>
Because fuck logic
user1357851
uni is shit until 5 years after your graduate - like almost all older people will tell you, it is the best part of your life, usually
@DeadMG On the flipside: if you are going to be ambitious about things, then, YES you will continue be disappointed/hampered, unless you get that degree OR start your own (research) company.
10:12
@Telkitty no.
@sehe Well, I did expend quite a few months looking for a good job, so I like to think that I have some experience of the job market here.
@DeadMG It's not about job availability. It's about telling yourself lies about you. And your opportunity for happiness
user1357851
@BartekBanachewicz I am waiting for you to tell me the same answer in 10 years time :p
@Telkitty The day I will finally leave uni will be the happiest day of my life
Stop making everything external. Don't celebrate the victim.
user1357851
10:13
I thought uni was shit back in uni, I was depressed at the times
I am not depressed
Yet
I am ready to kill.
:)
@sehe I really don't know what that means.
user1357851
10:14
@BartekBanachewicz that's the spirit!
@sehe Well, it all comes down to two things: I know what I want, and I don't see any path to get there.
@DeadMG It's unproductive to blame a job market for things that you alone can control. You have to chose to be happy with something.
@DeadMG Then chose a different goal, or make your own path. (basically, this rephrased)
user1357851
for example, bear bashing
user1357851
very fun
user1357851
sink your little fists into big fluffy bears
10:16
oh god yes it works
@RenjithJR Why did you ask that both here and in the Moderator Election chat room?
SQL has nothing to do with C++ and moderator elections.
@sehe: oh sorry, ya!
7 messages moved to bin
Thank you very much
user1357851
:8126566 you are writing entire thing in sql? No wrap around in PHP/Perl/ASP etc?
It's ok, you can stop :)
user1357851
10:18
back to professional bear bash ...
Ok. Productivity time again. See you later
@sehe Well, I did have that recruiter from Google contact me based on my tutorials...
user1357851
$
I need to investigate how close they are to being enough content to publish.
10:19
in 2013 Stack Overflow Moderator Election, 13 secs ago, by Mysticial
@BoltClock Yes we miss you.
user1357851
back to my work too
Well, shit
I am too stupid to write anything yet. I have to learn more
hey, our pet moderator's back.
@BoltClock <3
I actually wanted to write to you yesterday, but it seems Voting Fraud detection is working correctly
10:21
Fan mail always welcome
7 hours ago undownvote
7 hours ago undownvote
7 hours ago undownvote
11
Q: Why are these reversed downvotes recorded as undownvotes?

BoltClock's a UnicornYesterday, a sudden loss of 6 rep led me to discover that my top 3 meta questions were downvoted: Indicate the color (bronze/silver/gold) in tag badge notifications Flag weight of 510.0000? Let users know that they can flag to get their deleted answers reinstated after editing Now, a sudden g...

I can't believe that's still not addressed yet
Haha, now he's spamming more rooms. lol
@Mysticial sigh I can't be bothered
My deduction from this is that there simply weren't enough reversed votes for them to be collapsed into a single "Serial downvoting reversed" entry. As far as I've seen, concentrated vote fraud reversals still display as "Serial upvoting/downvoting reversed". — BoltClock's a Unicorn Jun 10 '12 at 9:13
Well well
it turns out my code doesn't work
@BoltClock lol
10:25
@TonyTheLion surprise surprise
7 rooms total and counting...
> it works fine on the machine from the developer who developed the Code.
lol
And now up to 9 rooms. wow...
wat
my 2nd iPad is now displaying random squares. funky.
@Mysticial what?
10:26
@TonyTheLion The guy who dumped his SQL question in here.
fuck that guy
moving on
Xeo
Xeo
I just noticed the llvm makefile has a happiness target.
i'll grab a coffee and be back to reading abot shadow samplers
Also, user[1-9]{1}[0-9]{6} incoming. Beware
wat
just been through my codebase and it seems that someone intentionally turned off half the features.
10:32
let's guess who.
right
10:34
now ... how does one use GDB?
Xeo
Xeo
One doesn't. GDB uses you.
user1182183
@BartekBanachewicz sorry my Regex parser cells in my brain are damaged.
@GamErix that one is so easy...
user1182183
@BartekBanachewicz Like I said, my Regex module is deffective ;)
@DeadMG what do you want to do?
10:37
@BartekBanachewicz Debug a program. It has a segfault and I'd like to find out where.
@DeadMG First, compile with -g. Then type gdb. Shell will open. Inside, type file <yourfilename>. If it loads, type run or just r and press enter
where's that question about comparing NaN's in C++?
If foo bar baz is what you want to inspect you go gdb --args foo bar baz
@DeadMG It should automatically show you the LoC if it segfaults
then run (or just r) to get the ball going.
10:39
or as @LucDanton said, but I prefer using shell directly
hmm
I think that first, I need to figure out how to convince make/cmake to pass -g
user1182183
@TonyTheLion nan != nan we all know that, fuck logic.
Xeo
Xeo
Usually in CXXFLAGS
umm... doesn't you have some sort of CFLAGS variable?
0
Q: How to compare two NAN values in C++

Vipin PaulI have an application in which a code area produces NAN values. I have to compare the values for equality and based on that execute the rest of the code.How to compare two NAN values in C++ for equality?

> I have to compare the values for equality
10:40
@BartekBanachewicz I dunno.
wut...
@DeadMG it should be in normal makefile as just CFLAGS= or CXXFLAGS=. In Cmake it will be prolly in CMakeLists.txt, but I'd have to check if it's not available tru GUI
yay only 9514 tests to run more
> set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -fno-common -Woverloaded-virtual -Wcast-qual -fno-strict-aliasing -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings")
I added -g
@DeadMG That's really kind of awesome. I wish I had taken the time to 'profile' on the web before... 2011 :)
If the 'no symbol file found' or whatever warning isn't here when you start gdb then you should be good.
user142019
10:43
Hmm.
user142019
Why not double the number of registers and have an extra flag that determines which set of registers to use? Context switches would be much cheaper.
@LucDanton I did get that.
user142019
(And processors much more expensive. :P)
@Zoidberg Hardware register renaming is already done.
@Mysticial we could go on and flag his messages, all the way in the bin...
10:44
@Zoidberg But you have more than double the # of processes than cores.
@DeadMG k, you can still give it a go just in case it's warning about e.g. some library bits that weren't compiled with debug symbols that we don't care about.
@LucDanton Nah, the program itself is compiled from about 20 libraries and about 2 lines of driving code.
but I'mma take a quick break
You may want to launch gdb with gdb -tui. Might be a tad more pleasant for you.
> lunch gdb
Quite the opposite: c==c evaluates to false, for c=0.0/0.0; — Aki Suihkonen 2 mins ago
what?
10:46
@BartekBanachewicz I'm hungry, ok?
@R.MartinhoFernandes I liked the original version more :)
@TonyTheLion NaNs are not numbers.
@R.MartinhoFernandes I know that, but I don't get the comment?
user142019
It's so early in the morning
user142019
School y u punish me.
10:47
@TonyTheLion NaN != NaN.
AMAZING. How did I not know that (anymore?)
Ah well, probably because, I too, prefer the larger real estate and just `ed` to drop into vim for navigation
@TonyTheLion Oh, I see context now.
@DeadMG Yeah, that's what he says in his answer, so the comment is just silly.
@sehe Yeah, but I thought the puppy would appreciate it.
@R.MartinhoFernandes Mmm. Not too sure. But it is totally worth the mention. At least, now I remember it again :)
I get thrown off so easily with comments
user1357851
@Zoidberg because it wants to and it can. Why not taking the revenge by bringing a box of baby rats into the class and release them there
10:49
@DeadMG are you still on ubuntu? sudo apt-get install nemiver -> gui debugger
user142019
@Telkitty why rats?
Because: arses
user142019
Pythons would be much more fun.
user1357851
@Zoidberg small and easy to smuggle in
user142019
Or say, malaria mosquitos.
10:50
@Zoidberg They would eat the rats.
Rat's arses are the closest substitute for when you're all out of fucks to give
user142019
I am always out of fucks to give.
See. Useful
user142019
I never acquire them.
oh wow, there's std::isfinite for floating point numbers.
user142019
10:51
Meh y no underscore.
user142019
C is secretly PHP!
@sehe ahahahah
user142019
Hmm, import statements or declarations?
@Zoidberg It's C.
user142019
I don't like top-level statements.
user1357851
@Zoidberg 1) hard to find 2) hard to handle 3) no guaranteed effect
user1357851
@GamErix If I were the cheetah I would taste my food before bite into him too
That's awesome
I'd love to be in his shoes
because his feet probably don't hurt
:|
@sbi It's not like that happened more than once :(
@TonyTheLion I've added boost::isnan because neither of you mentioned it
user1357851
10:54
@TonyTheLion depends how hungry the cheetah is ...
@BartekBanachewicz because we suck? :)
@TonyTheLion And std::isnan in C++11.
@DeadMG Yes
@BartekBanachewicz Ah! I was just adding that to mine too! — sftrabbit 1 min ago
I learned that today
Xeo
Xeo
10:56
Hey, robot, how can I map ctrl-tab to something in Vim? :s <C-Tab> isn't working
I guess the implementation of isnan is magic?
Xeo
Xeo
@TonyTheLion x != x
or would there be an ASM instruction that does it?
@Xeo ah, makes sense.
user1357851
@Xeo vimrc
@Xeo There is no difference between Tab and C-Tab in a terminal (both are ^I). You can only map it on gvim.
10:58
my sanity, I have to preserve it
Xeo
Xeo
@R.MartinhoFernandes Aw
@TonyTheLion not that hard actually. I just glanced how boost does it and it seemed reasonable
gt switches tabs, if that's what you wanted.

« first day (873 days earlier)      last day (4300 days later) »