« first day (1869 days earlier)      last day (3072 days later) » 

3:00 PM
I switched to ref swapping and locking for write only
What took 595 ms with reaqderwriterlock now takes 155 ms
Writes will be pretty rare so the allocation is not a problem
 
yeah that sounds about right, but if rights are rare... the reader/writer lock slim should be ideal
 
Guess I should use ImmutableCollections but don't want the reference
 
unless you can completely separate the read/write models
 
RCU might work too
 
what is rcu?
 
3:02 PM
Read-copy-update
 
yep, that is what I do now, I think
 
I think it guarantees wait-free reads
But writes are tad more expensive depending on the data
 
@CatPlusPlus nice if you're memory constrained, if you're not I prefer separate read/write models
 
internal bool TryFind(...)
{
    var temp = this.cache;
    ... find in temp
}
internal void Add(CachedItem item)
{
    Ensure.NotNull(item.Key, $"{nameof(item)}.{item.Key}");
    lock (this.gate)
    {
        var updated = new List<CachedItem>(this.cache.Count + 1);
        updated.AddRange(this.cache);
        updated.Add(item);
        updated.Sort();
        this.cache = updated;
    }
}
that is what I do now
a bit fragile but probably manageable as it is a small internal class doing just one thing
 
P sure you don't need to lock that entire block, just the update
 
3:07 PM
I'm not so sure
I need to lock from addrange
in case two writes happens
I think, locking like that is not gonna be an issue since it will be rare
 
You all ever notice ads are getting more and more annoying. Now sites have in-window pop ups that tell you to subscribe for shit all the time... and it pops up when you scroll down or when you try to close the tab, etc. How many people actually put their email into a giant flipping pop up ad anyway? STAY SUBSCRIBED JUST GIVE US YOUR EMAIL :)
Like I really want to read yet another dev/soothsayer waxing poetic about what the hottest new JS framework is going to be
 
> It’s going to open up here in America, and we’ve got to be prepared. And we’ve also got to start training all our officers in the use of high powered equipment. We’re dealing with bad people
 
user406009
@ElimGarak It's always popular to blame the president/leader.
 
Hmmm I wonder what his angle could possibly be
 
user406009
3:11 PM
I am sure that's true in every country.
 
tinfoil hat on way too tight
 
That dude that dumped his girlfriend went from 20k views yesterday to 1.6M today :D
 
user406009
@ElimGarak Link please?
 
Too long didn't watch
 
3:26 PM
Yeah, I just looked at the end. It's not particularly interesting, either.
 
user406009
Eh, it wasn't that interesting.
 
I can imagine the kind of folks that liked it, probably other "victims". It's basically revenge porn for them.
 
user406009
I just don't understand why people cheat.
 
user406009
It doesn't make any sense.
 
Ell
It does
they want to have their cake & eat it
 
3:28 PM
It's called the "hot bitch at home, willing hot bitch in front of you" syndrome. And it probably strokes one's ego, especially if there's a mutual physical attraction.
 
Ell
@thecoshman nah it's not nasty shite, but it is much cheaper to drink at home than in the club :P
 
user406009
The problem is that the payoff is really minimal but there is significant cost.
 
Ferengi rules of acquisition, number 62. The riskier the road, the greater the profit.
Not that I am endorsing or condoning, just find it curious nonetheless.
 
Ell
@ElimGarak I don't get it
what happened?
Usually people cheat out of cowardice also
 
user406009
@Ell The woman cheated on the guy.
 
user406009
3:33 PM
They were about to get married or something.
 
Ell
Yeah but what was the dumping?
did he dump her in the letter?
 
She cheated on him with a dude named Thomas. He found out. Kept it inside for 3 weeks. Did a full house inventory on camera for legal reasons. Wanted to dump her by leading her on with a proposal. Asked her in a heart shaped letter "Who the fuck is Thomas Rue"? Then left the house and took her dildos with him. Flapped them around in the car.
 
user406009
Yes.
 
user406009
@Ell His scheme was to make it seem like he was proposing and then dump her.
 
Ell
@ElimGarak Oh I thought they were already engaged :V
 
user406009
3:34 PM
It also seemed like he wanted her to trash his house so he could sue her.
 
user406009
Which is really dumb IMHO.
 
It's actually her house, by the looks of it. He didn't want her to trash it and then blame him, because courts favor women in these cases.
 
Ell
I think he was just protecting himself
 
user406009
Because you never get compensated for the full amount of damage.
 
The only mildly interesting part was him taking her dildos.
 
