« first day (291 days earlier)      last day (4655 days later) » 

12:00 AM
> How it can be happen when we are using internet and the IPs always are not valid?!
Someone thinks that the Internet works with invalid IPs.
 
user457812
12:16 AM
Someone thinks grammar work way not way right. O_o
 
going through the chrome source is a pain :(
chromium I suppose
 
@EtiennedeMartel You're killing me man :)
 
12:36 AM
I never want to go to China: banterist.com/archivefiles/000348.html
 
12:49 AM
@MartinhoFernandes What are you referencing?
 
-4
Q: Instant Messenger Project [How to...]

Memphis RainesI'm starting a project and i need a scenario to understand how to proceed... I want to program something like Yahoo! Messenger or MSN Messenger. Some parts of this work is unknown for me... Which way the message transfer while 2 clients start chat?! Point2Point or 2xClient\Server? If the messa...

 
Ah.
HE was talking about non-routable addresses
His grasp on english was not helping his cause, and I agree from the questions he was asking that the project was way over his head
 
user457812
1:28 AM
I should ask my dad about those squat toilets.. he spent a lot of time in China thanks to Intel.
 
Are you sure you want to do that?
Maybe his PTSD will kick in.
 
user457812
It'd be like dinner conversation for us.
 
> But what do you do when you have a broken leg?
 
user457812
Cry.
 
Apparently you can find this kind of thing in France and Italy.
 
user457812
1:36 AM
The hipsters probably think they're cool
 
And they're standard issue on Chinese trains.
 
user457812
I suspect I won't be vacationing in China any time soon.
 
3:57 AM
Hi !
How to generate warning for this snippet ? ideone.com/DO0kG . Thanks.
 
4:09 AM
You'll probably get a warning about the redundant const qualifier on getNum.
What compiler are you using?
 
 
1 hour later…
5:32 AM
Would a lighbulb shine more brightly if you increase the amperes?
 
6:25 AM
^ Who is this?
 
Kalpana Chawla
 
Lol you can actually see it in the status bar when hovering over the image.
 
sbi
@TonyTheTiger Do you know the names of all the female astronauts by heart?
@StackedCrooked :)
@ManofOneWay Actually, I was commuting at that time. But, yeah, I went to bed not much later.
 
@sbi I cheated :)
 
you could use tineye these days
 
6:30 AM
@StackedCrooked I think you can do that with Google too these days
unless they've removed that again
 
@TonyTheTiger I wasn't aware of that.
 
There is also the "similar" images feature.
 
isn't this the one?
 
I'm not sure if it's the same
If you hover over one of the images shown after doing a Google Image search then it displays a link to show similar images.
Which is pretty impressive. Doesn't this require some sort of AI?
 
6:37 AM
@StackedCrooked yea, it's computer vision
which has AI in it, i think
@StackedCrooked that's not the same then
 
I suspect it also looks for tag info as one of the indicators.
But it's pretty nice.
 
@StackedCrooked i'd hit that.
 
@Josh Perhaps you could retrieve some of her ashes.
 
@StackedCrooked You got all serious on me
 
Any C++ gurus on atm that have not seen my post? Any help resolving this issue would be awesome!!! (stackoverflow.com/questions/6921663/…)
 
6:55 AM
@MatthewHoggan: Your code example is quite long and complex and thus scaring off people as it makes it harder to detect the issue. if you have a problem you should come with an example as small as possible to get a quick answer
 
7:11 AM
is there a safe way to convert a long* to an int?
 
sbi
@TonyTheTiger No. Depending on the platform, it might not fit.
@MatthewHoggan Note that drive-by linking, showing up just to dump a link to your question, and not to participate in discussions, is frowned upon here. In fact, regulars might even flag such messages as offensive.
 
@sbi hmmm
 
sbi
@TonyTheTiger I think on VC 64bit, int is 32bit, while a pointer is 64bit.
 
@sbi oh damn... actually I am passing a unsigned long to an int*. Sorry I got it wrong the first time
lol
 
user53670
what editor do you use for programming c++ code
 
sbi
7:16 AM
@TonyTheTiger Why would you do that? I can see that one would want to cast an integer type to a void*, but to a typed pointer?
 
@sbi well, I was doing an excercise from a book, and it seems that, there is a mistake in their code.
 
sbi
@TonyTheTiger What book is that?
 
They have a function void shiftandround(int * valtoshift, int bitstoshift); and the args they try to pass is unsigned long to valtoshift
this one
 
sbi
Never heard of that. Which is a bad sign, really.
Did I ever mention there are many bad C++ books out there? And I'm not referring to "badly written", but to "containing glaringly obvious factual errors" and "promoting very bad coding styles".
4
 
hmmm yea
 
sbi
7:20 AM
What are you trying to learn from it?
 
