« first day (1804 days earlier)      last day (3135 days later) » 

9:00 PM
ok, expect it gets a bunch of stars :)
 
@ThePhD ok, I was remembering incorrectly. Stepping through stuff works, but can't inspect anything that was built with clang. other libraries with regular VS generated PDBs is visible:
great, chat upload menu doesn't let me upload pictures.
 
@Morwenn There's an HD mode?
on a webcam?
 
9:03 PM
@Mr.kbok I guess it depends on what uses the webcam but I remember some online chats allowing for three levels of image quality.
Well will the slides from CppCon 2015 be available on GitHub? :(
 
@ThePhD the strange thing is, the PDB files are of comparable size, VS shows it as loaded, but there seems to be little useful info in there.
 
@melak47 Clang generates info close to /Z7, which is the oldest and cruftiest version of debug info (probably also a bit more bloated).
 
wth is C7 :D
 
...is there actually any memory allocation lib that doesn't internally store the allocation size? Andrei's kind of saying that not passing size to free causes some performance problems (?!).
 
9:09 PM
A BYTE IS NOT A CHARACTER
THANK YOU HERB SUTTER
FOR SAYING IT
 
lol
 
BECAUSE I"M SICK OF LIBRARIES TAKING FUCKED UP CHAR* POINTERS
RAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGE.
 
we should have named char byte instead
 
Seems like you byte more than you can char
9
 
9:14 PM
"array_view has overhead"
wtf kind of overhead is he talking about?
 
Seriously, I wish I didn't have to use std::get_temporary_buffer.
 
all those std functions I never heard about
 
@Morwenn Isn't that one of those broken-beyond-comprehension functions?
 
I tried to implement a version of std::inplace_merge that works with input iterators. The function tries to allocate a buffer to do a simple merge in it, and when it can't, it uses a slower in-place algorithm.
 
> Allocates storage sufficient to store up to count adjacent objects of type T. If there is insufficient memory for all count objects, allocates less than count, if possible.
 
9:16 PM
@Griwes Probably.
 
Yeah, it is.
 
why would you need that?
 
And from what I've read in From Mathematics to Generic Programming, when Stepanov wrote the function, he left a comment that said the implementation was more or less borken. He then says that the current implementations simply removed the comment.
6
 
:D
 
@Mr.kbok Need what?
std::inplace_merge for forward iterators or std::get_temporary_buffer?
 
9:21 PM
@ThePhD That depends on the byte. Some of them are really quite entertaining characters--I'd be happy to have a drink with them any chance I got...
 
I wonder if get_temporary_buffer is thread-safe.
I think it must be.
 
It's usage-safe.
Generally you don't ant to use it.
 
@Morwenn That's a particularly useless function if I recall.
 
@Puppy It's used to implement standard algorithms that need additional memory. I don't know any other use of the function.
 
my memory of it is that it's no faster or better than new.
 
9:23 PM
It's worse - it can return a smaller buffer than you requested.
 
is there a proposal for the variant being standardized? (or is it boosts, like filesystem?)
 
They use it for the times where not having the whole memory allocated is bad, but having part of it allocated might still be worth it.
@melak47 There are people arguing about how it should be implemented and what should be the guarantees.
I would expect the discussion to last at least another year.
 
oh, like never empty, or only empty when nullable, etc
 
Yeah, that.
 
the problem is permitting throwing moves.
if they simply required nothrow moves there's no problem.
 
9:26 PM
Currently ~160 messages in the std.proposals forum.
 
@JerryCoffin Pfffffff Jerrypls the puns.
 
Haha, I found the implementation of std::get_temporary_buffer: it tries to allocate N elements, if it can't it tries to allocate N/2 elements, if it can't it tries to allocate N/4 elements... until it realizes it couldn't allocate anything.
 
@Einder trhat really says nothing about what the needle (a) is (b) means. It it a full ident (of BYTE_COUNT positions)? Is it a fragment? Should it match across different map entries (is it logically a consecutive stream)? If not, why were you ever looking at KMP? I'm happy to see my answer helped, but really this question smells like X/Y problem from start to end. — sehe 10 secs ago
@ThePhD Herb said something the lounge approved of? In public? I think you should check whether this against the rules or something :)
@CatPlusPlus dat charring
 
