« first day (974 days earlier)      last day (3989 days later) » 

12:00 PM
exceptions are for exceptions
 
i don't feel like arguing too much :)
 
@thecoshman How's that related.
 
but to me, how exceptions are used in apis, most of the time
it's just another error to check
 
@starmole what do you mean?
 
user868935
@R.MartinhoFernandes That rock is a government lie to shift the market. If a real rock was about to hit, they wouldn't tell anyone.
 
12:02 PM
It's not about exceptions goddammit. It's about forbidding empty sequences everywhere.
 
@R.MartinhoFernandes well, I was trying to get at the point that there are plenty of alternatives to exceptions, which seems to be an epic failing in starmole's understanding
 
well... if i use a library. and sometimes it throws, sometimes it returns an error, sometimes an empty object
 
@R.MartinhoFernandes oh sure, that is utter stupidity, but I was helping star get out of this 'exceptions for flow control' mentality
 
user868935
@Raindrop where you from?
 
@starmole sure, if you use third party code you are stuck with how they did things. Does not change the fact that exceptions should not be used to report 'there is no data to actually return'
 
12:04 PM
but unless you handle them... what are they good for?
 
Empty objects are things. If there are errors there are no things.
 
Exceptions are awesome. 'nuff said. !next
 
If you cannot get the difference between an empty object and an error condition, you don't have enough programming experience.
 
oh, exceptions are good, but they have their place
 
OK guys so thanks to using boost, I start off with having a pointer, pstring1.
cout << *pstring1; //tells me the string
but then, I want to make a string, string string1 = *pstring1, so that I can play around with it.
But I have no idea how to do this
@SpicyWeenie I'm at UCLA
 
12:06 PM
"I at UCLA".
 
Why is it a pointer?
 
user868935
cool
 
UCLA just dropped in my personal appreciation level.
 
i think i have plenty of experience, i just never found exceptions very useful
 
@starmole You know all about RAII, right?
 
12:06 PM
I am addicted to 'risky' sports/exercises
 
I stand by what I said.
 
yes
 
And that the standard library throws exceptions?
And that these two combined are a good thing?
 
@Raindrop Uh, did you try compiling string string1 = *pstring1;?
 
user868935
@Raindrop can you explain better what you are doing?
 
12:08 PM
can you use Stack Overflow please
 
can anyone explain this output please #include<stdio.h>
static struct s
{

unsigned a:5;
unsigned b:5;

}v={1,2};

int main()
{
printf("size of v = %d\n",sizeof(v));
}
 
Oh my too many identicons around.
 
That's where you belong
oh god what is happening?
 
12:08 PM
@Potatoswatter lol it actually worked, it actually compiled
 
sorry for the delay, just spilled my wine
 
my problem is solved. thanks
 
2 days ago, by thecoshman
New here? Why not spare some heartache and read the newbie hints.
 
@thecoshman know about the drop of water on a hot plate? That was it.
 
12:09 PM
@SpicyWeenie this is not a place to come ask random questions
 
Enough with the C++.
 
user868935
@thecoshman seriously, who are you?
 
Thanks @thecoshman I appreciate the directness . I'm not being sarcastic
 
you guys are seriously rude !
17
 
All sarcasm is blocked by the room's firewall, don't worry.
 
12:11 PM
That's our policy.
 
user868935
@thecoshman are you the Internet Police?
 
That took long enough.
 
it happens
 
AT least Raindrop is being smooth, lolz
 
I love criticism because it's fast and effective
 
12:11 PM
Nobody is forcing anyone to be here.
 
@NatashaAlyshayaRubenko Did you look at the messages flying around right before you posted?
 
user868935
@NatashaAlyshayaRubenko no humility here. Just a bunch of egos in a China shop
 
rubenvb: no, i don't see how them together are actually helpful
 
yes we are tough, if you are not, please leave
 
i don't like chinese either..
 
12:12 PM
What.
 
Ukrainian are best
 
user868935
@Raindrop Some talented programmers there
 
user142019
Who flagged that.
 
@NatashaAlyshayaRubenko The size of a struct is affected by the alignment of its members, and the alignment of the field bitfields are packed into is affected by their type.
 
@SpicyWeenie I didn't know
 