you have mentioned that, this one isn't so much about the actual coding, then it is about the workings of lower level machine stuff
code in this book is secondary.
learning how stuff works on lower level, like floating point integers, character representations (ASCII & Unicode) etc...
 
sbi
@TonyTheTiger So why do they have a shifting function that takes an int*? If it's C code, then that's C's way of passing-by-reference, in which case I'd expect the function to change the int the pointer refers to. Now if you cast a long to that, the function will write to whatever address corresponds to that integer's value.
To say this seems fishy would be a great understatement.
Anyway, speaking of "long": I need to pack and get to work. I've been procrastinating long enough.
 
have fun at work
lol
 
8:15 AM
Murnin
 
Muffin.
 
hmmmm muffin sounds good :)
 
8:37 AM
Hi
God, I just spent 1hr writing a single e-mail.
 
done that before
 
Hi @Tony, how is it going with your job offer ?
 
"Project Kotlin" is the codename for a statically-typed JVM-targeted programming language developed by JetBrains and intended for industrial use.
 
@kbok haven't heard back yet
but I've spoken to someone else about a C++ job just now
see what happens
 
Good !
 
8:52 AM
for me it's C++ game job or GTFO
 
hahahh
funny name for an operator ?:
 
sbi
@ÓlafurWaage Moanin'!
 
9:47 AM
?:-o
 
@sbi What are you up to?
 
sbi
@Patrick If it was for me, I'd go straight back to bed. As it is, I have to work. (Unusual, I know, but I'm not young anymore, and I need the money.)
 
@sbi Figured since you were "moanin"..oh nm :P
 
sbi
@Patrick I was just driving further what @Ólafur and @Cat had started.
 
@sbi: I don't think I ever asked.. What do you do for work, if you don't mind me asking?
@sbi I know I know :)
 
sbi
9:56 AM
@Patrick I'm writing software.
 
oh rly?
 
sbi
@TonyTheTiger Don't be daft. You knew this already.
 
@TonyTheTiger: white owl
 
