« first day (3793 days earlier)      last day (1138 days later) » 

12:23 AM
@StackedCrooked I don't question your judgement. I judge your questions.
@Mikhail Predictably, Apple has highly trustworthy benchmarks that prove it is. Equally predictably, Intel has equally trustworthy benchmarks that prove it's not. As far as I can see, the parts you'd normally think of as CPU are less than stellar, but it has a accelerators for a few things (most?) current x86 chips don't. If you use them, M1 wins. Otherwise...not so much.
 
Its funny how everybody disagrees on the m1 chip. But I think the truth should be rather objective.
 
12:43 AM
I wonder how this static check behaves in gcc: releases.llvm.org/11.0.0/tools/clang/tools/extra/docs/…
 
1:00 AM
@Mikhail There is objective truth. But the question is how fast at what. If one machine can do addition or multiplication in 3 clocks, but another does addition in 1 and multiplication in 5 (and they run at the same clock speed), which is faster? Answer obviously depends on how often you do addition vs. multiplication. And x86 vs. M1 is a bit the same way.
 
 
8 hours later…
9:26 AM
Morning
I want coffee
 
10:05 AM
I have coffee
Day is good
But Ford-Johnson merge-insertion sort is trying to hurt my feelings
I fixed a bug where iterators went out of bounds, fixed a segfault, and now I've got timeout errors in CI and when trying to reproduce the timeouts locally I got a new fresh out-of-bounds iterator issue T_T
 
10:22 AM
I might have solved the out-of-bounds bug, which just proves that my resolution of the previous out-of-bounds bug was incomplete
Both happened in the same area, the new resolution is better
Fewer random +2 and -2 all over the place
 
 
1 hour later…
11:35 AM
Sooooo fixing the surprise out-of-bounds error apparently made the other error disappear
yay?
 
 
1 hour later…
1:02 PM
room topic changed to Lounge<C++>: Send help, I'm stuck. Literally stuck in this description field! [c++] [c++11] [c++14] [c++17] [c++20] [c++-faq]
 
1:32 PM
wait... the pirate exists!?
 
nwp
He does, he is just stuck. Not sure where though.
 
2:31 PM
Of course he does
I've seen him
I've talked to him
I've been way too drunk with him
Now do I exist
 
nwp
3:12 PM
I'm not convinced. For all I know you could be literally stuck in the title bar.
 
At least I'd be in a bar ç_ç
 
 
2 hours later…
5:28 PM
@Morwenn happy Friday
 
@Mikhail Thanks I guess?
to you too
 
I gotta fix a bug I've been stuck on for a few days before. Hopefully I'll fix it today
 
Can't it wait until Monday? :')
 
Its personal now
 
oh
Can you do it with a fresh beer?
 
nwp
5:35 PM
What a lewd question.
 
Hey, I stopped being lewd years ago :o
My only kink is linked lists and it's pure
 
Ugg, I hate linked lists, so memory inefficient, so hard to blast to python
 
It is memory inefficient and not cache-friendly, but I still find them sexy
Have you seen those iterator invalidation guarantees
They're to dream for!
And that ability to just share nodes between collections
 
Never gonna give you up, Never gonna let you down
just like an arena allocator
 
I just had to separate the node pool from the list itself in my custom linked list implementation
Also I had to introduce a cursed function to make it less cache-inefficient that breaks all of the node pool invariants when used incorrectly ^^'
 
5:45 PM
to make it less cache-inefficient for testing?
 
What do you mean?
 
Or I got confused by the negatives
 
Basically what I do is that I allocated a fixed-size buffer of N nodes where each node originally points to the next in memory
So the first node allocations from the pool are cache-friendly
But when I reuse the pool, the order of the nodes is generally shuffled, which makes the next uses of the node pool by another list way less cache-friendly
The algorithm allocates a list of M nodes, then destroys it, then a list of M*2 nodes, then M*4, then M*8, etc.
 
0
Q: More silent behaviour changes with c++20 three-way comparison

seheTo my surprise, I ran into another snag like C++20 behaviour breaking existing code with equality operator? Consider a simple case-insensitive key type, to be used with e.g. std::set or std::map: // represents case insensiive keys struct CiKey : std::string { using std::string::string; us...

 
And the last list uses the whole N elements of the node pool
 
5:50 PM
Spaceships Are Invading My (Code) Base
 
So to improve the cache-friendliness, once a list is destructed, I relink the first M contiguous nodes of the pool
 
@thecoshman That's a good place for hides
 
6:11 PM
CiKey is a Freudian type
 
It is. Or maybe Sophoclesian (seem to be half-remembering Antigone)
 
6:35 PM
@Morwenn Did you use conan in combination with cmake? If yes, what type of generator are you using to integrate conan with CMake?
I'm currently using cmake_find_package because that seems to be very clean.
 
@StackedCrooked cmake, cmake_find_package and/or cmake_find_package_multi depending on the situations
 
Ah, cool.
 
The last two are good because they are way less intrusive, and the last one is what they'll want people to use in the future
It's not perfect, but I remember that it solved issues other generators didn't solve
 
You had around 100 dependencies. Was that not a nightmare to manage?
 
