skysight-inc/HackerNews huggingface dataset:
There were many coal burning power plants generate tons of dust and smog around increasingly electricity hungry developed areas in east and west coast of China. Those plants are gone because the powers are transfered from far away. Without UHV 's efficient long distance power transfer capability that could not happen.
Can’t say no to everything, or soon you won’t have anything to say no to any more.
I agree, because type inference in some (Typescript) is good enough that there's almost no overhead. Back when it took twice as many lines with types it made sense. But the overhead in typescript is maybe 10%, worth it anymore? I don't think so
Haskell has some problems that mean it is not suited to a lot of tasks, esp. the difficulty of predicting space/time performance and integration with OS-level facilities. But it is a serious contender in many cases where correctness is essential: Haskell's type system is expressive and the language makes valuable promises about how code behaves.
Thought Python was great. Then I found out Ifs rely on indentations in order to be parsed correctly. As someone who generally uses whitespace-independent languages (Lisp and Processing mostly cover my bases) I really despise the fact that I have to tab-indent my code and that I can't add leading spaces just because.

Normally I use three spaces instead, and when naming variables I add leading whitespace to the line to prettify it up and make the "="s align. It irks me but I can get past it. Still wish it could've been done better.
The person I was responding to was postulating what would happen if a janitor was made CEO, to which I am saying there are some important skills or experiences that not everyone will have.
High severity MacOS security flaw discovered by Project Zero
https://www.reddit.com/r/DesirePath/
Multiple dispatch is a big one.

Also, macros, which are what (the view layer of) CLOS is built with. In most other object oriented languages, the language isn’t powerful enough to implement its own object system.

Having the full power of function calls in all cases (named or anonymous) is incredibly helpful. I know the Python party line is “just use def” but adding a line here and a line there adds up fast. A syntax for function objects is also great.

I’ll also call out the ability to use dynamic or lexical scoping on a per-variable basis. That has saved me hundreds of lines of work, and made an O(1) change actually an O(1) patch.
> Actually, it's my impression that some Jewish groups have done a pretty good job at maintaining racial purity.

Because certain very specific subgroups have done this doesn't mean that they are "pure". These in-marrying groups are always descended from mixed populations in the first place, populations that predate the identity badges we ascribe to them today.

Tay Sachs, among the genetic diseases you alluded to, is also present in non Jewish populations, but at a lower rate:

https://www.haaretz.com/jewish/non-jews-increasingly-hit-by-...

> I don't know the specifics, but I've read that only certified Jews can officially marry in Israel.
> And the standards are so high that many "Jewish" immigrants don't qualify.

People can convert to Judaism, and even be born into Judaism with one Jewish parent. This is very common among populations outside of Israel.

Large subgroups in Judaism, sephardi, baghdadi, etc, are genetically quite diverse in origin, and are significantly represented among the Israeli population.
The killer feature that vaulted Java to the top was cross-platform compatibility (regardless of the flaws), including AWT and Swing.

Source: Have been coding in Java since 1.0.
This has less something to do with Rust itself but the ecosystem, but once I updated my system and obtained a newer version of openssl on my OS.

Sadly, some of my projects still used an older version of the openssl crate somewhere inside their crate tree.

The openssl-sys crate author chose to check that the native library version it was compiled against was below a certain version, so it broke. All requests by users to fix the legacy bug were deflected with the mantra "go update the openssl crate the fixed version is out since a year already"...

https://github.com/sfackler/rust-openssl/issues/994

https://github.com/sfackler/rust-openssl/pull/1001
I hate to be the party pooper, but I'd would tell you to first get traction on your product, and then only quit your job if you feel you have no other choice than quit your job to do this full time.

Also be careful about your contract with your employer, making sure you're not overstepping boundaries that you have signed on. Some employers will take anything you've developped outside of work as their own IP, there are ways around it of course.
:Of late the US seems to have attained that level of maturity, given how they have dealt up with Wall St after 2008, or the Pentagon for the 20 year war or dear Mark Zuckerberg. So maybe it's time."

