skysight-inc/HackerNews huggingface dataset:
The amounts of helium produced by any nuclear reactions are absolutely miniscule. Filling a balloon with nuclear fusion is a mammoth task.
Making Agile work for you by avoiding these bad practices
Obviously I mean foreign accents when speaking English.
Kotlin is like a virus. Once you use it in a non trivial project, it infects you and takes over your body and mind. Every time I look at Java code in my Android apps, a part of my body hurts. Luckily there exists a Java to Kotlin converter.
The forking obeys the Schrodinger equation. The collapse was artificially added to evade this forking that naturally follows from the equation.
Literally "when it's done". This is the answer given in talks by the developers working on it.

But you have to understand that many many libraries are on Java 1.8 because that's what Android supports. Even when Loom arrives, many libraries won't use it but will rather continue to use threads.
Depends on your requirements, and the message throughput, but we have had great success using a database as a message broker. We get atomic commits on jobs, audit history, database backup is all we need for recovery, and a less complex stack. We did use RabbitMQ, but replaced it with using SQL Server, and the sql notifications to make it efficient. Couldn't be happier, but we only do thousands of messages a day, not sure I'd use the same approach with millions.
I imagine that unionisation is going to come for Amazon in the end.
Millions worth of returned online purchases sent to landfill
Depends on how you define "network equipment" :)

Unifi is selling LED panels, that are powered over PoE and controlled over Ethernet.
Reflect.defineProperty() vs. Reflect.set()
I would have loved a link to the original text fragment. noctes atticae is quite long:

https://www.thelatinlibrary.com/gellius.html
If it was in a typical container there'd be no hashed password for root, though. Just a ! or *.

In fact that's kinda the standard practice anyway nowadays (disallow logging in directly as root), so I'm really not sure what these guys are doing.
Concurrent smart contracts in Hyperledger Fabric blockchain
The example doesn't seem to work at all for GitHub's explanation.. they say that their outgoing email server didn't support unicode in the domain part anyway. What am I missing?
Was your actual attack on the local part?
Using reader view on safari on my iPhone is the only way for many sites to be readable these days.
You can compile and execute C/C++ code in my little hobby project: https://droplet.fwsnet.net/

It's something I use to measure certain things, like how many instructions does a C++ exception add etc.

It's run in a docker container, and I think I strip out any slashes from includes. I'm pretty sure the container is not executing stuff as root as well. Still, probably not bulletproof.
Capote wasn't talking about this book in particular when he said that, he was talking about Kerouac's method of never rereading or editing something once he had typed it.

I only mention that because it changes the meaning of the quote- it's not necessarily about quality, but it's very much about methodology
This. So much this. The incompetence of the victims is staggering.
> Facebook's average revenue per user is $25/year

The right comparison is probably to US Facebook Revenue and that's on track to exceed $100/person/year for 2019. Globally, $25 does seem to be around the average.

Source: 2019 Q3 FB Earnings Report https://s21.q4cdn.com/399680738/files/doc_financials/2019/q3...

Disclaimer: FB Employee
curl https://www.washingtonpost.com/outlook/the-accidental-book-review-that-made-jack-kerouac-famous/2019/12/13/23e94230-04b3-11ea-b17d-8b867891d39d_story.html?outputType=amp |tr -cd '\11\12\15\40-\176' |sed 's/</\n</g' | sed -n '/./{/<p class=.font--body/,/<\/p>/p;}' > 1.htm

firefox 1.htm

If desired, substitute browser of choice for "firefox". Can leave Javascript enabled.
Show HN: Check Your Marriage Compatibility with Vedic Astrology
Show HN: Anti-Spam API for your contact from and comment system
What are these .Christmas TLDs? Seeing those crop up and only makes sense at this time of the year right?
Inside Story: Our Techstars Experience with Qovery
mining the gas giants. The amount of matter in fusion, or created by fission byproducts is minuscule. unless we do so much fusion that the absolute amounts become close to the amount of natural gas.
> Have we convinced you that Unicode is Awesome?

