« first day (1353 days earlier)      last day (3595 days later) » 

3:32 AM
The standard only says that std::sorts *first must be MoveAssignable and MoveConstructable. Does this mean that a standard-conforming implementation of std::sort is not allowed to ever copy an element?
 
I think Move* implies being able to fall back to copy if move operations do not exist.
 
Can anyone confirm I'm not crazy with something like this being okay in a newer standard? I can't find it anywhere, but I know there was some change.
char c1;
char c2 = c1;
 
define "OK"
 
you have two variables with the same unitialized value
 
3:37 AM
^
OK as in not UB
And it might only work with char or something
 
Why would it be?
 
the value of c1 and c2 is undefined
 
i dont think char is any different that other types
 
@Borgleader It is.
 
I swear there was some change in C++11 or C++14 making an exception.
 
3:39 AM
@JerryCoffin How so?
 
But there's no externally visible side-effect or whatever.
 
My Google and standard-searching prowess has all but disappeared completely.
 
char (and unsigned char) are guaranteed not to have any guard bits, so you can read an uninitialized char safely. You don't know what you'll get, but you will some value of char, not demons flying out of your nose.
 
@MarkGarcia Tried looking :/ I remember some actual code demonstrating it, but I'm unsure of whether that was in there or on SO.
 
3:40 AM
@JerryCoffin And you cant do that with ints?
 
@chris Oh, I thought you were looking for the standard.
 
@Borgleader Right--an int may have guard bits, so even reading an uninitialized int causes undefined behavior.
 
Huh... I'm gonna have to look that up. I didnt even know guard bits existed until 2 min ago =/
 
@JerryCoffin Well, that's a good step, thanks.
 
I like guard tits.
 
3:44 AM
@Borgleader The primary prohibition on reading an uninitialized value is at §4.1/1. Offhand I don't remember where the exception for [unsigned] char is at.
 
Ooh, §3.3.2 [basic.scope.pdecl]/1 has something
unsigned char x = 12;
{ unsigned char x = x; }
 
this guy...
 
"Here the second x is initialized with its own (indeterminate) value."
 
@chris Try n3936, § 8.5.12
 
Hooray, I found the question!
28
Q: Has C++ standard changed with respect to the use of indeterminate values and undefined behavior in C++1y?

Shafik YaghmourAs covered in Does initialization entail lvalue-to-rvalue conversion? Is int x = x; UB? the C++ standard has a surprising example in section 3.3.2 Point of declaration in which an int is initialized with it's own indeterminate value: int x = 12; { int x = x; } Here the second x is initial...

 
3:55 AM
[Example:
int f(bool b) { unsigned char c; unsigned char d = c; // OK, d has an indeterminate value int e = d; // undefined behavior return b ? d : 0; // undefined behavior if b is true }
—end example ]
 
Ah, sweet, thanks.
 
It's in the question's answer though, lol
 
Yeah I noticed after.
I just searched google for that section I put in quotation marks. Worked like a charm.
These mosquito bites picked the perfect time to start itching
Right before bed
 
 
@MarkGarcia Nope
 
4:14 AM
@Rapptz Well, I'm sure the standard has another way of saying it. cppreference has this note: "A class does not have to implement a move constructor to satisfy this type requirement: a copy constructor that takes a const T& argument can bind rvalue expressions. "
 
4:38 AM
lol
I asked my friend to run g++ --version and he got 2.91.57 :v
apparently it's from 1998
 
@Rapptz Worse, if my memory of release numbers from that era is correct, being an odd number indicates it was never even intended as an actual release, just a working version.
 
4:54 AM
@Rapptz lol, what?! What does he run?
 
He said he got it from school
 
5:05 AM
@Rapptz so thats the g++ equivalent of turbo C++?
 
I guess
 
user3010322
Pssst.
 
user3010322
Pssssssssssssssssssssst. @Rapptz. Pssssssssssssssssssssst.
 
user3010322
How,uh.
 
user3010322
How about that Pull Request...? <3
 
5:11 AM
later
 
user3010322
:cccccccccc
 
user3010322
But.... but but...
 
Hmm... Any thoughts what should an exception class for things like invalid character(s), empty string and the like be called? Was using std::invalid_argument though I've started to use it for functions that only check for values (and throw the exception).
 
not_good
 
@StackedCrooked lol. That seemed to have made me think.
bad_data or something.
 
invalid_argument is good
 
6:34 AM
Such a low effort question. — Rapptz 25 secs ago
 
I guess invalid_argument is good for now.
 
@MarkGarcia throw invalid_argument is a good way to end any argument :)
 
