« first day (326 days earlier)      last day (4622 days later) » 

3:00 PM
@FredOverflow POSIX?
 
@TonyTheTiger Female concurrency? Most women don't like that.
@RMartinhoFernandes not part of C++
 
That guy posted a comment on my blog.
 
@FredOverflow lulz
 
@kbok Wow. You're famous now.
 
@RMartinhoFernandes Am I ? I think I have only one reader, and that's him.
 
3:02 PM
What blog? Who is "that guy"?
 
Anthony Williams.
 
I referenced a lot of his stuff when building my threading lib
 
sbi
@FredOverflow Mhmm. I would like that, too. But then I currently strongly favor non-technical books, and I'm pretty short on time (not to mention cash).
 
You could always turn to Java to make money.
 
sbi
3:06 PM
@FredOverflow I would have even less time writing Java, because that requires typing so much code!
 
Is Java really more lucrative ? I always found C++ jobs to have a higher salary.
 
(Not that C++ is very terse.)
 
@sbi Eclipse's code completion writes most of the boilerplate code for you.
@kbok I wouldn't know, but I would guess it's a lot easier to find a Java job. At least that's what it's always been like for me.
 
sbi
@FredOverflow :)
 
I hope I converted this singleton user back to sanity.
 
3:08 PM
@FredOverflow but do you ever have to write anything that's not boilerplate in Java? or is it a boilerplate language? :P
 
@FredOverflow Sure. Same here.
 
@TonyTheTiger Maybe with the exception of Haskell, every language I have encountered is a boilerplate language.
 
sbi
Anyway, gotta leave. I promised my daughter to help her prepare for her physics test, and last night I came home too late, she almost fell asleep over U=R*I, and I promised to be home earlier tonight.
 
@FredOverflow oh... :( damn it
 
@kbok Java sucks, but at least you can make good money with it. Great, now I feel like a whore!
 
3:10 PM
Python is cool.
 
@CatPlusPlus Can you make money with "cool" languages?
 
(What exactly is a "cool" language?)
 
One that doesn't afraid of anything.
 
3:13 PM
One that uses cool shades?
 
@FredOverflow One without a Hot Spotâ„¢ ?
 
@sbi that's Uri Geller, and the psychics test.
 
@FredOverflow Well, it depends. In France, the great majority of programming jobs are in consulting companies, where Java is super popular because (1) Java EE and shit, and (2) The fact that with Java you can get a bad programmer to actually produce something. These companies offer the lowest salaries of all the programming industry.
 
If you can get a bad programmer to actually produce something, isn't it good?
Unless that something is just pure crap.
 
@kbok how do you do this tm thing?
 
3:18 PM
@TonyTheTiger By copy-pasting from this wikipedia article : en.wikipedia.org/wiki/TM
;)
 
On Windows, Alt+0153 on the numpad.
 
Oh coolâ„¢
@RMartinhoFernandes did you learn these by heart or something?
lol
 
@TonyTheTiger Er, would you expect otherwise?
44 mins ago, by sbi
@RMartinhoFernandes You never forget anything, do you? Let's call you Brutha.
 
@RMartinhoFernandes no, not really :P
LOL we know that @RMartinhoFernandes has a photographic memory with film :P
 
@RMartinhoFernandes Is this ? I still don't know. They produce terrible code, and the resulting software actually works because there is Quality Processes, as in full specs, integration testing, unit testing, regression testing, etc. They actually are asked to do very simple tasks, so the code works but has a lot of duplicate code and unnecessary clutters. From a management POV, it's working, but from a programmer's POV, it's bad code.
 
3:21 PM
So it's crap.
 
1
Q: Executing a piece of bytecode

Niko PThink about this sample code: ... try { stm1 stm2 stm3 } catch(){ ... } ... Suppose to run the code and within the try block an exception is raised. Execution flow goes into the catch block. Here, I would like to copy the bytecode of the try block (maybe using ASM), apply some...

 
Gosh, what a nightmare.
 
We are all programmers here, so we consider that code should be well-written (I hope.) But manager think in terms of money, and sometimes getting a buttload of junior programmers from a chemistry university costs less than a few good programmers, and yield the same (as an external POV) result.
 
@kbok Not the same result. What might appear to be the same result at first glance. But then maintenance costs among other things come in.
It's a pity that our industry is run by the MBA people, and MBAs are degrees in bullshit.
 
lol - degrees in Bullshit
 
3:26 PM
Not my words.
May 22 at 18:56, by sbi
> M.B.A.s have taken obfuscatory jargon—otherwise known as bullshit—to a level that would have made even the Scholastics blanch.
Also, did I mention that I really dislike XSLT?
 