@sehe Oh don't worry, he's doing things like "array_view"s incur runtime overhead.
 
@ThePhD the overhead where 2xsizeof(pointer) is no longer enregistered, according to James McNellis, if I recall, roughly from twitter this week
 
@sehe Why can't it be stuck in a register?
 
I'm not saying it can't.
 
It just fights it naturally?
But that's... weird. People have been struct v { char* p; int s; }; for ages in C.
I'd be surprised people haven't been optimizing it for... well, since ever.
 
user1804599
@ThePhD lolwat
 
@elyse I think its because they force bounds checking at all time.
That seems to be the runtime Herb refers to in his talk.
 
user1804599
9:36 PM
omg bounds checking
 
user1804599
that's super awesome
 
Should really just be an assert.
 
user1804599
no
 
That gets turned off in non-debug etc etc.
 
user1804599
no that's dangerous
 
user1804599
9:36 PM
terminate program immediately, also in production
 
@elyse Other alternative is checked{ index } to turn it off.
 
user1804599
lol
 
wth; die is wel haaaandig, zeg!
 
Hey, I just realized that my implementation is too dumb to use std::get_temporary_buffer anyway :D
 
9:42 PM
Wut.
 
@R.MartinhoFernandes ah. Now I understand. You were cubing
Nice
 
I only care about whether the full buffer was allocated or not. My algorithm is not smart enough to work with a smaller buffer.
It only works with a full buffer or without one.
 
then new
 
user406009
Why would you ever use get_temporary_buffer?
 
user406009
It just seems like a useless function.
 
9:44 PM
inb4 embedded
 
@Morwenn I can see it working better for things like: "I'm going to read through a file in order, I just want a big buffer for a while (but I don't care a whole lot about exactly how big it is).
 
@Lalaland Implementation of standard library functions.
 
user406009
@BartekBanachewicz For interests sake, what are the "FB" slides?
 
user1804599
@sehe ja.
 
user406009
9:49 PM
@TonyTheLion Was that a real quote?
 
@elyse Gotta admit the first video I saw of that guy, he was just being a complete dick with some contraption and I thought he was a total moron. But he seems a lot more sane now and more skilled
 
somewhere in the last 30 minutes
 
user1804599
Writing lexers is fun with combinators and recursion: github.com/rightfold/staple/blob/master/src/main/scala/sexy/…
 
user1804599
No more crappy off-by-one errors.
 
user1804599
9:53 PM
Nor worrying about EOF.
 
> import scalaz.\/
What.
 
user1804599
Yes that imports the \/ class and object from the scalaz package.
 
I didn't know those were valid identifiers.
 
It's written that way to indicate joy.
\o/
 
user406009
@elyse Yep the only issue is that you need a language with proper tail recursion.
 
user1804599
9:55 PM
@Morwenn :
 
user1804599
scala> class +[- +, + -](+ : +, - : -)
defined class $plus
 
user3790646
I don't wanna become a manager
 
user406009
@Andrey But the $$$$$
 
user3790646
hmm, true, I wanna become a manager
 
user406009
Cash tends to be pretty persuasive.
 
user1804599
9:56 PM
whatever, crappy URLs
 
user1804599
@Lalaland luckily we have Scala.
 
Funny.
 
user3790646
why is Android so overrated
 
user406009
@Andrey What do you mean "overrated"?
 
user406009
I find that Android is quite nice.
 
user406009
9:58 PM
Meets my expectations perfectly.
 
user3790646
I mean, developing for android
 
user3790646
I do also like Android
 
user3790646
but not developing for it lol
 
@Lalaland this is true, especially when you need it
 
user3790646
give this man a cookie!
 
9:59 PM
unless of course you start being a contractor and then you can charge much more then you would earn as an employee
 
@Lalaland You mean like, all of them?
 
user406009
@TonyTheLion Contracting comes with severe risks though vs being a normal employee.
 