Ell
3:38 PM
haha
 
1.1, .2, .3, .4, .5, .6, .7, .8., .9... Whoops, not really 2.0 material... 1.10. Classy.
 
user406009
@ElimGarak That would actually make more sense.
 
user406009
Especially when he dropped the keys off.
 
it's her house
 
@ElimGarak thinking of anything in particular there? :)
 
3:42 PM
@melak47 :D
 
tell me :p
 
Thou shall not name names :D
Windows has been all about the .0.xxxxx range these days. Jumped from 4 digits to 5 just prior to launching for everyone.
 
@ElimGarak Version numbers are not decimals
@ElimGarak That's build number
 
guys
 
Ell
elim is a badlet
 
3:47 PM
what is the Spring Java framework
 
Yeah, but sometimes people version them too fast.
 
is it like qt for java
 
That is not a thing
 
@ElimGarak I never thought UE would go straight to 5.0
 
3:49 PM
People worrying about 'too large version numbers' are silly
 
Well, it's bikeshedding.
 
Use SemVer, no bikeshedding
It's really not that hard
 
I dont get it I cant imagine what all these java frameworks are for
 
they could as well use GUIDs for versioning
 
git commit hashes :p
 
3:51 PM
@Prismatic Uh, the thing they were built for??
 
@Prismatic What are you doing?
 
I can't imagine what all these C++ libraries are for
 
Nothing in particular, Ive just read about the Spring framework a bunch of times now but I dont really get what its for
@CatPlusPlus Most libs have a concise description I can understand
 
> The Spring Framework is an application framework and inversion of control container for the Java platform.
what's not concise about that :p
 
> Core support for dependency injection, transaction management, web applications, data access, messaging, testing and more.
 
3:55 PM
that sounds so unspecific
 
It literally lists things it does
 
> Boost provides free peer-reviewed portable C++ source libraries. We emphasize libraries that work well with the C++ Standard Library. Boost libraries are intended to be widely useful, and usable across a broad spectrum of applications.
how incredibly specific!
 
Ell
boost isn't a library :3
 
user1804599
static_assert(noexcept(std::declval<T&>() = std::declval<T>()), "T must have noexcept move assignment.");
 
Ell, have you written your hash table, bby? :P
 
user1804599
3:57 PM
Is this correct?
 
Ell
@ElimGarak yeah but my iterators don't work
so I think I'll give up on 'em :P
I don't think the assignment actually requires them
 
@Elyse I dunno. When do you need double noexcept?
 
Ell
nah I can't give up
 
user1804599
@melak47 What?
 
Ell
but I'm not sure how to write them. I don't know what begin() and end() should be
 
3:58 PM
I've seen noexcept(noexcept(expr)) but I think only on functions.
inner noexcept -> bool, outer noexcept for noexcept specification
 
@Elyse you're not using std::is_nothrow_move_assignable for a reason?
 
user1804599
Yes: I didn't know of its existence.
 
im making a steak today
anything i should know?
 
Emergency contact information
 
@melak47 the one declares that the function is noexcept based on a boolean, the other is an operator that queries if an expression is noexcept and returns a boolean value
 
4:00 PM
@milleniumbug yeah.
 
@sehe i have a sorta contract in C and it's just stunning
well I've finished it yesterday at 4 am
but the sheer amount of time I spent fixing problems that I haven't had in years... like the need for LL in 1LL << x
 
Ell
@BartekBanachewicz let it sit out of the fridge for a while before cooking it
 
@BartekBanachewicz on codementor?
 
@Ell Does car trunk count? I spent half an hour trying to start it up before someone saved me
I've changed my mind, fuck Renault (not really)
I need a new battery.
 
Ell
@BartekBanachewicz Sure :P Just don't cook it straight from cold is what I mean
 
4:02 PM
@melak47 it's private.
 
private contracts in C...kinky :p
 
@Ell it's sitting covered in pepper and sweet paprika
 
Ell
it sounds good
 
I'm cooking potatoes as well right now
not sure if I want to fry them up a bit as well
@melak47 beh, last time I almost got a Haskell one but I guess my quote was too high
 
user1804599
@StackedCrooked when a program hits the timeout, Coliru should show a message instead of nothing.
 
4:07 PM
Definitely fry potatoes. Even if for a bit.
 
Ell
@ElimGarak meh depends
new potatoes are nice boiled
roast potats are nice... roasted :3
 
I picked a kind that's suitable for eating boiled
also I forgot to add salt again lel
@ElimGarak I didn't cut them in nice slices though
 
