skysight-inc/HackerNews huggingface dataset:
I completely agree! I run a data science department at a corporation and I give applicants real world data and ask them to answer real world questions. "Here's a dataset of the dates we sent an email and the open rate. Does one day of the week have a higher open rate than the others?" People have to know how to turn a string into a date, turn a date into the day of week, and then apply statistical reasoning and then give me a one sentence answer. That kind of thing is far more common at work than explaining the kernel trick.
>...that could enhance bitcoin

It does not its irrelevant it chances nothing about bitcoin or its limits. Its a client side it does not speed up usage or something the CPU just useless less cycles and idles more.
Even though I learned C/C++ in school, I started off my career with a typeless language, Perl. I loved it for its simplicity and power to quickly spool up working code, but realized it was problematic to use for large projects for many of the same reasons you state. I then switched to a Java project and was immediately frustrated with types because of how verbose it was, but after a while I came to appreciate just how beautiful and pragmatic it was, especially in its ability to help avoid so many runtime bugs that have been the bane of my existence in the Javascript, Clojure, and Ruby world.
These jabs we throw at oppressive regimes only signal that we are not ready to deal with our own oppressive regime. We have been the boot for a while now, rosy shaded boot, with lights on the side and WiFi. Having to read such well thought out statements while throwing shade at others only feeds my pessimism in foreign policy/domestic media control. Good luck dealing with the never ending boogeyman.
Create custom widgets and thousands of icons for your iOS 14 Home Screen
JNI is expensive, but the JDK implementers give themselves some much more efficient ways to call into native code that aren't available to us mere mortals. For example, "HotSpot intrinsics", which are mostly used to hook into JVM internals, but also for some performance critical stuff:

https://gist.github.com/apangin/7a9b7062a4bd0cd41fcc

Ordinary native methods implemented by the JVM itself don't need to use JNI either.
That's part of the problem here: there is no legal definition of journalist.

A journalist is "someone who does journalism". Traditionally that meant publishing stories in a newspaper, radio or television company, and it was fairly clear-cut who was a journalist and who wasn't. Nowadays not so much - the main question being "is a blogger a journalist?".

Assange was supplying information to, and co-operating with, major media organisations. I think any definition of journalism would have to include the activities of Wikileaks, and therefore Assange is a journalist.

Where the line is drawn is also a good question. Government would like it drawn at the lines laid out in the pertinent secrecy laws. But clearly if just classifying something as "Secret" would then put it out of reach of journalists and make unauthorised knowledge of it a criminal offence, then that's not serving society. All sorts of political misbehaviour would be classified.

And yeah, there are lots of shades of grey. Lots of things we have to decide as a society:

Are governments allowed to keep things secret?

Who should decide what is kept secret?

If someone discovers that a government agent is doing something illegal, but the activity (or agent) is covered by secrecy laws, how do they make sure that the activity is prevented and/or punished?
Endurance is absolutely a great life skill. We can do so much more than we think we can when we learn how to manage our thoughts. It is what enables people to become navy seals, cardiologists, pioneers in one's field, or all of the above if you are Jonny Kim. Jonny spoke at great length on Jocko Willink's podcast if you are interested in his story of personal triumph: https://www.youtube.com/watch?v=yujP3-AxXsI
My state is at-will. My company does not permit references to be given. The company will not give you notice if they are terminating you.

When I leave, I'm packing all my stuff and giving my notice on the day I plan to leave. If the company is not loyal to its employees, why should I be loyal to them.
It's about developing ML applications. Right now ML programming using CUDA is a very Linux centric ecosystem.

The DirectX integration is going to bring over that support to Windows.

https://developer.nvidia.com/blog/announcing-cuda-on-windows...
I always used bob@bob.bob. It's not a real TLD (although at the rate of new TLDs, it might be soon) but it still validated on most websites.
A police state also makes an enormous difference to crime/safety.

You know what a police state has in common with architecture optimized for reducing crime and increasing safety? Nobody actually wants to live there.
Its a backup plan for humanity, not individual societies or people. There are many things that we can not get a way from however many of earths problems we solve. Even without climate change or any human made problems, nature could kick us out any time for reasons we don't even know about.

Musk has two companies, Plan A, help not destroy earth. Plan B, inspire people and create backup.

Bezos doesn't want to go to Mars, he want people living in space and have the earth be a nature park of sorts.
For a CLI alternative to manually running `du -sh *` recursively to try and find which directory is taking up your space I recommend `ncdu`.

I'm pretty sure there was a similar CLI app better than `ncdu` but I don't recall it right now.
You wanna carry two phones?
You raise an interesting point.

Europeans don't really need to save much money. Because the government takes care of health, education and all the essential things. Why do you need a lot of money if you have everything taken care of.

On the other hand when you are living in US or anywhere else you need to have a shit ton of money in bank just to make sure that you don't go bankrupt.