But apart from updating the cpp-sort and cpp-TimSort recipes I've got to admit that I haven't done any Conan since my previous job ^^'
@StackedCrooked Oh, for sure it was, I worked on it full-time for 6 months while my colleague was actually developing the project we were supposed to develop
But it scaled better than doing things manually
 
6:42 PM
Hey, it's useful working experience. Now you're a package manager god.
 
Also if you start now you're in a way better place
Actually I already forgot most of what I learnt, but at least it can come back way faster than learning from scratch
Both Conan itself and Conan Center are in a way better shape than they were one year ago
 
In CMake, when specifying the dependencies, did you prefer the "imported targets" approach (i.e ZLIB::ZLIB) or the variables approach (linking with ${ZLIB_LIBRARIES}) ?
 
I used the target when possible, the variables when I had to tinker around
 
@Morwenn Yeah, that's good to know.
 
But a good part of my job was integrating other libraries that didn't have a recipe on Conan Center or bincrafters
And for those I tried to use the generators that provided whatever their CMake configuration used to find its dependencies
And used tools.replace_in_file to solve issues when those libraries CMake configuration didn't scale :p
Also I was lucky when the libraries for which I had to write recipes used CMake...
 
6:47 PM
Wow.
One issue I've seen is that if the external library uses find_package(ZLIB), then it is written for CMake's own FindZLIB.cmake which provides ZLIB::ZLIB. If you use conan with cmake_find_path then conan generates a FindZlib.cmake file which provides zlib::zlib. The small differences in case cause them to not be compatible. And that sucks.
Well, not a real problem for now. I'm still learning much.
 
Apparently I opened 24 issues and 23 PRs on GitHub that were related to Conan and/or build issues during my previous job
@StackedCrooked I thought that recipes could use different case for file name/find_package and target names nowadays
There was definitely a scaling problem there when I started using it, but it improved as I was using it, which actually caused a bunch of migration issues with recipes on Conan Center
It wasn't really stable
 
8:07 PM
7 minutes in, sounds good so far
Not sure whether I'll enjoy 1:30 of the voice though ^^
 
So what's slip sloping going on peeps?
 
8:23 PM
@thecoshman company organized happy hour with coworkers intersects with lunch time and I suspect day drinking is haram
 
o_0
1 message moved to C++ Questions and Answers - please use the proper QnA chat :)
Man, we really should be able to add a message like that automatically
well, not auto but as we move
 
Imagine being nice
 
Fuck you!
 
Ha! As if that would ever happen
 
<eyes>
 
8:35 PM
<eyes> <eyes>
 
<eyes> <eyes> <eyes>
 
9:20 PM
<eyes> == <eye> <eye>
 
9:34 PM
so much flirting tonight
 
Talking to a remote coworker from Saint-Pierre, I can make him for being French?
*make fun of
 
Yes, of course, French people are known for loving when foreigners make fun of them <3
 
@Lapys aye aye
 
Just go with honhonhon frog surrender baguette and we always find it hilarious ;)
 
can confirm
 
9:50 PM
They might even end up flirting back with rich French words
 
like erm... honhonhon
 
or wat ze fuck you fking rosbif putain de bordel de merde mange tes morts wesh
Of course I don't think anyone would come up with that actual set of words
But you get the idea
 
I think i'll make fun of them for being near Newfoundland, that will piss them off, and then they may like me more?
 
10:07 PM
Oh wait, Saint-Pierre as in Saint-Pierre-et-Miquelon :o
A weird bastard mix of Bretons, Normands and Basques :D
 
Indeed, dude is remote working in the middle of nowhere
 
idk you can just make fun of the fact that half of the population has no idea those islands exist and probably 80% can't locate it on a map
I'm surprised they even have the internet :D
It's cool that some people decided that they're still gonna live there anyway
 
"live" is probably too strong of a word :-)
I'll be moving out of Urbana-Champaign (home of the University of Illinois) in August after like 12 years, longest places I've lived
 
damn
I've spent basically my whole life in the same place
Anyway, I'm going to sleep
Later :p
 
accidently deleted your copy/move constructor?
@Morwenn If you're bored take look at these, its fully remote: linkedin.com/jobs/search/…
 
10:22 PM
eeeeh it's all abroad
 
its remote, I just told you some dude from a remote French island was working with us
 
yeeeeeeah, but actually effort tbh
 
You can do invented infrastructure work like integrate cmake with nix-os :-)
Sadly, my work sponsored trips to European optics conferences won't be happening anymore :-(
 
It's more like looking at other jobs at all is effort
 
After getting fucked working at the same place for 7 years I understand that I need to change jobs every 2 years, which is approximately the rate I change my jeans.
 
10:28 PM
Yeaaaaah but it's not like I've got a super bad situation either
Like, I could probably be paid way more and have more such advantages, but otherwise my life is pretty comfy
 
or go hang out somewhere new
I need to gather a team to make a startup where we grow children in tubes and take 5% of their future income in exchange for the service.
Also a eugenics company called "EuGenomics"
soon
 
The thing is I don't really want to work
Anyway, I'm off to sleep
 

« first day (3793 days earlier)      last day (1138 days later) »