I slice them to increase the surface area during boiling. Nicer penetration in the case of larger ones. I don't like removing the skin from tiny ones, given my culinary skills, seldom anything left of the potato after I skin it.
 
You ruined it
 
I sliced them in pieces
just not in whatyacallthem
 
4:12 PM
Chips? @Ell?
 
in Poland we typically call them talarki, like old coins
 
Ell
@ElimGarak chips are fried innit
 
user1804599
yay, awesome
 
@Ell you can put them in the oven as well
less fat
 
user1804599
Conditional memory barrier with very little overhead when it is turned off: coliru.stacked-crooked.com/a/f97efbd78999602c
 
4:14 PM
@ElimGarak No, the message
 
Ah, you plonked Bartek :D
 
Ell
@BartekBanachewicz yeah
I suppose the difference is shape then :P
 
user1804599
Awesome! It works so well!
 
holy fuck a guy from my uni wrote what he calls "a shop"
like, a website
 
user1804599
A webshop.
 
4:22 PM
Can we buy dildos there?
 
he posted in on FB telling people to "test" it. Then someone wrote "1/0" into the search bar and it crashed
he responded with "yeah it's hitting prod in 4 days but I didn't really do any validation on inputs"
how bad at life do you need to be to commit something like that
 
terribad
 
you need to be of limited ability
 
Ell
awful
he should just whip up a gui in visual basic, it'd be much quicker
 
@Ell To track the killer's IP?
 
Ell
4:24 PM
exactly
 
Wanted to see how many opinions the interwebs have on versioning. Lots, most terribru. Semantic versioning seems the most reasonable. Ours is similar in spirit, but I do have a hardon for keeping version numbers small. My bikesheds must be compact.
@BartekBanachewicz Wait, it is hitting production where? Something personal or?
 
Clang/C2 tomorrow! woo
goodbye cl forever! (yeah right ._.)
 
One day, someone will write here "modules tomorrow" and the link won't lead to Rebecca Black. One day.
 
:3
 
And then update all the stuffs.
 
4:31 PM
Yeah that didn't already happen 30 times
 
@ElimGarak Flag em if the owners don't bin it
 
It's a new original joke
 
@ElimGarak do you think it will be possible to make a Win32 module that works without exporting macros? :v
 
(There will be no modules ever)
 
@ElimGarak I did go to the other side, the store was empty. The business sank
 
4:33 PM
@melak47 Yes, in a better language
 
>_>
C++ is becoming that better language right now!
 
Now that's a good joke
 
@BartekBanachewicz what a badlet
 
Anyway WinAPI doesn't need macros, you'd have to rewrite the SDK for modules either way
 
ok guys
let's do this
@ElimGarak no fucking idea
steak landed on plate
let's see if it's edible
mmmmmmmmmmmmm
fuck me, I actually made it
 
4:37 PM
I actually dreamed once that Windows had been completely rewritten and that the new SDK was a joy to work with. It was so real.
 
rewritten in Haskell
 
You need to get more sleep, you're hallucinating :D
 
Cool, Win10 has a built-in for mounting ISOs
 
Been there since 8
 
> a joy to work with
 
4:39 PM
Legacy is ruining lives.
 
you've never written a single line in Haskell right @набиячлэвэлиь
 
And good thing too, because DTools was reduced to garbage in recent years
 
@ElimGarak just slap another layer on top on it
 
@BartekBanachewicz Nah
 
Oh, wow, DTools. Haven't heard that name in years.
 
4:39 PM
@CatPlusPlus it's literally daemon
 
Mounts the ISO, installs keylogger.
 
@BartekBanachewicz looks a bit dry
 
dat plate
 
Ell
looks good
 
4:41 PM
@ScarletAmaranth it lost quite bit of water when i puy it on the plate, dunno why :/
 
Ell
@BartekBanachewicz but we need to see cross section!
 
@Ell As soon as you provide working iterators, bby :P
 
Ell
@ElimGarak I haven't bothered with them :P
I don't need them
and idk when they're allowed to be invalidated etc.
it just adds needless complexity
 
@Ell there you go
 
Ell
looks good
 
4:44 PM
tastes good as well
 
