« first day (2601 days earlier)      last day (2350 days later) » 

12:36 AM
Why didn't they give that conversion operator a ref qualifier? The view becomes invalid if the string is destroyed
 
1
Q: Serialize boost::bimap with boost::dynamic_bitset as key value pair

AwaitedOneI am interested to serialize a boost::bimap containing boost::dynamic_bitset so that I can save that and load back when needed. I have made an attempt to do that but I get many errors. The code that I have with me is as below. // Example program #include <iostream> #include <string> #include <fs...

Chuckle. "AwaitedOne" seems an apt name for a person with so much performance-awareness
MUCH HASH, SUCH PERF
@Columbo the ref qualifier hardly manages that. It'd be nice, but not water proof
 
@sehe Yeah, to be fair, it would be counterproductive in some cases as well
 
The &&-qualified version could be deleted, but then, moves preserve the allocation, so views would not be invalidated across moves. There's no win except "ban implicit conversions"
 
@sehe What's the point of providing it only to delete it?
 
12:53 AM
Who said both.
I was merely pointing out the problems even with deleting that.
 
@sehe Come again?
 
Deleting it is not providing it.
Your question was moot.
 
..okay. What's the point of deleting it
 
1:13 AM
Making it unavailable for use? This is not hard.
If you think my thought experiment was boring, just say so.
Perhaps nobody noticed two weeks ago when the root login vulnerability in macOS High Sierra was shared as a helpful tip on Apple’s own Developer forums. https://forums.developer.apple.com/thread/79235
4
 
@sehe It's unavailable for use if you just define the & variant.
And if you declare one function with a ref qualifier, all others need one, so you have to declare the & variant in that case, anyway.
Unless you were to simply not define any other variant, which would be highly nonsensical. And that's not what you meant to propose?
 
I was simply not talking about any other variant.
Without such context, deleting it makes sense per se.
 
internet reminds me of a neighbourhood where all houses are locked but there are plenty of thieves around who thinks it's okay to break in because no police cares about those break ins
 
1:32 AM
@slaphappy no that was here
 
@ArkadiuszKoćma Yo, yesterday you noted that HP servers cost less. What were you comparing?
 
henlo mikhail my babby
I was comparing different kind of high end servers (SuperMicro and HP)
 
Were the specs the same? Also what were the specs?
I gotta buy like $30k wroth of server in February
 
Yes, strictly the same specs
Let me find a link
 
@ArkadiuszKoćma you can send it to kandel3 at illinois.edu
 
1:36 AM
lol
 
I can pay you in memes or something
fuck, I need to be social, g2g
 
@Mikhail why do you need to be social?
 
@sehe No, it makes zero sense. Why would I delete an overload if there are no other overloads?
If there are others, just give them a ref-qualifier, and that's equally restrictive, but saves a needless definition of another overload.
 
2:00 AM
@Telkitty Imma knock on all your ports to see if anyone's home first.
 
@Mikhail Are you able to use discord instead?
 
@Aaron3468 I am touched by your dedication ...
 
2:18 AM
hi
 
sup cinch
 
 
1 hour later…
3:47 AM
hello, i'm looking to learn modern C++, i am already quite knowledgeable regarding programming in general, and other desktop languages such as java and rust. according to the faq question the best book would be "Accelerated C++" but it has been writen in 2000 and doesn't contain any material on c++11/14/17 which i've heard are quite significant changes in the language. would you still recommend starting to learn c++ with this book?
 
4:10 AM
@sehe I'm less concerned about that. I'm pretty thick-skinned by now.
@Delthas I'd seriously wish there were a newer book to fit your situation, but right now I don't really know of anything that's a better fit.
 
4:49 AM
@JerryCoffin that claim is dubious ... I mean, you tried to imply that you were once not so thick skinned ...
 
@Telkitty There was such a time. The minor detail that it predates dinosaurs is beside the point.
 
5:08 AM
You see what you want to see
 
> I like lore that considers the scientific implications of what it describes
oh boy
can't tell if troll or srs
 
5:50 AM
@JerryCoffin Didn't Stroustrup write some introductory book quite recently?
 
6:14 AM
@wilx Yes, but it's intended primarily for people who haven't programmed before, not somebody learning C++ as a second (or subsequent) language.
 
6:28 AM
C++ as 1st language learnt. Good one.
 
7:20 AM
how to create a installer using c++
?
 
Wrap it in Electron
 
7:36 AM
:D
 
sup loungers
 
 
1 hour later…
8:41 AM
@Rerito it's getting harder to get out of bed everyday x3
also I'm getting to the point where I might actually try to make cpp-sort work with MSVC
 