this is sarcasm right?
I take the parent's comment to mean that everybody has an accent. There's no such thing as neutral or reference-frame speech.
Insurance companies can run a sort of mini credit score with just a name and address. It doesn’t show up as a credit inquiry and has a more limited set of details about each item.
Not to defend Java, but some examples seem just unfair:

if (nullableVariable != null) {
boolean success = nullableVariable.someMethodCall()
if (success) {
return success
} else {
return fallbackIfNullMethodCall()
}
} else {
return fallbackIfNullMethodCall()
}

// Wouldn't that work just as well ?
if (nullableVariable != null) {
return nullableVariable.someMethodCall() || fallbackIfNullMethodCall();
}
return fallbackIfNullMethodCall();

Ok, that is still more cluter than the kotlin elvis operator, but more fair, isn't it?
Why not just use sealed classes for your given use-case rather than a generic result?
If you want to do generic why not go full Either?
The longer I program, the more I am convinced that falling back to ASCII in 90% of (non-embedded) use-cases is just a programmer avoiding to do the extra brainwork to deal with encodings.

That is why I like the Rust approach: make these issues front and center, implement clear solutions for common use cases and enforce them. In to many languages encodings feel like an afterthought rather than something that has been considered from the start. When I started using Rust I e.g. learned that the Strings a OS uses in its filenames are not necessarily valid UTF-8. Rust forces you to handle this explicitly. Strings are complex and hiding this can be dangerous
> (nevertheless "Straße".upper() actually returns "STRASSE" ignoring the existence of the uppercase ẞ (U+1E9E))

Python probably predates the addition of a notional capital ß glyph in 2017. SS is the capitalization of ß that you'd expect if you were thinking of your data as a string rather than a collection of font elements.
0.9^2 = 0.81, so you're saying that only 81% of macros are crap? :)
Most routers allow some kind of traffic denial, even the home use ones. But I guess you could get a rpi and set it up as a firewall or something
I've once seen a Chinese girl texting on a bus stop. She used the ordinary US-looking on-screen keyboard but Chinese hieroglyphs were appearing in the message window as she typed.
Could you give more detail. A follow up article. Is GraalVM build ontop of this?
Java's checked exceptions are "proper Either/Result." The problem is that they can be of a more complex types (union types) combined with subtyping. In other words, what you see with Either is not a result of it being written as a return type, but a result of it being a much simpler type than Java's exceptions.
> Dart Server is not going to see a major uptick until Google commits to a major project initiative like they're doing with Flutter & Angular Dart.

That's one of the important points for me. Google's commitment to Dart is... well.. Google-ish.

The original intention as an alternative browser VM is done, most of the founding team left, and for years only the Google Ads team kept it alive.

The Flutter "happened" and Dart had its "Ruby on Rails" moment. Now it seems tied to Fuchsia, too. A popular Non-google project would seem good, otherwise the comparison to Swift seems more appropriate than Go.

With WASM being the new hot thing, I fully expect something Blazor-Ish to become quite popular in the Go world, and to be honest, once compiler output is going down, it's not that hard: the frontend stack is embarassingly shallow.

I actually liked what I saw of Dart and like Bob Nystrom's way of communicating (he responds, but isn't all out evangelizing like e.g. some people representing projects that start with "R").
So don't get me wrong, it's great to see some enthusiasm, and it actually brought me back to fiddle around with it a bit over the holidays. But I still believe that's more my "I liked my Palm Pre/WinPhone 10 better than Android/iOS" side than the one correctly reading trends...

