« first day (708 days earlier)      last day (4234 days later) » 

7:00 PM
@sehe who is that?
 
@StackedCrooked That's a blatant lie
@user1690130 The guy who responded too
 
@sehe Ok, sometimes the second time is the first one.
 
@sehe Fair point.
 
:)
 
@CatPlusPlus HELP HELP I POSTED A BAD QUESTION
@CatPlusPlus Is your name Enzo?
 
7:03 PM
^ what is that thing?
 
What are you trying to achieve here, @user1690130? Chances are, the cat has you ignored by now. Or he's just not in. Why are you repeating this annoying all-caps business?
(not prime, by the way: 10*13*13001. Beautiful stuff, in a way)
 
He called this room: Lounge<C++>
HELP HELP I POSTED A BAD QUESTION
@sehe I just want to show the meow meow some love
 
@user1690130 Do you want that changed? (Also, kindly refrain from reposting)
 
@sehe Yes
 
prime or not, all that user\d+ are all the same
 
7:06 PM
@Abyx Racism!
 
maybe.
 
room topic changed to Lounge<C++>: HELP HELP I DELETED A REALLY BAD QUESTION [c++] [c++11] [c++-faq]
There
 
wonderful
 
@sehe why not just get rid of it all?
 
Well, what would be the fun in that
 
7:07 PM
@sehe Then why can't I have fun and type to Cat n caps?
No fun
 
Oh, you can: pahlooonck!
 
http://stackoverflow.com/questions/12555334/java-homework-using-a-for-loop-to-fill-an-array
Second semester, and he can't fill an array... Oh lord...
 
programmings is teh hardz
 
oh... I was about to write "it's because the C++ is so hard", but it's J**a there %)
 
I love how setting the release year to 2014 results in 'This song is not that old' being printed on standard output. — sehe 7 secs ago
 
7:10 PM
@Abyx huh?
@Borgleader be nice
 
I am being nice, if I wasn't nice I would have done that comment on his post not in here.
 
omfg! the range-based for-loop syntax was borrowed from Java?!
 
@user1690130 He is nice. He didn't downvote obvious untagged homework
 
yep, it's me who downvoted that
 
@Abyx Not too sure. Java only has it since... 1.5 (aka Java5) IIRC
 
7:13 PM
@Borgleader ok
 
Oh surprise, boost 1_44_0 builds faster than 1_51_1 on my box:
real	8m47.220s
user	8m2.662s
sys	0m34.374s
 
@sehe so timing Boost build times is a hobby of yours?
 
@rubenvb Not at all. But when I build a boost library, obviously I do time ./bjam --build-dir=/tmp/build (with /tmp on tmpfs)
Actually I'm trying to get memcache++ to compile:
I'm trying to compile the quickstart example. It's barfing (I think on incompatible Asio API)
It's still barfing even if I comment out the whole body of main. This is not a good sign
 
lol
 
crap
forgot how much you need to go abroad
travel insurance... ehic... passport
 