9:14 AM
Can some one tell why Mutex Lock is required for Malloc in multi thread environment ?
 
@samnaction it's not required if a lock-free thread-local storage solution exists
then the first attempt can try to allocate from a thread-local pool
but if that fails then it needs to add to that pool which will require a lock to update shared data structures to allow free to work on other threads
 
hmm I am seeing a core dump on malloc suspecting that thread is not able to get the mutex lock
 
@samnaction Get the mutex lock? If it weren't able to lock the mutex it would just sit there and wait. It would not dump core.
 
and if allocation failed outright then it should return null
 
@samnaction It seems more likely that you are writing over the malloc data structures. Run your code with Valgrind or such.
 
9:27 AM
Valgrind didn't show any issue
Codes is trying to create RWCString object
 
nwp
Try -fsanitize=undefined,address
 
there's also the thread sanitizer, maybe it would help
 
@Morwenn You will give up on that one :noel:
 
9:54 AM
@Rerito I gave them the project a few months earlier because it triggered ICEs, maybe the next version will be able to compile it :D
 
You're such a goodlet
You may end our miseries on windoz
 
@Rerito I don't think so, but maybe these guys can :p
but you won't switch to working MSVC before your next job anyway
 
Ahahah thanks for reminding me how bleeding edge we are here :')
 
nwp
Bleeding edge: Definition: 1. When software developers constantly cut themselves to lessen the pain caused by outdated tools. 2. [...]
 
10:12 AM
Bleeding edge is when you sharpened the knife to cut potato, then the edge is too sharp and the potato too slippery & you cut yourself - it looks like the edge is bleeding but really it's just your blood on the edge. The sharpened knife really is the latest technology & potato is the task at the hand
 
10:22 AM
@Telkitty lol
 
@Telkitty if you use Rust on your knife, you can hardly cut yourself :D
 
@Morwenn well you still can once you do something @unsafe
 
@Morwenn But when you do you might en up with lockjaw
 
10:40 AM
@ratchetfreak like sharpening the blade x)
 
11:15 AM
2 hours ago, by samnaction
Codes is trying to create RWCString object
This is a new low in mass noun abuse
 
11:44 AM
Has anyone of you read A Canticle For Leibowitz? It was amazing and I am looking for similar books
If I remember correctly the postman and the lucifer's hammer had a similar feel to them
 
@Horttanainen Just postapocalyptic stuff?
Malevil is similar. Decent, not much of a sci-fi though, IIRC.
 
@wilx Yeah but I don't want any raving zombies. I like the slow pace of these books
@wilx Hey it looks promising
it seems kinda hard to get though
 
1:00 PM
> Les hérissons cachés dans la boîte à gant
 
nwp
We are not hello folk. I forbid those generalizations. Flagged as offensive.
 
@nwp you don't seem to have it flagged.. because i wasn't notified
 
nwp
Well ... you got lucky this time!
 
@nwp so are you halffolk, or unfolk, or halflife or something?
 
nwp
1:13 PM
I would say we are a collection of special snowflakes, but I don't like to generalize like that.
 
@nwp I'm not special, I'm speshhhhuuuul
 
nwp
@Rerito I'm sorry. It's all @JohannesSchaub-litb s fault for creating such a toxic environment.
Ok I'll stop now.
 
Ahahah
 
1:29 PM
> Fuck you too PS/Get-Content
nice commit messages
 
1:45 PM
I have to say that the whole abortion discussion has left me rather optimistic
I've realized that in the end what those people doesn't matter as long as the law allows abortions
in a way, this is a solvable problem. I think sooner or later we as collective humanity will set the threshold at a level that's most beneficial to everyone
technically it should be a self-balancing mechanism
 
1:57 PM
i can't remember my life in baby bubble and haven't seen anyone who can. so I would assume that babies don't have feelings in the baby bubble
maybe there's a more scientific approach to it, though
pass a mirror down there and estimate the level of self-awareness of the baby
 
lol
last time someone tried to say "but they have a heart"
well cool so that's almost as advanced as a fish or something
i think the heart can work without any brain at all
 
Ven
maybe i dont want to kill fish huh
how about that
 
yeah I said almost
 
There is a chapter in American Psycho where he kills a kid and is slightly annoyed because the deed has no impact. Only the parents will miss the child and even the child does not really understand what is happening.
 
are you vegan @Ven?
 
Ven
2:13 PM
lol
 
hm, chicken heart taste delicious
 
