skysight-inc/HackerNews huggingface dataset:
That's an interesting point the tip makes. Is there guidance on how to use the emplace_back() added to c++17 which returns a reference to the constructed element?

The reference returning emplace_back() is used frequently in the code to construct a new element of a struct and then fill in its members, as opposed to creating a new struct then push_back() to copy the memory in.
You are not a licenced medical practitioner. Telling people that kind of stuff face to face gets you into serious trouble, what makes you think it's okay to do so on-line?
It is available in the free chapter, with foreword etc.
It's literally mentioned and linked to in the first paragraph.
> A dream of an ultimate OS

I want linux with:

— Wayland

— KDE and only KDE

— Development SDK based on Qt (other toolkits strongly restricted, gtk and gnome gone wrong way)

— Packaging based on something like APK from android or like DMG (no repos by default, only for base system maybe, but other methods of installing not restricted).

Snaps and flatpack are trash because their goal is so called security and isolation, when normal human being need just convenience (hate repos on desktop).

Yes, it's macOS model, but with linux you can have different filesystems.
I just tried to browse while not logged into HN. The issue persists.
Beria actually wanted to liberalize the Soviet system - he reduced the power of the MVD and released a lot of people from the Gulag. Mind you, at a personal level, he was an asbsolute monster - but I don't think if he had stayed in power there would have been any more mass purges.

https://en.wikipedia.org/wiki/Lavrentiy_Beria#First_Deputy_P...
I'm saying who literally pays the tax.

A business buying from another business can reclaim the VAT.

The end usually consumer cannot.

VAT is a consumption tax.
Shifting Towards Intelligent Technology
No, and it’s off topic because he didn’t even have the flu.
Who says that the company running Steam must be the same company that adds new hats to TF2? Valve could easily be split into two companies. It might even force the gamemaker Valve to come up with some new games, which AFAICS they largely stopped doing in recent years.

Having said that, Valve would probably be way below the 25-billion-dollar revenue threshold that Warren proposes.
So the "developed" world sets course for anihilating itself and Brasil gets the blame? How very American of you.
When political parties that want to combat climate change also think that pumping kids full of hormones to change their "gender", bashing the most productive group (white men) costantly, demographic replacement of native europeans or the infinite amount of crazy privileged californian bs they pull off are a good idea, yeah, you do get Bolsonaro and Trump just for what they represent.

Maybe I'm a retarded nazi, but if you truly believed the world was at risk you would put on temporary hold things nobody cared about for thousands of years (like perfect income equality between men and women), and try to solve the end of the world first.
Instead you get a smuggy autistic underage blonde on a boat, a delirant mexican barista who wants to abolish planes but it's just a draft, and a bunch of overpaid scientists, bureaucrats and economists flying around the world to jerk each other off with fake solutions like the Paris accord or even worse, fake data.

I say this as a person who is conservative, libertarian but also recognize that climate change is gonna fck us all and coercion is needed.

Please don't forget to subscribe to my channel and downvote, after all supporting the idea you can let the inferior classes dominate politics and also solve the biggest threat humanity ever faced is totally gonna work.

Goodbye
Are you talking about human autoimmune disease? If so, do you have an examples and/or links to papers? I've read a lot about autoimmune diseases, and this hypothesis is not something I've ever heard of.

Edit: I see your earlier comment has some links. Thanks.
IT is colonialist, patronizing, and evil. The US and the "developed" world have set course for self annihilation and the US in particular has done nothing to solve its own path by leaving the Paris Agreement. But hey let's blame Brasil, easier than solving our own problems.
I mean... does every single patch need a regression test? If I did free(p); p[i] = 1; and then I fixed it by doing p[i] = 1; free(p); do I really need a regression test to trigger the dumb use-after-free I'd introduced?
Alternate fee free

https://www.cnbc.com/2018/07/11/survival-of-the-richest-the-...
>Basically Discord for work

This was very confusing for me since I use Discord only for chat for various open source projects.

Tandem is voice and video chat - the part of Discord I never use.
Read again: he writes that he decided to prioritize his family over work before all of that happened.
I agree, I was just saying all traditional supercomputer manufacturers lost that battle, including POWER but it's the last standing member from the old guard...
Even then it's an oversimplification.