For example education for your kids would be ridiculously expensive in US. And if you don't have an insurance you might get bankrupt if you have to hospital for emergency.

If I have a choice to be born again in a random country, I would be opting for Germany or some scanadanvian country for sure. US is too risky to be born randomly.
Thank you, I was unaware of this. I found the relevant section in the doc that was linked from your original link:

2. TLDs for Testing, & Documentation Examples

To safely satisfy these needs, four domain names are reserved as
listed and described below.

.test
.example
.invalid
.localhost

* ".test" is recommended for use in testing of current or new DNS related code.

* ".example" is recommended for use in documentation or as examples.

* ".invalid" is intended for use in online construction of domain names that are sure to be invalid and which it is obvious at a glance are invalid.

* The ".localhost" TLD has traditionally been statically defined in host DNS implementations as having an A record pointing to the loop back IP address and is reserved for such use. Any other use would conflict with widely deployed code which assumes this use.

https://tools.ietf.org/html/rfc2606#section-2

3. Reserved Example Second Level Domain Names

* example.com

* example.net

* example.org

https://tools.ietf.org/html/rfc2606#section-3
I probably wouldn't use this tool often enough to memorize the API, in which case the type checking and autocomplete that a typed language like Go enables could come in handy
Isn't it wiser to donate $5 mil after you've lived a full life? Giving away your future nest egg is quite a rash decision for a young person. Especially when that money will almost certainly end up mismanaged or end up in the pockets of cronies.
What's the caveat? I just read it and thoroughly enjoyed it.
Did anyone say this would be bad for consumers?
Good point.

Still, we have highly-effective sensors in other parts of our bodies, further away from the brain, and surely we could drop that check somewhere else. At least when it comes to eyes, one can make the argument that they should enable split-second reactions to run from that predator as soon as you spot it, so they should be as close as possible to the mainframe... whereas nobody is going to die if they can only smell wolf poo a second later.
A bit tangential but I have a question. This is one thing that I don't really understand about bitcoin, how open is it, to be declared free from government influence? The power of the core technology still resides with who ever has the key to push changes, and there lies a lot of vested interest. Like an external agent can still influence the devs who are making the changes and then majority of the nodes to accept that change. Its not really resilient to outside forces, right? Or am I missing something?
Not really related to the lesson learned here, but...I always liked the A10 design.

Because it flys low and slow to provide fire support for ground troops, the cockpit has a thick titanium bathtub[1] that can stand up to big caliber anti-aircraft fire.