(I'm a Perl developer ATM, I clearly don't know a thing about "resume-building")
`#include </etc/lsb-release>` gave some interesting errors. Looks like it's running Ubuntu.
Really? Exceptions introduce some sort of magic in control flow, it is simply less explicit. It may come in handy, but I rather use it as a final resort than as a way to return different types (I've seen exceptions being used in Java for non-error cases I guess because sum-types (aka tagged unions) are not available).

Having this (together with pattern matching) as the-way-to-do-errors in Kotlin is one of the main reasons I feel it fixes what Java cannot (easily) fix.

Can you articulate how it increases readability?
What could go wrong.

https://sciencebasedmedicine.org/scientific-fraud-in-china/
Group Says 72% Gender Gap in AI Industry Could Worsen Historic Gender Bias
Though I'm on the "encrypt all the things!" camp, let me play devil's advocate for a moment.

If I set up a purely static HTTP-only site in 1998, it would still work with today's browsers, more than 20 years later.

If I set up a purely static HTTPS-only site in 1998, and didn't follow the upgrade treadmill, it would have stopped working for modern browsers some time ago.
On many smart TVs the content you're watching will still be monitored, as automatic content recognition is based on analysing the images being displayed, regardless of source. Blocking that requires isolation from the internet, by simply not setting up the wifi, or using a network level blocker like pi-hole if you still want to use smart features.
If X is true and Y is false this returns Y instead of Z which is wrong.
I once had an Amazon delivery to an Amazon Locker in an Amazon Store fail 3 times before they gave up.
Alphabet,Apple,Tesla, Microsoft exploit child labor to mine cobalt for batteries
okay champ
100%, who the hell would write if (success) return success. Come on.
If such shelters existed in my city, I’d seriously consider becoming homeless for a while to save for a deposit on a home loan faster than I otherwise would while paying rent.
Honestly, this article is a disgusting sales pitch for AI snake oil, using child abuse as a marketing ploy. Everything triggers my bullshit detectors. Even the comments below the article read all the same, like this is some amateur PR stunt. A ML system that can dectect nuances in social interaction? Sure, that'll work... not! Just pay some private company money to monitor everything a child or teenager communicates, that potentially saves sensitive information and that might be breached one day? Whatcouldpossiblygowrong?
Listen, I know online grooming is a problem that might be as prevalent as abuse in the immediate family, and I'd like to prevent this as much as anyone. But some cyber-bullshit company writing tear jerking marketing articles and its own comments below on the back of abuse victims isn't going to help.
Matrix and XMPP, for example, provide methods for end-to-end encryption. The operator of the node has no way to see the content of the messages. Deriving the connection graph is not an issue exclusive to federated systems.

But most important, no one is ever bound to any federation system. This by itself should be strong deterrent of bad behavior by bad actors. If I don't trust one server I can always switch. In an extreme case of lack of trust I can set up a server just for myself and the federation devolves into a peer-to-peer system.

Either I am missing the point of the article or the author hasn't thought this through.
Database Documentation Tools
The new style of switch statements is very nice. I've found myself using if else blocks to replace switch statements because they're simply more legible, and they take up less vertical space. Now the new style switch statements will be an improvement over that.
The idea is incredibly simple. Basically: Don't allow castling. And the claim is that if you don't allow castling, it's basically impossible to set up a "drawish" defense. You have to attack or die.

In fact, it's so simple that it's sort of hard to believe. They've done tons of analysis with a retrained-from-the-ground-up AlphaZero and are convinced of it, so I definitely think it's worth a try, and look forward to see its effect.

If it does turn out to be true, it will be kind of amazing how one simple rule tweak affected the highest level of Chess play.
Could you please also provide Scala versions for the other code snippets on that site? Just what you can come up with from the top of your head?

I'm genuinely interested, having spent the last few years with Haskell and having recently rediscovered and being incredibly awed by the JVM and its ecosystem, and pondering on whether I should refresh what I'd known of Java or just outright embrace Scala.
First imaging spectroscopy observations of puzzling solar drift pair bursts
I've read the opposite. You don't want to lower tolerance cause of the high.

Tolerance builds very fast in a matter of days, so you'll have normal effects.
off-topic: What a cool TLD!
USA is rich at the moment since the dollar is extremely strong, its GDP per capita wouldn't look so good if it went down to 2009 levels again.

USA is an attractive emigration target since it is the biggest country which speaks the lingua franca, you see all English speaking countries enjoying similar advantages. This also naturally helps with university prestige and startup success.
> Plus, none of the interfaces used in the streams API have exception parameters.

That's partly because there's another problem. Potentially, you could have streams of the form, say, `...map(A::foo).map(A::bar).map(A::baz).collect(...)`, and each of foo, bar, baz adds another exception type to the set that can be thrown by collect.
I don't think you're really disagreeing with him. We all agree that transit stinks even in big metro areas (NY/Chicago are decent but still not to European level). The issue is that in those dense areas it's now extremely expensive to build, and in other areas, there isn't enough population to support large build outs (like in the southeast where I grew up). Compounding that is the fact that rail would have to compete with fairly cheap flights.
Anyone have a picture of one of those confounded dials?

I was told that the Romans, traditionally, and still at the time of Julius Caesar, divided the day, from sunrise to sunset, into twelve hours, so the "first hour" would be just after sunrise, but what astronomical local time that corresponded to would depend on the time of year. An ordinary sundial gives you astronomical local time. So I wonder how that worked in ancient Rome. Did they convert between the two systems, or did the two rival systems coexist? Did people have to say "the third hour, old-style" or "the third hour according to the sundials" ("hora tertia secundum solarium"?) to make it clear what they meant?
Its copied from Scala pattern matching, and still isn't as good as it.
Pattern matching in switch statements (calling them match statements would then be more fitting), a nice way to deal with nulls, and proper sum types (aka tagged unions, like enums in Rust) and Java would be pretty up-to-date.
I had not known that, appreciate the reference. Indeed I think a 22 or 22 win mag is probably good for most grandma situations - it could certainly stop a couple of bad guys that are not wearing plate armor.. easy to control recoil, so they won't be afraid of it going off, and they can focus on sending multiple rounds towards targets to stop them.

From what I've seen in the news and videos most of violent criminals around here have been tshirts and hoodies, generally 1 -4 people, although the group of kids that took a musician out recently over a van I think was 5 maybe 6 at once. 30 rounds of 22 would be better than trying to swat them with a heavy purse.

If your threat was high value target, or some kind of state entity, I would not count on a 22 to be the best choice. Some people have suggested winter coats and layers of cloth can impede a 22, maybe if it's hollow.. for grandmas in Minnesota and such I'd probably suggest training with and getting used to something that can run critical duty or critical defense ammo through it instead maybe.

Most of my older neighbors would do well with any low recoil round if the platform was easy to handle.

Which is one reason this assault style banning talk bothers me so much. It literally makes them more dangerous and puts them in more danger by regulation, which is not silly.

It gives the strong criminals an advantage and the weaker citizens a disadvantage in life threatening situations.

again, not an expert, doctor, lawyer, etc.. just been doing some research and trying to share some things I have found that may be surprising for those who have not. There is certainly more to know, ymmv.
Would you trust a plumber entering your house? They might plant bugs. paranoia
Now we have got 4 vanity TLD post on the FP. This smells.
I work in this space. Its probably not a matter of kill people, doctors in ER's don't really need a EHR to function and sometimes do without due to technical issues. The issue is that the hospital won't be able to bill without documentation.
Java is actually getting quite a few nice features these days. I am especially excited about these improvements to the `switch` statement – I have always felt that the `switch` statement is more or less useless in its current form. Now, if it only had exhaustiveness..
Java 13 was released 2 months ago.
The fact that you were introduced to concept X by language Y rarely means that X was invented by Y.
UX process to redesign Batman's classic outfit
Not a comment on the content, but I really wish people wouldn't publish blogs without an obvious publication date.

I learnt react this year; I spent quite a bit of time researching and reading, and obviously there was a _lot_ of ground to cover. In that process, it was really helpful to know whether what I was reading was published a month ago or three years ago.

The first words on that page (after the title) are "React introduced hooks one year ago". That may be true today; it won't be in a year, but in a year somebody looking at this page will probably see exactly what I'm looking at now. Not showing a publication date does that somebody a disservice.

</moan>
Multiple Vulnerabilities Fixed in Git
You should definitely go for Scala if you're coming from Erlang. You'll find it much more Erlang-like.

I don't have the time to convert their whole site right now, sorry, but you'll find the same pattern holds - Scala does everything more elegantly and concisely. Feel free to look up a Scala tutorial.
Apple, Tesla and Others Accused of Human Rights Violation
Great comment - the concept you speak of can be described as an "information asymmetry" or more broadly as "bounded rationality" as opposed to econ 101 theories which often assume "perfect information" or perfect rationality.

https://en.wikipedia.org/wiki/Information_asymmetry
https://en.wikipedia.org/wiki/Bounded_rationality

I think really only a rabid free-marketer (as opposed to all economists as you imply in the first sentence) would expect the market to self correct on something like this.
Of course we’ve been grinding and reforming grain into bread for 10,000 years so it’s a lot more complicated than you lay out
It's not that expensive if you're not afraid of taking away space from cars. Bus lanes and trams are relatively cheap to build.
I think software broke economics in a way, since that was one of the only products which you could produce once and sell infinitely. No other thing on the planet you could do that with. All other things you need to transform something physical or spend time doing which results in a linear mapping between input and output.

Digital goods (such as music, games, etc) do not count as independent things since they are implemented as software. Also previously things like music you had to perform or distribute physically.
The first no-castling match has already taken place earlier this month as part of the London Chess Classic

https://www.londonchessclassic.com/press/lcc19_pr5.htm

The current castling rule was an innovation of the Italians when the game was brought in from India. It, along with pawns moving two squares on their first move, ushered in the Italian School of Chess, known for its slashing attacks, sparkling sacrifices and all out aggression.

However, the Indian form of the game did have something like castling, the king could move from its start square to g2, where a fianchetto'ed bishop would normally sit.
Depends on the stack used. If you have persistent connections you'll incur far fewer handshakes than requests. If you use an elliptic curve scheme key exchange costs are negligible. But sure, if you do one 4096 bit RSA exchange for every request it will be costly.
Oh, yeah, for good clients it's totally fine.
But e.g. a machine I'll try an http benchmark on in a couple hours (2 cires; 4780 BogoMIPS each) only managed 4177 ops/s using the fastest-available curve X25519 with

openssl speed ecdh

gatling -V -n -p 80 -u nobody

I know this is somewhat extreme, but on a cpu that was about 30% faster I got 40k rps for small files using the kernel's loopback, which is where the cpu spent most of it's time.

Feel free to try.
You're not only buying a TV nowadays, you're buying a portal/frontend to goods and services that earns the TV manufacturers a comission for your use and data.
To some degree, yes. They allow to write software much faster, but in order to be truly proficient, you need to know a lot of what's in the layers below anyway. And when writing in a high level language, there are many more layers below you than when you write a device driver. So overall you have more things to keep in your head, and more things to learn. But if you do, you gain ability to move faster. So it is not necessarily worse, but just a trade-off.

Also, at a high level, you typically solve different, bigger/harder problems. Someone may use Python to build a statistical model, but using a simple language that even kids use at school, doesn't mean the task would be easy.

This is also reflected in salaries here where I live - embedded devs don't earn more than application devs.
https://blogg.bekk.no/introducing-bekk-christmas-ad01660ccad...
They created jobs, employed more than ten thousand people, why is it a bad thing?
The most interesting list of articles that people have been reading in 2019
What is the definition for consciousnes anyway?

Is it the feeling that you are conscious, can you really differentiate it from proprioception that most animals have.

Is it the bahavior we see in animals recognizing themselves in the mirror?

Or is it language and the ability to produce valid sounding statements about oneself?
> But at least you have a brand new customer: Henry@gmail.com. Since you do not lowercase the email and do not recognize him as henry@gmail.com which he used in his last order.

Which would be correct behaviour. From RFC 5321, part 2.4, "The local-part of a mailbox MUST BE treated as case sensitive."
I like Kotlin (as a half-way house in a Java codebase to something purer like Scala) but I'm worried about being locked in in future, and that becoming a liability in a codebase 20 years from now.

Does anyone have experience of emergency automatic conversion back to Java?

(Edit: Never used Kotlin but I like the look of it)
I think the point was that the product was so minimal and cheap that you would throw it away and get a new one like a phone.
Quil looks cool but it's a shame it only supports JDK 8, like many other things. I use Clojure2D as it seems to work fine on JDK 12
I speak of a L7 DDoS.

Assume the worst way to attack without being clearly obvious: handshake CPU grinding.