sbi
7:25 PM
@R.MartinhoFernandes There's two, Tegel (TXL) and Schönefeld (SFX), and either would be fine. You used to be able to look for flights to BER, and find flights to both, but since BER is going to be the name of the new airport they're building, and since this was supposed to be in operation for a long time already (but won't be for — current estimates — another year or so), some flight information systems have BER now pegged down as "not yet operable airport".
 
@DeadMG Where are you going?
You only need passport if you go outside EU.
 
sbi
@R.MartinhoFernandes FF asks me that every single time I open a website I hadn't opened before.
 
@StackedCrooked UK's not in the Schengen Area.
 
sbi
@R.MartinhoFernandes Ryanair has a flight from Porto arriving on Friday afternoon that's slightly >200. However, they have a flight back on Monday for <90, which amounts to <300 for a return flight. Not bad, IYAM. swoodoo.com finds sufferable (<12h) flights from Lisboa via Zürich employing TAP and SwissAir starting at slightly >320 for a return ticket.
 
@StackedCrooked Linz to visit Oracle.
 
7:27 PM
Of all people you'd go to Oracle? :D
 
@sbi yeah I heard about that soap on the radio a week or two ago. What. A. Mess. nytimes.com/2012/09/05/business/global/…
 
@StackedCrooked ManOfOneWay referred me to them and they liked me.
 
@DeadMG Ok, well that's a good start.
 
@DeadMG One superfluous space. Also, s/bjam/b2/ for recent versions. Regardless, thanks for doing the meme thingie on that. I was too lazy
 
Maybe you can work on Java.
 
sbi
7:30 PM
@sehe The thing is, if they'd done as was planned, I wouldn't have airplanes crossing over my house anymore. Now I have (current estimations) 18 more months to enjoy that.
 
@StackedCrooked It's not too dissimilar, actually.
 
Oh. We enjoy airplanes here too. In/near the ascend/descend route for Zestienhoven (RTM)
@DeadMG <cough/> I think I'll die now
 
sbi
@sehe Most of the time they're targeting Tegel (TXL) here. Sometimes, when the wind comes from the east, they come from Tegel. The problem is that they're crossing exactly over the house I'm living in. One km or two to the north or south it's a lot less loud. Shrug. Well, another year, hopefully...
 
0
Q: c++ visual studio cout returned string

gekanntI'm new in programming for Windows with C++. I compiled this code successfully with G++ compiler in Linux and in Windows XP with Mingw compiler. Code: I call this function so: But it when I try to compile it with VS C++ 2010 on Windows 7, I get complain: I can't get why it's so. This ...

 
@FredOverflow I don't really understand the mail. Are you blaming him for being asked a silly question? Or was his answer not right?
 
7:34 PM
I could be wrong but that screenshot looks like QtCreator not VS
 
I'm used to it. It is really only annoying when
(a) in summer you're trying to have a conversation in the garden (solution: chat)
(b) you are trying to do recordings in your non-isolated studio (solution: live with the noise)
 
@Borgleader He's using QtCreator and the mingw compiler. Wait, no, I might be wrong.
 
But the post says: "But it when I try to compile it with VS C++ 2010 on Windows 7, I get complain:"
and following that is a QtCreator screenshot
 
@sehe I've read your remarks, thanks, they are great. "he worked for 5 years in C++ without source control" - yea, it's true. And that was before high school indeed. Why do you think I need explicit age indication? (and about singleton - yeah, i gotta drop it -.-)
 
sbi
> Setting a font size outrageously large, maybe Menlo 23 on a 13” display, is a good exercise in writing terse code. — Matan Nassau
 
7:37 PM
@Borgleader He could be calling the Visual Studio compiler from within Qt Creator.
 
Hmm true
 
sbi
@sehe Same here. I've been living with it for a decade now, so I'm used to it. But in the summer, with open windows, I can't turn the radio's volume loud enough to be able to follow the news when a plane comes by — and that's every 90secs.
 
@Borgleader I asked in a comment.
 
@BartekBanachewicz Because right now it is unclear, but one is lead to believe you started programming C++ around... 6 years old?
Mind you, that can be both great and confusing
 
@sehe Hmm... i think we might have a misunderstanding around "high school". I'm 20 right now, and I finished it last year.
So 9 years back = I was 11 when I started learning C++, which is true.
 
7:39 PM
@sbi that's bad. We get a burst around 22:00-23:00. That's annoying. The rest of the day: well, it's Rotterdam airport only :0
 
I could maybe write it since 2003 instead of 9 years
 
High school starts at age 12 in Belgium. (Secondary education it is called here.)
 
sbi
Does one of you need a super computer? Because ebay has one: ebay.com/itm/…
 
@BartekBanachewicz Ok, I reckoned, you did highschool 2008-2011, so by average measures you'd be ~12y/o in 2008. Since you have 9 y/c++ (2012-9 ~= 2003) this would make you around (12+2003-2008) == 7 years old
 
Microcomputer ftw :p
 
7:41 PM
@sbi: if i ever need a super computer i'll just get a rig with 4 gpus in it :P
 
@sbi Didn't somebody try to sell Belgium on ebay once?
 
@sbi Can't afford the maintenance/power supply
 
sbi
100 amps at 340 volts. Not sure my switch board could cope with that ...
 
@Mechanicalsnail I think they almost succeeded selling Greece to China recently
 
@sehe Dammit. So how should I call the school that starts at the age of 16? (remember I'm in Poland)
 
sbi
7:42 PM
@cstross Just buy the case and put an iPhone in it. Lighter, less power consumption, more CPU. No one will know. :)
@Mechanicalsnail How would I know?
 
@BartekBanachewicz Ok, if that's a regional thing, fine; It'll be clear. However, and age indication does make it less tricky for people outside Poland.
 
@StackedCrooked I just thought it was funny and wanted to share :)
 
