« first day (1174 days earlier)      last day (3999 days later) » 

00:00
room topic changed to Lounge<C++>: Stop Asking. Nobody Knows What Crash Day Is In VB [c++] [c++11] [c++1y] [no-programming]
@BartoszKP total and utter. Delete all the answers :/
@sehe too bad room desc, doesn't refresh without reloading the page ;0
damn pizza, why you take so long to deliver :(
Ell
Ell
The pizza will deliver immediately
@BartoszKP I swear it used to though...
@sehe I have still one hour - maybe a good question will popup eventually
00:01
Are you eating pizza on Crash Day?
@R.MartinhoFernandes le table, flipz it
Happy Crash Day guys
6
let the nummy, COMMENCE!!
zch
zch
Happy Crash Day
00:05
Crashy Happiness Day
Ell
Ell
What is crash day?
zch
zch
Are there some resources available about how to celebrate crash day?
what is Crash day?
Crash Daaay
user3010322
@sehe If all goes well, hell yeah!
zch
zch
00:07
It's today
@zch questions asking for off-site resources are off-topic!
zch
zch
It's not main site.
user3010322
@R.MartinhoFernandes Well, nice. I sucked it up so bad and lost twice first. D:
user3010322
THen I got an awesome -55 victory, with 21 life left.
OK, I'm going to sleep without knowing what the Crash Day is
this is extremely sad
00:09
i'm sorry
Don't worry, it will still be Crash Day tomo--I mean, in the morning.
fuck, day border is at 1:00 my local time
I didn't hit rep cap yesterday :(
@zch It's the main chatroom though ;)
lol, just realised Andy has been asking about Crash Day since Christmas.
He must be dying inside.
jolly crash day
well
the only thing killing me inside is a horrible disease.
00:16
:( Do they have any idea what it is?
they know it's not caused by his left toe
Try shoving it on Stack Overflow.
For fuck's sake.
JUST REPLY TO THE MESSAGE
lol, I've stabbed my hand while slicing bread, the knife almost went through :|
4
owch.
00:18
everything is in blood awesome ;0
consider seeing doctor about that
i poured the wound with vodka, and wrapped around with toilet paper
toilet paper?
are you insane?
I've been watching dr house yesterday, i know what i'm doing
it's near the side of the hand, not very big - just deep
Do you have any tape?
00:21
toilet paper will not make a suitable bandage.
it's not going to be airtight and prevent infection.
you need a real bandage.
@BartoszKP Now I'm not so crazy am I?
@JohanLarsson Why would he be watching Dr House in tapes?
:D
it's all right, i'm cleaning the mess
Tape or plaster real quick to close it is prolly effective
I wanted to make a sandwich with ketchup so it's hard to tell which is blood, and which ketchup though :|
zch
zch
Blood doesn't taste bad.
00:24
@ScarletAmaranth unused
I'm obviously not very good at sandwiches - I need a wife ;0
%s/knife/wife/g
@BartoszKP Shouldn't have rolled those two 1s in rapid succession.
2
needless to ask, what is crash day anyway ^^? am I sexy enough to be told?
@EtiennedeMartel <3
You registered for it.
How can you not know?
00:25
eee, I register for all kinds of things
:)
repppppp gimme reppppp
This crash day needs more Crash Override
zch
zch
Today is a crash day.
I tried deleting the event. That didn't work. So: if you can't beat them, join them?
00:27
@EtiennedeMartel :DD
looks like I am not the only clueless person here, oh well :P
zch
zch
@ScarletAmaranth Crash day is what you want it to be.
Unbelievable, no braket answer now +30 :O
nice :D
hahahahaha
00:29
I wonder if we should post a comment with a link to it in that troll answer thing
@Borgleader Should we edit the title? I mean, "no braket" is much cooler, of course
to all upvoters: you've been rickrolled!
/there is no spoon/
@sehe >.> people dont cause typos, keyboards do!
Blame my keyboard :(
00:31
@BartoszKP Happy to oblige!
@Borgleader Just be happy I didn't assume you were referring to the adult version of the question :<
@sehe no braket porn?
Of course there is, silly. Irrelevant
i'm new to this porn thing y'know
I do
00:34
A formidable waste of time, like SO
Also: achievement unlocked: searched for `search` in SE chat's search
searchception
Oh - it's Crash Day AKA my birthday. I'd forgotten about CD, though I have opened all my cards. I suppose I'll have to get drunk again.
@sehe If you want to participate - in my company, I announced a contest, like 3 years ago - a cage of vodka for the first who finds a porn with a bald girl stuffing her head into a man's ass
@sehe Porn's only a waste of time if you lack genitals
@BartoszKP what. the. fuck.
00:36
@BartoszKP That's safe bet, because it will be virtually unverifiable. Unless one can prove that the video stream is untampered
Don't cage vodka, that's mean
0
Q: Using c++ template library from a c program

user421121My knowledge of c++ is limited. I understand that c++ libraries can be called from c provided a c interface is available. Is it possible to call a c++ template library defined in .hpp from a c library? For example, this wonderful expression evaluation library. It may be time to learn c++! Thank...

FREE VODKA
@Borgleader ;u you can exchange it to any other type of alcohol if you prefer ;0
FREE THE TOP-SHELF FOUR!
00:37
3 VODKA
fuck, yeah, crate I mean
..but keep the tequila locked up.
@sehe you're free to create one yourself ;0
@BartoszKP Need to discuss the terms to refereeing
why does haccks keep writing answers in comments?
00:40
'cos they're not convinced that they have the correct answer?
@sehe only one term - I'm the referee ;0 if I see this, I buy the prize
Answering in comments is very convenient imo.
ergh... total blow out
ew
00:42
Oh - I thought that only Vlad was explosive. Seems like the problem is spreading.
There you go. Please DM for the address
@JohanLarsson I agree. It's the painless way to divulge prompt responses
I'm still the referee, so I can decide that the thing you posted isn't "this"
00:43
Fail.
You should have said "Ok! I buy the prize"
@sehe I'm still the referee, so I decide what's fail ;0
I I decided that indeed
Alright, folks. I'm learning C++ -- is there some must read resources from a developer who lived in Python, C# and Java all his life?
google - must read for anything
00:46
I'm mainly looking for pitfalls I'm bound to fall for :)
@VaughanHilts this is usually linked here, I have no idea though.
read a book
main pitfall - asking stupid questions, before referring to google/books
@VaughanHilts You'll be reading for some years. Seriously, Accelerated C++ is a good text for non-newbies
3864
Q: The Definitive C++ Book Guide and List

grepsedawkThis question attempts to collect the few pearls among the dozens of bad C++ books that are published every year. Unlike many other programming languages, which are often picked up on the go from tutorials found on the Internet, few are able to quickly pick up C++ without studying a well-written...

@BartoszKP It's not a stupid question.
@VaughanHilts Probably the biggest pitfall when just starting though, IMO, is using new everywhere.
00:47
@VaughanHilts read the Standard.
@sehe I thought we're doing good cop/bad cop thing ;0
@Rapptz Is using new at all. And not using vector
Wait, what's wrong with new?
@VaughanHilts It's old
@sehe and it is stupid - it's highly opinion-based. for example I think that reading the standard is pointless for a beginner
00:48
@BartoszKP How is that even related
1 min ago, by Abyx
@VaughanHilts read the Standard.
@VaughanHilts it's now safe cuz it returns a raw owning pointer
@sehe @Abyx pointed to the standard
I'm bias for asking it of course, but I think it's pretty common to want to know what old habbits need to die.
@VaughanHilts new leads to manual memory management. This was the bane of C and C++98. It is error prone and clumsy.
@BartoszKP Oh lol. Abyxen will be Abyxen
@VaughanHilts A very good approach, IMO would be (1) read introductory book (e.g. Accelerated C++) and (2) follow answers for 3 months.
uhm it's the fastest way to learn whole language IMO
surely you jest
@Abyx people are not machines. unfortunately
I'm pretty sure I wouldn't retain anything if I just flipped through a standard
Call me a weakling but I don't think it'll work for me. ;)
00:51
bah
the Standard only tells you what the language is, it cannot tell you how to use it.
it doesn't work for 99.99% of people
it's a dumb recommendation
@Abyx It's the fastest way to learn the corners - once you know the language
and probably almost no one knows the whole C++, so it's futile to aim to learn "whole language"
In fact, learning "the whole language" completely negates "avoiding the pitfalls"
00:54
fuck, idiots start upvoting and accepting my answers 2 hours after deadline to hit rep cap yesterday !!!!11 <table flip>
@sehe yep those things are kinda orthogonal
@Abyx You know, that's not what I meant. Negating implies not being orthogonal, for me.
It's going the wrong direction on the same axis (as well), not just going on some other axis (as well)
@sehe Ah.. old 2006-2007 youtube.
I don't see how it can negate anything.
00:57
@Rapptz with comments being broken less then they're now ;0
If I know the whole language, I probably don't need to avoid anything. ;)
@Abyx It can negate a goal, by wasting energy going the wrong direction.
@VaughanHilts If you know the whole language, you'll probably avoid the [pitfall of C++]
So using * (i.e pointers) is considered bad nowadays?
@VaughanHilts Except for rare cases, yes.
@VaughanHilts nope. only owning pointers
00:59
Using new to be reserved for only when writing ownership primitive building blocks (read: never unless you're alibrary implementor)
@Abyx I said the same. Apparently we just encounter significantly different amounts of "non-owning pointers"
heh, writing a game in C++ probably wasn't the best place to start... ah well.
Depends on what you consider to be a game. Console hangman ...
Or a sudoku solver, maybe :)
I started C++ for iOS development, actually. :)
...how?
inb4 Objectionable C++
01:01
Native applications on iOS use C++
Cocos2D-X, mainly.
There's better choices, but I'm a game developer by career and mostly have written in Javascript and C# up to this point.
Considering a lot of bigger companies use C++ and the like and iOS is fairly popular right now, it seemed like a decent idea to kill two birds with one stone.
Suddenly a duck
Very moo
Such welcome
It pains me to say good bye.
Good bye
g'night
obai
Java is to JavaScript what Car is to Carpet — Oriol 1 hour ago
user406009
Well at least Java and JavaScript have one thing in common: They both suck.
2
01:11
interesting problem on my friend's computer - sound works in windows, but doesn't work in youtube&spotify - (flash player was reinstalled, or so he claims) ;0
Spotify uses Flash?
dunno
ugh.
So some C++ libraries return pointers anyway
Maybe check the volume mixer
01:12
i only just started investigating this
These are just legacy I take it and I have to lump it?
user406009
I think the spotify web player uses flash.
all things in mixer are full volume
Hasn't restarted yet, I suppose.
Just checking out the soccer news and: 'The Adobe Flash plugin has crashed. Reload page'. What a surprise.
01:14
That's not about soccer, and it's not news.
wow, now that's interesting - after trying to play something on youtube, sound doesn't work at all, even if it previously did in winamp for example ;0
@R.MartinhoFernandes Heh - sadly, no it's not news:(
"hey bartosz i heard you know computers much, bet you can fix my computer"
Flash is trying to protect you from utter tedium of soccer
@BartoszKP Should have just said 'no'.
01:17
@R.MartinhoFernandes usually I do that, but he's my good friend ;0
and he is the one mixing down recordings for our band ;0 so I'd like his sound card to work properly
You're friends with muggles?
Lounge membership revoked.
he's a non-muggle in different areas, so I don't feel filthy : D
"His" sound card, you baddie
Unless you're friends with a sound card, I guess
That'd explain the urgency of the request
fuck, I'm really bad at typing in english ;0
@VaughanHilts there is nothing wrong with new or pointers, there is something wrong with having unclear ownership and in those cases, modern C++ has better solutions. (And now I don my flame-proof undies)
01:21
After reading a bit of the underlying C++, it looks like the library itself does it's own cleanup later.
So I think in this case, it's okay to carry a pointer as long as I know when it's dead.
Knowing when it's alive is more important.
There are great uses for smart pointers and stl components - but there are also great places where you need to roll your own and take the hit on doing memory management
lol, I've uninstalled sound card drivers and sound still works on startup ;0 windows user-friendly so much
lol, I've uninstalled flash player, and youtube still works
wtf is happening ?
Are you using Chrome?
If so, Chrome is bundled with Flash.
no, firefox
and it popped out a message that I need to install a plugin for this site to work properly
01:25
HTML5 fallback?
Try right clicking the video
@VaughanHilts good guess! indeed it's html5
so probably I disabled one of his external sound cards
whistles
Something of that sort. :)
Gosh I am such an idiot server admin ... does anyone know where the web settings for the server are set? which script(s)
There's a prize for whoever manages to formulate a more vague question.
how to?
;0
@Telkitty What he said. Need moar info.
user3010322
I AM BAACK
user3010322
FROM THE KITCHEN.
long time ;0
user3010322
Independent Man don't need no woman to cook something!
01:33
Ok what is a Query? — ADMob 45 mins ago
I envy you! I usually stab myself with a knife ;0
not sure if beer is a good idea after wine, martini and vodka :|
but there's nothing else
cheers!
@BartoszKP why do you often append a 0 to your messages?
@Jefffrey It's ;0. A gasping smiley.
01:45
you gasp a lot then
@LightnessRacesinOrbit wow! first person to understand my emotions!
<3
@Jefffrey yes, I keep being surprised by the world. World is very surprising and strange. ;0
@BartoszKP oh gawd, are you starting with 3's now?
I used to use :o, but on many communicators it produces a stupid animated smiley
and also - in some cultures (as I heard) concept of 0 doesn't exist, so it's really an important number
01:48
The secrets out, now.
OMG uncle phil is dead.
That stings a little.
alright, alright
who the fuck is uncle phil
Uncle phil from the fresh prince.
user3010322
01:53
Fresh Prince of Bel Air.
James Avery.
so some royal who's somehow even less competent than our own crop?
His ability to make me laugh compensates for everything.
Esp his explosions of anger.
I showed a friend of mine a picture of his ex today and it took him a whole 5 seconds to figure out who it was
01:56
;0
happy guy
@MohammadAliBaydoun And that's bad why again?
So, lack of sleep resulted in deque<pair<string, deque<string>>>.
uh huh
@Borgleader It's not, I was just rather surprised ;o
01:58
and that's bad why again?
Whats up with people and their girlfriends these days... someone else was bragging about having a date not long ago
STOP HAVING RELATIONSHIPS :(
SHUT UP AND MARRY ME BORGLEADER
I dont marry, I assimilate ;)
01:59
typedef std::vector<std::string> Strings;
typedef std::deque<std::pair<std::string, Strings>> Directories;
Directories dirs;
dirs.push_back(Directories::value_type(dirPath, {})); // I like the {}
Yeah, that {} is rather sexy
C++11 really changed the language a lot.
Creating threads is a little too easy.
std::thread([=] usleep(1000); PostToMain([=]{ this->refresh(); }).detach();
^ sloppy fix for a refresh bug. (needs weak_ptr at least to prevent crash on destruction)
@StackedCrooked yeah, it's like a girl, once pretty, 30+, but with new, sexy makeup
@MohammadAliBaydoun كول عام وأنتَ بخير
Syntactic convenience can make a big difference.
@BartoszKP We say C++ is old. But we dare not say the same women of the same age :)
Well hey, OBS isn't that hard to configure.
02:11
@StackedCrooked interesting issue - what's C++'s sex? : D
yes please
man, I remember those days
C++ has a few inconsistencies, but way not enough to qualify as female.
that's interesting then, that @MohammadAliBaydoun considers it sexy ;0
when "sex" was just a text field and people would put in stuff like "yes please" and "too much"
2
02:12
:DDD
@BartoszKP Happy new year to you too <:
> All problems in computer science can be solved by another level of indirection
fuck, this beer wasn't a good idea, now I'm getting really drunk :0
Why is char********* not solving my problems :<
@BartoszKP (Remark: It should be كل)
@MohammadAliBaydoun omg! right, thanks! I have this in my notebook, but I decided to try on my own. I'm not worthy yet :( ;0
few new years and birthdays more, and I'll be perfect ; D
@DeadMG this had 3 stars, and now it has 2 - someone unstarred this message :| now that's odd
Still planning on proposing in arabic? ;)
02:19
yes, I'm not going to be drunk as I'm now though : D
buy guise! everthing is too hazy;-
omg, the indian room is awsome:
in Indian Enthusiastic Programmers, yesterday, by Ankit Srivastava
help needed and happy new year
http://stackoverflow.com/questions/20858842/complex-communication-between-the-activities-and-service-tips-needed-to-make-it
Ell
Ell
Evening
it seems I've grown a beer belly
fatty
user3010322
@StackedCrooked No, female!
Ell
Ell
@BartoszKP proposal as in c++17 or marriage? :P
user3010322
C++ is the daughter of Bjorne Stroutsup, who sacrifices his life to it in the last attempt to save it from LegaC and its own ever-inhibiting Committee.
user3010322
C++ saves as Sparkling Bjarne statues and must progress through the game.
1
Q: Why don't programmer keyboards start from 0?

