skysight-inc/HackerNews huggingface dataset:
I once ordered a notebook from Amazon and ended up getting a phone case (they sent a replacement). Bizarrely, the original notebook arrived the following week, so I ended up with two notebooks and a phone case.
> What would be the US' reaction?

Maybe a wall that is ten feet higher. Certainly not an armed invasion.
Trump Readies Sweeping Tariffs and Investment Restrictions on China
Rather than discussion about technical aspects, we get a spew of how innocent Russia is and how America deserves it.

If the west now can't even defend its technical discussion forums from totalitarian disruption, heaven help it.
> A global body that oversees internet domain names is preparing a significant tightening of its privacy standards in response to new European Union policies.

>The U.S. government and some major American tech businesses warn the move, which is expected to be adopted within the next couple of months, will threaten their ability to track down bad actors on the internet.

It will also threaten tech companies that make their money tracking users in order to sell ads or data to marketers. I see a conflict of interest here.
Ask HN: Why do employees not disclose their salaries in USA
Why is it common in USA for employees to not reveal their salaries to other employees. This seems like a taboo here. If employees would share salary information openly it benefits the employees. By not sharing the salaries openly it only benefits the employer.

What can be done to solve this problem.
>The false equivalencies appear on every issue that casts the Chinese or Russian governments in a bad light.

Yeah and it even has its own yankee response meme called "whataboutism". If we want to go peak "whataboutism" here, the founding of the US was based on the ethnic slaughter and enslavement of millions of aboriginal and african peoples. American culture and corporations have a hand in nearly every corner of the world. If you want to get into the head of Russian paranoia towards the US and the anglosphere in general, look at the US for what its ruling elites have historically demonstrated itself to do, to dominate everything that exists by any means necessary which includes wiping out inconvenient peoples both culturally and literally.
So this basically reduces democracy to "moneycrasy". Whoever has/can promise most money, wins. And then when they in power guess from where (whom) they will get back all the money that they spent? It's like saying, well it's your kidney, it should not be illegal to sell it...
Why is that any different from being anonymous on a blockchain?
Sigh. Convictions are the only place that you need a 100% success rate. How do you think a criminal investigation gets conducted? Do you think they only investigate a lead when they are 100% sure that it will lead directly to a conviction? If a piece of software generated them 5 extra leads, and 1 of those extra leads lead to actionable evidence - that's useful. You're right - 'good as wall street' isn't the standard, much less good than wall street is a perfectly acceptable standard for software that acts as an additive, informational aid to policing.
> that performance is worse due to the checks.

I'd argue that use cases for 'soft pointers' are about the same as that of Rust's RC<T>, which also incurs runtime costs (very briefly - there is no magic here, neither with Rust).

> The key idea and massive difference from standard C++ is that object destruction is delayed until a "quiescient state" happens

If you're speaking about OP - clarification: it is not "object destruction" which is delayed (destructor is still called synchronously when the variable goes out of scope, so all the crazy finalize()-like problems don't occur), it is memory deallocation which is delayed (and this is generally ok as deallocation is not observable, or at least garbage-collected languages tell us so <wink />).

> things like mutexes can only be safe

Whether C++ or Rust or whatever-else, mutexes at app-level are evil ;-) (it can lead to a very long discussion, but long story short - finally, by 2017, most of the opinion leaders started to converge to this IMO-very-obvious observation: ASYNC RULEZZ! <wink />).

> since that allows to statically check for correctness,

The idea behind OP is to have a tool which will do the same thing (where possible, see above re. 'soft pointers' and RC<T>). Whether such a tool materializes - is a different story, but well - first we have to agree that such a tool is a Good Thing(tm).

> have to delay freeing memory

In practice, it is never an observable problem in (Re)Actor-like contexts ((Re)Actor use cases are about highly interactive systems ranging from games to stock exchanges, where typical input is processed in milliseconds, and amount of allocated memory until the 'quiescient state' is reached, is single-digit kilos; in extreme cases, it goes up to single-digit megabytes, still nothing by modern standards).