I don't think 2008 was a sign of maturity when the people who caused and benefitted from the meltdown got bailed out and could keep their money. Maturity would have been that the people who ran the banks before the crash would have lost all their money since it turned out that their contribution was overall negative. We have reached a point where the people who make the most money can hide behind big faceless corporations. They reap most of the profits while the losses go to the rest.
Psychopathy, i.e. antisocial personality disorder, and psychosis, the state of experiencing delusions and/or hallucinations, are two very different things.
United Airlines’ so-called online security (2016)
All animals sleep.
Indeed. Jews are literally racist by creed, yet it is often overlooked for reasons of diversity.
Well put. I'd add that this is a case where the decoupling of OS and language design is bad: capabilities are much more valuable if the OS can provide a sufficiently expressive basis for them.

I'm watching Zircon with great interest.

https://github.com/fuchsia-mirror/zircon
A Swimmer Saved by What She Lost
For fun, I tried to find a simpler formula for seq(0,K) in Appendix A, but I didn't check if it's computationally faster and I doubt it is. The formula I found was: seq(0,K) = 2(K+1) - Hamming(K+1) - ffs(K+1)

Explanation:
When the newest hash is at position K (zero-indexed), there are K+1 level 0 hashes being stored.

The stored permanent hashes form a set of perfect binary trees. There is either 0 or 1 of each size of perfect tree. To determine if a tree of a given size exists when there are K+1 hashes, you can check the corresponding binary digit in K+1. For instance, if the eights place in K+1 is set, then there is a perfect tree with eight level 0 hashes.

Each perfect tree contains 2N - 1 hashes, where N is the number of level 0 hashes in it. To calculate the total number of permanent hashes, we can sum the totals for the individual trees. The sum of N for all of the trees is just the total number of level 0 hashes, K+1, so the 2N term becomes 2(K+1). The total number of trees is equal to the number of set bits in the binary representation of K+1, which is the hamming weight[1]. So -1 becomes -Hamming(K+1).

We now know that when the last record is at position K (zero-indexed), there are 2(K+1) - Hamming(K+1) permanent hashes stored.

Unfortunately, the last level 0 hash might not be at the end of the file, so we need to subtract the number of hashes that come after it. The number of hashes after it is the height (L, zero-indexed) of the smallest perfect tree, which is the position of the first set bit (one-indexed)[2] of K+1, less 1: ffs(K+1) - 1. We then subtract 1 to convert the number of records to the zero-indexed position. The -(-1) and -1 cancel out.

[1] https://en.wikipedia.org/wiki/Hamming_weight#Efficient_imple...
[2] https://en.wikipedia.org/wiki/Find_first_set#CTZ
Marzipan: The False Mac iPad Dilemma Resolved
You always can upgrade from C to Rust though.
I quit around 2.2, never looked back. Python was a breakthrough scripting language ... in the 90s.
https://krebsonsecurity.com/2016/08/united-airlines-sets-min...

United began debuting new authentication systems wherein customers are asked to pick a strong password and to choose from five sets of security questions and pre-selected answers.

This has been in place for 3 years despite public shaming.
That's really clever.
We came across one once off the coast of Sydney while fishing. Sadly, by the time I managed to get in the water it had dived, so I only got a blurry glimpse.
Click-baity title, a floating point error prevented the ability to save 28 soldiers.
Ask HN: How would you monetize $100k of cloud CPU credits in three months?
From what I know, it's only been minor revisions --- the cost of re-testing/re-certifying anything aerospace is (literally) astronomical.
Uh, these are basic things.
I believe the precise way in which slow neutrons are produced to start nuclear fission is still classified.
In C# with Visual Studio and Resharper:

* Have cursor on 'Dog'
* Ctrl-R-R
* Type 'Animal'
* Press Enter

Done.
And your code won't be littered with 'old' types and other garbage.
Better to use the `pwgen` command for that. There's no guarantee the passwords from that site are really random / not being stored.
> A gun is a tool, but it is a tool with one use; wounding and killing organisms.