Anonymous NoobThere are special keyboards for many different groups, so there should be one for us programmers. In addition to starting with 0, it should have easier ways to enter hex numbers, maybe having A-F with the number keys Has anyone seen a programmer keyboard?

Ell
Ell
Listen to google: tinyurl.com/q4zsgtr
ancient
@BartoszKP I like how they're always "enthusiastic" and "passionate" about programming. It's like.. chill the fuck out,,,sir
@BartoszKP I forgot to drink tonight :(
Ell
Ell
02:50
I just had a brainwave. I've been so stupid
laws aren't about morals at all
@Ell moreso about control and suppressing rebellion, whether through force or the guise of morality/decency/being 'civilized'
?
@Ell They're about public perception.
Log Horizon anime has something to say about that :)
but really, you want to define a difference between what "laws are about" and "what laws should be about"
@Daи I think that's pushing it a bit far.
03:01
@EtiennedeMartel sorry, please note my question mark on the following line
The question mark made it look like a rhetorical question.
@EtiennedeMartel sorry, I was trying to determine what @Eli meant by not being about morals, and given the current popular anti-hegemonic sentiment in the West, I figured that was a good guess
my apologies
so hows your crash day kids?
user3010322
Pretty good. Wordpad is now crashing on a daily basis.
I am studying memorizing random crap for finals, fuck my life, I want to be writing some code : - /
03:21
ftp> k, thanks
?Invalid command.
ftp>
user3010322
What would you call a class
user3010322
Who's sole purpose is to run an arbitrary function on destruction?
user3010322
@R.MartinhoFernandes I've been tempted to name a class that.
user3010322
03:33
I'll just call it destructor.
user3010322
It's not like C++ has made a keyboard out of that.
call it autø
@ThePhD A, B, C and D and X.
You can trust Sutter's advice :P
@ThePhD on_scope_exit
user3010322
@StackedCrooked Definitely. :D
user3010322
@Rapptz So many letters and underscores!
user3010322
03:37
destructor sounds bestest.
user3010322
or maybe just scoped_exit
@ThePhD classy :x
user3010322
One less letter, not enough underscores.
user3010322
@Telkitty What a dapper name~
> How to detect a Christmas Tree?
03:43
@StackedCrooked It has red/green nodes?
find . -name "Christmas*"
One guy did it by detecting increased brightness.
or maybe grep is better?
Excuse the ignorance, but under Cocos2D-X, I've added some files I found on a GitHub page but I'm getting a linker error. It claims "Undefined symbols for architecture armv7:
"GameplayScene::didSwipe(cocos2d::CCObject*)", referenced from:
GameplayScene::init() in GameplayScene.o
ld: symbol(s) not found for architecture armv7"
I have no idea what it's asking -- can someone maybe prod me?
This is caused by the line swipe->setTarget(this, callfuncO_selector(GameplayScene::didSwipe));
03:47
Uncle Bob on move constructors.

« first day (1174 days earlier)      last day (3999 days later) »