Selenocysteine (https://en.wikipedia.org/wiki/Selenocysteine) occurs in proteins and is quite widespread. "Selenocysteine: the 21st amino acid." (https://www.ncbi.nlm.nih.gov/pubmed/1828528) It shows up in humans too (https://www.ncbi.nlm.nih.gov/pubmed/24194593).

Pyrrolysine (https://en.wikipedia.org/wiki/Pyrrolysine) occurs in proteins in archaea and bacteria. "A new UAG-encoded residue in the structure of a methanogen methyltransferase." (https://www.ncbi.nlm.nih.gov/pubmed/12029132)
Since USB device ID's cannot be trusted by themselves couldn't some 2FA (eg USB security key) be used to authorize a device for as long as it stays connected?

Once a USB security key has been authorized and is kept on your person rather than constantly attached to your machine it should be impossible to connect a new device and have it trusted by default - and re-connecting an already connected device would de-authorize it.
Video encoding is one of the most CPU intensive problems that your average user will encounter.
In Europe I've never used the magnetic stripe. Across 10+ countries, for the past 10+ years.
Ask HN: Books that make daunting subjects, accessible (examples inside)
Hey, HN!

I want more examples of books that explain daunting, technical subjects like Grokking Algorithms [0] does for computer science algorithms and data structures or Calculus Made Easy for Calculus [1].

Does anyone else have examples of books in this vein?

[0] https://www.manning.com/books/grokking-algorithms
[1] http://calculusmadeeasy.org
Violence does not have to be the answer, but in case of environmental destruction, I believe it is.

The amount of global environmental destruction a single person or a single corporate entity (see BP oil spill) can do is too much to allow it to happen while hoping they wont. The most effective means is violence, and lots of it.
Incremental Development is what, exactly?
If that is a big concern you can fork. If you are building production systems with dependencies on eggs you can't find in pypi you probably should take control of those in your own copies. I can't recall once that I had to do that for things that I ask money for though... if its not in pypi its probably not worth using. And if it is useful, forking or just copying the module or package into your own code base takes care of any shifting dependencies.

So yea, does not seem to be a problem that actually exists.
Why are you blocking disposable email addresses?
> it's beside the point that I was trying to make which is that a CVE affecting a feature of Postfix that qmail doesn't have to begin with is not a fair mark against postfix.

I disagree. It is a fair mark against postfix if (as I claim) most users really don't need it.

Here's my reasoning to that point:

I think most email end-users either use their ISPs mail settings (who know who they are and don't need authentication), or webmail (which doesn't use SMTP for relaying anyway), or outlook (which doesn't need SMTP at all). Fastmail is becoming more popular and it doesn't need SMTP either. The end-users who remain are either business users (who could use a VPN which is better than SMTP AUTH in every way), and nutters with vanity domains.

If that's contended, and note I do believe there are probably end users who are actually still manually entering SMTP AUTH settings into email clients, but I would struggle to believe they're the majority and would need evidence.

Meanwhile on the enterprise, pretty much every machine in every enterprise environment I've ever worked in has been set up for local relay. Again, if you think they're all using SMTP AUTH I'd need to see evidence.

> If you use smtp authentication, you're not running djb's code and all advantages of djb's code are moot

Do you actually believe that if you apt-get install postfix that you don't have any of the advantages of postfix's development processes?

I'm not sure I can engage with that. It's like saying running linux invalidates "all advantages of djb's code" simply because you're (sometimes) not running his code (e.g. when you're in a syscall). Madness runs down that way.

For what it's worth, most of the qmail smtpd patches I've seen to add SMTP AUTH (including the one I wrote nearly twenty years ago) are sensible, integrate well with the rest of qmail. You might not get djb's warrantee, but I can't believe you gain nothing by starting from a solid foundation.
I strongly suspect this is a one-off hand-made knife. This is certainly not a mass-produced item.
Ignoring the very concept of countries and sovereignty will not help fix the current situation.

I understand people are disillusioned with politicians everywhere in the world but we should not abandon politics because of that.
Chase Amazon is also five percent in Amazon reward points when buying from Amazon as an Amazon Prime member. That alone pretty much made the card a lock for me. Throw in that they have hook ups with other vendors randomly that are worthwhile.

As with many elective services, be it credit cards, grocery shopping, to online streaming, the more effort you put into your selection the more you can save. it is up to the consumer to choose when savings is exceeded by effort. the real battle though is simply in privacy and hopefully Apple's emphasis on this facet will lead to similar features spreading beyond the CC industry
I don't agree with that last statement at all. Americans have seen too little hardship to have an idea what "social collapse" and "toxic political discord" is.
This is about the US.
gtirloni, I agree that tying to administration is ridiculous and avoid real criticism. This just bugs me because the rate of deforestation was going up really high in the previous one (that was impeached, but not because of that).

The fires are happening, I agree, but I really disagree that there are little wrong facts, mostly people hide important stuff, like the Norway mining I rig, and I really bet you didn't know about that one, it barely made the news. Only the convenient news come up.

It's impossible to say about only reasonable minds when the arguments are so skewed towards politics and extreme actions.
It takes one look at a professional sports team to see that practice is not sufficient to reach the highest levels of ability. This is particularly pronounced in basketball. For example, compare the skill level between two very good players: Steph Curry (6'3") and Shaq (7'1"). Shaq at 6'3" would never have been a pro player. Steph at 7'1" would be the greatest player of all time.
This sounds like you want to use ranges, which were introduced in C++20 and quite a few game developers found them too complicated.

The way I see it to store your data in whatever is the most efficient form for your computations to use, and use a simple view for those functions. Then for functions which need to look at the data in another form you use more complicated views which can abstract some of the data layout for you and make it simpler to manipulate.

Unfortunately I can see some people decrying this sort of code as too complex and complicated, but I think it can be made to work rather well.
I think Apple's approach is the only reasonable one for the general population. The technological complexity of any smartphone is far beyond comprehension for most people.
I write iOS software for a living, and even with complete access to the source code, I couldn't reasonably evaluate my iPhone's software - let alone the hardware.

The idea that ROMs from questionable sources make your device safer sounds very strange to me.

Basically every electronic device has countless security issues. Some of them are found of which some are published of which most are eventually fixed (by rather large teams of professionals). In that regard, Apple could and should do better.

But the burden of making such a complex device secure simply can't be put on the end user.

While I would welcome deeper access for technically inclined people, I'm not sure that option can really be given by Apple/Google without the risk of becoming a disadvantage for many users.
There are things I want to control, and there are things I do not want to control. Smartphone is not a "general purpose computer" and I want just use it not to babysit it.
And more often than not having "control over your own" device means that is is just some malware that has this control, not the user.
You dont have to begin with shooting people, begin with planting bombs at machinery, and dummy bombs. Kidnap people in power and decision makers. Violence is not just death, its also "unlawful inprisonment".
If you collect money from me saying you’re going to give it someone, and you don’t give it to someone, you stole that money from me.
Leading Security Risks of 2019
If performance mattered, people would not have adapted electron
That doesn't look like fire to me.
Gonna scream that one here: mining, look at norwegian and international companies mining in the middle of the forest. Plus previous administrations actions, like a giant power plant that will divert one of the biggest rivers over there.
Well, it's kind of specific visualization's designer's choice, and my main complaint isn't something the authors of Turbo are unaware of (it's like that by design), but I think non-linearity of the light profile is far bigger downside than is being admitted. I'm not speaking about unable to print in greyscale or "people with the rare case of achromatopsia": it is actually harder for me to say at a glance what regions are hotter on non-ligh-linear image (or, more precisely, non-light-monotonic image). I will make mistakes when tired while working with Jet/Turbo images, which I won't make while working with Inferno.

So if you use one and only one colorspace for some heatmap visualization, I think I would greatly appreciate using Inferno (or Helix, or similar) instead of Turbo in the most cases.
I read long ago about someone doing computer simulations, finding that the current table is near optimal when it comes to error resilience (against mutations etc) as well as encoding efficiency IIRC.

This would answer why most are using it now. If other cells uses a different mapping that's less optimal, they'll have a harder time to reproduce, and thus lose out over time.
I don’t think very many people agree with you. I appreciate Unix/Linux because they are fundamentally libertarian. I don’t have to suffer using some default crappy and bloated desktop environment (KDE certainly fits that definition), I get to choose (I personally like cwm).

You could certainly make a distribution in which using anything but Qt would be very very difficult. But who would want to use such a thing? Besides you, of course.

Moreover, your comment isn’t a cogent response to the post. Did you even read it? He’s talking about a new paradigm of OS, something fundamentally different. What you’re talking about is the same old same old, but worse.
As with any Apple product ever, this is not a "completely new tech product". This is a long established market that Apple believes they can do better than everyone else.

For an exorbant price of course, but that stage is some years into the future.
I used this tool a couple of times to get research PDFs onto my kindle and even emailed the author (he responded quickly) about how to stop diagrams from splitting; it's pretty cool to see these old school kind of programmers vs. the poor young web devs that spend 50% of their time writing hacky Javascript that will be obsolete in a year...
According to Mastercard CEO Ajay Banga[1], they've noticed that if the transport system in an area becomes contactless enabled, then contactless adoption ramps up faster.

[1] - https://www.fool.com/earnings/call-transcripts/2019/07/30/ma...
Search the page for "transport" and go to the first result.
Kualitee, Bugzilla, Mantis or Airbrake – What Is Your Pick?
Yeah, some sprouts are ~dangerous. That is, if you're unlucky to have an immune system that got self-deselected in the "wrong" way.
Probably I'm stupid, but how to play these games, only familiar with memory and hangman...
"Maybe I'm a retarded nazi,"

At least you know that.
I was talking about __forceinline for MSVC and things like it for other compilers. One's which for better or worse will make your function inlined.

One thing that I did find out what that even if you inline or force inline a function, that if you have it exported from a DLL or in a class that is exported as a DLL, then the function might still be called non-inline.
There are a few parameters you can adjust to get brighter colors. A nice online implementation is at >> http://www.mrao.cam.ac.uk/~dag/CUBEHELIX/cubetry.html

adjusting the hue parameter up to 1.4 will give more saturated colors
They need you to install their app so they have better control over your device without those pesky browsers with their plugins blocking adds or privacy infringements.
It's fortunate I can buy an iphone for my mum and she hasn't had a single problem with it.

On the other hand I bought my dad a laptop with Windows and despite having an antivirus he's had all kinds of problems with it, including some heavy duty adware.
It's not clear from the article, but I suspect the author is talking about what happens when the vector is resized and has to move existing elements, which is a real problem.

There are plans to solve this - http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p114...
It's because that same escape hatch can be used by bad actors.

And unfortunately as we have seen all too often users are willing to blindly do what they are told if they get something out of it e.g. free game, credits etc.
EV Is Huge, Bright Green, & Never Needs Recharging
Seems like the wrong tool. I want them to understand. I don't want to shoot them.
Artifactory can also proxy stuff. It's widely used as a corporate proxy for public repos so that you don't rely on the whims of the internets.
Yeah, I saw the condensation in the column, but since that's where the salt water comes in I figured it would be related to that. The article talks about "steam that builds up on the disc", which I understood to mean its upper surface.

The university's press release at https://www.monash.edu/news/articles/water-solutions-without... says: "Researchers created a disc using super-hydrophilic filter paper with a layer of carbon nanotubes for light absorption. A cotton thread, with a 1mm diameter, acted as the water transport channel, pumping saline water to the evaporation disc. The saline water is carried up by the cotton thread from the bulk solution to the centre of the evaporation disc. The filter paper traps the pure water and pushes the remaining salt to the edges of the disc."

My best guess at what this means is that some of the water is turned into vapor (not really steam at 100 C, I guess?) and that this evaporation drives the capillary effect that keeps bringing in new water. Some other part of the water, the part that "the filter paper traps", could then drip out into the column. Maybe? Or maybe this prototype is really more about just demonstrating that salt can be collected, and doesn't care about capturing the water.

Here's the original article, paywalled at UKP 42.50: https://pubs.rsc.org/en/content/articlelanding/2019/ee/c9ee0...
It looks like a bad merge in which if there was a test it would've not been merged either.
Worth noting the hfsplus driver in Linux can only mount as read-only, unless you manually mount it with the flag to force it to ignore the journal... which is a silly idea when journaling is what makes modern filesystems so resilient. apfs-fuse is actually in a more promising position than hfsplus, as it supports mounting any volume in the APFS partition, FileVault encrypted volumes, and Fusion Drive volumes. Granted no distro is shipping apfs-fuse that I know of. They probably could at this point as it is read-only.

https://github.com/sgan81/apfs-fuse
It's not so much first mover advantage I think as established life having had tons of time to optimize. Tierra[1] illustrates how any new system has to be much better than the established to have any chance of surviving.

[1]: https://en.wikipedia.org/wiki/Tierra_(computer_simulation)
> The technological complexity of any smartphone is far beyond comprehension for most people.

Don't use it then. By shielding the stupid we are creating more stupid.
> The idea that ROMs from questionable sources make your device safer sounds very strange to me.

It's about owning your hardware, not safety. A person that's willing to go through the hassle knows the consequences of such actions and how to deal with them.

Do "normal people" need to do that? Absolutely not. Should it be easy to do that? Absolutely not. But for those of us that really want to own our hardware, there should be a way of doing so without relying on exploits.
Working in the area makes this text on Tensil’s page me extremely curious: “This gives you the performance of custom silicon at the cost of commodity hardware. With Tensil, you can roll out your dream chip in weeks instead of years, at prices measured in thousands instead of millions.” So they designed some fuse programmable ASIC for machine learning? Setting the fuses makes this ASIC “custom silicon”? ASIC for thousands? Sounds to good to be true.
it sounds like it was the schools duty to get you medical attention far sooner and they failed.
One interesting point is made by Slavoj Zizek on our society[0] about the "good" billionaires that give with one hand what they destroyed with the other. This what it feels like about all of what is happening over there, 1st world countries give "aid" to cover the problem themselves did over there.

[0]: https://www.youtube.com/watch?v=hpAMbpQ8J7g
Worked for PWC, DT, EMC (pre-Dell) - great pay, insane hours, no work-life balance - it's all work and a bit of sleep. Fast-track to burn-out.

What nobody seems to mention is that the Big 4 consult to enterprises so you have masses of meetings, "methodology" to follow and the general BS that comes with where PHBs rule. If you enjoy all that and politics then go for it.

Personally I am far happier working as a one-man show. I only take on projects where I can deliver real results on realistic timelines and budgets.