@Horttanainen I hate when books are similar :)
 
@BartekBanachewicz context?
 
2:28 PM
@sehe Huh. Why? I usually look for similar books when I like something
 
@sehe I've been arguing on twitter since yesterday
 
@BartekBanachewicz How wholesome. Why would you. Wasn't abortion beaten to death yet :)
@Horttanainen I suppose I easily conflate things in my head. I don't like when I read something that gives me the feeling "I've been here before". Had that with Dan Brown, e.g.
And too many Harry Mulisch books
stackoverflow.com/questions/47530399/… - Again. Where you do get Boost from? Did you build it? With what flags? If you downloaded binaries (erm) what flags were used by the providing party? — sehe 1 min ago
14 hours ago, by sehe
Chuckle. "AwaitedOne" seems an apt name for a person with so much performance-awareness
truth++ ^
 
2:45 PM
@sehe Yeah I get that. I generally don't like to read books from the same author. Except Neal Stephenson
 
@sehe I can argue with anyone about anything
 
nwp
And you don't see a problem with that?
 
@nwp now why would you have a problem with someone arguing about something?
 
nwp
I have recently decided that I should not argue about topics I know nothing about. Some topics like politics and religion are very tempting to argue about even if you have no clue. Arguing about anything contradicts my rule, so I feel like there is a mistake in one of the approaches.
Maybe it is simply the goal of the conversation that differs. You can have fun while being completely wrong and I guess that's ok.
 
@BartekBanachewicz Of course. That wasn't the question :)
The question was sort of neutralized by the rhetorical joke anyways
 
3:00 PM
@nwp I'm completely right though, duh.
@nwp I tend to stick to topics I know just a tad about. The ones I know a lot about, like software dev, tend to get too frustrating too quickly.
 
nwp
So the error in my thinking is that I assumed you couldn't possibly know about everything while in fact you can.
Or that I'm taking "anything" too literal.
 
I'm fine with arguing to get more info, other points of view.
I just don't see how anyone could still need those data points about a topic so well trodden.
I think it's other needs then.
 
For any subject there is more ignorant people than people who really understand the subject enough to have valid arguments. This leads to the ignorant people getting as much visibility as the researchers of the subject. As is happening with the vaccination "discussion".
 
Nah. That's the case of people actively rejecting the research
 
3:08 PM
@sehe Those people should not be arguing about the subject in the first place.
 
a few rejected the research but they then advocated their feelings to others who don't even bother looking up the research that is being rejected
neither really deserve to be part of the argument anyway
 
There was a case in Finland were a researcher refused to take part in a panel discussion about eating healthy, because the other 3 panelist invited had no qualifications whatsoever.
 
nwp
I don't bother to look up the research either. I trust that a doctor will tell me the right thing to do and hope my naivety will not do much harm.
 
@nwp You should read Sure You Must be Joking Mr Feynman. The doctor has no idea what is wrong with Feynman's wife, so he reads a couple of books and comes up with a right diagnosis
 
@Horttanainen Why not. They should. They should just not get any credit/credibility
 
nwp
3:14 PM
@Horttanainen Why would I read that? It aligns well with my strategy. The thing I would need to read is "Doctors abuse the trust in them and extract money from patients by prescribing unnecessary and unhealthy medication".
 
@sehe See my later comment about the panelists. Since the networks approach is neutral: everybody gets to say what they think about the subject, audience will not have a clear picture about who should be trusted on the subject
@nwp Ah you were joking
 
nwp
@Horttanainen Wait, by "he" you mean Feynman, not the doctor?
 
yeah feynman
 
nwp
Oh. I read it differently at first. Makes sense now.
 
@Horttanainen True. That's what I mean with "credit/credibility". Amplifying in the media is doing just that
 
3:21 PM
@sehe In the days before the internet it was much more trouble to get visibility for one's stinking opinions. Nowadays anybody can just start a blog or facebook page and promote silver water and other pseudo-science shit.
 
Yup. Internet finally shows how responsible we are for our opinions.
 
zoo.cs.yale.edu/classes/cs422/2013/bib/terry95managing.pdf This paper is really good thought provoker for people interested in distributed systems
 