12:13 PM
@starmole It's all about constructors.
 
user868935
@rightfold try DeadMG
 
@starmole use the little arrow to the left of the message you want to reply to to reply to that message. And what the Robot said.
 
@SpicyWeenie what are you talking about
Why in the world would you say that Malaysia has talented programmers
 
Wants to bed you, obviously.
 
yeah next time I'll use SO for asking questions sorry for disrupting the chat
 
user868935
12:14 PM
@Raindrop Because I've worked with a lot of them
 
@rubenvb thanks for the time. constructors how?
 
user868935
@Raindrop and the ones I've worked with don't beat their chest thinking they are better than someone else
 
@starmole How do you handle failure in them?
 
@starmole If a constructor initializes more than one object, and one of those fails by throwing an exception, the half-constructed object is cleaned up automatically without memory leaks.
If you would want to do that without exceptions, well that's either extremely verbose and non-C++-idiomatic, or impossible.
 
@Potatoswatter have you considered invite the newb to a private room, it could be 'fun' ;)
 
12:16 PM
@R.MartinhoFernandes There is usually two ways of handling failure: giving up (aka exception) or dealing with it, by return value
 
@starmole Sorry, I don't want to teach you C++ from the ground up.
 
@Telkitty猫咪咪 She's probably a dude, dude.
 
I like Programming : principles and practice using c++
 
Ctrl + k?
 
user868935
A lot of virgins in here...
 
12:17 PM
The idea of doing something useful in the "giving up" case seems weird
 
user142019
@starmole You cannot return a value from a constructor you fool.
 
Is SpicyWeenie a known plonk target?
 
user142019
@R.MartinhoFernandes It's on my plonklist.
 
@R.MartinhoFernandes I think he's going to be my third.
 
user142019
Already before he joined the room.
 
user142019
12:18 PM
Raindrop and Telkitty too.
 
user868935
OMG!!! I'm going to lose points!!!! HEEEEEELP!!!!
 
@starmole what do you mean?
 
@rightfold yes, of course. that's why you either only do harmless stuff, or give up
 
@starmole some things allocate on the heap.
 
user142019
If something goes wrong in your constructor and you can't continue, throw an exception.
 
user868935
12:19 PM
(-_-) whatever... Thats why all the good programmers left
 
user142019
If something goes wrong in your function and you can't continue, throw an exception.
 
and then what?
 
user868935
Too much ego
 
user142019
Well let somebody handle it if they feel like it.
 
user142019
12:20 PM
And otherwise the program terminates.
 
exactly.
 
     _________
     \        \
      \        \               ___    __
       \        \              \  \  / |
       /\        \              \  \/  |
     O/  \ *****  \____________  \ /   |
 \ /   ############## ***+++^^^^^^^\   \
  X **################***+++^^^^^^^ \   \
 / \   ############## ***+++^^^^^    \___\
           / \       \          \o
         O/   \       \
               \       \
                \       \
                 \       \
                  \_______\
 
@SpicyWeenie why did you die fighting for allah?
 
@Raindrop please stop. This is the last time I'm asking nicely.
 
12:21 PM
sorry i didn't know you guys didn't like airplanes
 
user142019
Haha.
 
user142019
I think there's a good reason he was on my plonk list.
 
user868935
@rubenvb but when others do it, nobody says anything.
 
user142019
@Raindrop We do like airplanes. We just don't like nonsense messages that take up the whole damn screen.
 
Apparently I'm an owner of the Bin but I can't move messages there… or don't know how
 
user142019
12:22 PM
@Potatoswatter You need to have write access to Bin and be a room owner of Lounge<C++>.
 
user142019
The latter is kinda very much obvious.
 
user868935
I wonder how many kids put Stack Overflow on their resume...
 
I've been a regular here for about 3 years now, why am I not an owner?
 
The fuck is going on here?
 
user868935
@Potatoswatter start your own room
 
user142019
12:24 PM
@Jeffrey Millions of trolls.
 
user142019
It's Trolling Sunday.
 
@Potatoswatter you're not in the top-ten list of frequently in room
 
@SpicyWeenie Well on the upside, it would be devoid of airplanes.
 
lol
 