This is kind of true, it depends on the ammo used of course.

However I think they have multiple uses, and from what I have seen they are mostly used as a deterrent and sometimes as a compliance tool.

If it's a pistol on the hip of an armored car runner or security guard, it's existence is a deterrent - and there is a definite difference when people see an armed guard and a 'rent-a-cop / mall security with a whistle' -

Cops often use guns to threaten in order to get compliance in their orders. I suppose it's the same at military bases and prisons - they are used everyday to deter people not used everyday to kill people.

Of course this tool can be used to deter good things and to force compliance for nefarious things like armed robbery so it's not a tool that is always used for good or in good ways.

I would guess if stats could really be made - they are mostly used for target practice at paper and cans as such when being used, unless you consider them being on display at various places like courthouses as being in use.

So it's a tool with more than one use imho. Not the best tool for the job they are often used in sadly.
Immutability. I didn't really understand the benefits of having immutable data structures until I tried building a service with no mutations whatsoever... and noticed I didn't get any weird, head-scratching bugs that took hours to reproduce and debug. That led me to go down the Functional Programming rabbit hole - thus changing my entire view on what code is/could be.

[edit: spelling]
In the US, the IRS collected $3.33 trillion in revenue in 2018, with a total budget of 11.5 billion (2017). Thats 0.3453%, or 35c per $100 of tax revenue. Fairly minor in the scheme of things.
Plans are to run GNU/Linux code in OSFree using the L4 kernel. Give it some apps.
High speed rail is beneficial over time; other parts of the world are doing it with success. It seems a very bad sign that a large project in the USA is so difficult, as mentioned elsewhere. Last quick comment is, don't discount the possibility that this is hardball from a new (attorney) Governor, and there are more chapters to this story coming.
Read (or indeed, write) a lot of code and you'll quickly realise why. It's the same reason acronyms and abbreviations exist in human languages.

Also, "recv" and "send" are both 4 characters, which is nice.
> First, "previously thought to have developed under colonial rule" is just false. The ancient Greeks wrote about India's caste system, thousands of years ago.

Correct, the article is flat wrong on this. Indian sources that even predate the Greeks also speak in detail about the societal arrangement.

> Second, what the data shows is not a record of social structure. It shows that modern Indian castes have practiced endogamy -- mating within the group, with negligible inflow from other groups

Yes, but they are still sampled, albeit in varying proportions, from the same source populations, referred to in the literature as ASI and ANI, which are themselves composite groups.
Love the article - both excellent writing and content. Id say youth are more interested in social capital because of sex and money. Eagerly looking for both makes one "peacock".
not really sure why this comment is being downvoted. kind of strange
Electrovibration in Ungrounded MacBook Pros (2016)
Perl too. The CPAN guys are obsessed with testing.
> can also choose not to trade with those.

No, the EU and other trade agreements prohibit this.
Thanks for replying. I totally agree with needing traction first.

I'm putting cart before the horse a little bit by asking the stuff in my post, but I am wondering if I'm chasing a dead end if the odds of getting revenue from a side hustle to be similar to a corporate software engineering salary is pretty much non-existent because of the time limits of trying to do both at the same time.
> Yes, but they are still sampled, albeit in varying proportions, from the same source populations, referred to in the literature as ASI and ANI.

Sure, but that was several thousand years ago. Again, most people are perfectly happy to describe unmixed ancestry for the last 2400 years as being "pure", and the castes go back farther than that.
> People can convert to Judaism, and even be born into Judaism with one Jewish parent. This is very common among populations outside of Israel.

Yes, but to strict orthodox, they're not really "Jewish".

At one point, I researched rabbinical criteria for determining pedigree and classifying degree of Jewishness. Who can marry who, and how any children are classified. It's mind-boggling. If I have some time while this thread is hot, I'll post some sources.

Edit: Here are some sources. Please note that they're Jewish sources. Not anti-Jewish sources.

http://www.jewishencyclopedia.com/articles/11977-pedigree