@sehe Okey. I think I'll add it somehow. Anything else coming to your mind? (thanks again, btw ;))
 
@BartekBanachewicz Nope. Pretty decent stuff. The good thing about not mentioning your age, of course, could be that you don't get discredited for being young (i.e. "inexperienced"). It looks like you are plenty experienced. People will guesstimate you at ~26/27, I'd wager.
 
@sehe Well, I'm still studying; I'm posting to regular Software Engineer position rather than intern, though.
 
7:50 PM
@Mechanicalsnail Yep.
 
@BartekBanachewicz Sooo. Take everything I said with a grain of salt. Cater for your audience :) I was slightly confused, that doesn't mean much.
Fwiw, I liked the grey text (except for in captions)
 
@sehe I shamelessly modified default linkedin pdf export style ;]
 
WhatsApp Web Client. This is not a cool feature, it shows, how insecure this service is. http://whatsapp.filshmedia.net/
Wow
@BartekBanachewicz That sounds like contortionism
 
@sehe what the heck does that even mean?
 
@BartekBanachewicz It means "why on earth would you jump through many hoops, including LinkedIn", if you can simply write a document and save/print as PDF?
@BartekBanachewicz Contortionism: (perhaps NSFW): info5stars.blogspot.nl/2009/05/…
 
Ell
7:57 PM
@sehe how stupid is it to put my own thing in there?
 
@sehe Well, I was prepared to create CV from scratch anyway. I still want to be linked... in
 
TMI.
In short: I wouldn't
 
Ell
:L
 
Rule of thumb: If you don't know a subject intimately, it is usually a bad idea to put your own thing in there
 
8:11 PM
@sehe yah. and also a bad idea when you haven't slept for about 20 hours and you're recovering from surgery. but anyway.
 
Ell
in all seriousness, do you think I should put my whatsapp thing in?
 
sbi
@Cheersandhth.-Alf What did they do to you?
 
you know, they cut away things, mostly a big chunk of right armpit.
 
sbi
@Cheersandhth.-Alf Why is that?
 
it's all part of a conspiracy to make me used to it, so that they can cut away my head and replace with cabbage
 
8:20 PM
O_o
 
sbi
@Cheersandhth.-Alf Oh. Considering the way your typing has deteriorated since you hit the chat, are you sure they haven't already done so? :)
 
i don't think so. vegetables don't eat vegetables
well unless cabbage is a fruit
 
sbi
.@mittromney what did you serve for dessert at the 50k a plate dinner? Please say chocolate-dipped baby seal balls.
 
sbi
@Cheersandhth.-Alf Then it very likely is.
 
sbi
8:34 PM
The puppy is going to...
 
woof woof
 