@Jeffrey I just plonked someone for the third time.
 
12:24 PM
@Potatoswatter you are not regular enough
 
user868935
lol
 
That's how bad it is.
 
@Telkitty猫咪咪 I have pills for that…
 
user868935
@Potatoswatter you have to have no life and dedicate more time time lolly-gaggin than programming to be in the SO-VIP Alumni
 
@rubenvb Can you give me a digest of who should I plonk?
 
12:26 PM
i believe one can design a pretty good program flow with exceptions. but then you have to deal with mixing "bad password" and "out of memory".
 
gitk
 
@Jeffrey SpiceWeenie's a good one to plonk.
 
Ok, we get it you are a hardcore C... thingy person.
 
user142019
Out of memory is an obvious use-case for exceptions.
 
@starmole using exceptions doesn't mean use exceptions everywhere.
 
12:27 PM
Guess what? We don't care.
 
^that too.
 
user868935
@rubenvb Right back at you
 
It's clear you cannot think outside the box beyond your C idioms.
 
user868935
@rubenvb Snitches get Glitches
 
Stop posting.
 
12:28 PM
@rubenvb yeah definitely
 
alright. i was just having fun. sorry :)
 
user868935
Just another day lol
 
user142019
What happens when you run out of memory in Haskell? Exception?
 

Exceptions

Apr 18 '11 at 3:08, 5 hours 21 minutes total – 293 messages, 14 users, 14 stars

Bookmarked Apr 18 '11 at 8:31 by R. Martinho Fernandes

 
user868935
12:29 PM
No dumping
 
@starmole We had this discussion before. You can read it there.
 
@SpicyWeenie what is your problem?
 
SpicyWhiny
 
user868935
@thecoshman nothing. Just restating what you have been doing to everyone else
 
user142019
 
12:31 PM
Just stop posting jesus.
 
user142019
It's beautiful.
 
@SpicyWeenie what? trying to help this room maintain its focus on being a nice place to be for us regulars
 
user142019
@CatPlusPlus Stop posting Jesus, start post Mohammed!
 
Also, MinGW-w64 didn't seem to think SF.net meant its migration to the new web stuff. I can't find anything anymore, and definitely no link to their SVN.
 
@rightfold ?
 
12:32 PM
TIme to give up.
 
@rightfold what? they are both too big to post
 
user868935
@thecoshman Please explain how you were achieving that when you were just as rude as the next person
 
user142019
@R.MartinhoFernandes Sarcasm; the terrible blank line in the avatar grid when you've plonked somebody.
 
@SpicyWeenie I am being blunt, not rude
 
Rude is our policy.
 
user142019
12:33 PM
Stack Exchange can't CSS.
 
@R.MartinhoFernandes what's experimental about your lru-cache?
 
@rightfold yeah, I really don't get why that line appears, needs to be fixed for sure
 
user868935
@R.MartinhoFernandes Then he broke policy and told on himself
 
user142019
I filed a bug on Meta Stack Overflow but nobody's ever looked at it.
 
@rightfold link
 
user142019
12:34 PM
 
@bamboon It blew up with a GCC upgrade or something and I never got to debugging it.
 
user142019
@thecoshman Can't find it. :v
 
user142019
Maybe I didn't. Oh well.
 
@rightfold then I call bullshit :P
 
user142019
12:35 PM
bullshit(); // I call bullshit!
 
@Telkitty猫咪咪 don't you like hearing about Erlang all the time?
 
user142019
Erlang! <3
 
user142019
@Telkitty猫咪咪 Thanks!
 
I like to hear from people who I care to hear from ... the rest: tough luck >_<
 
user142019
 
12:38 PM
@rubenvb Do you know if there's a newer version of MinGW that's ABI-compatible with Clang?
I'd like to shift off 4.6.3 if possible
 
Public Sub Randy() lol
 
could just ask in #llvm really
 
¬_¬ looks like I got a downvote attack
who did I upset?
 
link?
 
@thecoshman SpicyWhiny?
 
user868935
@R.MartinhoFernandes wooooow, you went there smdh
 
What's smdh?
 
@Potatoswatter i got that.. but padding in this case is hard to explain that 's all
 
@thecoshman Report on Meta if script doesn't adjust
 
