« first day (1434 days earlier)      last day (3740 days later) » 

05:00
yeah moot sold out
They got too far. Well they always go too far, but they haven't escaped this time.
user1646075
shit eh
user1646075
the wild west is over. Being replaced by 'shopping malls.
std::istrstream fits my needs perfectly
but that shit is deprecated
;-;
user1646075
@Rapptz probably too much pain in his life recently
05:15
What do you think. Was I subtle enough that he's going to get in trouble if he turns this in as homework?
0
A: How to make tri angle with blank inside using c++?

Jerry CoffinWhile you've gotten a couple of answers that work, the logic can be quite a bit simpler if you eliminate the confusing if/then/else statements: #include <iostream> int main() { static const char chars[] = "* "; static const int size = 7; for (int i=0; i<size; i++) { for (in...

GCC is so mean
/usr/include/c++/4.8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
thanks :(
@Rapptz gcc is mean. VC++ is mode. Clang is median.
@JerryCoffin That missing brace for the inner for.
Let's be fair though: after that post, I'm the one who's mean. :-)
@MarkGarcia What missing brace? I don't see any brace missing.
user1646075
@JerryCoffin thanks, thought it was time to change my perscription
05:22
@JerryCoffin Technically no. Don't know if that's really your coding style or just to subtly confuse the OP.
I usually put braces when I indent stuff below control structures.
So it feels weird especially with the std::cout << "\n"; looking like its "closing" a block.
@MarkGarcia If you mean: do I usually confuse "statement" with "block" and use the latter in place of the former for no particularly good reason? Then the answer is no, I don't.
@JerryCoffin My life on the Lounge would be a lie if you do. :)
user1646075
even if the kid works out how to explain it, and understands it, can't see him getting any praise
@aclarke He'd certainly have to give a damned good explanation before I'd even give him a passing grade on such a monstrosity, not to mention any praise or high marks.
05:30
I did debate on posting something with TMP instead, but decided even a complete cheater would probably notice a problem with that.
user1646075
@JerryCoffin so in summary, goal achieved. Maybe I should throw in a comment encouraging it as good optimisation and sussinct use of logic? might help snag him
@Rapptz It's an omen.
@aclarke No--we have to be fair. No entrapment.
user1646075
@JerryCoffin fair?
user1646075
anyway, too late (almost)
05:33
@Rapptz I did wonder through the mall tonight after work. 5 hours before they go on sale, there were already ~20 morons ... fanbois shoppers camped out waiting...
user1646075
@Rapptz Perth? allegedly a city that is further away from any other city in the world than any other city. If you get my drift. Is that so the screams of dismay can't be heard/
@aclarke Yes, fair. Oh, speaking of fair, the trip to the mall was definitely worth it--there was this insanely hot blonde...
user1646075
i upvoted. Will hold off a comment so far. Also, a 'patato' has made a blatant error in another answer
And yes, fair enough skinned that I'd guess a natural blonde.
user1646075
and his else's look ready for take-off
05:36
@aclarke lol
> Steve Adamczyk: “For the first time in our history, EDG started slipping promised dates, both on export and on other features because of export.”
Man. I love this paper.
Such a huge fuck up. It still gives me chuckles.
@aclarke Oh my--and now remyabel has picked up on the "confusing if statement" thing and added a bit using a ternary statement instead. Now I feel a little ashamed... :-)
user1646075
@JerryCoffin be not ashamed to lead an army
05:50
@Rapptz I only heard about this feature in videos where Sutter mentions it has been removed from the standard.
@aclarke Actually, I'm having second thoughts. Maybe I should have posted a TMP version. It really does keep the logic trivial. coliru.stacked-crooked.com/a/1c12d960b2f3cedc
user1646075
I lolled. might be pushing the gullibility to breaking point though?
Oops. Corrected (well, improved, anyway): coliru.stacked-crooked.com/a/107cf24401881e7e
@aclarke Probably--just as well not to post it (too) publicly, I guess.
This reminds me of my pascal programming exercises from 1998.
Print a christmas tree. Triangle of pascal. Etc..
user1646075
06:06
@StackedCrooked i remember one guy trying to ask the ancient programming lecturer if he could use Pascal's end keyword in an if statement to break out of a loop, then suddenly realising what a twat he was, and then desperately trying to get out of it
@StackedCrooked You were still using Pascal in 1998? Really?
It was a optional programming course that would could take during lunch time at school.
I didn't have a computer at home so I was happy just to do any kind of programming.
Wow--I used Pascal around '82 or '83 until around '85 or '86, but then I got a C compiler and there was no going back. By '89 or so Turbo C++ 1.0 was out, though I continued to use C for a while after that--wasn't all that enamored of OOP, so I wasn't entirely convinced by C++ until templates entered the picture.
By 1998 though, I'd been writing C++ almost exclusively for quite a while.
user1646075
turbo and delphi had a huuuuuge run...
06:24
@aclarke Yeah, I guess I was at least vaguely aware that people were still using it for quite a while after I'd moved on. Maybe my sense of time is a little warped (like the rest of me) but I kind of though by '98 is was pretty much dead.
Anyway, I guess it's time for me to go sleep. TTYAL.
user1646075
ciao.
06:44
The Knick TV series with Clive Owen is interesting!
07:09
err ... async callback - took me a while to figure out that this function was called, but before it was supposed to (data change after it was called instead of before it's called)
user1646075
@chmod711telkitty hello - is this one of those really spread-out conversations, or is it the voices in your head again?
Does anyone know why C++ does not allow typedefs to be forward declared?
how does that work?
user1646075
@aakashbhowmick type of what - it does, kinda....
@aclarke I loved the Borland IDEs. It's just in the windows era that they got behind. Turbo Pascal, Turbo C++, Turbo Prolog. Just not Turbo Basic (PowerBasic, QuickBasic were better even in the time of ugly "edit.exe" style IDEs)
user1646075
07:21
@sehe oh you played with Turbo prolog? I could never get my hands on it. I was curious about what appeared to be a sort of type definition capability - what was that all about?
@aclarke Prolog :)
user1646075
@sehe hah. I mean, the typing. How did that go?
user1804599
@Rapptz I'm gonna fork Sol and fix that userdata stuff.
user1646075
googles is already pointing me at an answer - I love the internet age!
okay
user1646075
07:23
annnnd - broken trail ;-(
user1804599
Backwards-compatibly.
user1646075
wow - still exists as visual prolog and latest stable build is this year.
@aclarke I honestly don't remember much about prolog now. Note this was when I was ~16 and I just happened on a book from a second-hand book-store and a friend with copies of student licenses. (I think it came on 2 floppies. 5.25" !!)
user1646075
oooo - a personal edition! tempted
if you want lazyness, you can always learn Haskell... — Bakuriu 13 hours ago
user1646075
user1804599
Lol, ninja tests fails.
user1804599
control reaches end of non-void function [-Werror=return-type] everywhere
@R.MartinhoFernandes fairly sure I opened with an explanation... wasn't exactly sober
@rightfold that was it, I thought... you 'have' to use BIFs to do it
my lord o_0 that was the most insane drunk rambling ever.
@aclarke HAH. You can buy it off me. $250 starting bid. External condition: pristine
user image
4
user1804599
Oh I have Lua 5.1.
07:38
morning
@sehe are those 5" floppy disks?
@thecoshman Give or take some rounding errors, yes
@sehe well close enough :P
o.O
I'm sure 5" wouldn't work well
@sehe Do I see Jon Skeet on your desk?
07:40
also, just to wind up @BartekBanachewicz you should use fractions when talk in imperial units, apparently :S
do you still have a drive for those?
Winding up Bartek isn't that hard
@TonyTheLion That too. I deilberately put the floppies on my Das Keyboard, of course - thanks for noticing
@TonyTheLion I always wind up Bartek when I try to do Haskell
I tried to learn Haskell once. Once.
@sehe "why doesn't i++ work? stupid language!"
@TonyTheLion Learn Erlang. It's actually usable :P
3 mins ago, by thecoshman
@sehe well close enough :P
07:42
(he he he)
I started reading this lighterra.com/papers/modernmicroprocessors last night
quite interesting
tl;dr 'they small!'
They're small when they're floppy.
Everybody knows that
@TonyTheLion looks good, but not today
oh god! there's a scissor lift or someting work it's way around the office. SOO high pitched,
I googled it
07:51
It's a sad world.
One can post a picture of the only two live 5.25" floppies in the wider Rotterdam area, and not get a star? Come on
yes, you will get a pity star from me
You know that will be the end of me sharing intimate pictures.
thanks for being so considerate ...
@sehe citation needed
@sehe indeed, a picture of your intimate floppies will get star, no doubt.
:18977164 oh you :P
huh... that used to work
I used to work. Which reminds me, I should be going
07:55
no you boob. You used to be able to manually type in the id for a message to direct a reply to it, and it would link up, even if the message had been deleted.
speaking of boobs, I think it's rather selfish of me for hogging two large ones and not letting anyone else enjoy them </troll troll troll>
@thecoshman Nope. It might be ok if you posted before the deletion happened.
:18977164 test
workses. Now, redeleting
@R.MartinhoFernandes so I got reading through some of the bookmarks here. Advantage of plain text machine communication, it's easier to manually verify that your writer is writing correctly when you can read it yourself. Sure you could do that with binary data, but not as easy as plain text. Likewise, you can manually write correct data to test your reader.
@sehe See, now it's back to :18977164
@sehe you used to be able to make a reply to message after it was deleted.
08:00
@thecoshman I wouldn't be surprised if it broke
Although it'd break click-replies too
I would be surprised if I were wrong about this
Note that the redeleted was deleted before that time.
It doesn't work after 2 levels deletion/citation
user1804599
<<<<<<< HEAD
"POT-Creation-Date: 2014-09-19 10:00+0200\n"
=======
"POT-Creation-Date: 2014-09-19 07:10+0000\n"
>>>>>>> 90f0c5e654de1c6fbb4dbed29a3bc74692dd9c93
user1804599
dat merge conflict
It's better to use merge tools that understand POs to merge them
@CatPlusPlus well, it was a bit of a 'hack' really
08:06
"wind-up bartek" sounds funny
Also hi
@BartekBanachewicz I just hope they don't start mass producing them :\
Also I've ripped my toenail off
pics or it didn't happen!
@thecoshman nah one is enough
@thecoshman dude, this isn't r/WTF
08:08
lol I thought about it
I don't want to see ripped toenails in the Lounge
Bur then figured how fucked up I'd need to be to post pics
PICS OR GTFO!!!
@TonyTheLion well, he doesn't have to onebox it
@BartekBanachewicz answer, not that
I think I remember the shot from District 9 when Wirkus rips his finger off
I must'be had similar face
that? :D
08:11
oh please
ugh bin that shit
some people are at work
1 message moved to bin
for fuck sake dude
you could at least not onebox it
you don't just onebox shit like that
08:13
well the oneboxing wasnt on purpose.. sry
then why did you let it sit so long rather than just editing it away?
mine didn't bleed at least
I did edit it the second you binned it. you just were faster
If I understand your quote correctly, the function selfAssign then invokes undefined behavior because the preconditions of the move assignment operator are not met. My understanding is that std::swap will do self move assignment on the call std::swap(v, v). Does that make it undefined behavior to call std::swap(v, v)? — Bjarke H. Roune Oct 29 '12 at 19:11
mind blown
11
Q: Is std::swap(x, x) guaranteed to leave x unchanged?

KnowItAllWannabeThis question is based on discussion below a recent blog post by Scott Meyers. It seems "obvious" that std::swap(x, x) should leave x unchanged in both C++98 and C++11, but I can't find any guarantee to that effect in either standard. C++98 defines std::swap in terms of copy construction and cop...

oh, turns out my net pay is a bit better than I had been thinking
08:20
Sep 14 at 10:18, by thecoshman
AFAIK the secret to happiness is not to look for a better situation, but to lower your expectations.
oh, I earn more than I thought :D
You don't earn it. You just get it.
@Mysticial Was it really necessary to send 5 separate packages?
@FredOverflow They came together in a bigger box.
Boxception.
08:22
ooooh, turns out I could get like 20grand more mortgage then I had been thinking :D
@thecoshman wait, you never look at your payslip or bank account at the end of the month?
@PolymorphicPotato Can one nest VirtualBoxes?
@PolymorphicPotato that was getting red lines :S
@TonyTheLion not really...
@thecoshman woah.
@thecoshman because its wrong
08:26
plus it seems I've only got one month so far that is just my normal pay. everything else is either previous pay rate, or has some sort of overtime/on call additional pay
@TonyTheLion money comes in vOv
I feel we should call mortgages by their proper name: death (dead?) pledges
It expresses what you actually do when you sign them so much more.
meh
they're not that bad really
sure it's a huge amount of money, but what you payback each month is more or less on par with rent.
ooh, netflix coming to ubuntu... that'll please the misses I am sure.
Automating testing is fun.
user image
5
@PolymorphicPotato not sure if sarcasm...
Of course not.
08:38
I so want to pin that...
Much more fun than manual testing.
it's really hard to get managers to explain why we want to spend twice (or maybe more) writing an automated test then just doing it manually EVERY DAMN TIME
@thecoshman lol
I like that I can now self-star messages :D
Good thing I have no managers.
08:39
@thecoshman because over time you save money by not having to spend your time doing it
so that extra time setting up and automating is well spent, I would say
but this has to be done NOWWWW!!!!
oh who gives a shit
@TonyTheLion any logical person would see that
why does he want to return the book?
@thecoshman managers aren't logical
08:41
@thecoshman and you aren't able to accomplish that, so say "no"
@Jefffrey o_0
yes yes we do
I just woke up and i don't get it
Because the jokes are terrible.
that's it?
08:43
@Jefffrey who's returning what book?
The chicken, fool.
oh, didn't see that bit :P
8 hours ago, by R. Martinho Fernandes
You all have goldfish memories.
@JerryCoffin are you also in telecoms? or just well read?
08:45
@FredOverflow lol
I have a telecommunications engineering degree ... but still I know little of this field ~_~
I sure have posted many times of this dreadful book, but I can not but wanting to express my strong aversion for it again:
That's the general idea of any scientific (or other?) degree.
You study hard, obtain knowledge, get a degree, but above all: learn you really don't know shit.
not really
And then forget all of what you have learned.
it's just showing that you can present the knowledge that is asked for.
08:51
I knew I didn't know shit & it's okay. But if after doing the whole course I still didn't know shit, then it's a bit sad ...
it doesn't matter if you actually know it or not, or if you lack the slightest bit of common sense.
As long as you can write reports and answer questions on exams, you'll get a shiney degree.
which is a bit sad
@rubenvb I know shit. I see it every day in the toilet.
I even obtained myself an honours degree in engineering!
ever sadder ...
see it every day doesn't mean you know it
@FredOverflow I reckon there must be at least a few people out there who never see their own shit... and I find that an odd thought.
08:54
Well, I wasn't saying a degree implied you actually deserve it.
not really
it just implies you know how to get a degree
I should have qualified my statement with: "if you actually put effort into the degree, and deserved it regardless of how lame your degree-giving institution was in giving it to you..."

« first day (1434 days earlier)      last day (3740 days later) »