@RMartinhoFernandes I agree with that, but it's the same problem : you have the maintenance done by another buttload of biology graduates. This is still cheaper than recruiting good programmers in the first place. Four years later, the software is going to be rewritten because X just buyed Y or because the management decided we should switch technologies. The buttload of juniors moves to another project. Problem solved.
 
@kbok I wouldn't expect it to be cheaper, but I really have absolutely no numbers to back me up.
 
@RMartinhoFernandes Yes, it's really difficult to measure that kind of things, and that's why I'm really not sure about that. One thing I know, though, is that good programmers are hard to find and that you better pay them well, or they'll go elsewhere.
 
No, they're not hard to find! I'm right here! ;)
 
And to explain the "buttload of chemistry masters": My company has big issues recruiting as much people as they need, so they recruit people from scientific masters such as Chemistry, Biology, Mathematics, Physics, etc. and they give them a 3-month Java crash course. And there they go.
 
3:32 PM
@kbok It's not because someone has a masters in something, that they'll make a good programmer though
 
Yeah. Basically, to be a good programmer, you need to be a good programmer. Anything else is a bad indicator.
.
 
@TonyTheTiger I totally agree with that. This is corporate "You Need A Degree" shit. On the other hand, there is excellent people with lower diplomas and they won't hire them.
 
@kbok Tell me about, I'm a case in point, although I'm prob not the greatest programmer, I can write code that works and isn't full of code smells.
 
@TonyTheTiger A case in point ? What does that mean ?
 
An example.
 
3:36 PM
Ok.
 
Yes, give me an example of a "case in point".
 
Als
okay, so what did i miss while i was travelling
 
Threads, Java bytecode, and rants.
 
Als
uh i see
usual stuff
 
you missed some lulz
lol
 
Als
3:38 PM
@TonyTheTiger: :P
 
@TonyTheTiger Which diploma do you have ?
 
Als
Tiger has an diploma?
 