@TonyTheLion To throw out, that is. To throw in... not so good. ;)
 
Dad mode: ACTIVATE!
 
6:51 AM
o/
 
Sup guise?
Not sure if Monday or Mehday
 
hi
I vote for mehday
 
7:08 AM
 
@jalf :)
 
Xeo
@TonyTheLion I'll decide that after my salary talk x_x
 
Oooh mo money
Or less :-(
 
@Xeo oh good luck with that. You have more courage then me.
 
Xeo
@thecoshman definitly not that
I asked for a raise, today we'll talk about it :P
 
7:26 AM
so when is the talk?
 
@Xeo hey, you're in the top 0.02% bracket there! (life is not unlike SO)
1
Q: Character classification

IxanezisThe simple question again: having an std::string, determine which of its characters are digits, symbols, white spaces etc. with respect to the user's language and regional settings (locale). I managed to split the string into a set of characters using the boost locale boundary analysis tool: st...

@R.MartinhoFernandes ^ that could be something for you
 
Ergh, outlook is annoying me. I have a email filter rule thingy, that when I manually run it, works exactly as I expect it to, but seems to refuse to run automatically on emails as they arrive.
 
Xeo
7:43 AM
@jalf Sometime today
Scratch that, sometime in the afternoon :P
 
inb4 Outlook is a piece of shit
 
@thecoshman "The monies keep piling up and it's getting out of control so I'd like a reduction in salary."
 
twentyfuckingfour chat flags? Wtf are those retards doing
 
@TonyTheLion it is yeah
@jalf god I want to flag that so badly
 
@jalf invalidating them
at least that's what I'm doing :P
they aren't even offensive
 
Xeo
7:48 AM
Maybe they're trying to kick the guy out of there
 
So, the bad news is that I borked our ios build server before the weekend.
 
The good news is no failed builds this weekend?
 
The good news is we don't care for now, because our iOS build is at the prototype stage and there are no immediate plans to do anything with it
 
I don't get those flags...
 
@Xeo wild guess, js room?
 
7:58 AM
@jalf I validated all of them, cause I felt vengeful.
 
moanday ... the day on which you moaning all day long
 
what kind of moaning are we talking here? Like you're having sex, or like you're a zombie?
I feel pretty zombified today, I'll admit
 
@jalf the mentally handicapped one
since it's monday
 
@TonyTheLion i validated some because they appears quite disruptive/belligerent indeed
 
I invalidated some because encouraging people just leads to more flags to deal with. :p
 
8:10 AM
damn flaggers
 
@sehe seemed to be something going on
 
HipChat seems to be a quality software, yup
 
@TonyTheLion There's absolutely nothing going on! What makes you think there's something going on? EVERYTHING IS FINE!!!
 
@jalf I invalidated some too. If people take the trouble to flag, the least I can do is to look at the message to see whether the flag was somehow appropriate. I don't need to like them, but I could ignore them if I really don't want to look at them
 
8:19 AM
whts c++1y
 
I'm happy to nuke obvious spam or really outrageous posts
@mSatyam see, that's what we could flag :). Have you seen the newbie hints? Also, you can edit your messages
 
@mSatyam are you a member variable? :P
 
first time on chat..u guys r so strict
 
ugh
who wants to bet that this is Cicada making the same jokes she, he, whatever, made like three years ago and weren't even funny then?
 
Xeo
not Cicada's account at least
 
8:21 AM
@mSatyam no, we just respect each other enough to type.
 
@mSatyam You can't type. If you are too lazy too type, you're certainly to lazy to fit here
 
Xeo
@thecoshman So when you have a typo, is that an insult directed at us?
 
@Puppy I want to bet, but this is not her/him
 
@Xeo mo
 
@mSatyam Now tell me something, why is it that on your website you can write what looks like fairly decent English, but when you come in here you write this horribly abbreviated crap?
 
8:31 AM
Why are you provoking him? Let him read the newbie hints in peace :)
 