https://www.chabad.org/library/article_cdo/aid/4045946/jewis...

https://tikvahfund.org/uncategorized/intermarriage-can-anyth...

https://www.jewishvirtuallibrary.org/marriage-in-judaism

http://www.cohen-levi.org/jewish_genes_and_genealogy/the_dna...

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1288118/
I thought hiragana/katakana come from Chinese character radicals?
The Current Spectre / Meltdown Mitigation Overhead Benchmarks on Linux 5.0
Ironically, Erlang’s message passing makes it more like Alan Kay’s original definition of OOP than the bowdlerised view of OO perpetrated by Java and C++.
Users who suggest cryptography are getting downvoted (myself included). I am curious as to why.
Is it perceived as spam or an attack on nodejs? Encrypted cookies and JWT (json web tokens) rely on a similar strategy so this is pretty standard. It would be pretty secure as long as the encryption key is not unique, so definitely not criticism on the NPM team but mere theories as to why a (what one would assume is a) database or memory bottle-neck is being presented as a CPU bottleneck in this scenario.
Is there a compelling reason this is being released prior to a patch going out?
oh, this is a classic!

A lot of people (especially atheists, like me) have an oversimplified concept of dying. One can be perfectly atheist and realize that apart from the waking horrors of a decaying body, the experience of death itself can still be enormously horrible in certain ways of dying.

I highly recommend the movie "A Pure Formality", if you like to trivialize death! It's the worst horror movie I have seen, and there is absolutely zero blood, slashing, nor sudden scare moments... and yet I assure you it is the biggest horror, it is pure psychological horror.

I am very happy that I have seen this movie, somehow knowing how horrible something can be sort of mentally prepares you for it...
> The researcher informed Apple about the flaw back in November 2018, but the company is yet to fix it even after exceeding the 90-day deadline, which is why the bug is now being made public with a "high severity" label.

Are they giving any reasons for the delay?
Ask HN: Does anyone use Nim language in production? (2019)
Curious to see if anyone uses this language in production and what the job market is like for Nim developers in 2019.
Literally the second sentence:
"Its members locate flaws in software, privately report them to the manufacturers, and give them 90 days to resolve the problem before publicly disclosing it."

Privately disclosed to Apple, 90 days later they published. Simple as that.
Hes talking about neoliberalism. Not actual liberalism, which aligns more with libertarianism these days.

I'd argue that neoliberals are just about as conservative fiscally as modern Republicans. They just appeal to different social issues. Both parties want to run the books just about the same.
Well, yeah they did, but thousands of years before bopomofo script.
I think the constant evangelism of Rust enthusiasts - “let’s rewrite X in Rust!” - gets to some HN users, which in turn leads to (often times unfair) downvoting of Rust-related comments.
“Happiness is not having what you want, but wanting what you have.”

- Rabbi Hyman Schachtel (1954)
The researcher informed Apple about the flaw back in November 2018, but the company is yet to fix it even after exceeding the 90-day deadline, which is why the bug is now being made public with a "high severity" label. That said, Apple has accepted the problem and is working with Project Zero on a patch for a future macOS release. You can also view the proof-of-concept code that demonstrates the problem on the dedicated webpage here.
> Public debt isn't a real problem

The truth of that varies wildly depending on what you think 'a real problem' is. Debt is great fun for everyone until the paying-it-back part really sets in. When governments consume resources for their own ends someone has to go without.

You probably already know the standard arguments, but to rehash government services tend not to 'compete' they tend to 'crush'. Competition is bound by the fact that all the players have to create more value than they consume, putting a floor under what companies will attempt. Governments have no such constraint, and can easily create ventures that provide more than private concerns by devoting more resources to it than a rational person would, destroying value along the way.

That is great in the micro- and woeful in the macro- because now some other more important thing is not being done.
I remember thinking that the book was dense too, and this passage definitely stands out in my memory.
Nice :) sorry the tutorials don't go much further. You should check out tinywl too.
Part of the attraction and frustration of blockchains has been their obedience to the laws of mathematics.