Damn you, Bartek. Now I am hungry. :(
 
Ell
I'm goin chippy in a min
 
it's a T-Bone btw
 
@BartekBanachewicz Need more spices :p
 
Most importantly, the dead animal is present.
 
4:49 PM
@Morwenn pff, what for
also I really put quite a lot of them
 
Increasing your cancer chances. Bad Morwenn!
 
not sure what other spices would go with it as well
i know you can do them oriental style
 
@BartekBanachewicz If you don't see it from afar, there's not enough of it :o
 
eeeh and some nice East Coast IPA on top of that
man life's good
 
@ElimGarak Not a problem.
 
4:52 PM
 
Ah, Mass Effect from 2006. :D
 
my cat just stole last piece of it\
what a fucker
 
You have a proven track record of being owned by Cats. :/
Are you going to give him the potatoes as well or will he have to take them by force?
 
@BartekBanachewicz I don't know, I generally use whatever I have: pepper, chili, thyme, romarin, bay laurel, garlic, shallots, etc...
Also a bit of tasty vinegar.
 
4:54 PM
fuck vinegar
@ElimGarak i like you assume he didn't take them yet
 
Ell
oh my algos professor is a funny one
 
and the salad. fuck the salad as well
 
@ElimGarak Best thing about ME is still youtube.com/watch?v=ddqHDVTzmxo
 
Morwenn steak — It's somewhere in there™
5
 
@ElimGarak lmao
@Morwenn are you making a steak or a Happy Meal?
i feel much more manly after eating it
 
4:56 PM
@BartekBanachewicz A spicy tasty motherfucker.
 
garlic could be cool though i agree
forgot about it
beh next time
as for rosmarin and other weird spices
has anyone tried that? ^ (the green one specifically)
 
Estragon? Looks strange.
 
10 hours ago, by wilx
@chmod666telkitty Well, don't you have to have it put deeper?
Lol, I am on the star board?
 
@CatPlusPlus Oh, yeah :D Their laughter brings it home, though. :D
 
This was totally innocuous!
 
user1804599
4:59 PM
Awesome!
 
Mass Effect 3 had cutscenes with heads going 360° and stuff. :D
 
@Morwenn tastes amazing
 
That star x)
 
user1804599
My conditional memory barrier works great.
 
Mine too: I don't remember what I want to forget.
 
5:12 PM
god damn it
Rossi is such a fucking wanker
IDGI how he didn't get kicked out of the series for that
 
user1804599
What to implement now?
1. Generational garbage collector.
2. Type inference.
3. Code generation.
4. Instruction encoding (OCaml) and decoding (C++).
 
@Elyse 5. Elyse Project Completion Protocol
 
@Morwenn So you succeeded
 
user1804599
The list being in order of difficulty (most difficult first) is entirely coincidental.
 
he knew what we was doing the whole time. He kicked Marc out of the track deliberately
this video is a broader context
(it's a great watch btw even if you're not into motorcycle racing that much)
 
5:18 PM
@BartekBanachewicz he lost his nerves
unusual for someone with his experience, but can happen
 
Hi.
 
@AndyProwl he's kinda known for being a dick on track
but this one... come on.
 
I just reached the moment where I've kinda realized that spending time with ISO Standards isn't exactly.. world changing. So; what should I now do with my life?
 
@BartekBanachewicz he got irritated, the other guy was just intentionally slowing him down instead of doing his own race
 
user406009
5:20 PM
@FilipRoséen-refp Have lots of fun.
 
already happened during the GP before, but that was such a blatant provocation that Rossi went out of his mind
 
@Lalaland I think I've been having too much the last 10 years
 
@AndyProwl uh I dunno about that. Maybe, just maybe, Marc had a worse day and wasn't able to run away from him after an overtake
Rossi has a better (faster!) bike.
 
Nope
Marquez had a much faster bike, much faster than Lorenzo's too
If you check the times even from the previous GP, when Marquez was ahead of Rossi and when he was behind, you'll notice that he was ~1 second slower when he was ahead
 
Everyone in the Honda team was complaining about engine power this season
@AndyProwl this doesn't mean it was "intentionally slowing down" yet.
 
5:23 PM
nah, Hondas were much faster than Yamahas. It was very visible during the last GP that Marquez had to figure out weird trajectories in order not to bother Lorenzo, while he gave Pedrosa a really hard time - because he knew he would have overtaken Lorenzo too
@BartekBanachewicz IMO that together with the behavior in the next two GPs is quite a clear indication. Rossi irritated Marquez earlier during the championship
and he got his revenge
 
either way, what he did was unacceptable.
 
sure
I think this is a nice analysis
but yeah, Rossi just went crazy and did something stupid
probably was very nervous cause he knew this was his last chance to win the title
 
> I think there was no kick
 
the kick was a reaction
 
also uh "NO WRITTEN RULE of drivers"
 
5:29 PM
and you can't just "kick" a bike away
that thing is fucking heavy
 