Meta should be able to sort me out right?
 
user142019
12:43 PM
 
Don't go to meta.
Wait until tomorrow.
 
I doubt script will see it though as it is only a few rep
 
@thecoshman And you want to go whine on meta because of a few rep?
 
user868935
lol
 
@Telkitty猫咪咪 maybe you should make your own Lounge, with blackjack and hookers :P
 
user142019
12:45 PM
> I found my way over to Ireland and settled in to a 'lovely' job as a Java developer.
 
user142019
Haha.
 
user868935
These points be killing some people lol
 
@R.MartinhoFernandes more like got to meta and hope they impose some sort of ban on him :P
 
@thecoshman They're all within seconds of each other so it's highly likely it will.
 
12:45 PM
@rightfold o_0 it hurts that you have only just read it
 
@thecoshman wait 24 hours
 
@thecoshman A ban because of a few rep?
 
I had it like 4 or 5 times already
 
@R.MartinhoFernandes one can hope :P
 
it just happnes
gotta live with that
perhaps I just annoy people more
 
12:46 PM
And happsnes too.
 
@R.MartinhoFernandes oh ok
 
And happn64.
 
especially noobs in
@R.MartinhoFernandes defiantly
 
user142019
deviantly
 
user868935
@thecoshman How do you know youve been attacked?
 
12:46 PM
@SpicyWeenie It hurts.
 
@R.MartinhoFernandes definitely not happwii or happwiiu though.
 
user142019
Oh it's Father's Day today.
 
It is?
I thought that was in March.
 
user868935
@R.MartinhoFernandes which is why I dont put feelings on points
 
user868935
at the end of the day, all these points dont count for anything in the real world
 
12:48 PM
Oh, seems that's just in Portugal.
Oh well.
 
I'm hungry
 
@TonyTheLion you should eat
 
I should
 
@SpicyWeenie I got a bunch of job offers from people that found me on Stack Overflow. And one of them was even interesting.
 
@EtiennedeMartel lol nice observation. Do you know where Olaf is from, though? :>
 
12:49 PM
@SpicyWeenie because I see a dozen of my questions all down voted within the same hour... funny how that coincides with my dealings with. Not that I am blaming you
 
Y U NO PLONK?
 
@TonyTheLion inorite
 
@thecoshman Dude, wrong emphasis.
That makes it ambiguous.
 
@NatashaAlyshayaRubenko There's no padding. There's one field containing two bitfields. If you declare them unsigned char then the size goes back to expected.
 
@R.MartinhoFernandes meh
 
user868935
12:49 PM
@R.MartinhoFernandes established businesses don't bother with SO
 
@SpicyWeenie Why do you think that?
 
@TonyTheLion yeah, I probably should plonk your moppy ass
 
@EtiennedeMartel there are actually two memes regarding Olaf
 
1 min ago, by R. Martinho Fernandes
@SpicyWeenie I got a bunch of job offers from people that found me on Stack Overflow. And one of them was even interesting.
 
user868935
12:51 PM
@R.MartinhoFernandes Because this site doesn't prove you know anything.
 
@SpicyWeenie They don't look to SO to prove anything.
 
@SpicyWeenie you say that because you have 449 rep
I put SO on my CV
I doubt that hurt
 
user868935
@R.MartinhoFernandes this is not a recruiting station. Anyone can google an answer these days
 
@thecoshman lol
 
@SpicyWeenie ahahahaha
 
12:52 PM
I don't put SO on my CV.
 
no seriously why do you have 449 rep only then?
if you can "just google"?
 
@SpicyWeenie Right it isn't. It doesn't stop people from using it to find talent.
 
I mean good luck googling stuff from C++ or OpenGL spec
 
@BartekBanachewicz inb4 because that's boring
 
Because SO gathers a lot of talent.
 
12:52 PM
I could be anything.
I just don't want to.
 
@CatPlusPlus you are a potato
 
Potato.
 
You're an incantation of Grumpy Cat
 
Na na na na na na na na na na na na na
 
user868935
@R.MartinhoFernandes If I was looking for talent, I would look at contests
 
12:53 PM
There's lots of crap too, but crap is everywhere.
@SpicyWeenie hahahahahahahhahahahahaah
 