@Horttanainen Never really was any different (I guess this is how stereotypes silently grow: it's a quiet accumulation of "benign" misconstructions that end up being pervasive ("women can't think", "negros aren't people").
Difference is, big money + internet now can weaponize invalid opinions
Not even that is the internet's doing: $1m dollars in ads almost bought Trump a new casino
Crooked Donald: of course he assumes "the others" are also playing foul. After all, he's so used to it, and nobody questions it. It must be pervasive! #CrookedDonald
 
@sehe I somehow don't understand what you are saying
 
3:40 PM
@Horttanainen Welcome to the club. I am glad I am not the only one.
 
@wilx Should our club have a name?
or a secret handshake
 
@Horttanainen Sehe-so-subtle club.
 
@wilx fine by me
 
@sehe some of those also had active propaganda backing them
 
@sehe Those are some bad stereotypes. Are those even stereotypes?
 
3:45 PM
@wilx they used to be "common knowledge"
 
Sadly, the fix is not released because the 1.65.1 tag is mistagged to be identical to 1.64.0 — sehe 23 secs ago
Boost Process gives me much the same cringe as Jens Weller doing PR
@Horttanainen Absense of people doesn't make wrong opinions less influential. It just causes different falsehoods to grow popularity, over more time. But a lot more insiduously (see gender/race stereotypes e.g.) /cc @wilx
@ratchetfreak The point was not that amplification couldn't occur. It was that amplification was expensive.
 
@sehe Ok I get it
 
:)
 
hey, Intel is proposing to implement C++17 execution policies and parallel algorithms in both libc++ and libstdc++ :D
 
4:03 PM
It's important to note that while the effective size of the dog can be arbitrarily large, it's not any more of a good dog than the two original dogs.
4
 
is the robot around?
got a question about nonius' CSV reporter
 
nwp
@JohannesSchaub-litb Hasn't been here in a couple of months. Or he is hiding really well.
 
that CSV reporter outputs 100 samples of measured benchmark times
i wonder whether these samples are derived from the statistical bootstrap-samples (perhaps the mean of all bootstrap samples?) or from the original samples?
i assume they are the actual original samples.. just to be sure
 
obv yes
 
@nwp Didn't he get married or something? He probably has better things to do than hand around here.
 
4:10 PM
s/d/g/
 
I see him on Discord from time to time
 
@sehe would it make sense to get the 100 samples from the bootstrap samples? i.e average position I of the result from the position I of the 100000 bootstrap sample vectors?
 
nwp
Anyone with standardese knowledge wants to unconfuse barry?
 
@nwp added a comment. doesn't mean i have such knowledge tho
 
basically the C++14 change was to make left-shift not UB anymore for two complement's architecture
 
nwp
4:19 PM
Sadly I can't check what ubsan has to say about it at the moment. A shame that -fsanitize=undefined,address doesn't compile on coliru.
Not that that would be good enough for language-lawyering anyways.
 
nwp
4:33 PM
Bleh, signed integer overflow is even more complicated now. Can't just say it is UB anymore.
I'll assume that actually went through.
 
@wilx Damn, they grow up so fast.
 
@nwp "Unconfusing Barry" - I smell a Hollywood title
 
nwp
4:49 PM
@sehe It already happened. Some dude named Oliver used some lamp thing for that. I might even find the episode if I look for it enough.
 
:)
 
 
5 hours later…
10:10 PM
How did I end up in this bubble. How does a bubble like this even exist. It's not pretty.
The mob mentality. It's deafening.
 
lolwhat
 
I can't laugh anymore. Please, don't read the whole thread.
It's depressing.
I meant what I said. I've spent too much time already, and you've just made my answer mismatch by altering the question. — sehe 6 mins ago
Man. I have enough little people to rear.
Guy didn't even have the decency to upvote. I'm tired. Also dealt with another moron obnoxious help vampire on the Spirit mailing list. That mailing list is a mess, technically - things are not working right
Sehe - just want to thank you not only for this dedicated answer, but for all your answers and contributions. I'm sure I'm not the only one who is grateful and inspired by the time and effort you clearly put in. — Dan Nissenbaum 18 hours ago
I almost forgot about this nice experience earlier today, so let's take another tea, cherish this comment and go to bed.
 
10:52 PM
lol
111
A: What is negative code?

JayWhen I was in high school -- and yes, we had computers back in the 70s, though we had to make them out of animal skins using stone knives -- one of the math teachers ran a programming contest. The rules were that the winning program would be the one that produced the correct output, and that had ...

 
@sehe You know that guy doesn't like Obama if he writes "Former President Barrack Hussein Obama". Also, I thought "President" was a title you kept for life in the US?
 
11:12 PM
@sehe he's also meeting Macron yet nobody seems to be giving a shit x)
 
11:29 PM
@Mikhail So I have an ES 7940X in front of me. Overclocking it is one of my tasks now at work. This is awesome.
 

« first day (2601 days earlier)      last day (2350 days later) »