« first day (2173 days earlier)      last day (2772 days later) » 

3:00 PM
wow
just wow
 
@Griwes There are all sorts of ways to have both to varying degrees--but that's not what Java supplies.
 
inb4 "wait until you see threads"
 
sbi
@ArneMertz I am. Even though it seems I won't be at the conference. :(
 
next time someone says Haskell is esoteric I'll tell him that I'll respond to his claim when his java finalizer fires
 
sbi
@Xeo That lacks an "er" at the appropriate place.
 
3:02 PM
ok
I've moved the connection to a static variable
it seems to... at the very least mitigate the problem so far
I am 2/3 in the Trump/Clinton debate, if it doesn't crash until the end I'm calling it a day
 
sbi
I have seen that there's new entries to the C++ FAQ, including one by HH. Thanks, @TemplateRex for making the latter an FAQ!
 
mmm, okay, so it seems that netflix was using 285 12GB nodes in their stress tests
and they got 1M writes per second
so about 3.5k/s per host
I'm doing about 350/s and after the changes it seems to be holding up quite well
 
plzno
ram is raising
 
3:18 PM
who the heck would by such laptops which have less than an hour battery life
/:
 
@ProblemSlover those aren't really laptops
"desktop replacement" they call them these days
Lenovo calls W series "mobile workstations"
so an hour is a ... pretty damn good UPS if you ask me
 
@BartekBanachewicz well nice marketing titles but it doesn't change the things :/
reakky?
 
@ProblemSlover but they do? Noone is using those things unplugged
you unplug it, pack it, move and unpack it, plug it again
they aren't meant for use on the go
the fact that they have a similar form factor to say a 13" ultrabook is irrelevant
 
Jez
Hey guys. If i have a preprocessor definition of an unknown length integer that i need to convert into ASCII and plug into a string, what's the best way to do it?
 
#
 
3:23 PM
^
 
Jez
huh?
 
@BartekBanachewicz looks huge and I doubt that this thing will live long/
 
#.
 
Jez
explain more plz
 
3:25 PM
I realize that might be not very googleable in the context of the C preprocessor, but the answer is still exactly that: #.
 
Ven
@Griwes no that's lisp :P
 
@BartekBanachewicz I think we are not there yet/ because of such high costs :P
 
@ProblemSlover Who is not where again?
 
Jez
@BartekBanachewicz but that's if i'm defining the #define
i mean i'm pulling in a #define from a header
and i need it converted
 
@Jez no. Read the article again.
 
3:26 PM
...this still applies.
It's literally what the bottom example on that page does.
 