The answer to the stage of a blockchain you mention would seem to be, "If the blockchain isn't distributed and scaled enough to be resistant to a 51% attack, is there really any value remaining in it?"
An Experimental Lua VM Implemented in Pure Rust
The man in charge always gets the credit.

I have some AMZN stock. I wouldn't trade Bezos for someone cheaper. Would you?
> the differences between what QtDesigner showed and the actual output

I'd like to read some examples of that.
New scale for electronegativity rewrites the chemistry textbook
China’s crowded labour market is making life tough for foreign workers
All validation is only performed up to an assumed platform.

There's usually little value in worrying too much about how a real platform won't correspond precisely to that assumed platform, since the goal of validation is to remove a class of errors, not all errors.
I am reading this as OP looking at password breach databases (which are, by definition, public and plaintext already), not OP running a service with password registration themselves.
And crimes much less serious, too. There's a LOT of US laws that are intentionally vague and/or grant far too much leeway for the justice system. The grants extraordinary power because of edge cases they want the law to be able to handle ("think of the children"). Yet time and time again, it's the average Joe that has the law abused against him. These overly vague laws are used incorrectly, and yet we keep creating them because we don't learn that the people in power cannot be trusted; most of them are good, but it only takes one bad apple to ruin the lives of many people.
2 reasons that won’t work. 1) carbon scrubbing is a boondoggle and 2) we have 10 years, 15 at most to completely decarbonize, not 30.
Perhaps npm could save themselves oodles of money by supplying a nice turnkey npm package cache and requiring major users to use it.

And perhaps the CI server folks would want this anyway because it would be vastly faster.
Hold up. In my physics classes, no one ever gave me a straight answer on what constituted a "macrostate". It always sounded arbitrary for similar reasons to the ones you describe for language. Are you telling me it's literally defined by the energy of the system (the Hamiltonian, right?) alone?
> "all the services needed to talk to each other"

I'm not an expert by any means, but I'm pretty sure that statement indicates a problem.
> The institutions which made those gains no longer exist, and over the last decade or two have had their name stolen by shallow ideologues. Their downfall was much longer, but it's clear that in many cases, adherence to "politically correct" dogma has replaced genuine inquiry and the standards to which these institutions used to adhere.

This is wildly overstated. Things were never “good” and the institutions of which you speak were never pure. Most of the world think Joseph McCarthy was a madman sniffing at ghosts when he was right, the US government was riddled with Soviet spies from top to bottom.

The US and the West more generally are still well ahead of any conceivable competition in scientific and technical fields. China is doing well and will improve even more but they’ve passed peak Chinese workforce and demographic momentum means that absent artificial wombs there will be fewer Chinese in 2060 than there are now.
What would you pick instead of C?
I feel similarly.

I’m a heavy vim user myself, and while Xi intrigues me, I think the knowledge that I would lose my very personal vim configuration which is years in the making dissuades me.

This is probably an indication that I’ve gone a bit too far with my vimrc....
Hello fellow human! I think you have the right of it: the inability to cut code for long-term dependency doesn't mean you can't play a role, it's just that you have to be clear what the role is. I suspect what somebody else would say in a specification, I find easier to explain by example.

So far, the real code warriors seem ok with this.
Actual bug report: https://bugs.chromium.org/p/project-zero/issues/detail?id=17...
Allowing companies to take their time fixing critical security issues puts users at risk. That’s compelling enough for me. As an Apple user I’m a bit upset that they haven’t patched after over three months.
Quick Summary: This is a local process escalation bug. Serious, but it seems remote exploitation would require an additional bug.

Project Zero has stuck to their 90 policy with everyone. They aren't picking on Apple, they've released unpatched bugs for most major vendors.

You may disagree with publication, but keep in mind this is a bug that may be known to some already. There are literally thousands of "private exploits" available for sale if you know where to look.

The 90 day policy forces companies to make their customers safer, and if not 90 days you'd still have to pick an arbitrary length of time but companies may take a longer deadline even less seriously and miss that too (and people would criticize that too).