« first day (1670 days earlier)      last day (3504 days later) » 

09:00
@StackedCrooked threading is involved. Likely false sharing - being alleviated by logging? It's still a tad surprising.
@ThePhD I think so. It's using tbb's malloc which uses thread-local storage. If the thread-local pool overflows it is put back on the global pool where it becomes available again for other threads.
However, what I get from this is mostly that the access patterns might not favour physical separation of keys/values
@sehe There probably is false sharing going on. I wish I had a tool to detect it.
user1804599
@StackedCrooked Are logs buffered with flushing intervals?
@StackedCrooked You do.
Ven
Ven
09:01
@rightfold how is servo an epic failure?
user1804599
You already asked.
@StackedCrooked m8 wot
Why not std::vector<std::pair<T, U>>?
Ven
Ven
whoops
internet failed
boost has a flat_map class IIRC
it does
09:05
@Rapptz Because it's an intermediate representation before serializing it to a protobuf type which stores entries as a list of (type, values) tuples. pair of lists requires the "type" id only once per list.
I see.
user1804599
Store a single vector of keys followed by values.
user1804599
Like {k, v, k, v, k, v}.
user1804599
If they are of the same type.
@Rapptz Because that's different?
Ell
Ell
09:12
@Cicada what direction is that?
@sehe TIL
:D
There are good reasons (locality of reference, aligment, false sharing, traversing all keys/values) to use the alternate layout
There aren't many good reasons to it yourself, I guess :)
does MS's implementation of the standard library use Windows API in its internals (e.g. CreateFile), or is it just built on top of C Standard Library functions only?
user1804599
Requires more allocations.
@Ell the wrong one
Ell
Ell
09:15
@AndyProwl I imagine windows API
@AndyProwl yes
@Ell can't find any occurrence though
Ell
Ell
If not then the C standard lib needs to use the windows api, surely
@AndyProwl yeah it's just a guess from mr
@AndyProwl Windows API
Ell
Ell
*me
09:17
@Rapptz that was my first guess, too, but I'm browsing random standard headers and can't find any WinAPI call
It uses GNU/POSIX
@AndyProwl Looking in their <filesystem> implementation?
@AndyProwl probably uses it in the .cpp
@MarkGarcia ATM I'm looking into <fstream>, <ostream>, etc.
oh right of course
09:20
@Rapptz those are templates, there shouldn't be any .cpp
not necessarily true
user1804599
They can call functions defined in .cpp files.
they can do implementation stuff in the .cpp but the interface is templated
user1804599
Which can in turn use functions from <Windows.h>.
09:21
look at <filesystem>
starting from _Open_dir.
The interface is templated but the implementation can be written in a .cpp
got it
well
I imagine they do this for compile times + proprietary lib
I have to evaluate this RTOS which basically has its own API that mirrors WinAPI but with the "Rt" prefix (e.g. RtSleep() instead of Sleep()). They claim Windows-specific stuff cannot be used, but Boost and C++ Standard Library should be fine
I have no idea how that is possible if the C++ Standard Library uses WinAPI
user1804599
PROPRIETARY?
user1804599
y u no ReactOS
09:24
Fuck patch Tuesday:(
This OS runs side-by-side on Windows. I didn't choose it, boss told me to try it out
yesterday, by Andy Prowl
> Boss: "We need you to investigate the possibility of migrating part of our software to a RTOS, read the manuals of InTime, try prototyping something, write some powerpoint presentation about it or if you really can't do that then send an email with all the info. You have two days from now."
> Me: "I know nothing about RTOSes and InTime, how can I give you any reliable feedback in just two days?"
> Boss: "Well, of course we don't expect it to be reliable."
@AndyProwl hm... I thought "Rt" means "Runtime (library)"
user1804599
> The Prime Minister of Russia Dmitry Medvedev (left) being given a demonstration of ReactOS
user1804599
lolwat
@Abyx In their API it's meant to mean "real time"
09:25
@AndyProwl boost 100% definitely uses WinAPI
Medve/dev/
it's doomed
> "And here's how the system promptly reacts to a missile threat, sir..."
user1804599
:D
@AndyProwl ah, I mistook it for "RtlXXX" functions
09:26
@AndyProwl that is depressing : (
Kids, good namespacing rules for macros apply even if you're #undefing them after use. github.com/connorwaters/possit/commit/…
Dilbert Prowl
Xeo
Xeo
@R.MartinhoFernandes ow
Also, ugh, that's GPL.
09:29
> Warning - Item Extremly graphic execution of syrian citizen by rebels using .50 cal technical gun might contain content that is not suitable for all ages.
neat
Xeo
Xeo
wat
I couldn't tell from the title.
@R.MartinhoFernandes I thought it is a common sense among library writers.
> North Korean minister executed with air missile
@MarkGarcia Well, what do you count as a "library writer"?
That is that user's only repo on GitHub.
09:32
vOv
user1804599
Everything is a library except main.
@R.MartinhoFernandes uh, you're definitely right
sbi
sbi
Guten Tag.
@sbi Guten Morgen!
09:34
Morgen
sbi
sbi
@R.MartinhoFernandes Indeed!
sbi
sbi
@R.MartinhoFernandes What do you mean, "Morgen"? It's almost noon!
@sbi Gluten sucks :(
not yet a Guten Tag though
09:36
@MarkGarcia I did that one weeks ago
original maymay donut steal
@sbi it's always morning when you join a chat room, silly.
pls
sbi
sbi
@thecoshman Actually, when I was a frequent here, it was mostly nights when I joined.
@sbi are you up to something tonight, btw? I'm leaving for Prague tomorrow, and I'm having some "good luck drinks" at Herman tonight.
09:36
@Cicada Who the hell do you think I got all these from? ;)
@MarkGarcia Pun Young-Bae
Ich mag Donut
sbi
sbi
@R.MartinhoFernandes No, sadly not. I am to pick up the kids tonight. Damn, I'd love to be at Herman's.
@MarcoA. Falsch
@R.MartinhoFernandes btw Robot do you have my phone number?
sbi
sbi
I do.
I know you do :P
@AndyProwl Think so.
all right
09:40
Chat search says I did it twice, even. And 0 stars, omg. @Mark you stole my stars
Yeah, if it's still the same as during the Unconference, I do.
sbi
sbi
@Trantorian He wasn't working for Apple at that time. That picture has been there for 15 years, and back then he worked for Metrowerks.
Incidentally, what are you guys doing in Praha?
Something I missed?
To be fair Luchian did it for the first time back in 2012 but that does not count
I think it's going to be mostly in Brno actually
but yeah we're planning a trip to Prague too
Robot goes on cycling madness from Prague to Berlin and I live not far from Prague so he's coming to visit before
09:41
> Howard is married with four children, four dogs (he really isn't that fond of dogs), a rabbit, several exotic lizards ...
@sbi I'm actually going to Brno first, and only then Prague. Then I'll cycle back to Berlin.
talk about a harem
Stop calling it madness.
sbi
sbi
@AndyProwl Ah, I see.
sbi
sbi
09:42
@R.MartinhoFernandes I haven't even started yet.
just stop
sbi
sbi
@AlexM. That, too, has been there for 15 years, IIRC. IOW, you would expect all the animals to have died and the kids to have left the house by now.
That or the other way around
sbi
sbi
@AndyProwl How do you stop something that hasn't yet begun?
@Cicada Evidence? o.O
09:44
It's adventure, not madness.
sbi
sbi
Anyways, when I was young, we did a bicycle trip from Hamburg to Brussels, so I can sympathize with a Prague–Berlin trip.
@Cicada hihihihihihi
sbi
sbi
@Cicada Yeah, but you were ahead of your time, so no reward for you.
@Cicada Poor Luchian.
Died from LoungeCppitis.
3
09:45
ad·ven·ture /ədˈvɛntʃə/ noun extremely foolish behaviour.
mad·ness /ˈmædnɪs/ noun extremely foolish behaviour.
sbi
sbi
@R.MartinhoFernandes Adventure? Really. AFAIK, there's bicycle paths along the Elbe for most of the way. You call that adventure today?
kids these days, right
@sbi Anything is an adventure with me :D
sbi
sbi
@Mr.kbok And left, too!
@R.MartinhoFernandes Yeah. Even chopping onions is.
Madness is good
And of course by madness I mean adventure
09:48
> I crave to create beautifully simple solutions for complex problems, clean and clear code that reads like a book and inspires awe like a classical painting.
effing hipsters, what are you, Claude Monad?
Best time of my life was when I could afford doing all the madness
is it JS
@Cicada Where's that from? It rings a bell.
Bartosz?
sbi
sbi
BTW, could someone please have a look at this code and tell me if they see if there is something is wrong with the code?
09:48
@Mr.kbok Your careers profile.
12
sbi
sbi
With boost 1.52, this produces the wrong result (*this and caught miss the origin info), as long as xb derives virtually from boost::exception. It works correctly on coliru, though.
@Cicada lmao
@Cicada omg lol
sbi
sbi
@Cicada LOL!
loling pretty good right now
09:49
@Cicada lol
@sbi :D :) :| |: ): D:
This thing is pretty old anyways
@Mr.kbok I'm only kidding :) I tend to write similar stuff sometimes anyway
ITT kbok publicly shamed.
09:52
Lounged
But still, I sound pretentious
I'll allow you
@sbi Have I ever invited you for one of my cookings?
ok thx
Don't think so.
09:53
It's okay it's common in France :^)
sbi
sbi
@R.MartinhoFernandes Yes, but only at times I had made clear I couldn't come.
> Programming is an art, and I am Rembrandt
is this okay
do you want us to answer that
I'll try to arrange something on a date you can join for the first one I do at the new flat (assuming I actually find one.)
I thought Claude Monad was funnier but I think he's lesser known outside of France
Ell
Ell
09:54
meh
I don't think kboks careers profile is pretentious at all
sbi
sbi
@R.MartinhoFernandes You're looking for a new apartment? What happened?
@sbi lol
I'll leave it as is anyway, because Careers is totally useless
Posted another answer without virtuals, inheritance and dynamic allocations — sehe 8 secs ago
sbi
sbi
@Mr.kbok You mean you create those huge voluptuous women set in artificial light worshiping pagan gods?
09:55
Time to run for the kids :/
@sehe Maximizing rep gain, are we
I shan't think so. I doubt the OP even upvoted my previous answer(s)
sbi
sbi
Anyway, time to do some work again...
@sbi Nothing serious. There are now two children living where I live at the moment; and two of my friends are also looking for a flat and invited me to join them. So I gathered it'd be a good time to move out.
> One of my favorite things I’ve read in the manual is this: “Iron man mode is the only time when Steam Achievements are active.” Iron man mode means that you can’t save the game, see how your war against Burgundy goes, and then reload the game to take a year to build a bigger army if it goes poorly.
eu4pls.jpg :<
I want achievements
now I'm gonna turn Portugal into a trading empire without achievements
09:59
Well, play Iron man mode?

« first day (1670 days earlier)      last day (3504 days later) »