« first day (1441 days earlier)      last day (3493 days later) » 

2:00 PM
people must have a lot of money - there are so many iphone 6 plus bending videos on youtube ...
 
@chmod711telkitty Only benders buy iPhones.
 
also my apple developer account is expiring in 5 days ... need to renew (which means giving apple money)
 
just let it lapse
 
lol well, I have to have accounts on apple, google & microsoft developer programs because ... my granny flat is going to be awesome & my diving/hiking skill is getting terrific <3
 
morning ... my gf wants to learn c++(she is quite good in java ) and she doesn't now where to start, could you guys let me know any good resources to learn ?
 
2:15 PM
@chmod711telkitty They make money out of making videos in which they bend iPhones, in order to buy more iPhones to bend.
 
www.dontlearncplusplus.com
 
@NullPoiиteя is that Puppy in your avatar?
what have you done with Puppy?
 
@AlexM. yupp , nothing
 
I wonder if I can kick myself
 
why can't you?
 
2:16 PM
@NullPoiиteя The fact that she is "good java" doesn't mean shit.
Sorry.
 
@Sofffia sorry its just typo
 
I never really got "where to start" questions
 
Eh too lazy to find out where the event handlers are
 
The first step she has to take is to forget about Java.
 
Start from the beginning
 
2:18 PM
the first step for me is to search for a guide to install the compilers and whatever is needed to use that language
the second step is to search for something like "<language> books"
 
@AlexM. neither me ...
 
usually I end up on stackoverflow where there's a community wiki/closed question where people list books and stuff
 
Best kind of questions.
Unfortunately they are "illegal" now.
 
yeah
after that it's just constantly writing code that I throw away immediately after, in that language
 
2:20 PM
I think that's a good way to get started
 
@NullPoiиteя Seriously. Promise me. She has to forget about Java when learning C++. She has to. Don't try to apply things you have learned while studying Java in C++. Please. Promise me.
I have to believe you are not going to fall into the new and co. trap.
Otherwise we can't fix the world.
You are my only hope.
 
don't worry, I promise you :)
 
You can't fix the world hth
 
@CatPlusPlus This world was fixed long ago. It has been incapable of reproducing itself for centuries.
 
ok, here is a question which baffles me: if you are a normal person with oracle ability and knows there is another world war coming in the next 2 - 15 years (because prediction is never very accurate on the timing or the extend of the events), what will you do?
 
2:32 PM
ugh, re-fucking-tards with an attitude
@jalf instead of commenting my comment, why don't you reply with at least an answer. Simply commenting on answers isn't helping much is it? — Alex Peta yesterday
also hi
 
@jalf oh hey, he's a fellow Romanian
 
> the fact the somebody took the time to write a simple idea to help another is reason enough to appreciate
 
Good thing not all Romanians are as butthurt as him :p
 
PRAISE ME FOR I HAVE WRITTEN A BUNCH OF WORDS
 
@CatPlusPlus I wrote a bunch of words too, he didn't appreciate that at all :(
/me sad
 
Ugh I told people to do a thing and then they do a different thing which is far worse
This is why we can't have nice things
 
@CatPlusPlus Kids do that all the time. :D
 
Jesus
 
Coincidentally kids are terrible
@StackedCrooked How much and why are you using text editor that bad
 
2:39 PM
@Sofffia What is this?
 
@VáclavZeman Our prime minister trying to speak english.
 
@Sofffia Hmm, it does not seem to be too bad.
 
At one point he even says "fuck" or something similar.
 
@Sofffia Does he want to say "fact"? :)
 
@Sofffia so do native english speakers :p
 
2:40 PM
@VáclavZeman Dunno. This one is better.
 
@chmod711telkitty buy lots of tins of beans
 
why beans specifically?
to produce gas?
 
@Sofffia All hands on deck
 
2:42 PM
@jalf ^
 
picocompetency
 