[1] https://www.flickr.com/photos/25695066@N00/albums/7215762746...
The twitter poster is delusional. There is no such tech gap, in fact, building electric vehicles is much easier than ICE vehicles, the only reason the traditional car makers are not heavily invested in EVs is because there is not much profit in this segment at this time.
Inferno.
If there was one involving humans, sure. Involving dinosaurs (or earlier)? No. Oil is constantly reforming and the oil we drill today wouldn't have formed back then. Sure, we suck it up a LOT faster than the replenish rate or the rate of natural reintroduction of fossilized carbohydrates into the circulation, but over geological timespans oil has a best-before date. Eventually there will be fissures (due to land movement or erosion) and it would end up being released onto the surface in one way or another.
> - Renewable energy that most can afford (it's already realistic for everyone to be self-sufficient);

I agree with your comment except this one. I don’t see anything that has come close to the benefits of fossil fuels, and I don’t see the political will to tax fossil fuels sufficiently to curb consumption sufficiently to curb climate change. Any reduction of fossil fuel use in developed countries with the luxury of being able to spend more on less polluting sources of energy will be made up in increased consumption in developing countries.
It’s mostly the authors reaction to western colonialism on western historical records.

Especially the... odd ending of the article which seemed to have forgotten what the article was supposed to be about. Or maybe the headline was just deceiving.
Haha. That’s actually surprising, I mean that one takes some work to even type. I’ve mentioned previously on HN that I own doesnthaveone.com, which is constantly bombarded with random crap. I wish I had some big public customer data to see what other fake ones show up.
should have used .local
My app is still very much a monolith. It's just plain ol' django templates with turbolinks (so, pretty snappy to load pages). Tailwind's @apply + Django template partials give you a component-like workflow fairly easily.

And JS libs like Alpine, Stimulus, or plain old jQuery (as much as people may hate it) give you all the UI interactivity and reactivity you can hope for from the modern frameworks.

It may be a little more explicit and verbose at times, but I'll take that over having to reinvent multiple wheels (Auth, caching, validation, etc) when using DRF+React.

Combined with celery based task queues and the ocassional offloading of simple but time consuming tasks to serverless functions, IMHO there's very little Monolithic django can't do, even at scale.
>If they need the e-mail address for legal reasons then you can not withdraw consent, as consent was not the legal basis for storing this data in the first place.

No, I can widthdraw consent as much as I want. If they have a legal basis for storing my email address, then they can keep it regardless of my consent. However, I have no way of knowing if they actually have a legal basis for storing my email address or if they are just holding onto it.
Before lockdown, I would stay in cheap hotels relatively often - eg Travelodge, our form of motel. One bed, a TV, a teasmaid.

There would generally be two types of common guests. Workmen in the area to build something, tradespeople, or those the council was housing.

Typically it would be a mum and a couple of kids, up in the morning by 8am in their school uniform. These places don't serve food, and you'd see people leave with a couple of bags or boxes, as they get shunted elsewhere.

I'm glad they were not out on the street, but it broke my heart every time I saw it. I could well understand a parent thinking that a stable location would be better than shifting from one B&B to another. The lack of social housing is a genuine disgrace, and these resi conversions are absolutely not the answer.
There's a lot of things, some about old-school types (Java, C), other about modern ones. I don't think most are fundamental, even though some are common experiences today.

#1 is fundamental. (Yet people somehow live with the JS ecosystem that's slower than GHCi.) It's supposed to evolve into always becoming a smaller problem, since computers are always getting faster; but I don't think we've put everything we can into types already, so I expect it to get worse in the near future.

#2 and #3 are about old-school types.

#4 Oh, yeah, they can. But they can also help a lot in team coordination. Powerful stuff enable you either way, if you harm yourself or take advantage of it is your choice.

#5 Failures in type systems encourage code generation. Expect that to always improve, but always slowly.

#6 That's why there's always a parsing stage between input and processing. You deal with input errors at the parsing stage, and processing errors at the processing stage. Most communities of dynamic and old-school languages make a large disservice to the industry by mixing those; they explode error handling into something intractably complex.

#7 Hum... You are holding it wrong. Do not state variants into your types. Instead, use the type system to get every invariant out of the way, so the variants stand clear. (And yeah, there are plenty of libraries and frameworks out there that try to encode the environment into types. That deeply annoys me... But anyway, if you do that, take the types as requirements upon the environment, not its description. Those are different in very subtle ways.)

#8 This shouldn't be fundamental. AFAIK there are not many people trying this, and the few there face a Sisyphean task of keeping their code up to date with the mainstream changes. I do hope people make progress here, but I'm not optimistic.
That just provides a "this exists and is a thing" overview, with the bulk of the information hiding in https://tools.ietf.org/html/rfc6761.

That's the link that qualifies special behavior for anything ending in ".test", ".localhost", ".invalid", and the set of "example.???" domains.

Copy-pasting the RFC into a comment would be a bit spammy (it's three pages of hyper-specificity), so just go read that. It's quite accessible and the mechanics are useful to be aware of.
And then improved Plan 9, using God's predecessor.
I believe everyone should have similar education systems. The more we understand about others, our own history, and ourselves, the better we can make reasonable decisions in the future.

If another country chooses to paint western civilization or the US negatively while ignoring their own baggage, then that’s their own ignorance. The same can be said about our civilizations painting others negatively awhile igoring our own past and engaging in hypocrisy.

I believe education is the best path to progress forward and peaceful diplomacy, for everyone. Angry populations fed lies, foaming at the mouth for blood just doesn't seem like a good path forward and never has been.
It reduces synchronization time substantially, as it involves literally billions of signature verification operations.
Memoized-node-fetch: A node-fetch promise-cache wrapper
If the Oracle deal fails, can TikTok be banned from US based Android devices?
I'm very happy with CalcTastic, though it's not been updated since 2018 it still seems to work just fine.

https://play.google.com/store/apps/details?id=com.shaytastic...
How is the nationality of the person being sued relevant to the situation?

I, not complaining about the NH headline, but the various mentions in the article itself?

I clicked because of that headline wondering why someone in America would worry about a suit filed in a different country. But it’s someone resident in Thailand.
> Who knows how much more data they are holding on.

The safe assumption is that any data a company has ever had on you is still stored by them no matter what they say to the contrary, and will be until the end of time. Apart from being a hermit living in a cave in Montana from birth to death, there is no guarantee of data privacy in the modern world. Anyone who tells you otherwise is trying to get and sell your data.
If that person is a publicly-traded company with hundreds of millions in revenue, and "taking your pencil" is failing to adhere to their obligations under privacy law, yeah, maybe public shaming isn't too bad.

I mean, I know in America, corporations are people and even have constitutionally-protected religious beliefs, but I'm sure Cloudflare will, with enough counselling, cope with the trauma of some mild public shaming.
Claims of Petrov preventing an "atomic war" are debatable. There were probably other checks built into the Soviet protocol and chain of command that would have easily detected the false positive.

https://www.quora.com/How-close-did-we-come-to-a-nuclear-war...
Heck, not only I don't have to look at the code, with proper IDE setup, I even don't have to go to the documentation page, just `item.` and my IDE/editor will present me with the list of things that are applicable to my item.

And that's only the response part of the usage, there's absolutely no way for me to know if the method is an enum/constant or is it a string without looking into the code for dynamic typing, and again, sometime N-level deep to get enough information of "what to pass to this function so it will work".
I try to use Firefox on principle, but I find so many sites are slightly or significantly broken in it
Yes, you're probably thinking of corp.com, which MS used as the default for AD setups. It went up for auction this spring and MS bought it:

https://krebsonsecurity.com/2020/04/microsoft-buys-corp-com-...
Jackfruit: The ‘vegan sensation’ that saved Sri Lanka
Alar: The making of an open source dictionary
What people profess to believe in and how they act are two different things.
There is also Duc: https://duc.zevv.nl/. It has a both a Tui and a Gui, but can also do nifty CGI things (shameless plug)
'Of course, they also like to avoid bugs, but for that they use testing.'

This is kind of the key bit.

To caveat this - I'd like better typing in Erlang, and when i last used it in production I added type annotations to everything and ran Dialyzer as part of the build. But this is personal preference, and I'm not convinced it was the best use of my time; just the most conservative way to approach things for a system I needed extremely high uptime on.

You have to write tests anyway. Just because a statically typed system compiles doesn't mean your test load is reduced. While it eliminates certain classes of bugs, those same classes mostly get covered just by writing functional tests of sufficient coverage.

Between that, and Erlang's supervision tree (so that if you DO get a type error at runtime, it would be in a path you haven't adequately tested, and so not your expected 'happy path', and as such, can reasonably be restarted), it strikes me as a reasonable position to take.
Most new homes today include heat recovery ventilators that continuously cycle the air from outside.
Knowing VW, it's probably going to be assembled well.

Edit: Why is this downvoted? :-))
Thanks I hate it
A substantial part of that can be explained by the decrease in labor force participation. A lower number of wage earning workers must support more non-earners, so various redistribution mechanisms do that.
Bitcoin miners are utilizing excess energy that would otherwise have gone to waste. So there's nothing wasteful about it. In fact, miners must be as energy efficient as possible in order to remain competitive and profitable. Typically excess power is the cheapest source because there's no demand for it, hence why efficient miners use it. Check out great American mining[1] for example. They harvest wasted energy from gas flares to power bitcoin mining rigs.