user1804599
 
user406009
Management is supposedly not that much different in terms of amount of work than normal development.
 
user406009
But with much higher payout.
 
10:01 PM
@Lalaland I am very well aware of that, and that also the reason why you can charge much higher rates
 
user406009
And also, there are more managers making lots of money than contractors making a lot of money.
 
user406009
I might as well say I am quitting programming to become a professional soccer player.
 
user406009
Sure, the top makes money, but the chance of reaching that is very low.
 
user1804599
What'd you call a function \f g x -> f x && g x?
 
@Puppy it must something that grows on you then. Still concluded he's an annoying ADHD guy. He sure knows how to build things
 
user3790646
10:02 PM
a complicated function.
 
@Lalaland It could definitely make you much more money than you could ever make as a programmer
 
user3790646
@sehe wait... who?
 
"What's on your mind?"
"Oh nothing. I'm fine"
"But baby, you look troubled"
--
"Yeah, worry about EOF"

No one, ever
 
@elyse Bob
 
user3790646
@sehe Oh wow.
 
user3790646
10:05 PM
@sehe I'm sure I've said something like that in the gif...
 
***Now*** do you get it?
It's only the 26th time we've shown you this subtle hint :)
 
user3790646
Wait... Is that me?
 
No
 
user406009
@Andrey He's telling you to respond to individual messages instead of users.
 
@elyse and?
 
user406009
10:06 PM
When you hover over a message, you can see a reply arrow on the right hand side.
 
user406009
Click that arrow to respond to that specific message.
 
user3790646
@Lalaland oh .__.
 
user406009
It's a useful feature when there are multiple conversations flying around at the same time.
 
user3790646
@Lalaland was that for me all the time?
 
@Andrey 477a2ece-66db-4cde-ae12-68223e199261.s3.amazonaws.com/… There. This should work better than the gif
 
user406009
10:07 PM
I have no idea.
 
We need a static but a per thread static. For example, `thread static char file_name[512]
 
user406009
That's called a thread local variable.
 
@Mikhail thread_local is what you're looking for.
 
user3790646
@sehe I got it already .__. thank you.
 
10:08 PM
:D
 
user406009
@sehe Ah, another gnome 3 user.
 
Just wanted to experiment with locally recorded screencasting. Will be using it tomorrows
@Lalaland Yup
 
Maybe __declspec(thread)
 
@Andrey If you look closely you can see your epiphany pop in at precisely 0:06 into the video
 
@sehe Gotta save this so we can use it as the new Public Service Announcement video.
 
Go ahead. I don't think it shows how to create replies though
And my browser has quirks. So maybe, don't
@TonyTheLion E.J.: "So, about those rights..." - V.P. "Yup, you don't have any, fool!"
 
Ell
@TonyTheLion wat that actually happened?
 
@sehe hahaha
 
Ell
Anybody want to mumble?
 
@Ell me
 
10:14 PM
putin called E.J. on the phone the other day.

Only that was a prank call from some russian guys
 
@Ell Apparently its going to happen. Per Elton John's instagram account he did indeed phone Pres. Putin.
 
Apparently it now spins off either useless propaganda events, or more pranks
 
Ell
@TonyTheLion cool, I'm on
 
well whatever happens, I thought it was a tidbit of interesting news to post here
@Ell I'm coming
10
 
@TonyTheLion Not sure what E.J. is actually hoping to achieve here
 
10:25 PM
Attention #cppcon attendees: The floating point talk has been moved from room 404 to room 403.9999999999.
 
waf is so cool
 
@R.MartinhoFernandes github.com/google/benchmark in case no link was provided yet
 
> [build failing] [build failing] [coverage 80%]
everything in red
 
10:41 PM
win/win
mutual propaganda
 
user406009
Hmm, what would guys consider an "acceptable" amount of packet loss before complaining to the ISP?
 
37
 
user406009
Hmm, that's odd. The packet loss issues I have been having for the last couple of days have gone away.
 
user406009
Now I just have 1 second latency instead.
 
10:56 PM
 

« first day (1804 days earlier)      last day (3135 days later) »