@Cheersandhth.-Alf Lymph nodes? :((
@sbi Heh! Awesome:)
 
well no. it's a Bad(TM) infection-like disease. mostly women who suffer from it. plus me. in first stage it's like recurring rashes and boils, in second stage outbreaks of deeply seated boils (like, last easter i just couldn't move because of heavy pain); in in third stage it's like spread out infections in underskin, with constant outflow of blood and puss. really gosh-awful. :-) also rather painful, and it causes constant muscle cramps, like after a marathon, plus restricted movement
 
@Cheersandhth.-Alf OK, should not have asked, really. Best wishes for a full recovery!
@Cheersandhth.-Alf OK, should not have asked, really. Best wishes for a full recovery!
 
i was diagnosed after 10-12 years. before that my doctors assured me, despite my protests, that it was just some special form of acne. they prescribed general medication that evidently has made the bastard bacteria resistant
 
8:46 PM
@Cheersandhth.-Alf :( Also, sorry for posting twice - timeout, failed retry, waited, timeout, posted again, two posts turn up.
 
from about february this year i've been doing a pill cure was designed to fix things in about 3 months. but it hasn't worked, so my doctor (from Iceland) said I should just stop when the prescription runs out
i think there's something funny about all the norwegian doctors failing to identify things, while my swedish local doctor seems pretty competent in a no-nonsense way, and the surgeon from iceland is really cool
 
sbi
@Cheersandhth.-Alf Do you see a general problem there, or is this just one local observation?
 
one the one hand it's just one local observation, my personal experience. but on the other hand it fits in into a general pattern of incompetence. like, if you look at posters in store windows in oslo, nearly all of them have speling erors
 
@Cheersandhth.-Alf The irony of accusing others of having speling errors is not lost on me
 
sbi
@DeadMG I think this one was deliberate.
 
8:51 PM
@DeadMG yes we know you can't spell
 
sbi
@Cheersandhth.-Alf That is a bad sign, indeed. Do you think there's something wrong with Norwegian education?
 
also, when you pay for something, don't add change to make it easy to give you a round amount back. because the clerk won't understand. until he or she has used a calculator, and perhaps not even then
@sbi among engineers in norway it
 
0
Q: Sudoku checker algorithm in C++

user1658865I'm currently working on an algorithm to find all numbers with 9 digits using numbers 1-9 without any repeats. I'm testing a theory I have that filtering numbers as such will make for a more efficient sudoku checker. The code that I implemented does the following. It uses a for loop for places 1...

omfg.... 9 nested loops
9!
 
sbi
@Cheersandhth.-Alf What?
 
lol
 
8:54 PM
is known to be beyond rescue. because there's a yearly test of math ability.
about 10 years ago we passed the point where there were no more competent math teachers to educate new math teachers
very bad circle
 
@Borgleader This a candidate for a "Best of". Not sure of what though.
 
sbi
That sounds bad. However, how do bad math results correlate to spelling errors?
 
@sbi t00 plus too equals foive for werry large nombers of too.
 
@sbi they both spring from the educational system. which you guessed already
 
sbi
@CaptainGiraffe I am tempted to bin this.
@Cheersandhth.-Alf Ok, so that math thing was just an example.
 
9:00 PM
yes
 
@sbi Please leave out my avatar. He means nothing bad.
 
but it is the one ability that is possible to measure fairly accurately, so that results from one year can be compared to another year
 
@Cheersandhth.-Alf There are still young people wanting to be physicists and computing scientists. The educational system will not close the gap between the young curious mind and the mismanaged mistreated kid.
 
@CaptainGiraffe You make it sound like they're not exactly the same person.
 
@DeadMG Well assuming you are referring to the phys/comp, I was an experimentalist getting caught up in the computing =)
 
9:05 PM
@CaptainGiraffe All I'm saying is that being a young curious mind pretty much guarantees therefore being mismanaged and mistreated.
 
@DeadMG Now there is the saddest thought on the planet. Stated in just a few words.
 
@DeadMG i agree in general. but one of the few positive things about the educational system in norway in the last decade, is that now in the last two or three years youngsters who are very good can take courses at university level. previously they were not permitted to advance past their age.
 
@Cheersandhth.-Alf That's a (very small) beginning.
 
but the meteoric rise in depression, stress, and other similar disorders in young people is kinda concerning
 
9:07 PM
@Cheersandhth.-Alf Still it is people. It is not regulations that makes the headlines. People makes the difference,.
 
@DeadMG Sad, but true. There always seems to be plenty of support for students who cannot keep up with average progress, but those who are piss-bored because the read the textbook at the start of the term and understood it all straightaway get no encouragement. Usually, they are sufficiently street-wise to hide their abilities and so avoid being bullied and victimised, but that's not exactly how education should work:(
 
sbi
Oh my. My daughter, who is in Marseilles for a week, visiting the French girl who had visited her half a year ago, just sent a mail that her boyfriend, her first real relationship, dumped her. I suppose this is going to be one sad visit to France for her.
 
Ouch
Y'know what they say, the first cut is always the deepest?
 
@MartinJames Well, it's not just about that. It's also about how the more intelligent kids can freely learn at a good pace for them in subjects which are right for them at any time, at any place, on the Interwebs.
whereas in structured education, being not a perfect fit for the "average" child is a lethal condition
and if you don't do well, then your life is over before you turn 20
 
sbi
@Borgleader Yeah, I know. This isn't gonna help her, though. So I'll try to keep those pearls of wisdom for myself, and hand her some real comfort.
 
9:12 PM
@sbi That's gotta suck. I remember being in that position.
 
sbi
@DeadMG It's kinda mean of him to do it when she's cut off from all her friends.
 
http://stackoverflow.com/a/12556289/583833
He is wrong right?
 
@Borgleader Yep.
 
sbi
@Borgleader No, he's Eric Fode.
 
rofl
 
sbi
9:14 PM
(You're missing a comma.)
 
@MartinJames I'm your prime sample too for this behaviour. Thankfully my parents were awesome.
 
@CaptainGiraffe Great! Not much I can add to that:)
 
In about one months time I'm going to attempt to de-windowize a bunch of 1-st time programming students into the everything is a file concept. Starting out with ints and strings cin/cout and fstream. Any thoughts on how I might fail epically with this?
 
sockets are not files
 
@DeadMG sure they are =)
 