Its a serious question.
oh the link to the newbie hints is back on the starboard
hi
 
@TonyTheLion (I have been looking for this "fairly decent English" but I have been unable to locate it, btw)
@ScottW wow. not dead
Hi
 
@sehe his profile has a sentence on it, that is fairly decent. Also here is some Englsh: satyam.info/#
lol
 
user1804599
@ScottW ?
 
@TonyTheLion "Belives"? If that's a first name, wokay. Also, the rest is random quotes.
 
8:37 AM
I'm not judging first names here
 
@ScottW I stand corrected
@TonyTheLion hint: it isn't
 
user1804599
@TonyTheLion the orange things are broken after scrolling
 
I was trying to give OP the benefit of the the doubt, you guys destroyed it.
 
user1804599
I always give OP the doubt of the benefit instead.
 
Xeo
wtf are honor codes
 
8:39 AM
Last time I gave some other guy a hard time, and @sehe gave me a hard time about being an asshole, now I'm trying to be nice and I'm wrong again. Make up your mind please.
 
You were not being nice.
 
@Xeo some online course thing, from what I could figure out
 
user1804599
Horror codes.
 
@sehe My question was in the nicest possible way. Perhaps I should have phrased it differently, nevertheless, I was honestly trying to give OP a chance...
 
user1804599
OP always presents teh horror codez.
 
8:40 AM
oh gawd :|
 
user1804599
@tim_cook please open store in Moscow.
 
user1804599
Apple-themed gay pride in Moscow.
 
You just have to be you, then back it up with good reasons
 
user1804599
Dictator’s invited.
 
I saw that discussion
 
8:43 AM
why shouldn't I be? :p
 
user1804599
@chmod711telkitty Ugh no, please don’t be yourself. You suck tremendously.
 
Xeo
27
Q: How can I watch porn, safely, and not get a virus? (and not infect corporate data also)

TLDRI'm part of a small office in the middle of nowhere, and we just got absorbed into a large mega corporation. Sometimes we watch porn, at the office, on company computers, using the company Internet. It makes good for a good background distraction (I know I'm not the only one who does this so ...

7
lol wut
 
@rightfold like I would listen to you, I am smarter, stronger (both physically and mentally) and more knowledgeable </shameless self promotion>
 
user1804599
@AlexM. The worst are those where they wear horrible clothes (or the lack thereof) and weird haircuts and dance like idiots. Also Conchita Wurst.
 
user1804599
@Xeo Facebook. :)
 
8:46 AM
I think think Telkitty just likes the little bit of attention she still gets
 
@ScottW lol I am sure there are people here who would want to chat with me, I come here for my online friends. If my cyber enemies have a problem, it is none of my concern
 
Is this a kind of regular team building excersise? — Lucas Kauffman 2 days ago
 
@ScottW martin & borgleader for example
 
@ScottW how many friends do you think robot and cat++ have here?
 
8:49 AM
Can I be your friend too? :D
 
who? me? :p ... sure!
 
user1804599
@chmod711telkitty no, you suck.
 
\o/
 
@TonyTheLion Will not happen next time, pardon.
 
user1804599
@Xeo I sometimes browse /b/ at work. That’s the only porn I get.
 
8:49 AM
@mSatyam :)
 
user1804599
Watching porn without audio is boring, and I have no audio on my work computer.
 