> you are much better off using Rust

Really really depends. It is still C++, and being C++ has its own virtues (alongside with its own quirks); just two things to illustrate this point - (i) recently it was revealed that modern GPUs are designed with ISO C++ standard in mind (specifically C++, not Rust or anything else); (ii) developer availability is also a major factor for real-world projects, and so on, and so forth. In an ideal world - well, probably Rust does look as a more to-the-point language (though even with Rust I'd create an own dialect, in particular, outlawing thread sync to simplify things), but given real-world considerations - the choice is certainly not that black-and-white.
In the U.S., I believe it's illegal to buy or sell votes.

http://www.slate.com/articles/news_and_politics/net_election...
You are lucky. He's an idiosyncratic and eccentric, but unique and brilliant guitar teacher. Also one of the most influential guitarists ever. He has issues too, but I think his unique approach overcomes his mental health history and he's stabilized a lot after getting the right medication. I've heard he now conducts lessons over Skype and I should check to see if he's taking new students.
Rihanna calls out Snapchat for tone-deaf ad that made light of domestic violence
Yes. Flying is just a faster way of transportation than (the traditional) running and in between we had Ruby on Rails...
"Anyway no one has ever invaded Russia and won"

Except the Mongols.
Valuable Steps to Make Your Bitcoin Wallet Safe and Secure
I disagree that is the reason we haven't understood the brain. If we could replicate the underlying process, we could attempt to simulate a brain and maybe successfully so, even if we don't understand why it works.

The main problem seems to be that we actually don't understand all the building blocks, at least according to the article:

> There are fundamental questions left unanswered: What information do neurons represent? How do neurons connect to achieve that? How are these representations learned?

Until we figure out how and why connections are created between neurons, we only know how the brain responds to stimuli it has already learned, but not how it learns new information.
> When people come round, you tell them that other id.

That doesn't work if someone else has already told them the same ID.
I know rite?
The US loaned the Yeltsin government 10 billion dollars shortly before the 96 election, at the same time they were involved with the First Chechen War. A Republican consultant team also ran Yeltsin's campaign.

The US looks great when compared to Stalin era USSR. When compared to modern day Russia, it's hard to argue we have the unquestionable moral high ground.
Low-level coercion can have high level effects. Coercion doesn't have to be at the national level, either. Most elections aren't at scale, and the ones that are, are decided on a relatively few elections around the nation.

Coercion doesn't have to take on the form of violence, social and financial reprecussions can be incentive enough to vote a certain way with the proof that you did.

Think about this: "I don't want to associate/hire/do business with anyone who voted for Candidate X or Referendum A"
How to Build a Cryptocurrency Exchange App?
At first I was going to ask why the city was sticking its nose in people's private business and why they care what they're using that electricity for. But it seems that they aren't doing it for that reason, and residents are being pretty severely negatively affected.

On a side note, the city's goal was to use cheap electricity to lure industry to town, and their policy did exactly what they tried to. Seems like they didn't exactly plan out what would happen if they succeeded.
I'm not sure if SP is actually in the same market as AT. For SP you still need a team of SP developers, not your average citizen developers.
Ask HN: How to begin learning enterprise development?
I am interested in writing software for business, where should I begin my journey?
‘GrayKey’ is used by law enforcement to unlock iPhones
The point was that we have X hours of horrible material to sift through. Why not see it as a team effort, let everyone carry the burden a little bit, and perhaps in the process build products with that reality in mind.

Not do more harm by collecting the worst of the worst and forcing everyone in a room to watch it....
Until they're accessible in a cross platform way, as far as the consumer is concerned yeah they're just an app. If Facebook or Amazon were only accessible through an Android or iOS app, it'd be the same, no matter what investments they're making behind the scenes.
No, it is not. It is not related to the signature settings anymore.
If your utility lets you do this... in many areas, increasing your service amperage is expensive if you don't use a majority of that additional capacity.
"The process, which aimed to prevent voter fraud in Sierra Leone, was powered by Agora, a blockchain voting solutions provider. The company used a permissioned blockchain to ensure that recorded data remained protected while also being transparent to the stakeholders, all of whom were given permitted access to the blockchain in order to tally the votes.

During the process, initial votes that are recorded on ballot papers are to be counted by neutral observers. The procedure, being watched by Agora, is the key step to entering that data on to the blockchain."

https://www.bitguru.co.uk/sierra-leone-presidential-election...
Why are people downvoting your question? Seems like a legit thing to ask.

I suspect HN behaves a little like how many folks treat their national army... you can't ask a question that may imply a bad decision during an important human/national event.

÷ "Why wasn't your system able to scale to 60 users during natural calamity?"

~ "How dare you question such a noble cause? Have you ever even worked with govt?" (Downvote)

÷ "Yes I have, we had systems in place that worked you know. Most states do."

~ (oh fuck, she knows what she's talking about) "States and municipals don't cooperate, so fuck off now"

So maybe, instead of attacking the OP, try answering the question directly, more honestly?

Make your points with logic and class people, not assholery.
There’s nothing technical preventing this today, or anytime before. What’s been lacking is the political will and the class consciousness to implement it.
And you can tell Americans by their assumption that everyone else on the internet is also American.
Nix and Bazel = Fully Reproducible, Incremental Builds
Work in project using grovy.

I'm still amazed how much stuff is build in and don't need a plug-in or extension or need you to write your own function...
JS programmers don't need to know how a C pointer works, but they're not doing themselves any favors by being ignorant of it. It's very basic basic background knowledge.
Ask HN: Advice for bored iOS dev working at large company?
I am an 23 year old iOS Developer at a large company in the bay area, but I'm getting bored of my job. I think I want to get out of iOS, but I don't know what to do next. I have no clue what I want the next few years of my career to look like.

My current interests are reverse engineering/computer security, data science/applied statistics, and computer graphics, but I don't know how to make a career out of that. I can't seem to find salaries for jobs in these fields that are more than what I make (135k/yr + 125k RSUs vesting over 4yrs). I don't want to take a pay cut, but would consider it if it meant more interesting work.

I'm open to grad school, but I don't know what jobs that unlocks for me beyond what I can already apply to. Grad school admission websites claim that getting a masters in X enables more interesting jobs, but I'm having trouble figuring out which new jobs I would be eligible for with a masters degree.

There's a lot I don't know and I think there's a lot I think I can learn from the HN community.

Any advice for me?
Let's not assume the VCs weren't somewhat complicit here. At best through lack of due diligence and thereby messaging their ongoing support for the enterprise.

At worst active or passive concealment because they had a large financial incentive that the fraud remain undiscovered.

Given that Theranos didn't IPO, I have a hard time feeling bad for investors (hopefully) taking a loss on this one.
But if properly implemented (use metal detectors to keep cameras and phones out of the voting booths), it's difficult to prove how you voted using paper ballots / old fashioned mechanical voting machines.

I don't see much problem in selling your vote if there's no way to verify that you're not ripping off the person buying the vote.
It is possible to decrease the actual consumption of heating, though. Insulation in many houses across the frigid Midwest and northern plains is pretty bad. Trailers in trailer parks often have almost none and draughts besides. Unfortunately the free market already hands people a big monthly incentive to insulate their properties; the problem is education and technology adoption, which can take a while for markets to correct without a centralized "nudge", and the people who need it the most are precisely those most resistant to government intervention.
For fun, Scheme/Lisp. Once you have macros it really feels like the sky is the limit in terms of what you can express.

I've also been liking Go quite a bit recently. I know it's a language HN loves to hate. It's not as expressive as some other languages. But I feel like creativity within constraints can also be rewarding (kind of like writing a haiku). If I can find a way to reformulate my problem so that it can be expressed easily in Go, I'm often happy with the result. And because the abstractions Go provides are not very costly, it usually executes efficiently too.

It's hard to find a language that combines high level features with the lower level features that performance-sensitive apps often need (like value types, control of memory layout, etc). Also GC simplifies a lot of things, and Go makes it practical for a wider class of applications with sub-ms pauses and making it easy to minimize allocations. C++/Rust involve more programmer effort around ownership, and C# can also involve more programmer effort since minimizing allocations is trickier and GC impact is greater. It's not a big language but the combination of features / trade offs seems really practical.

Go's also widely used enough where you don't need to worry about having a robust library if you need HTTP2 or something.
> This is particularly so when Europeans talk about other European countries, as in this particular case.

Given that you appear to be incorrect about this case being such an example, are you still sure that it’s all well meaning comradery?
Worth pointing out, the resource management strategy isn't even necessarily a net positive for performance. In typical GC'd languages you have a much richer design space for your memory system. You can move stuff around, you have flexibility as to when you do collection, you often have allocation as a built-in primitive, which means the compiler knows about it and can help optimize.

The end result is that good GC-based memory systems tend to perform better than malloc/free style APIs (with the call to free() possibly being implicit). to get good performance in C/C++/Rust, the programmer needs to be concientious about allocation. You have more control, but also more responsibility. In OCaml, allocation is bumping a pointer -- go nuts.
Kind of off topic, but just want to chip in to say that XSLT is awesome. The average programmer can learn it quite quickly. For me, the "killer application" for XSLT is screen scraping HTML. If you want to aggregate data that is spread across a whole bunch of websites, it absolutely rocks. It is especially good if your organisation uses a SaaS that doesn't give you access to an API. Even if you have an API, it is often an order of magnitude easier to do what you need to do in XSLT. Which reminds me, I've been meaning to generate burn down charts for Trello for a long time now...
Show HN: I’m still learning
Cabhit – an easy online booking service for cheap taxi transfers Great Britain
What to do when Y Combinator comes for your industry
> Anyway no one has ever invaded Russia and won, including Napoleon and Hitler. Russians are proud of that.

Pride in this myth is one of the reasons often given for why the New Chronology and the associated conspiracy theory of how all of what is held to be history prior to the middle ages is a fabrication (and much of that of the middle ages, too), since that allows the idea that the Mongol invasion never happened.

> Anyway if China does join in, their navy is comparable to the US's, and together with Russia's, it'd be bigger.

Numerically, maybe, but numerical comparisons aren't comparisons of capability. (Ditto with the comment on Russia’s Navy.)
Can you please provide your email to reach out and discuss about the opportunity? Thanks.
The economy is about the distribution of resources.
If one group of people amass huge fortunes, there is definitely something wrong.

That said, I own companies and I am on the makers' side of things. So, I am not resentful of myself.
Neither of these are remote editing. The first one is a link to IDE cruft, and the second is collaborative editing with a a second full atom installation complete with another GUI for you to click "share" with.

Remote editing is logging into a remote machine, and being able to manipulate the files there just as if they were stored locally. Nuclide gets this right https://nuclide.io/docs/features/remote/

Various sync plugins aren't reasonable because they want code in both places, which is a complete waste because you'll never run the local code. Alternatively, many of these require various per project config files which is just too much overhead.

The rmate-like plugins look interesting until you find out that there's no integration with the tree view, or any of the project like searching.

Some "solutions" that people point to are simply file transfer UIs, which is just misunderstanding the problem.

This thread really explains the problems with all of these approaches. https://discuss.atom.io/t/working-with-a-remote-server-throu... Sadly, only Nuclide does it right, but god is there a lot of shit with it.

I guess I'll have to go with sshfs, but that's also a bit awkward.
Well if someone keeps praising Germany and Austria exclusively, you know what to expect.
This is already true for incarceration; a billionaire and a nurse lose the same amount of time. And one's time is paid more than the other's.

Speeding is a weird example though. If I'm driving I pay based on my income, but if my driver is driving he pays based on his?

> In 2015, it handed a businessman a $67,000 speeding ticket for going 14 miles per hour above the limit.

I just don't see how going 14 mph with zero other damage is equivalent to compensating the public $67k.

"Justice" is about balancing the action with its punishment, not gimmicks like this (that inevitably wind up with a super-complex system of loopholes, deductions, inefficiencies, etc.)
Where? Seriously, if there's a package, I want it.

Quite frankly, I don't think FB cares enough to break remote editing out of their extant project which they really really like. There's no benefit to them.
When they are mixed they produce a beat frequency. When it is sampled at a lower frequency only the beat frequency remains.

I may be wrong but I think a filter would have the same effect in this case.

My point is that any number of inputs could produce the observation, so their claim of reverse engineering is rather questionable. In fact they have no evidence of ultrasound at all.
blockchains don't solve problems at OSI layer 1 nor will they protect you from rubber hose cryptanalysis:

https://en.wikipedia.org/wiki/Rubber-hose_cryptanalysis
Golang style error handling in JavaScript
I have been eager to explore the available tools for disaster relief because it seems like people scamble to DIY a solution for every disaster. I made my own Firebase relief matchmaking service when we had a 100yr flood a couple years ago. I would love to see easily deployed crowdsourced open-sourced tools that can be used as soon as possible in these scenarios.
TLDR:
Instead of

try {
const res = await asyncFunction();
} catch (err) {
throw err;
}

Use await-to-js library

const [err, res] = await to(asyncFunction());
if (err) {
throw err;
}
First Benchmark for DataFusion (Rust) vs. Apache Spark for a Trivial Workload
ICOClap – Bafin regulatory rules on “How to classify token sold during ICO”
I don't think that decentralized voting is a good thing at all. Voting will lose its significance when a vote can be issued with barely more than just a click. Elections and votes will become increasingly meaningless and much more frequent.

Social interaction suffers greatly today, because of the success of Social Media, which was praised as a new and easy way to socially interact without going outside.

Blockchain might be the right choice of technology for the voting process, people still need to be obliged to go to the city hall to issue their vote, in person!
This seems like backdoor civil asset forfeiture but it would allow them to take assets that aren't even present and/or involved at the time of the "offense".

Can you see a particularly cash-strapped town telling officers to skip the Toyota Camrys and instead pull over the BMWs? It seems ideal for abuse, selective law enforcement, and likely other bad behaviors.

Oddly enough, this would likely go away with self-driving cars as high income people switch to vehicles who "can't" break the law.
Isn't that why Vanguard has their Total Stock Market and Total Bond Market funds? Basically, they're the "invest in these if you don't want to bother" funds.
You can play offense and defense... saying it’s either or is a very simplistic mindset. The international community has the capability to both secure from bad actors, and punish bad actors. Sometimes force is necessary and it’s prudent that it be used with Russia.
You’ve got a problem you think regex can solve, now you’ve got 2 problems.
Any relationship between TheBrain and org-brain, other than concept?

Curiously, I'd just run across Jerry Michalski's mind-mapping via Doug Rushkoff's Present Shock a couple of days ago.
> "Justice" is about balancing the action with its punishment

Right, that's the whole point of the income-proportional fines: to ensure that the same degree of punishment is given out to the billionaire and junior speeder.
I just don't see how going 14 mph with zero other damage is equivalent to compensating the public $67k.

Speeding is a crime because you're risking the safety of other people. There's only "zero damage" if you're lucky. There's potential for a lot of damage. Considering the defined punishment is supposed to act as a deterrent I would argue $67k was actually too low.
It's seeking equality of outcome which is basically communism and in no way equality as the nurse had every opportunity to also become successful in free society.
Top 7 Reliable Cloud Storage in 2018