if you kick the right side of the steering bar backwards you're making it turn right
 
    int min = 0;
    int max = temp.Count;
    while (min < max)
    {

    }
I forgot ^ in my code, tests started to run slow
 
he didn't kick it so that it toppled over
he kicked it so that it lost traction on front and slide out
anyway, as for the "nonwritten rules", the WRITTEN rules are there to make it safe for the drivers in the first place
if your nonwritten rules make you endanger someone else on the track then to hell with them
 
yeah, but if someone intentionally slows you down to make you lose without any other interest than making you lose, that's not sports
Marquez should have been trying to do his best rather than make Rossi do his worst
 
sports is sports as long as you're playing by the rules
 
5:32 PM
I clicked on that thinking it is an actual video on driver analysis... I'm such a badlet ahahah
 
not in my view
 
the race isn't left hanging in void
you have your score and your ranking and your points and there's tactics involved
 
if you play a football game to let your opponent win, so that another rival team won't win the title (and you have no chance of winning the title either), that's not sportsmanship
you don't break any written rule by doing so, but you're lame
I'm not trying to justify Rossi, I'm just saying Marquez is a dick too
 
except in football you're not on a 200kg suicide accelerator where a slight mistake might kill you
 
yeah, which is one more reason why Marquez shouldn't have done that
if you race with the intention of making someone else nervous, that's bad. You can't prove it, so you can't penalize him, but it's bad
 
5:36 PM
@набиячлэвэлиь Holy crap you have long hair.
WHOA.
 
Is travis.org weird for everyone?
 
user1804599
case opcode::jz: {
    auto offset = int32();
    auto condition = pop();
    if (*static_cast<bool*>(condition->auxiliary_data())) {
        instruction_pointer() += offset;
    }
    break;
};
 
user1804599
Spot the bug. :3
 
@Nooble Well, yeah.
@Elyse *static_cast<bool*>(condition->auxiliary_data())
 
user1804599
What is buggy about that?
 
5:37 PM
@Elyse += vs =
 
@набиячлэвэлиь travis avenue baptist church...?
 
offset is always 0?
 
user1804599
@набиячлэвэлиь No, that's correct.
 
user1804599
@AndyProwl No, int32 is a function that reads a 32-bit signed integer from the bytecode.
 
user1804599
5:38 PM
The instruction is called "jz" (jump if zero), but the if statement sets the instruction pointer if the Boolean is true (i.e. not zero). :)
 
@melak47 Aw fuck, I meant travis-ci.org
 
yeah I was about to say that
 
user1804599
Local lambdas are really awesome.
 
@Elyse who's to say zero in your language/VM isn't true?
 
@Nooble Wait, did you get a hold of a photo of me?
 
user1804599
5:39 PM
@melak47 Me.
 
@набиячлэвэлиь No, just your YouTube video.
 
@Nooble ah
@Nooble you said there's gonna be lotsa work on lumiukko, but I see nuthin'
 
user1804599
What's the most idiomatic way to remove the last N elements of a vector?
 
user1804599
local_variables.resize(local_variables.size() - stack_frames.back().local_variable_count); is ugly.
 
local_variables.erase(local_variables.end() - stack_frames.back().local_variable_count, local_variables.end());
 
5:46 PM
vector.erase(vector.end()-N, vector.end()) maybe?
 
Oooh, found a really old variant of the office scene test. It didn't even have edge plating back then.
 
@набиячлэвэлиь That was until I saw homework.
Also right now I'm working on making your avatar material design compliant.
 
@Nooble lol
@Nooble what.
 
@ElimGarak whoa
 
The low resolution acceleration structure shows a bit around the chromey legs of the table. Shouldn't be picking up that much green but green is dominant in that block, oh well. 2025 will be better.
 
5:56 PM
 
Nice.
 
Why did you pick colors from like.
1492?
 
@ElimGarak Is that office in space? Its pitch black outside.
 
TIL there are people buying old tech just for funsies
 
@Borgleader Well, atmospheric scattering would look weird there without buildings in the distance... And modeling additional buildings for the distance didn't seem like the lazy thing to do. :D
 
5:59 PM
@набиячлэвэлиь whoops forgot to ping
 
@ElimGarak Make it recursive--have another copy of the same office (at reduced size, of course) showing through the window.
 
user3790646
boost::thread crashes when in a loop ..
 
@ElimGarak Find picture of a building, crop the building, model a box, put picture of building on each side gg wp
 

« first day (1869 days earlier)      last day (3072 days later) »