:laffo:
 
lolwat
 
Yes, contests are much better indicator of skill than SO.
 
#define rep(n) for(int i = 0; i < n; ++i)
 
@TonyTheLion Yeah, I've always wondered why he doesn't have the grumpy cat avatar instead. That would suit him a lot!
 
12:54 PM
Nuff said.
That is the kind of crap you see in contests.
 
user868935
@R.MartinhoFernandes Businesses aren't looking for people that can regurgitate a textbook
 
user868935
lol
 
@Jeffrey because...
 
@SpicyWeenie It seems they are looking for people on SO.
 
@R.MartinhoFernandes the fuck?
 
12:54 PM
@BartekBanachewicz I did have my own room for a while, it was getting more traffic every week. Then I changed user account ~cough~ When I asked the mod to reassign the room ownership back to me, they did. Then the next day they deleted the room. Mean mean people ... :'(
 
Ell
Hi guys
 
user868935
@R.MartinhoFernandes Hopes and dreams... lol
 
@Ell oh hai
 
6 mins ago, by R. Martinho Fernandes
@SpicyWeenie I got a bunch of job offers from people that found me on Stack Overflow. And one of them was even interesting.
 
12:55 PM
The cunning businessman I am, I know all about what business needs.
 
@Ell oh, are you UK or US?
 
Ell
@thecoshman UK
 
@thecoshman UK
 
@SpicyWeenie What you need to realise here is that the world you seem to idealise is not reality.
 
@Ell oooh
 
12:55 PM
Wasn't, like DeadMG, recruited by Google because of his SO profile?
 
@thecoshman you're a bit slow, aren't you?
 
@DeadMG thanks captain redundant
 
@Jeffrey they didn't want him though (xperience)
 
yeah, I somehow convinced myself that @ell was American, so sorry
 
ahahahahahaha
 
12:56 PM
@Jeffrey Twice they offered me an interview based on my online contents.
 
@TonyTheLion shhh! Spicy didn't know :P
 
@DeadMG not that jobs look at online profiles or anything :P
 
@DeadMG I don't know why no one hires you, Puppy. It frankly boggles my mind.
 
user868935
@R.MartinhoFernandes What you need to realize is that any "company" looking to SO for employers is a dirtbag company to begin with (aka BROKE STARTUP)
 
:lol:
 
12:57 PM
experience is a lame excuse imho, you gotta start somewhere
 
Why are we still talking to him, again?
 
@SpicyWeenie Where did you get that from?
 
Also wrong word.
 
@SpicyWeenie So... that does include Google?
 
@Jeffrey Because he's hilariously delusional and trying too hard.
 
12:57 PM
right
 
cause I gotta admit, that's some seriously non-traditional definition of "Broke startup"
 
@DeadMG Google is a BROKE STARTUP, didn't you know?
 
@SpicyWeenie You seem to ignore any and all the evidence presented to you.
 
@TonyTheLion (smarts is not all that matters)
 
@TonyTheLion Well, with sickness and depression, I haven't been applying for many recently, is the frank truth.
 
12:58 PM
@R.MartinhoFernandes It's not evidence if it doesn't fit my preconceptions. :smug:
 
@thecoshman this is true
@DeadMG :'(
 
also
 
@DeadMG Best cure for depression is to get out and talk to folks. Even just go to a job interview for the sake of chatting.
 
ITT this lounge dislike newbs but don't mind trolls
 
when employers ask me "What have you been doing since you left university", I should be more honest and just say "Sick" instead of "personal projects"
 
12:59 PM
@DeadMG but but, Wide?
 
Well, it helps if they're non-judgmental of course.
 
user868935
@R.MartinhoFernandes So where were these "companies" geographically from you?
 
@Potatoswatter "and why would you like to work for us?" "oh, I don't want a job, I just wanted to come chat for a bit, thanks"
 
@DeadMG Sick? What do you got? (if you don't mind me asking)
 
@SpicyWeenie What's that to do with anything?
 
12:59 PM
@thecoshman Who says that while you're still in the office?
 
@thecoshman Hahaha, that would be hilarious
 

« first day (974 days earlier)      last day (3989 days later) »