1. https://gam.ai/
Thermodynamics was largely invented to understand how steam engines work.
I strongly doubt microplastics would survive heat and pressure well enough to not revert back to oil/gas/coal.
How to Easily Validate Startup Ideas
Panasonic still occupies a portion of the Nevada gigafactory, manufacturing cells that Tesla puts into packs which go into their cars. They are ramping up production capacity further, in fact. The new batteries are entirely Tesla's design, based on work by their research partners. So the new factories they're building in Germany, Texas, and possibly an addition to Shanghai will produce these new batteries.
Musk is delusional with his timeframes, but I think he's sincere about his aspirations, and has a track record of eventually delivering.

Milton (Nikola) just flat out made stuff up all the time that had no basis in truth.
If you give me your email I can send you a message from my _lastname_@ work address, which you can then match up with published media I've done under my name, e.g. https://www.youtube.com/watch?v=kBkX30Cj7Bw and https://security.googleblog.com/2017/09/broadening-hsts-to-s...

Or you can look at the matching username on GitHub ( https://github.com/CydeWeys ) and see that I'm a member of the Google org and owner of the Nomulus repo ( https://github.com/google/nomulus/graphs/contributors ), the software running our TLD registry and which was announced here: https://opensource.googleblog.com/2016/10/introducing-nomulu...

Or I could just dig out my GPG key and sign a message.

So I respect your healthy skepticism, but I promise I'm really me, and not just someone pretending to be me! And I'll also note that, in all my time on HN, I've never once seen someone pretending to be anyone they weren't, at least not on seasoned accounts like mine. You can go back through my 5 years of comments on here, and every time I say I'm a specific person out there in the real world, it's always the same consistent person.
If Facebook was still The Facebook and for some reason hadn't thought to pick up facebook.com before now, the price on that would be only just bounded.
You'd think so wouldn't you. Unfortunately for everyone else, there's plenty of crap developers around who don't know anything much.
I think this is highly specific to the country. If you want a good answer, I think you have to give us the country.
My Collections of 95 Best Books for Startups & Entrepreneurs:

http://casualwalker.com/95-best-books-to-read-in-2019
In the case of Java you have the option of using "Person me" or "let me". Simply stick to the convention of explicitly stating the type at least once when declaring a variable. I have also noticed that Python allows developers to note the type (at least when defining functions). It's not necessary and I don't think the language uses it, but at least it offers a standard mechanism to note it in the code.