9:25 PM
@CaptainGiraffe No, you might be able to use the same API functions, on some operating systems. But they are not actually files.
 
@DeadMG Nor is the console, nor is the display, but they get treated like it in a very successful manner.
 
@CaptainGiraffe Really? I never managed to succeed with std::ofstream stream("192.168.1.0");
 
@DeadMG Dude, seriously, don't be a dud. void f(istream & readMe) could well be a socket.
 
@CaptainGiraffe Which is quite irrelevant.
a socket is a stream, and a file is a stream, but a socket is not a file.
 
@DeadMG try std::ofstream stream("\\\\192.168.1.0\\file.txt"); then
 
9:30 PM
24
A: undefined reference to `WinMain@16'

Cheers and hth. - AlfConsider the following Windows API-level program: #define NOMINMAX #include <windows.h> int main() { MessageBox( 0, "Blah blah...", "My Windows app!", MB_SETFOREGROUND ); } Now let's build it using GNU toolchain (i.e. g++), no special options. Here gnuc is just a batch file that I u...

 
$> cat stuffIcanReadFrom | theRecievingEnd
 
@DeadMG ..until it's not. Disk files do not have to be read sequentially.
 
^ it's funny how that answer isn't marked as solution
 
@MartinJames The fact that disk files can do non-stream operations too is also irrelevant.
 
Where in the C++ standard does it say the minimum variable size guarantees?
 
9:32 PM
there's an implementation limits sectionb
 
@DeadMG Why are you duding everything tonight?
@Drise char is 7 or larger.
 
@CaptainGiraffe It's called being "accurate".
 
i forgot to update it for msvc 11
 
the fact that sockets and files share some common operations does not, by a very long way, make them identical.
 
@DeadMG No you are applying your own constraints to where there were none in the first place.
 
9:34 PM
you said "Everything is a file.", and I simply substituted "Socket" (which is clearly included in "Everything") and proved that it was not, in fact, a file.
 
@DeadMG The "everything is a file" is a concept that has lived for about 45 years. It is still working very well.
 
I'm sure that if you asked Greek doctors, they would say that the Four Humours theory was around for a long time, and they thought it worked well.
 
Why isn't an URL a file?
 
URL != socket.
 
sbi
@Drise I think the built-ins are defined through inclusion of the C standard.
@CaptainGiraffe I thought that was 8bit.
 
9:37 PM
@sbi I think it says to store a character.
 
sbi
@DeadMG But you did get this wrong. In the Unix world, everything is indeed treated like a file, even sockets.
@CaptainGiraffe And I think it says something that amounts to at least 8bit.
I am not a language lawyer, though, and never looked it up myself, but if I remember something like this nevertheless, I can usually trust that memory.
 
@sbi A ref would make me happy. I'm not at all adamant about my statement.
 
sbi
17
A: Is char guaranteed to be exactly 8-bit long in C?

Paul DixonFrom a copy of the ANSI C specification, see Section 3.1.2.5 - Types: An object declared as type char is large enough to store any member of the basic execution character set. If a member of the required source character set enumerated in $2.2.1 is stored in a char object, its valu...

 
@sbi Supporting some common operations doesn't mean, is the same as.
 
sbi
@DeadMG You can weasel-word all you want, the Unix philosophy is to treat everything like a file. Of course, those abstractions work better with some things (files come to my mind), and worse with others. That does not change the underlying philosophy.
 
9:43 PM
@sbi He didn't advocate teaching a philosophy- he advocated teaching as fact.
 
sbi
@DeadMG What I wrote is a fact.
Heck, even the RNG is a file in Unix.
 
@DeadMG Dude, you are reaching far and with an intent. I was asking a question about this, what you are saying is rude and inane
 
sbi
@CaptainGiraffe Erm. Did you just accuse the puppy to behave like the puppy does?
 
I have a question about rep cap (I hear it's 200/day) is it across all answers given or per answer.
 
sbi
@Borgleader It's per user per day, and includes everything except when your answer is accepted or you get a bounty.
 
9:46 PM
@sbi Didn't realize RNGs supported random access
 
@sbi I used to be quite fond of the puppy.
 
@sbi: ah ok thank you.
 
sbi
@DeadMG I didn't realize random access is a requirement for file access.
 
@CaptainGiraffe No. What I'm saying is that you are advocating something which is one philosophy of one operating system. You might as well pick a religion and teach it as the One True Religion. There is a big difference between "In Unix, you can use many different things in place of files in many common functions" and "Everything is a file."
@sbi Pretty sure that Unix offers memory mapped files, which is random access.
 
@DeadMG I am trying to show a new way of thinking about computing. In particular the algorithms involved. As an example the merge procedure in merge sort is very easily illustrated with two sorted files merged into one.
 
sbi
9:49 PM
@CaptainGiraffe The puppy's just pissed on your carpet, huh? Puppies do this once in a while. If they do, you tell them they behaved bad, hope this will lead to them behaving better when they grow up — and keep liking them. That's what they are for.
 
@CaptainGiraffe There's nothing new about this. There's nothing more generic or special about this than any other abstraction- including inheritance or templates.
 
@DeadMG Well, bless me for not teaching templates and inheritance to 1:st year students.
 
@CaptainGiraffe Seems a bit strange to teach one random special case rather than the underlying point?
 
sbi
@DeadMG Yeah, so it does. And what does that prove? (Other than your rhetorics being pretty bad, that is.) Even if the airline you're gonna end up on the fly to Linz is going to serve you Mozartkugeln, this does not mean that serving those are a requirement for traveling per airplane. Of course, you know that, which just makes your way to "discuss" obnoxious and infuriating.
 
@DeadMG Everything is a file is considered a random special case? This is the underlying point
 
sbi
9:52 PM
@CaptainGiraffe Actually I'd do just that.
 
@sbi just string and vector =)
 
@sbi No, but it's difficult to argue that when X object offers Y function, that another object which does not offer Y function is of the same type as X.
 
sbi
@DeadMG Iterators.
Slap.
 
@sbi Nobody tried to claim that a BidirectionalIterator is the same as a RandomAccessIterator.
 
9:54 PM
@DeadMG the original unix unification was "every file is just a sequence of bytes". it started as a file system. nowadays unices support a phletora of file systems, and the original unification, not to mention the philosophy of synergy between small general pieces, was lost pretty fast, i think already at the end of 70's
 
@CaptainGiraffe Well, as I just said, it's nothing special- it's simply one use of inheritance. You could make an equal case for teaching ... a GUI hierarchy or an AST.
 
i think it was a big mistake to treat interactive i/o as file operations
that made it more into fail operations
 
sbi
@DeadMG You just knocked down a strawman, because nobody claimed that this was claimed. BTW, did I mention you suck at discussing?
 
it was one unification too much (imho)
 
@sbi Then I'm not sure what the connection is between what I'm saying and iterators.
the fact that std::deque<T>::iterator and std::vector<T>::iterator offer the same operations doesn't mean that std::deque == std::vector.
 
9:56 PM
gui, being Qt .NET or Java is a very good way to teach about OO inheritance.
 
sbi
@DeadMG That's because you're not trying to understand what the other side is arguing for, in order to gain insights. You are just trying to say more clever things than the other side in order to argue your POV.
(For the dumb-wits: Every iterator is an iterator. It's not difficult to argue that stream iterators are iterators, just because they do not support random access.)
 
@sbi As far as I can tell, the other side is arguing for: teaching one special case of abstraction as if it's special or different to any other use of abstraction, instead of actually teaching abstraction.
 
@sbi I learned a year ago I can do QuickSort with BiDirectionals =) This site.
@DeadMG You are thinking way too high up the food chain.
 
sbi
@DeadMG I don't care what your opinion of that is. I was stepping into the discussion when you claimed that, in Unix, everything is not a file. That's BS, and if you overshot there while trying to argue for/against something else, then that's just another sign that you're not arguing to learn, but to win.
BTW, I did that, too, when I was your age. Which is, of course, the reason I now despise it so badly.
And now please retreat into you punnet, puppy.
Anyway, I talked to my daughter now, via Skype. She is sad, but not devastated. I told her to try to enjoy her stay in France, and sort through her emotional mess when she's back with her friends in a week. She said she'd try.
I will now go to bed in order to catch at least a few hours of sleep. Good night!
 
I have to leave the house much earlier than usual, so I will also retire.
 
10:01 PM
-1 alleged output does not match code. i.e. it's made-up. even the manifest UB does not put spaces between the number presentations. — Cheers and hth. - Alf 16 secs ago
 
@sbi Later S.
 
I'm so effing tired of "Why does this (not) work" question: insert UB with bajillion ++ operators
 
sbi
@Borgleader Then look at this.
(And now I'm really off.)
 
@Borgleader As sick as I am of them as you are, I try my best to avoid taking it out on the OP. It is also one of the most difficult questions to search for because it involves only symbols.
90% of the mercy upvotes that I cast on SO is on those x++ + ++x questions.
 
10:05 PM
Oh sure, I won't go and comment "it's already been answered dumbass". I'm just tired of seeing them. It'd be nice if SO could detect the presence of a lot of ++ on the same line and suggest the FAQ as a source of answer for the question. Kinda like how gmail notices you haven't attached a file but wrote "here's the attached file" and asks you if you forgot to attach it.
 
@sbi how about we start a new tag called, say, "question you would have asked if you but knew that it was important and could really help you to know about this"?
or maybe "insight" or "technique" or "useful thing"?
 
@R.MartinhoFernandes You're supposed to be a robot, not a cowboy.
 
Questions like "What should be the result of i = ++i + i++?" should be shot down and their poster stoned, as it sounds like starting religion threads. lol
 
10:18 PM
@luk32 What if you're new to the language and you're wondering what i = ++i + i++ does? I'd first search on google. But it gives me a tons of BS because you can't search for symbols. So you ask on SO...
 
@Mysticial The question is what should. Darn how do you bold it. Not what is, or why is it undefined.
 
Hello
 
@luk32 Would it matter?
 
Why need a "google for programmers" where you can search operators
 
10:19 PM
You can bold like this: ** bold ** (without the spaces)
 
@Mysticial I used single asterkis, thank you. Umm ... it does matter when you ask about the opinion. Not the expected result.
 
wut
 
Shit, I missed @sbi :(
 
@luk32 If I was a newbie, I wouldn't even have a clue whether the output is expected of even if there is a "should" to it.
 
@CaptainGiraffe char is now 8 or larger, as it is required to hold a UTF-8 code unit.
 
10:24 PM
I remember even one of our own mods (Bill the Lizard) asking an i++ + ++i question. He mod-closed his own question after someone pointed it out.
I can't find it anymore though. He probably deleted it.
 
@Mysticial OK, I meant people that post such question knowing there is undefined behaviour behind them. It's K, maybe I am over reacting, and ignorant that there are users that are not experienced in programming here and there.
 
@luk32 When that happens, the OP usually doesn't know what undefined behavior even means.
 
I don't remember the last time someone that knew that posted one such question.
 
Theres a simpler solution. Get rid of C++ for having undefined behavior. /troll
 
10:29 PM
0
Q: Finding Reason For Memory Leaking With Char*

oscar.rprI been working in a project that handles some char* pointers, and it's a requisite of the class to use char* instead of std::string, so... I have this structure definition and this queue: typedef struct packetQueue { char* buf; int length; packetQueue() { buf = new cha...

First time I've seen a typedef struct with a constructor. :D
 
Ugh, that looks ugly.
 
It's one of the best (or worst depending on your point of view) example of C+ code
 
^ Found what I was looking for. Think: even in 2005 Bjarne was posting to comp.lang.c++, and now it's mostly 14-year old trolls. What a devolution.
 
I'm surprised 14-year olds know it exists.
 
As the link shows, at that time I still had the top-posting signature. It made its way into at least two FAQs. One of which was about some database, of all things.
And of course it wasn't mine originally. :-)
@R.MartinhoFernandes kids often surprise elders with what they know (and also their lack of reasoning ability)
 
10:57 PM
@Mysticial uproar over lgmtfy?
 
@SethCarnegie Yeah, I remember one of the super mods saying that intentionally using them to get around the ban is suspendable.
I forgot who said it though.
 
@Mysticial it's stupid, why is it banned
not getting around it, but just using lgmtfy at all
 
It's considered too snarky.
 

« first day (708 days earlier)      last day (4234 days later) »