don't bring your lack of confidence on to me, I listened to others who lacked confidence in me, they were wrong every single time. I have since learned better
 
@ScottW lol
 
@TonyTheLion I thought the question wasn't constructive (how could it be?) and you can give the guy a chance by awaiting his move, rather than to cross examine him about his spelling misdemeanor :)
 
user1804599
And I minimise the chance of getting viruses by using Gentoo.
 
user1804599
8:52 AM
I wonder what happens X-wise when I run Chromium as a different user.
 
3 mins ago, by mSatyam
@TonyTheLion Will not happen next time, pardon.
I present to you an English sentence
 
@rightfold buy speakers, done
@TonyTheLion seen it
@TonyTheLion irrelevant
 
user1804599
@TonyTheLion That is not an English sentence.
 
user1804599
@sehe and audio drivers.
 
@rightfold its much much better than what went before
 
user1804599
8:53 AM
Requires a kernel recompilation. Which requires effort.
 
effort requires effort too
Headphones at work work much better than speakers
inb4 coworkers don't want to join in your porn videos
 
@rightfold wait, are you working on a server rack?
 
user1804599
No, on a workstation.
 
user1804599
I didn’t bother with looking up the audio card model.
 
Unless you don't have an audio card, you should have audio drivers.
 
user1804599
8:56 AM
Since I don’t use audio on that thing anyway.
 
user1804599
I use my iPod for music.
 
user1804599
PlayStation > workstation.
 
@ScottW how would you f a robot?
 
> <img src='http://ox-d.adobe.com/w/1.0/ai?auid=550078&cs=530bce971d98d&cb=INSERT_RANDO‌​M_NUMBER_HERE' border='0' alt=''></a>
 
user1804599
@ScottW Bender.
 
9:01 AM
I remember that gif
I had some weird dream last night
can't remember really, but I know it woke me up at 6:30 am
and I've been up since
 
user1804599
Was it a nightmare about Java?
 
Thank god no
 
user1804599
Then it was probably OK.
 
talking about Java, I've been using Eclipse lately
 
user1804599
Eclipse is terrible.
 
user1804599
9:03 AM
Use IntelliJ.
 
It was a nightmare about SQL.
 
user1804599
SQL > Java
 
I remember my bitchings about SQL
 
user1804599
LINQ > SQL
 
I dreamed about optimizing code (possibly java) 2 nights ago ...
 
user1804599
9:04 AM
In LINQ the from goes before the select, which is so fucking better.
 
user1804599
Autocomplete can actually work that way.
 
Psych evaluations all round..
 
~_~
online mental ward?
 
@chmod711telkitty See JS room.
 
don't they have a hot online female robot running around there?
 
user1804599
9:07 AM
TIL this really exists:
 
user1804599
 
user1804599
So xkcd wasn’t lying.
 
man, a good sneeze can feel amazing
 
@rightfold fruit punch
 
user1804599
in your face punch
 
user1804599
9:10 AM
Five Flavour Fruit Punch
 
Xeo
lol
 
user1804599
So…
 
user1804599
I have a week off. Wat do.
 
go outside
enjoy yourself
 
user1804599
I’m going to write a program I think.
 
9:19 AM
@rightfold Play Monkey Island 2, and then follow the suggestions at the end about what to do with your spare time.
 
Ell
@rightfold go for a bike ride
 
@TonyTheLion I like Eclipse, but I haven't tried any of the competitors (IntelliJ IDEA, NetBeans) in years. What exactly are you using it for?
 
user1804599
Emacs!
 
user1804599
CIDER is the best IDE.
 
@rightfold taking vacation without a plan sounds retarded
 
Ell
9:26 AM
Hmm
can I leave a laptop unattended in a hotel room?
 
user1804599
Yes.
 
user1804599
That’s physically possible.
 
user1804599
@BartekBanachewicz why?
 
user1804599
I never plan anything.
 
What if it explodes while he's gone?
 
user1804599
9:27 AM
@FredOverflow better than while he’s using it.
 