@BartekBanachewicz :/ Sorry mate not in that good mood to to assert my point ;(
 
@ProblemSlover you literally don't have a point
that's fine though
 
Ven
this one's a bit slow
 
@BartekBanachewicz indeed. anyway apple is the only brand which I gonna trust my money in the laptop market or so called mobile workstations if they turn in the game
 
Ven
> Do not use new and delete; use Aws::New<> and Aws::Delete<>.
Do not use new[] and delete []; use Aws::NewArray<> and Aws::DeleteArray<>.
Do not use std::make_shared; use Aws::MakeShared.
Fuck you amazon. Fuck you dearly.
 
3:37 PM
:D
NIH much
 
Ven
> No exceptions.... no exceptions. Use the Outcome pattern for returning data if you need to also return an optional error code.
 
> Outcome pattern
 
TIL Amazon can in fact give you cancer
 
Ven
yes returning a value now is a pattern, behold peasant.
 
next time I need to allocate a bunch of stuff manually I'll give them a ring
 
3:41 PM
@LucDanton Does strict-aliasing only apply to overlapping addresses? What if you have a char*. You access the first 4 bytes as int, then you access the 5th as char?
Context:
-1
Q: 64 bits architecture optimization

AlexiI'm testing a function that calculates the XOR of two char buffers. In order to increase the speed, I'm checking the speed of doing with a integer pointer (32 bits) and long long integer pointer (64 bits). I use the function with a char pointer for reference. Of course, I'm testing on a 64bits ma...

 
@Ven C++ is the language of democracy -_
 
@ScarletAmaranth Give the ring to your girlfriend instead.
 
Ven
Herb Sutter's talk is great.
 
@ProblemSlover Java is the language of theocracy. Actually, no. Java is the 21st century equivalent of flat earth.
Within a limited scope, it all seems to make sense, but as soon as you widen your scope at all, you realize everything about it was completely wrong from beginning to end.
 
@JerryCoffin I don't discriminate java and javascript .. coding both I feel myself in the matrix :/
 
@EtiennedeMartel In that case, I want to succeed from society and form a new one with better taste. As limited and ugly and VB can be, it's still less crufty than Perl, and a society that doesn't realize that is probably irredeemable.
 
Ven
Meh.
 
@ProblemSlover Java and JavaScript? Seriously? I can hardly think of any commonality between them beside the name.
 
Ven
They suck.
 
perl still alive. it's been consumed for along time by python
@JerryCoffin they have. having GWT as the bridge :/
 
4:04 PM
@Ven Even that's not really accurate. JavaScript is like alcohol. Although it's abused far too often, there's nothing fundamentally wrong with it in moderation. Java is more like lead poisoning. Even the slightest exposure to it causes damage, and the more exposure you have, the more damage it does.
 
@JerryCoffin javascript is still not a good language IMO
 
Javascript got "class" conception in the latest standard. so they are getting close
 
@ProblemSlover A good move from the viewpoint of execution speed, but not really an improvement from a theoretical viewpoint (in fact, there's a fair argument to be made that it's a step backwards).
 
the quickest ref I found of it called them syntactic sugar over the prototype behavior
so there should be no difference between classic prototype based stuff and the new class stuff
 
@JerryCoffin Ok. I don't advocate the language features of javascript
 
4:21 PM
Meh, you can't use google in china, bing is sort of usable
@ProblemSlover can you link me to vpnexpress?
no google, no youtube, life has never been so complete!
 
@Telkitty support@expressvpn.zendesk.com
 
...
 
@Telkitty You mean The link? expressvpn.com
@Telkitty anyway my brain is not working tonight. so apologise if I misunderstand what you mean :P
 
chinese intranet is interesting ...
 
@Telkitty not really intranet. for example most russian websites are accessible from there. so you are good if you can understand some russian :P
 
4:33 PM
why can't I access the world through tor here? :/
 
@Telkitty You should learn the way Chinese firewall works
btw it \s started using machine learning recently
 
The Great Paperclipper of China.
 
5:00 PM
My new SO pet-peeve:
- (OP posts low-level performance question)
- Me: What processor is this? Intel X will behave Y when you do Z.
- OP: Core i7
- Me: FFFFFFFFFFUUUUUUUUUUUUU
 
not entirely dissimilar to: A: what OS are you running? B: windows. A: (gah)
 
@Mysticial At least he didn't just say: "It's an Intel".
 
@JerryCoffin I've had answers like "a Xeon processor". That's pretty close...
 
https://torrentfreak.com/cloudflare-we-cant-stop-pirate-sites-160927/
Feel sorry for cloudflare
 
Extra points if the answer is "It is a dell"
 
5:10 PM
@Mysticial I do wish Intel would go back to "aligning" the "brand" name with the actual model. 286, 386, 486 was a pretty easy sequence to learn. The relationship between (say) Sandy Bridge, CannonLake and Knights Landing, isn't nearly as obvious.
 
Ven
Literal nerdcheck
 
And of course, i3, i5, and i7 mean next to nothing (and only say "next to" because "Xeon" does manage to mean a tiny bit less).
 
@JerryCoffin IIRC, the biggest offender I've seen is, "I have a Macbook."
 
@Mysticial "I have a smartphone"
 
Ven
Hi @Mysticial pls help I drilled my a new jack in my iphone and now my gpu is 0 flops??????? hlp
12
 
5:23 PM
The other pet-peeve I've seen that's relatively recent is people using SSE/AVX intrinsics without any experience in C or C++.
 
Ven
Is repe a x87 sse intrinsic y/n pls help
 
They ask why their code is crashing. And it's because they're making a newbie C++ error like returning a reference to a local or something.
 
Ell
I think I'm gonna do a lamb shank tomorrow
 
-2
Q: DEV C++ (NOOB, Frist year of University, switch )

Pierluigi RizzuOk guys, i wanted to create a rly easy switch to answer the question "how are you?" if the user writes fine, it'll display a text, if writes anything else, another test could u make me a template with comments? pls dont h8 i'm a nub

 
@Mysticial Apple's even worse about it than Intel. Not sure any more, but for quite a while, MacBooks mostly didn't have visible model numbers at all, so the best available identification was often something like: "silver case, Summer 20xx".
@Ven Yes it's not. My helpful advice: always cite your sources.
 
5:41 PM
@milleniumbug Frist? Seriously?
That has to be a troll.
 
Ven
@milleniumbug that answer pisses me off
 
user1804599
I like the CW answer.
 
@milleniumbug ahahaha /cc @Borgleader
 
Ven
@rightfold i upvoted yours
 
user1804599
:3 :3 :3
 
user1804599
5:44 PM
Speaking of CW.
 
user1804599
I think of making my wiki editable by more people.
 
user1804599
And then just put protection on the blog posts and the main page.
 
@rightfold Technically, you didn't answer the question. The question is, "could u make me a template with comments?" for which the answer is either "yes" or "no".
 
user1804599
Proof by construction.
 
user1804599
My answer implies "yes".
 
5:47 PM
@EtiennedeMartel "Frist Psot"
 
user1804599
6:02 PM
Cool, ATS allows scoped template specializations.
 
user1804599
let
  implement list_foldleft$fopr<set string><ast> (acc, e) =
    funset_union (acc, free_vars e)
in
  list_foldleft<set string><ast> (args, free_vars callee)
end
 
posted on September 27, 2016 by Herb Sutter

You can find it on YouTube here. Here’s an embed, below:  Filed under: Uncategorized

 
6:29 PM
@Mysticial Bwahahahahaha xD the answers
 
user406009
I just want runtime errors on overflow of both signed and unsigned integers.
 
user406009
That would be rather nice.
 
Good luck with that... for example, rand() relies on unsigned overflow being well-defined.
 
@fredoverflow More accurately, on there being no such thing as overflow with unsigned integers (but yeah, I'm just nitpicking).
 
6:34 PM
@Mysticial it doesn’t quite work in these terms, no. the code can easily be correct viz. strict aliasing, reading bytes (through char or unsigned char) is always allowed, so it’s a matter of correctly aligning the underlying buffer for the initial int
 
@JerryCoffin correct
 
@fredoverflow 'let's have four kinds' suggests it would be new and separate types and not a change to existing code, no?
 
user1804599
@fredoverflow It's quite reasonable for a DSL like C++ to have features like this, however I would make the overflow semantics part of the operations, not the types.
 
@Ell Because that's static. I need to build a compiler.
 
@fredoverflow policy based integers! :D
 
6:36 PM
@LucDanton Hm, good point...
@milleniumbug Andrei fanboi? :)
 
@fredoverflow typedef std::make_integral_type<-32768, 32767, std::saturation_overflow_policy>::type small_int;
:D
 
@Ell Like, for example. If I build an OpenGL application and do the GetProcAddress stuff or just use OCaml's FFI, I build that functionality into the generated program (e.g., the compiler). The Compiler needs to now transfer or give that functionality to any program it makes. You can see why OCaml's FFI does not save me here: it works for OCaml programs compiled by the OCaml compiler, not for programs that MY compiler makes.
 
user1804599
Just generate C code and call it a day.
 
@rightfold The 80s called, they want their compiler backend technology back!
 
user1804599
@fredoverflow No C FFI will be as good as the one you get for free by generating C code.
 
user1804599
6:41 PM
Fuck FFIs that don't let me call shitty C libraries that expose macros and inline functions.
 
@rightfold Problem with that is that you're hand-tied to the C Compiler.
So you basically ship [your tiny compiler + gcc].
 
user1804599
Every platform ships with a decent C compiler (i.e. GCC or clang).
 
user1804599
Windows doesn't count because it's shit.
 
user406009
Isn't there a standardized C ABI for most platforms?
 
6:46 PM
@Lalaland Define "standardized".
 
user406009
@JerryCoffin Whatever GCC or MSVC does :P
 
15
Q: Does C have a standard ABI?

fredoverflowFrom a discussion somewhere else: C++ has no standard ABI But neither does C, right? On any given platform it pretty much does. It wouldn't be useful as the lingua franca for inter-language communication if it lacked one. What's your take on this?

 
user1804599
@fredoverflow Hero!
 
Couldn't you simply install emacs on Windows to get a real operating system?
 
user1804599
@fredoverflow you should learn ATS
 
6:49 PM
Die ATS-Gruppe ist ein wichtiger Hersteller von Leichtmetallrädern im Niederdruck-Gussverfahren aus Bad Dürkheim. ATS liefert Leichtmetallräder als Erstausrüstung an nahezu alle namhaften Automobilhersteller. ATS produziert die Produktionslinien „ATS“ und „Exclusive Line by ATS“ für den Endverbrauchermarkt. Zudem ist die ATS Exklusivausrüster diverser Motorsport-Klassen, wie dem Formel 3 Cup, der Euroserie, dem Seat Leon Supercopa, Seat Leon Cup VLN, Honda Civic Cup VLN, Ford Fiesta ST Cup, Formel DMSB, ADAC-Clubsportserie und Suzuki Swift Cup NL sowie Lieferant diverser Einzelteams. Die ATS ist…
@rightfold All I get from Google is car-related stuff...
 
@Lalaland In that case, every platform that supports gcc or VC++ has a standardized ABI. I love how everything turns into a tautology when you finally pin down the definitions.
 
user1804599
@fredoverflow libreboot lists Windows incompatibility as a feature: libreboot.org/faq/#windows
 
@fredoverflow Only if you ran a real-mode (MS-DOS port of emacs).
 
user1804599
@fredoverflow ats-lang.org it's like C but with ADTs and linear types!
 
> You should not use Windows, because it is non-free and therefore bad for freedom.
Stallman, is that you?
 
6:52 PM
Sep 22 at 5:31, by R. Martinho Fernandes
Muh freedumbs
:P
 
user1804599
People who don't have their children vaccinated unnecessarily put the lives of their children at risk and therefore should be punished for child abuse.
 
user406009
@rightfold What about parents who don't teach their children how to swim?
 
user406009
And any number of things down that slipperly slope?
 
@rightfold Didn't vaccines cause Gulf War syndrome or something? ;)
 
@Lalaland that’s for the schools to do, silly
 
6:54 PM
@fredoverflow I'm pretty sure "health" falls under "or something", so yes.
 
> Haley has testified to the US Food and Drug Administration regarding mercury vapour from dental amalgams and on thimerosal-containing vaccines. Haley was one of the first researchers to propose that Thimerosal in vaccines was the most likely toxic agent involved in Gulf War syndrome and autism spectrum disorders.
> Haley has conducted studies that suggest low levels of mercury are capable of contributing to certain neurological diseases such as autism and Alzheimer's disease, and he has observed that exposure of lab rats to low level mercury vapor causes a great increase in rat brain merc
 
user1804599
Exciting!
 
Oh my. That's damning
@rightfold wat. How can they be so blind for their own pettiness
 
user1804599
Checking that programs don't reference undefined variables: funset_is_nil (free_vars expr) :)
 
user1804599
7:00 PM
So easy!
 
@rightfold Have you considered working at Microsoft research or something?
 
user1804599
:p
 
user1804599
I don't have the background you need for such a job.
 
user1804599
I would do it poorly.
 
user1804599
> Difficult to make it on Mars, because there's no oil.
 
user1804599
7:14 PM
How do they know there's no oil on Mars?
 
What does it matter if it's there but you have no means to get it
 
user1804599
You know the drill.
 
Ven
@rightfold =(
 
user1804599
:p
 
user1804599
> What you saw is close to what we will actually build.
 
user1804599
7:20 PM
Hero.
 
@rightfold Oil comes from dinosaurs. We are lacking in evidence that dinos roamed Mars.
 
user1804599
oil comes from plants you fool
 
@rightfold Pretty sure it's fairly generic biological matter- meat should do as well as plant material. If I remember correctly, the distinction mostly ends after massive pressures and temperatures for a geological time scale.
 
user1804599
meat is delicious
 
any1 srsly i have to go soon — Anthony O'Brien 3 mins ago
/cc @Mysticial
 
user1804599
Oh timezones on Mars, the horror.
 
@Borgleader lol
Tempted to post:
> If you want attention, just put "URGANT PLZ HALP" in your question title.
 
user1804599
7:46 PM
Oh god, at work we joke about hiring mariachi bands, but Musk actually does it. :v
 
@rightfold Would be trickier to handle timezones on both Mars and Earth, since they'll get out of sync ;p
 
user1804599
Just have a single timezone "Mars".
 
@Puppy The UTC is universal!
 
user1804599
Fuck days.
 
user406009
@CaptainGiraffe The main issue is that UTC wouldn't be very mechanically useful.
 
user406009
7:47 PM
I mean, the whole reason we have timezones because timezones are useful to humans.
 
@Borgleader This code is all kinds of wrong. Oh dear.
 
user406009
It makes it easier to remember when to do junk like eat lunch and whatnot.
 
@CaptainGiraffe Martian timezones wouldn't have fixed UTC offsets, so it's not tremendously useful.
 
What's the name of the ^ sign again? "Cap"?
 
user406009
Carrot? Wedge?
 
user1804599
7:49 PM
Caret.
 
user406009
Close enough.
 
Ah. Cool. Thanks.
 
@StackedCrooked I know this. I heard it in a rap song once.
 
user1804599
Carrot.
 
@StackedCrooked It's called, "The thing that's made of two lines of roughly equal length set apart at approximately a right angle pointed upwards."
 
7:50 PM
+1 for brevity :P
 
rightfold's face?
 
Other synonyms are 62 and 94.
 
Ven
Your face
 
user1804599
^_^
 
user1804599
> 2022
 
7:57 PM
@Puppy A (mildly) interesting bit of math would be figuring out the correction for a GPS-like satellite orbiting Mars. Have to compensate for difference in gravity (~1/3 of earth's) and difference in speed of movement (larger orbit, so presumably faster movement).
 
@JerryCoffin Different relativity corrections too
 
user1804599
Fucking applause.
 
user1804599
So loud.
 
user406009
Would there be any real advantage of going to Mars though?
 
user406009
Anything we could do there we could do better here.
 
7:59 PM
harvest natural resources of Mars
 
user406009
The thing is you don't need people there to do that.
 
perform scientific studies of the origins and current state of Mars
prepare for human habitation of further-away places
 
we have to close the portal to hell
 
user1804599
@Lalaland Development.
 
@LucDanton yeah. it's causing global warming
 
user1804599
8:00 PM
You learn a lot from going to Mars. That's enough reason to go to Mars.
 
truth be told
having a self-sustaining colony on Mars massively increases our survivability as a species
there are many disasters that could wipe us out on Earth, but it's pretty unlikely we'd lose both Earth and Mars at the same time
 
Or at least less likely.
 
it's also extremely unlikely we could sustain a population on Mars for any significant amount of time.
We have literally zero experience there.
 
user406009
@Puppy I think we would get more bang for our buck by building shelters underground.
 
@Puppy That's the point of both the gravity difference and the speed difference.
 
8:03 PM
we do right now
 
user1804599
Life had zero experience on Earth too.
 
but if you went to Mars, you wouldn't have zero experience on Mars.
 
So, it's like saying "It' safer to have an extra $200 in an old sock under the bed, in addition to the $15k in the bank(s)"
 
user406009
Fallout style would probably be somewhat viable.
 
user1804599
Interplanitary space is pretty radiated. :p
 
8:05 PM
@Lalaland Underground shelters don't get solar power.
 
@sehe Unfortunately old socks don't make it to Mars quite as easily as they make it to under the bed.
 
@Puppy Relative to earth experience? Yes. And worse: ~zero room for error. Any "surprise" findings have the potential to wipe that population because all room for experimentation is bottlenecked by transport to/from Earth
 
user406009
@Puppy You could go with geothermal.
 
user406009
Or nuclear.
 
@LeviMorrison You haven't smelled mine. They're out of this world
 
user1804599
8:05 PM
@sehe "Oh shit we made the little green men angry"
 
geothermal wouldn't be a bad choice but substantially limits the size and potential locations of any such shleter
and nuclear power lasts for a long time but not generations long
 
@LucDanton They were talking about Mars, not Venus.
 
user406009
Regardless of those issues, an underground base would be much much cheaper and easier to construct and secure and maintain.
 
Good luck digging there.
 
user406009
@JerryCoffin I think he was making a reference to the latest DOOM game where you close a portal to Hell on ars.
 
8:07 PM
You mean, on Earth?
 
> latest
wow
 
@Lalaland You mean, as opposed to every other DOOM game?
 
user406009
@sehe Yes. I argue that an underground base on Earth vs a space habitat on Mars would be much more effective at saving the species in case of catastrophic damage.
 
I agree. Not very much comparable though
 
user406009
It's just a counterargument to the specific claim that we should go to Mars to help safeguard humanity.
 
8:09 PM
@Lalaland Depends on the level of catastrophe, I suppose. Certainly a lot more...approachable project though.
 
nah
safeguarding humanity isn't the point of going to Mars
far from it
it's just a tiny extra bonus
 
We should be safeguarding Mars by not allowing humanity to go there. :-)
3
 
the real benefit gained I think is just experience surviving in the long term in deep space
 
user1804599
some of these questions are really dumb
 
if we ever want to go anywhere other than Earth, we'll need that experience
 
user406009
8:11 PM
Yeah, most people don't care about that claim, but you have to attack each claim one by one.
 
user406009
I personally don't think sending humans to Mars would be effective or useful in any way.
 
user406009
I'd rather build another particle accelerator.
 
@Puppy Are you classifying the moon as part of the earth, or just ignoring it entirely?
 
I'm not sure if the Moon is far enough away to be as useful
I think that it seems very far away right now but if we crack disposable rockets, it really won't be too hard to get there and back
 
@Puppy I was just pointing to the fact that we've already gone there, and most people wouldn't consider it part of the earth (i.e., we've already gone somewhere other than earth).
 
8:14 PM
I kinda disagree
it's technically true that that time, a couple of guys stood on the Moon
but I don't really feel that it's the same as actually going there
nobody stayed there for any significant period of time, and nobody can go back there now, and only is it 11 people in all of history have ever been there
technically it's true that we've been there, but it's a million miles away from having actually conquered the challenges involved in going there and staying there
in fact arguably I feel somewhat the same about even LEO
that's a little better with year-plus stints on the ISS but not that much better
 
user406009
There is a certain argument that we would be better off investing money in general study (like particle accelerators) rather than spending money on rockets.
 
Has anyone compiled a list of good cppcon talks from this year? Or a suggested viewing order?
 
@Puppy I have no disagreement with that at all (but I don't think it contradicts what I said--just points to the massive difference between going someplace and fully taming that place). It's not just space/LEO either. People have gone to the top of Everest, but maximum survivable occupation there has been much shorter than LEO.
 
so to a certain extent I certainly agree that we should finish the job on LEO and the Moon before going to Mars
@JerryCoffin I guess that we could have stuck the ISS on top of Everest, but the local weather conditions are probably worse than in space, and it doesn't quite have the same "Humanity's future" or "Incomparable science benefits" vibe going on
 
@Puppy I'm not sure the moon is much of a destination in itself, but it's very useful as a staging area.
 
8:26 PM
@JerryCoffin Would be nice if we could load up fuel from there instead of having to launch it
maybe some telescopes?
 
@Puppy Station on top of Everest wouldn't contribute much that a station in more hospitable conditions could do a lot less expensively.
 
user406009
@caps You could just skim the slides before watching: github.com/CppCon/CppCon2016. That's what I plan on doing.
 
@Puppy It surely would (but I'm not sure it has anything amenable to being used as fuel).
 
@Lalaland Or I could just look at the list. I was curious if anyone in the lounge had done any curating yet.
 
ISTR a fair few people think we could electrolyse water ice from the minerals or something
 
8:29 PM
@caps Rightfold did. He concluded that C++ is still evil, so you shouldn't watch any of them, ever.
 
@JerryCoffin Helpful.
 
I've actually been thinking about starting a new project in C#
 
@caps My pleasure to help. And even though he never posted that, you know it's what he'd say anyway... :-)
 
user1804599
Do it in F# instead; you'll learn useful new skills.
 
I doubt that
 
8:32 PM
@Puppy It seems like a pretty decent language. Way less hairy than C++ but still fairly expressive.
@JerryCoffin Is she no longer identifying as a she?
 
there's a few things I've missed from C++ from time to time
but not that much
don't ever use the .NET APIs for X509 certificates, though
they're the dumbest shit you can imagine
 
user1804599
Show's over.
 
@caps I dunno. I don't pay that close of attention.
 
@rightfold Was that in response to me?
 
@Puppy Pretty much everybody seems to go brain-dead when the design anything related to X.509.
 
user1804599
8:35 PM
No.
 
user1804599
I was liveblogging the talk.
 
user1804599
I'm a giiiiirlll
 
@JerryCoffin I suppose it's possible that others are worse, but the .NET API is incredibly braindead and has the dumbest approach to handling unmanaged resources imaginable.
 
user1804599
bracket master race.
 
user1804599
bartecket
 
8:40 PM
@JerryCoffin that might have nothing to do with the spec itself :)
 
@Puppy not even IDisposable?
 
user1804599
arrszref_make_elt is a pretty bad name for array_size_ref_make_element.
 
@milleniumbug Not until .NET 4.6.
the problem isn't the lack of IDisposable, it's what you have to dispose and how you come by it.
 
user1804599
Or just fill.
 
if you have an X509Store, you can read Certificates through a property, but this actually creates a new copy of every cert in the store that you have to dispose.
and the dedicated collection type isn't disposable either.
and you can call Find(...) on this collection to find certs, but that also creates a new copy of every cert that you have to dispose.
 
8:42 PM
@Puppy ...wow
 
also failure to dispose of these certs generates not any kind of debugging failure or exception, but that operations that apparently already succeeded like adding a cert to the store actually did not complete.
the only way we found to use the API in a remotely reliable way was to force a full GC collection and block on all finalizers
 
user1804599
badware
 
in fact I don't even know if Find() actually returns all the certs you have to dispose, or if it only returns the certs you have to dispose and that met the criteria.
 
9:12 PM
@sehe X.509 starts from ASN.1. There are at least 8 standards (all of series x.680, x.690 and x.890) defining ASN.1, so the source of the dain bramage seems pretty easy to find.
Then again, it was mostly in response to ITU standards (in general) that lots of RFCs included "simple" in their names. SMTP (for example) might not seem all that simple, but compared to the ITU's version, it really is.
 
:)
 
 
1 hour later…
10:43 PM
Help me, I don't want to move at all.
 
user406009
@ThePhD Have you tried thingy(thingy&&) = delete;? :P
 
@ThePhD if you stay still enough your skin will grow into whatever you're resting on and they'll have to cut you off if you don't die before they find you
 
@jaggedSpire That happened to some woman actually.
She spent so long on a couch that she grew into the couch.
 
@ThePhD that's how I know
 
11:00 PM
@ThePhD I may have to warn my wife about that...
 
11:16 PM
@StackedCrooked Oh, there's actually a real name for it, "&Hat;".
 
wow, you were looking all this time?
:p
cool thanks :)
 
user image
6
/cc @Mysticial
 
@Borgleader noice!
 
@Borgleader If it weren't mean and nasty, I'd call you a elite repwhore. :-)
So I guess I just have to call you a common repwhore instead.
 
11:31 PM
@JerryCoffin Just say it like it is, I get paid in rep in exchange for spreading my.... knowledge
 
@Borgleader I'll take your word for that, but anybody with that much rep must be downright evil (and the more they have, the more evil they must be).
7
 
11:58 PM
So I just spent 5 hours working on one assignment, and I've got another 30 minutes to make it look pretty (along with a few more hours to slack off before the deadline). Any pretty type-setting alternatives to LaTeX, or should I just hand it in as-is as a formatted word document?
 

« first day (2173 days earlier)      last day (2772 days later) »