surprises me, for someone that spends all their time in C++ lounge. :P `sarcasm'
 
@sbi Perhaps I should have guessed this..
 
9:58 AM
@sbi I was being sarcastic... lol
 
sbi
@TonyTheTiger Of course, I wasn't being sarcastic at all!
 
@Patrick I'm a tiger not an owl (yes I know the meme is an owl)
@sbi I know
 
sbi
@Patrick Currently I have to write C# for a living. I'm working with a small company on a highly parallel and distributed document processing system. The system is interesting, but I miss C++.
 
@sbi: That sounds interesting. Document processing as in "converting" or "collaborating"
 
sbi
@Patrick More like "converting", I guess.
 
10:05 AM
Why is it more fun to program your own projects than working and getting paid?
 
@Patrick Deadlines.
 
sbi
@Patrick I dunno. For many years during my career I loved what I was doing at work.
 
@CatPlusPlus: hehe, perhaps :)
@sbi: When you were programming in C++?
 
There are some that write software, and there are others that have to deal with others having written software.
 
epic lol
 
sbi
10:09 AM
@Patrick For more than ten years I have been doing nothing else, so it's somewhat of a necessity that most falls into that time. :) But I actually enjoy the project I'm currently working on. I just wished it was done in C++.
 
yes, personal projects without deadlines. I seem to be averaging nearly a year off for every 2 years that I work.
 
lol, that's worse then me
wow
 
@sbi: In my company I once heard of another company that did some embedded systems (don't really know the word in english). A specialized computer so to speak. But..Since the developers didn't know C++ or assembly they installed linux and Java so they could have their precious language..
 
Let's be conservative and use 120 degrees for the field of view. Then we would see 120 * 120 * 60 * 60 / (0.3 * 0.3) = 576 megapixels.
 
Developer productivity is important, and learning C++ on a embedded system doesn't seem like the best of ideas to me.
 
10:15 AM
@CatPlusPlus Embedded is the wrong word....hm.. gonna look it up
I think it's called embedded actually.. Like a cellphone, or something small in general
 
10:32 AM
@sbi u working?
 
sbi
@ManofOneWay More or less. I'm afraid I'm more procrastinating than working.
 
@sbi why is that? boring work task?
 
sbi
@ManofOneWay I'm just too tired, I guess.
 
@sbi u got linked in?
 
@sbi For some reason that line made me think of this: dilbert.com/strips/comic/2003-06-19/…
 
10:37 AM
lol
 
sbi
@Patrick LOL! I don't drink coffee, though. (At least i drink less than half a dozen cups a year.)
@ManofOneWay Yes, I do.
 
@sbi May I add you?
 
sbi
@ManofOneWay Why do you ask here? If you attempt to, I can always say no there, right?
 
@sbi Where would I ask otherwise? =) Yes sure you can
 
 
1 hour later…
12:01 PM
Argh, some people.
"— Your solution doesn't work in a local scope, only global. — But it works! [shows code in global scope, ignoring examples where it doesn't work]"
 
sbi
12:13 PM
What kind of jerk would comment like that?
 
@sbi: uhm..
 
sbi
@Patrick You were saying?
 
@sbi: I guess the answer is duedl0r.. I was "uhming" the comment
 
@sbi It's a very complete answer to a very noob question. You're courageous :)
 
sbi
@Patrick Yeah, but what does it mean "to uhm a comment"?
 
12:18 PM
I don't know.. To ponder why the commenter wrote the comment like he did
 
@Patrick It's quite simple, really.
Or maybe I shouldn't refer to them as 'it'.
 
sbi
@CatPlusPlus You have the uncanny ability to make me smile several times a day. If I was a millionaire, I'd hire you now to conveniently provide that feature to me at least five days a week.
 
@CatPlusPlus Similar to when someone "fixes" something and then asks you if it works
 
@Patrick To be fair, a lot of fixes on this site is guesswork, because posters can't be bothered to provide all the details.
 
@CatPlusPlus I wasn't referring to this site.. I meant programming projects in general
 
12:24 PM
@Patrick Well, that's even more complicated. I've seen some magic bugs happen in only certain conditions. When you can't reproduce it, you can't test, you can only guess about the fix.
 
As in, I as customer notice a bug, report it, and when I get the update I also get the question, "Did we fix it?"
@CatPlusPlus: Yes, I've had some of those..
They're tricky
 
Well, that's just basic feedback request, for the same reason we confirm bugs.
Mistakes happen, and it's better to confirm the fix actually works where it should.
 
@CatPlusPlus: I am aware, but sometimes it's as if the developers didn't bother to verify it. If they can reproduce the mistake, they can check if it happens again. :)
 
Better to confirm than be oblivious. :P
 
Hey, I know this isn't the right chat..But does anyone know how to change the font size in the HTML tab in Firefox Firebug?
 
12:30 PM
I don't see any option. chrome UserCSS might work.
 
@CatPlusPlus: In firefox?
 
Yeah.
The UI is referred to as chrome.
Well, at least it was, I don't exactly follow the news about that.
 
I think it still is
Just never heard of the UserCss
 
XUL code lived in chrome:// namespace, in any case. For UserCSS, install Stylish.
Its editor has Insert > XUL namespace, then you just need to lookup what classes/IDs Firebug uses.
 
@CatPlusPlus: I'll give it a try, will let you know of my findings
 
12:40 PM
Have fun.
 
hi
 
@CatPlusPlus: Stylish seems to be more of a "change websites appearance", not so much the interface of extensions
 
@Patrick You can use it to modify UI.
It's all XML and CSS, after all.
 
Hey guys, what's a good C++ book for brushing up on? I first learned C++ like 10 years ago but have since been using Java. I can mostly read C++ code but I'm not comfortable enough in it to do a major project.
 
sbi
@CatPlusPlus One thing to take the magic out of magic bugs is logging.
574
Q: The Definitive C++ Book Guide and List

grepsedawk This question has historical significance, but is not a good example of an appropriate question. Read and learn from this post, but please do not use it as evidence that you can ask similar questions. See the FAQ for more info. Provide QUALITY books and an approximate skill level. Add ...

 
12:47 PM
@CatPlusPlus: Yes, I found a style for firebug! That worked great
 
here's a question
 
@sbi Unless it's JavaScript code, then you have to add more magic and hope it'll overflow and start working correctly.
 
if I moved const to be a library feature, then how the feck do I write a function that can take both lvalues and rvalues without having to use perfect forwarding to accept any type? :(
 
sbi
Mhmm. Why am I listed as the last editor of the book FAQ question when there's been three editors changing it after me?
 
@sbi It shows the most frequent one, I think.
 
sbi
12:53 PM
@CatPlusPlus Isn't using "JavaScript" and "Magic" in the same sentence an abomination?
@CatPlusPlus Oh. Am I that?
 
@sbi No, just redundant.
 
sbi
@CatPlusPlus Indeed, I appear in the history quite frequently.
I'm surprised. I always thought it would list the last editor.
This place never ceases to confuse me.
 
"33 revs, 12 users 31% sbi". I read it as "the most frequent editor is sbi with 31% of revisions".
 
@sbi me too
 
CW posts were always different.
On non-CW posts, last editor is on the right, and the author on the left. CW posts have only edit date on the right, and those stats on the left.
 
sbi
12:56 PM
@CatPlusPlus Ah. For me, there's a line break before my name. Of course, that could be accidentally, but I always thought it's been put there deliberately.
 
@sbi Yeah, I removed that linebreak to not go into multi-line mode madness.
If it weren't that, then that 31% doesn't make any sense.
 

« first day (291 days earlier)      last day (4655 days later) »