@kbok just an ordinary school diploma, no college or uni. :(
I'm a self taught programmer
 
Als
I have an Bachelor of Engineering in Instrumentation, If anyone knows what that means
Oh i am self taught too @TonyTheTiger
 
which makes for a hard time getting in anywhere, cause a lot of companies filter CV by diploma
@Als at least you have that
 
3:41 PM
 
@Als I am also self-taught, even though I have a few diplomas. I wish one could actually learn something in school. I think those who are able to go to e.g. MIT do learn something, but u need such geographical location & rich parents (or, being extremely talented).
 
@AlfPSteinbach most are on some sort of scholarship or grant, like harvard
 
Als
@AlfPSteinbach: oh i see, I have diploma in Instrumentation which has pretty much nothing to do with software, so had to self learn kinda
@TonyTheTiger: See you prowling in the SO main a lot eh...rep whore!
 
@TonyTheTiger Oh, I see. Ever thought about uni ? If you already have the skillz, that would actually be super easy.
 
Als
@TonyTheTiger: Oh btw, the comment on that answer of yours, that is Downcasting
 
3:44 PM
@Als lol yea, wanna get to 10k
@kbok I have, but cash is an issue
@Als How do you see that?
 
@TonyTheTiger Yeah, that's where the academic system sucks.
 
@kbok I guess
 
Als
@TonyTheTiger: How do i see the Q? Because I can see in the Inbox the red envelope
 
@Als How do you see that I"m prowling SO main a lot?
 
Als
@TonyTheTiger: I was prowling there too :P
 
3:47 PM
@Als oh lulz
 
Als
@TonyTheTiger: Though I post a lot less these days, its my previous answers that make up for the votes, not many new answers, just a couple or so.
 
I'm trusted again!
 
huh?
@Als yea, I don't have answers that garner that many upvotes though.
 
"Trusted user". The crap privileges you get at 20k.
 
@RMartinhoFernandes what does that gain you?
 
Als
3:54 PM
@RMartinhoFernandes: bot, you prowl everyday and yeah you do rep whore, no wonder you are a trusted user again.
@TonyTheTiger: Some BS really.
 
I want to be a 10k rep user, I think that's quite an achievement :)
 
Als
@TonyTheTiger: Oh 700, short, matter of 4-5 days
 
@Als indeed, something like that
 
Als
@TonyTheTiger: Yup, Assuming you hit the rep cap on those days 4 days is about enough
Add to that accepted answer points and 4 days is about right estimate :P
 
@Als You have some very high rep answers, which I don't have yet... meh, need more knowledge I guess
 
Als
3:58 PM
@TonyTheTiger: Luck i would say.
Don't get me started on the 0 is octal or decimal literal :P
hehe
 
lulz
My highest rep answer is 10 upvotes so far
 
Als
@TonyTheTiger: You haven't been posting a lot so
 
@TonyTheTiger Btw, my answer to that interview question you posted is now my second most voted answer. If I get one more vote and I post 17 answers on random questions, I'll get a badge :)
 
Als
Here goes the Rep-Whore oh Badge-Whore as well..
@RMartinhoFernandes: if you get 5 more upvotes on that, you will get a gold badge for that
 
@RMartinhoFernandes oh wow
 
Als
4:02 PM
@RMartinhoFernandes: too bad i already used it ass an upvote on that one already
 
@Als Yeah, and that. I already have that one though.
For a lousy Perl-bashing answer.
:(
 
Als
@RMartinhoFernandes: tsk tsk oh i have one too :P
The octal literal
Which is your best answer? Not by measure of votes but by your feeling?
 
> Money cannot buy happiness, but it's more comfortable to cry in a Mercedes than on a bicycle!
lol
 
if money can't buy happiness
I guess I'll have to rent it
 
"Rent some happiness here, only 5 pounds per hour!!"
 
Als
4:05 PM
Well money can't buy one happiness but it can buy a lot of things which might just make you as good as happy, so I am all for it.
14 secs ago, by Tony The Tiger
"Rent some happiness here, only 5 pounds per hour!!"
This looks like a XXXXX advertisement
 
Als
:D
 
Screw money.
 
why does it have to be pounds?
 
lolz
@CodeMonkey cause @DeadMG thinks in pounds
 
4:06 PM
@CodeMonkey It's a weight-loss program.
 
pounds are money, you muppets
 
Als
@RMartinhoFernandes: Screw Money? Really?!
 
If it weren't for money, I wouldn't have to work.
 
Als
Pound are, darn i don't have that key on my keyboard
 
not sure about screwing money, it's kinda a waste of screwage
 
4:07 PM
I just dropped 5 pounds in the toilet
 
we're all dead for a real long time
you just can't prevent it
so if money can't buy happiness
I guess I'll have to reeeent it..
 
Als
42 secs ago, by Code Monkey
I just dropped 5 pounds in the toilet
@CodeMonkey: I have to ask Weight? or money? lol
 
we've all found happiness in this room, that's why none of us have left it yet :P
 
@Als Weight, damn Taco Bell
 
@Als £
 
Als
4:09 PM
@TonyTheTiger: I am still here, hoping this room lives up to its promise of Wine, Women and more!
 
I"m going to spend some pounds over the weekend
 
Als
@DeadMG: You stole that from MS Word eh
 
@Als english qwerty has pound sign
 
no, my English keyboard has, unsurprisingly, a sign for English money
 
my US qwerty has only a $ sign
 
Als
4:10 PM
mine too
only $
 
!"£$%^&*()_ is my top row
 
Als
oh we have a rupee symbol too now
 
Mine has £, $, and €!
 
Death from aboveeee!
 
4:11 PM
@DeadMG How do you like the English layout? I recently ordered a keyboard with such a layout but I'm planning to use it with US layout.
 
Als
Thats Rupee
 
@Als What, all of it?
 
Als
@LucDanton: Oh the Yellow colored symbol only
 
Isn't rupee like, Zelda money?
 
Als
@RMartinhoFernandes: Whats Zelda money?
 
4:13 PM
1 Rupee = € 0.0154
damn
@Als from the game zelda
, occasionally called Legend of Zelda or simply Zelda, is a high fantasy action-adventure video game series created by Japanese game designers Shigeru Miyamoto and Takashi Tezuka. It is developed and published by Nintendo, with some portable installments outsourced to Flagship/Capcom, Vanpool, and Grezzo. Considered one of Nintendo's most important franchises, its gameplay consists of a mixture of action, adventure, and puzzle solving. The series centers on Link, the playable main character and protagonist. Link is often given the task of rescuing Princess Zelda in the most common settin...
 
@Als Oh sorry, just realised: the image I get is a warning for hotlinking. Solved that.
 
Als
@TonyTheTiger: Oh well, currency denominations tell little about value of the currency
Consider Yen for that conversion, you might get shocked
 
i guess
 
At least it's not Zimbabwean dollars.
 
Als
Nigerian Money? Any takers
they have a 1 billion $ note i think
 
A clothespin (also clothes peg, or just peg) is a fastener used to hang up clothes for drying, usually on a clothes line. Clothespins often come in many different designs. Design The one-piece wooden clothes peg was created by Jérémie Victor Opdebec. This older design does not use springs, but is fashioned in one piece, with the two prongs part of the peg chassis with only a small distance between them—this form of peg creates the gripping action due to the two prongs being wedged apart and thus squeezing together in that the prongs want to return to their initial, resting state. This f...
 
One billion? Hah. That's peanuts next to what Zimbabwe had.
 
I"m just playing with one of these
 
Als
@RMartinhoFernandes: Hmm made a fool of me-self
 
4:16 PM
By 2008 they had an inflation rate of 231,150,888.87% (no, there are no typos, and I didn't type this randomly).
Then they gave up and now they have no national currency.
That's how much three eggs cost at one time.
 
damn, for three eggs
 
Als
@RMartinhoFernandes: I think they gave up because they ran out of numbers.
Imagine someone trying to buy an apartment, they would need a new number system!
 
> people can only withdraw a maximum of ZW$100 billion from cashpoints
 
@Als When they needed that, they just killed the old currency, and made a new one, with something like 1 new dollar = 1000000 old dollars.
They did this three or four times.
 
Als
@TonyTheTiger: Thats that one currency note in the egg picture.
 
4:20 PM
@TonyTheTiger That was three eggs at some point in time :(
 
Als
@RMartinhoFernandes: Some witty Corrupt politicians eh.....there money just vanished!
 
@Als Well, it could be one of the newer dollars, and the picture one of the older dollars... I hope so.
> shops can only cash cheques if the customer writes double the amount, because the cost will go up by the time the cheque has cleared
Gosh.
 
Als
@RMartinhoFernandes: That is ridiculous
They should just use Barter System
 
Wikipedia should have that in the past tense. Nowadays they mostly trade in the currency of their neighbors.
 
holy moley
 
4:25 PM
Since this is Africa, it wasn't all over the news :(
 
Err isn't this ancient history, relatively speaking?
Yeah, 2008.
 
Als
@LucDanton: Whats the latest?
Are they back to Neanderthel?
 
possibly
 
case sensitive languages - argh! "pure virtual call"
        Error( int const code, std::string const& description )
            : std::system_error(
                std::error_code( code, ErrorCategory() ),
                description
                )
        {}
of course that should be instead errorCategory(), producing the singleton required by the Holy Standard
 
Didn't the compiler warn you (as in, refuse to eat that)?
 
4:31 PM
I've got a lot of adjectives to describe the C++ Standard
but holy was never one of them
 
What would they be, then?
 
well
it'd just be a list of all of the negative adjectives I know
 
Why?
Not a single positive one?
 
@RMartinhoFernandes nope. std::system_error takes the argument as reference to const. I think arguably it should have been a pointer, to say clearly that temporaries not permitted.
 
@RMartinhoFernandes nope
 
4:36 PM
@AlfPSteinbach So, you have two things named respectively errorCategory and ErrorCategory?
 
@AlfPSteinbach No, no, no: superior C++11 alternative: system_error(int, std::error_category const&&) = delete;
 
@LucDanton I've seen that trick used in places.
 
@RMartinhoFernandes yes, sorry
 
why would you ever take the rvalue as const?
 
@AlfPSteinbach Well, shame on you.
@DeadMG The point is to not take it. Even if const.
 
4:38 PM
auto const stupid = some_error_category(); std::sytem_error(blah, std::move(stupid));
I think it binds, but I'm not sure.
Well && will convert to const&&, I was speaking about overload resolution.
 
Anyone knows good article on FLTK which can explain about event handling? ( i read the manual but couldn't understand much) ?
 
Yeah, not sure if GCC is conforming here, but an (int&&) + (int const&) overload will be resolved to calling the (int const&) overload when using std::move on a const lvalue.
 
Error( int const code, std::string const& description )
: std::system_error(
std::error_code( code, ErrorCategory::instance() ),
description
)
{}
 
Markdown 1-0 Alf
 
:)
but i fixed the c++ code
 
4:46 PM
1
Q: C++ metaprogramming, but I am not referring to template madness

Steven LuA cool idea came to me in the shower today. I figured that if I distribute a copy of the compiler with my program, I can use it to generate native code without having to patch existing code by simply compiling the code (e.g. fork and exec g++ to create object files) and dynamically linking via dl...

Hehe, he was referring to embed-a-compiler madness instead.
 
4:57 PM
> A cool idea came to me in the shower today. I figured that if I distribute a copy of the compiler with my program, I can use it to generate native code without
Uh, I'm not sure I actually want to read this.
 
It's actually a legitimate question
albeit a slightly misguided one
 

« first day (326 days earlier)      last day (4622 days later) »