user1804599
I think I will just become a better Clojure programmer and a better Scala programmer this week.
 
fair enough :D
 
Ell
hmm
I guess I'll just hide it
bye guise
 
Put a sticker on it that says "broken".
 
user1804599
“stolen”
 
user1804599
9:30 AM
Better prepare for the worst.
 
"Have you seen this laptop? Call me!"
^ That's what the sticker on the laptop should say.
 
@FredOverflow I have to do some stuff for salesforce
which uses a java like language
and has some eclipse plugin for it
 
Why would you want to use a Java-like language when you could just use Java?
 
user1804599
Because Java sucks.
 
At least you know your enemy with Java.
Who knows what could be wrong with some Java-like language.
 
9:34 AM
@FredOverflow Youre that kid from the movie!
 
@FredOverflow because that is what it uses. Also I don't want to use Java
I value my sanity
 
Woohoo, something I wrote actually works!
 
@FredOverflow Everything that's wrong with Java and then some?
 
@rightfold your source code reflects that
 
user1804599
Elaborate please.
 
9:40 AM
@rightfold Because then you'll have none left when you need it.
 
FUCKING LINKEDIN
I clicked Unsubscribe last time they sent me this invitation shit
 
lol
inb4 spam
 
user1804599
Create a rule that automatically deletes all mails from LinkedIn.
 
Now I got another, but I can't unsubscribe because I'm already unsubscribed apparently!
 
user1804599
Problem solved.
 
9:41 AM
I'm marking it as spam
I so hope these fuckers get blacklisted some day
 
hmph
seriously those code mentoring websites are popping up everywhere
@rightfold why have linkedin in the first place then?
 
That's the thing
I don't have account there
 
hehe. sound policy for disk space reclamation on ubuntu; It promises to free ~2GiB
sudo apt-get remove linux-{headers,image}-3.11.0-{12..21}{,-generic}
 
@CatPlusPlus wut
 
Don't old kernels get purged by autoremove?
 
9:44 AM
Oh. Lemme try that first. Nope.
Could be because I might have tools (like kernel-tools, oprofile etc.) that reference it as a "weak dependency" (?)
 
:dpkg:
 
iYawn
 
ah sexinness
 
right
I sent out some applications on Friday and I got some responses and it's time to read them.
 
user1804599
@ScottW your dog’s corpse.
 
9:54 AM
@ScottW technically some peaches and a cup of coffee
 
@rightfold Cycle to Denmark.
 
Technically?
So they weren't actual peaches
 
I dunno if that lives up to be called a "meal"
 
I ate pasta with ketchup once
 
that's some food I was able to gather at work to live until the launch time
but I've made wafers yesterday with whipped cream
 
9:55 AM
@BartekBanachewicz They're some of the worst spammers.
 
for our Guns of Icarus party
 
@ScottW My experience is that not enough people want to fuck me.
 
@R.MartinhoFernandes Well I do have an account there so I don't really mind that much.
 
user1804599
Kid Icarus
 
@R.MartinhoFernandes Have you tried using matching socks?
hmm it sounded a bit better in my head.
anyway
 
9:57 AM
Today I'm not wearing matching socks.
 
I have an EMERGENCY because apparently we should move today :|
@R.MartinhoFernandes neither am I vOv
 
@R.MartinhoFernandes Where's your German efficiency, man?
 
cont. So I've negotiated that we move on the morrow
but fuck I have to clean the whole kitchen :/
that's a lot of effort
 
@Puppy It's more efficient to just wear the first two socks I grab.
 
@BartekBanachewicz well, packing is a better option than screaming 'EMERGENCY' at us ...
 
9:58 AM
No time spent arranging them in pairs.
 
I agree
 
@chmod711telkitty I'm at work, silly
I'll be able to get (back) to packing on the evening
I think I'll drop by Ikea on the way back and buy a few more cardboard boxes
 

« first day (1353 days earlier)      last day (3595 days later) »