@R.MartinhoFernandes ew, evil globals :(
 
@CatPlusPlus lol
 
"One corner of the library works just fine, so wontfix!"
 
2:46 PM
> Big Black Caulk
 
Still better than rubby's "it worked 10 versions ago? Great, use that! wontfix"
 
@CatPlusPlus Oh fuck it.
 
sbi
@StackedCrooked That was the normal behavior until way into the 90s.
 
@R.MartinhoFernandes Add a patch to use thread_local?
 
sbi
@Sofffia It used to be the norm. I suppose C++ inherited it from C.
 
2:49 PM
@VáclavZeman That's not a simple patch.
 
@R.MartinhoFernandes I was not mentioning simple. But why not?
 
user3010322
Why is get_last_error not attached to the reader/writer that's doing the work for Picojson?
 
Because it requires #defines and shit.
 
user3010322
Or does Picojson not create modules that represent a single reader / writer?
 
@R.MartinhoFernandes I do not see why but OK, if you say so.
 
2:51 PM
The fuck is a "reader"/"writer"?
I call a read function, and it reads.
Fuck you and your "loader" bullshit.
 
user3010322
Shrug.
 
@VáclavZeman Because support for thread_local is sketchy.
 
user3010322
Either it returns a variant<error, result>
 
user3010322
Or it has some value on a struct that can be checked after reading/writing
 
@VáclavZeman If you just slap thread_local in it, it breaks. You need compiler version testing and defines.
 
2:54 PM
People are bad at APIs
 
user3010322
Which reminds me.
 
user3010322
I want to write variant
 
user3010322
For great justice.
 
user3010322
And then I want to compose it into a result_variant
 
I on the other hand want to do something fun
 
user3010322
2:57 PM
I wonder if I can use a std::promise as a proper thing for variant<T, exception>
 
user3010322
Agh, nope.
 
user3010322
std::promise is tightly coupled to a future.
 
@ThePhD Why would you want that
 
user3010322
And the future doesn't have any set/get on it.
 
Just fukken throw
 
user3010322
2:58 PM
Sometimes, I want a version of a function that doesn't throw.
 
@ThePhD I'm pretty certain the future is full of things that suck
 
user3010322
Makes it easier to loop / retry.
 
And if you want to throw across thread boundaries then future/promise is what you need
 
including getters
 
@ThePhD ugh
@ThePhD UGH
No it doesn't
 
user3010322
2:59 PM
Don't ugh me!
 
sbi
@R.MartinhoFernandes I'm a bit skeptical about @melak47 though. AFAIK he has never shown up to any such event, no matter whether he had already promised to come or not. :-/
 
user3010322
:c
 
It literally requires 3 more lines of code
 
Uuuuuughhhhhh!
ughugh
 
Don't make stupid APIs for something that can't even be classified as convenience
 
user3010322
2:59 PM
The only way I think I can do it is with try/catch and a goto. :c
 
How about
a loop
???????????????
 
> Scissortape is a tape dispenser and a pair of scissors, connected to each other, for the peculiar brand of “convenience” that makes both tools much harder to use.
Reminds me of this.
 
user3010322
._.
 
user3010322
Maybe....
 
3:01 PM
@R.MartinhoFernandes Today's reminder that in the race between idiot-proofing and idiots, the idiots are definitely winning.
 
user3010322
for ( std::ptrdiff_t retries = 4; retries --> 0; ) {
	try { failure_call(); }
        catch ( ... ) {
		continue;
	}
}
if (retries == -1) {
	// Throw whatever the last exception was.
	// Or AggregateException for full details or w/e
}
 
user3010322
@CatPlusPlus ^ Like that?
 
user3010322
Maybe I can put that in a reusable class.
 
user3010322
Or function. Or whatever.
 
3:05 PM
That's broken.
(Also, wtf ptrdiff_t)
 
user3010322
ptrdiff_t is the variant of std::size_t that's signed.
 
user3010322
I could just use int I guess.
 
Posh kids these days, can't int.
 
user3010322
vOv I've been bitten by I'M SORRY THESE THINGS AREN'T THE SAME BIT SIZE when dealing with std:: containers that std::ptrdiff_t and std::size_t
 
user3010322
so I usually use those by default.
 
user3010322
3:07 PM
Theother thing is, though
 
user3010322
I also want to be able to modify the call or modify the parameters
 
user3010322
or other things based on if the first or second or third call fails
 
sbi
Oh, the insect went a full circle and is now back to the old insect name?
 
user3010322
I could put a RetryPolicy class, which takes the current retry number (starting from 0).
 
user3010322
@sbi The Circle of Life!
 
3:09 PM
@ThePhD If size is your issue, you should start using uintmax_t and intmax_t by default vOv
 
user3010322
@R.MartinhoFernandes No not sizes, it's when I go between 32bit and 64-bit builds
 
user3010322
where int stays 32-bit but I'm interacting with std::size_t stuff
 
user3010322
And I get a bunch of warnings.
 
user3010322
template <std::size_t Retries, typename Policy, typename... Argn>
??? do_retry( Policy, function_call, Argn&&... argn );
 
user3010322
And from there I guess I deduce the return.
 
sbi
3:12 PM
@Rapptz When my granny was a child, German kids where explained that storks brought babies. (Apparently, this wasn't just a German myth.) Interestingly, for a decade or two (roughly 80s and 90s), the fertility rate in some German areas correlated very closely with the decline of the stork populations.
 
user3010322
do_retry<5>( do_nothing, woof_call, dog1, dog2 )
 
user3010322
Looks p. clean.
 
sbi
@R.MartinhoFernandes Women insist that size is not an issue.
 
The significance of the cicada is change. Nymph into cocoon. From thence into noicy.
 
user3010322
... Having the number of retries be a template paramter is actually bad.
 
user3010322
3:13 PM
What if I want it to be modifiable?
 
user3010322
I should pass it as a parameter
 
ring the bell, anyone? which movie am I mimicking? :p
introducing the Australian "stork" - career change, now collecting rubbish ..
 
sbi
"Breasts, like information, want to be free" - @matthaber
And with that I'll bow out for today.
 
user3010322
Buhbye!
 
3:28 PM
now the grumpy apes is gone, everyone be happy again!
 
3:38 PM
woah @FredOverflow, just like I thought, someone mentioned free breasts & here you come ...
 
@chmod711telkitty Free breasts as in free beer?
 
you know what I meant :')
 
void* breast = malloc(8);
// you know what comes next...
 
> gepusht
> gecommitet
Someone should shoot my coworkers
 
lol German
 
user3010322
3:45 PM
@FredOverflow A cock style c-style cast to a long long?
 
gelolt
 
@ThePhD Let me guess: You have been using C++ for too long, and now you can't remember how to manually release a resource anymore?
 
@R.MartinhoFernandes is that a request for murder?
 
Shomeone should shoot [...]
Much better.
 
What is the least painful way to create and publish nuget packages?
 
4:01 PM
@sbi :|
@LucDanton Fuck you too :P
Deutsched words are horrible.
 
user1804599
4:12 PM
hithere
 
user image
10
:lol:
The "fun" starts here.
 
@Sofffia lol
 
user1804599
lol NULL
 
why would you do that in C++11 o.O
 
user1804599
Dunning–Kruger.
 
4:18 PM
or any C++ actually
 
This guy goes on all about how bad std::vector<X> is and how everybody got it wrong with RAII, that we should all manage memory ourselves and so on.
 
@Sofffia uhhhh
 
It is really entertaining.
And it also predicts what the reaction of "C++ people" is.
 
@Sofffia It's not - he is so wrong it physically hurts.
"RAII has gotten more popular recently for whatever reason" - lol
3
 
user1804599
Downvote.
 
4:19 PM
Maybe because it makes writing code easier?
Did he think about that?
Why would you star that.
 
Basically, his entire rant is that he never heard about the rule of zero.
 
user image
3
More "C++11 code"
 
@Sofffia I'm flying in to say "gamedev.txt" before Cat.
 
He's saying RAII is bad because you have to write a class every time you want to use a different type of resource.
So it's "high friction".
 
4:29 PM
lol, is that a guy giving a "talk" from his office?
 
There's a slide in which he goes against std::unique_ptr
 
@Sofffia I am starting to believe he is trolling.
 
@R.MartinhoFernandes His life would be at stake in a "real" conference.
 
Because you cannot not be trolling and label that "C++", let alone "C++11", right? Right? RIGHT?!
 
He keeps a straight face.
 
4:30 PM
That's a sign he is a good troll.
 
@Sofffia oooomg
@R.MartinhoFernandes orifice*
@Sofffia what's the hh:mm:ss for that slide please
 
@LightnessRacesinOrbit 01:00:00
 
@Sofffia what no it's not
 
@LightnessRacesinOrbit Oh sorry, you meant the second i posted
in between that and 01:15:00
 
4:36 PM
@LightnessRacesinOrbit Can't upvote because G+ bullshit.
 
I have to take pauses every 5 minutes or so.
 
@Sofffia haha
@R.MartinhoFernandes ouch
 
Oh yeah, and he also goes against exceptions
His solution?
result, error = function()
or something like that
 
@Sofffia When?
 
> Accessing dynamically created arrays outside the if loop
Gee fuck what the fuck what's wrong with people.
 
user1804599
lol an if loop
 
I would quite like multiple return values in C++. far more useful than allowing everyone to write auto foo() -> int
 
user1804599
What is wrong with tuples?
 
4:41 PM
> If you think what you were writing in those slides is C++11 (or hell, in places just C++), put down your compiler and step back from your keyboard.
 
I can safely say that you'll never catch me writing full C++14-ised C++
@rightfold A few things.
Numeric indexing for one, never mind the fact that you have to perform indexing in the first place
result, error_code = func(a, b, c); wouldn't hurt one bit
of course it couldn't be that syntax because we already fucked that one up with comma in the 70s
 
user1804599
@LightnessRacesinOrbit std::tie
 
@rightfold yeah that's the closest approximation to the code above
it's pretty reasonable
 
in fact fair enough it's good enough
hahaha
 
4:43 PM
Please, get started.
 
user1804599
Though it doesn't support moving I think.
 
I'm so excited for this one.
 
user1804599
(Or does it?)
 
Lounge should have a meet where they watch the video together, pausing it at interesting points to rebuff, film the whole thing and put it on YouTube.
 
lol
 
4:44 PM
I don't have time to watch the video though let alone script a response
 
Every point is an interesting point. Except the first 30 minutes.
 
@Sofffia WTF is this shit?
 
Fun shit
 
@FredOverflow Our version of semi-public shaming.
 
@Sofffia Can someone please kill this guy?
 
user1804599
4:46 PM
@FredOverflow Yes, it is shit.
 
@FredOverflow I'm too far away.
 
@FredOverflow Only virtually, please!
 
   RAII vs. void*
D-E-A-T-H-M-A-T-C-H
    The Revenge!
11
@VáclavZeman You can't kill this guy with virtual functions, they are probably too slow for him. Kill him with macros!
 
@FredOverflow :)
 
lol, a flag
 
4:50 PM
Well, asking an individual to murder another individual is not very nice, is it
There are more grown-up ways to deal with academic disputes, I should think
 
@LightnessRacesinOrbit What academic disputes? This guy is a void* nutcase.
 
@FredOverflow The dispute that he likes void* and you think he is "a void* nutcase"
Bigot.
 
lol
 
user1804599
I want to make a video game.
 
@rightfold Tetris
 
4:56 PM
youtube comments under random programming videos are cancer youtube.com/watch?v=NvWTnIoQZj4
> You can listen to Ivory Tower Bjarne and be happy in your mom's basement coding C++ and Smalltalk. Or you can listen to a pro with a house in the valley. Your choice.
 
> I honestly think the coding like PHP, HTML5 and CSS3, Ruby, JQuery, etc. should be top priority since the internet is becoming more available, and you can get a large scale audience, and make it easier to maintain that audience.
9 upvotes
 
> So Object Pascal, which was designed to replace C/C++ thats.. no let us not mention that. Let's stick to the curley wirley languages.
 
> This f***** nerd didn't mention C#.
 
> But out of all these languages, the only one that really interest me and get's the job done - is object pascal. Bjarne is just jealous he didnt make that first :)
 
> Soustroup doesn't have a clue about enterprise software development careers, he's too busy working out the kinks for the next C++ compiler in his office. Guess what Bjarne? The rest of us have careers to attend to, in some cases very lucrative careers. Your "advice"? A total waste of time, as it is to learn C++ today. No one, and I mean NO ONE spends their time writing garbage collection algorithms except losers who are maintaining old C and C++ legacy code.
I didn't know C++ programmers wrote GC algorithms?
 
user1804599
4:58 PM
@FredOverflow meh.
 
> Who is this guy? 5 languages? F that, learn whatever it takes to get the job done. At least comb your hair when you leave your basement. That would be a start.
 
user1804599
Pfft, only five.
 
user1804599
Whaha.
 
@FredOverflow What's the .NET runtime written in?
 
> For some weird reason I find his voice soothing. I wonder what it would sound like if he would do "The C++ Programming Language" audio book, including the examples.
lol
 
4:58 PM
@AlexM. dat pun
 
@LightnessRacesinOrbit I don't know... C#? :)
 
33
A: What language is .NET Framework written in?

Jaimal ChohanThe CLI/CLR is written in C/C++ and assembly. Almost all of the .NET framework classes are written in C# > compiled to IL, which runs in the CLR. If you crack open a framework library in Reflector, class, you may see an attribute such as [MethodImpl(MethodImplOptions.InternalCall)] which delega...

 
> The CLI/CLR is written in C/C++ and assembly.
Why not C/C++/assembly?
 

« first day (1441 days earlier)      last day (3493 days later) »