skysight-inc/HackerNews huggingface dataset:
I was wondering how can I use SharedArrayBuffer to implement the high-resolution timer. It's just consist of a dedicated thread keep incrementing the counter memory on SharedArrayBuffer. Read the counter value in SharedArrayBuffer from other threads and it's effectively a high-resolution timer.

It can achieve 2 ns resolution.
“most socially apt people should have Facebook accounts”

This is like saying that most people who know a lot about food should regularly visit McDonalds since it is the most eaten-at restaurant.

I would venture the opposite, people who are socially apt and attuned are probably least likely to be on Facebook... they’ve likely learned enough about it to stay far, far, away.
Just want to share an technical article about meltdown with things that isn't covered in the white paper. https://www.moesif.com/blog/technical/cpu-arch/What-Is-The-A...
> Crappity crap... Then again, it was very rarely updated - usual sign of noncommittal developers.

I call bullshit.

Panic has been developing apps for the Mac for many years. Wikipedia lists Transmit for Mac as first released in 1998. Transmit 5 was released several months ago. Though they have been slowly ending development on their iOS apps, this is a preferable outcome to burning money and closing up shop altogether.

Disclosure: I am a customer.
Which iOS platform, iPhone or iPad?

The newer iPad Pro model with the keyboard cover seems like it would be much better for productivity tasks than an iPhone, for example. Still nowhere near as functional as a laptop for day-to-day productivity - but maybe good enough that you could bring an iPad along on a trip and make a quick edit or restart a server if needed, and leave the laptop at home?
Show HN: Markov Flags
This isn't exactly a new idea. This is from the early 90s:

https://www.youtube.com/watch?v=0q-lEATP-9Y
I tend to use semicolons only when writing about a series where some or all items in the series contain a comma or commas, thusly:

A semicolon has two general uses: to clarify a series and to indicate two closely related sentences.

Series — If one or more elements in a series contain a comma, use semicolons to separate them. Include a semicolon before the final conjunction. (Members of the Western Jazz Quartet are Tom Knific, bassist; Trent Kynaston, saxophonist; Steve Zegree, pianist; and Tim Froncek, drummer.)

Two closely related sentences — For the most part, you should use a semicolon only where you could also use a period, but want to demonstrate a relationship between two complete sentences. (Good grades are integral to student success; a strong support network is also important.)

https://wmich.edu/writing/punctuation/colon
It would be awesome if you blogged about your entire experience setting up your news aggregator. But I guess your first priority is PageDash these days so I can keep dreaming. :-)
This Headline Is Extremely Clickbait-y, And Twitter Is Exploding With Rage Right Now. Here's Why.
Can you link an article/journal on why a land value tax is good? I have seen this come up a few times in hacker news and yet I still can't find a good article/journal for why land value taxes are better than other alternatives and I have read dozens of economics/accounting/finance textbooks none of which back up land value taxes.
Sure. First, I want to make it clear that I am a technophile: I really like technology. I'm also really grateful for the benefits of modern technology. I'm also a Nature-lover, but I don't think that technology is necessarily antithetical to healthy ecology. (For example, I am pro-nuclear-power.)

With that out of the way...

Here's a thought experiment. Humans lived for a few million years before developing agriculture and villages starting about ten to fourteen thousand years ago. I'm not an anthropologist, but I think we would be safe to assume that the causes of death during the first period were "natural": disease, predators, fighting, famine... have I missed any?

We can then call the causes of death arising after the advent of agriculture "technological" and add up all the deaths so far from each category and see which number is bigger.

I would reckon the "natural" deaths would be outstripped by the "technological" deaths by a wide margin, with the tipping point sometime in the last few thousand years.

I'm counting wars on the technology side (pretty much since the invention of the atlatl https://en.wikipedia.org/wiki/Atlatl )

But this feels like sophistry.

https://en.wikipedia.org/wiki/List_of_causes_of_death_by_rat...

So, heart disease, infectious and parasitic diseases, cancer, ... Er, um, I think I have to "roll back" my comment...

I was thinking of car accidents, pollution, and the general ecological problems that have developed as unintended consequences of our technology. (We're victims of our own success.)

(There is also the "medical care is the third leading cause of death in America" issue already mentioned by jmulho, which should be a much bigger deal than it is: side-effects and out-right errors kill over 100,000 people in the US a year!)

But really, it's the time-scale that matters: if the ecology tanks and takes us with it then our technology (in hindsight) really is (was) the existential threat, despite the good run we had.
Makes me think of C Plus Equality:

https://github.com/ErisBlastar/cplusequality
Myth: Ellis Island Name Changes (video)
Is a single SGD layer a neural net? Is an image filter or an audio filter a neural net? Is matrix multiplication a neural net? This would strain the intended definition even farther than it's already been strained.

But all of those are differentiable programming, and rightly so because they're all pieces that you use and compose together to make interesting learning mechanisms, including the ones that we vaguely refer to as "deep learning" now.

I like the terminology. It's not about what the original long-abandoned motivation for the design was ("neural"). It's not about how gratuitously complex you can make it ("deep"). "Differentiable" is about how it works and how we design it.
Since Mac OS X Snow Leopard (10.6) the quality has declined release by release.
Here is the article the video is based off of: https://www.nypl.org/blog/2013/07/02/name-changes-ellis-isla...
Dunno; I don't have any apple devices. Might ask a coworker to try to repro it on monday. :P

(I suspect that recursive makes do enough compute in between invocations to slow down and avoid this bug. If the OS was dying in everyday compile jobs it'd be much bigger news.)

EDIT: I think that I might've misread this - it might be that spawning processes pushes htop through codepaths that can cause the bug. So it's more like "a malicious app could kill your system the instant you open htop". In which case, yes, a recursive make while you have htop would would do it. Rather less significant.
A relevant but still more general question: How can we protect ourself against backdoored products that are covertly subsidized by governments?

Sure, demanding the sources is a necessary first step. But what happens when the manufaturer blocks and there is not enough competition in the market, see Intel and laptops?

This situation has been a problem for years now. What can be done? What regulation or law would help? What should we demand?
I live in Google Docs and I love it. Did you know in google spreadsheet you can use things like =GoogleTranslate("dog","en","es") ?
Qbittorrent is quite nice, in terms of switching torrent clients at least.
Quite the opposite, actually: Everyone should expect to be backdoored by proprietary products if they use them, and take appropriate security measures.
Is there any interest in having a IDE-Like experience for graphviz, e.g. having context sensitive auto completion and refactorings?
The 30 Hz/60 Hz refresh roulette is something I have, too.
The last paragraph of that article proves the OP's point, you can't do it by working from first principles.

"Even Venter acknowledges that syn3.0’s genome, although new, was designed by trial and error, rather than being based on a fundamental understanding of how to build a functioning genome."
As governments? Yes. Of course, the private sectors can and do also lend to other countries (both governments and private sectors).
Your parent post is talking about expectations. You are talking about reality. Just as everyone should have access to clean water and medical care, but that’s not actually true.
That's actually an interesting point I hadn't considered, but it ignores the fact that donald is stepping up deployments in Afghanistan.

<speculation>

There's also the business of his 'foreign policy', which will likely engage us in a war with DPRK or someone else.

In other words, the track record is OK thus far (1/4th of his term), but the potential points towards yet another bullshit war to "save" his ego.

</speculation>
Out of curiosity, is this bug related to CPU cache? I don't know really anything about how CPU's work internally, however. It just "feels like" it's applying a bunch of instructions very quickly but ignoring the internal clock if that makes any sense.

For example, the CPU percentage counter in Activity Monitor was around 3,000,000. If there was a loop to increment the CPU usage counter, it sounds like it incremented it so fast that the thread that reset it didn't run since it wasn't scheduled to run (as it only runs every few seconds.) Again, this is just pure speculation and if anyone knows otherwise please let me know!
You're exactly correct. This is why the browsers decreased timing resolution in javascript so that you couldn't time memory accesses accurately enough to tell if the address was cached or not.

What does that do, besides turn the exfiltration problem from an immediate one into a statistical one?
As someone who's been transfering quite a lot of money through various banks and into crypto I'd imaging the biggest issue is the money laundering type regulations. For transfers much over $20k normal banks want documentation where it came from and all your normal transactions can be viewed by the government for tax enforcement purposes. Once you're in crypto that's all out the window - I've been trading on Kucoin which is kind of based in HK or China but no one quite knows where, doesn't keep much in the way of records, if you were transfering crypto out for drugs or tax purposes no one would know. So I can see how Visa would be worried about being party to that kind of thing and then fined or prosecuted for it.

By the way re "no good way in" I've found coinmate.io pretty good once you get the money to them but it has to come from a bank account in your own name and those can be funny about letting you transfer to them. Also it's kind of slow - once your money arrives you have to wait a day or so for a human to process it.
Lyft trips in San Francisco more efficient than personal trips, study finds
Porn age-checks risk pushing children to dark web, officials warn
I can't recall seeing CEO rolls advertised publicly before. Wouldn't this be frustrating for their top executives who see themselves as ideal an candidate?
open source is only going to protect you from non-intentional backdoors. if the government really wanted a backdoor, there's nothing preventing them from loading a modified version that has a backdoor. short of dumping the firmware from nvram + reproducible builds, you won't be safe.
Not to mention that I would guess modern piracy and VPNs go hand and glove.
WD probably contracted D-Link to make these devices for them, i.e. D-Link is the OEM. The latter has been known for quite a few router vulnerabilities...

...but on the bright(?) side, I remember finding lots of software and other fun stuff on "public" D-Link NASes a few years ago, including information critical to repairing the products of one well-known and notoriously-closed company. ;-)
I have a shell function that generates shell functions that do find | xargs ... patterns. Thus I have 'fsg' == find source grep -- that is, find with -name arguments matching source | xargs grep ..., and fseg (find source egrep) and fmg (find make stuff grep). These functions take all non-option looking arguments and use them as directory arguments for find, then all remaining arguments are passed to grep, so I get to write:

$ fsg foo bar -w foo

which translates into something like:

find foo bar \( -name '*.[chylm]' -o -name ... \) -print0 | xargs -0 grep "$@"

Still, cscope is fantastic, and the first tool I reach for.
That is the problem: "we" don't have a solution.

That's why we needed to get rid of DMCA Section 1201, and demand access to source code, at the very least, for security research.
You may have seen DeepMind's results last year where it trained 3D models to move through space in different ways, entitled "Emergence of Locomotion Behaviours in Rich Environments" ( https://arxiv.org/pdf/1707.02286.pdf , https://www.youtube.com/watch?v=hx_bgoTF7bs&feature=youtu.be). If you have a look in the paper, the method they use "Proximal Policy Optimization" is a great example of differentiable programming that does not include a neural network. I actually realized this last month when I was preparing a talk on deep learning, because I thought it used deep neural nets in its application, but found that it didn't.
OpenMP Little Book
If you're going to do a "rebrand" atleast use a better name. A six syllable word doesn't exactly roll off the tongue.
Good to know about dessert being a good deal. Not too worried about lingering too long after I just spent $100 on a steak dinner for two though.
> "Since Mac OS X Snow Leopard (10.6) the quality has declined release by release."

This may be: I'd love to see a comprehensive, in-depth article that digs into this in a quantitative manner. Do you have one at hand? If so, it might make a good HN submission. Just posting this statement at the top level of a post is arguably off-topic and baity. If you could post it on any submission that touches on Mac OS X, it's not really on-topic.
Is anyone aware of a way to put a non-crappy OS on the PR4100?
So we must also demand that we be able to change the software.

For hardware, we could demand that universities get paid to look at samples of hardware to find backdoors, maybe.
That's only part-true.

We could use reproducible builds too.

Either way, we shouldn't reject the only solution because it has edge cases.
I did work out the (ex) usage for in-editor cscope in nvi (for the curious, in nvi(1) after building the cscope db:

:cscope add ./cscope.out
:cscope find g myfunc
:cscope find e [Ss]ome.expres*ion

Anyway, otherwise - yes, interested to see your $EDITOR script.
Yeah but if I'm in the first half of my career being on the B team at Apple is still an honor.

My thought is that even if the Mac Mini team was filled with jaded workers, it still would be in a better position than it is now.
> but at least 70% of the developers, IT workers, and researchers that I know are using prior generation MacBook Pro hardware

You can have my 2015 MBP when you pry it from my cold dead hands.

But yes. We recently sold off a bunch of hardware resulting from workforce reductions; I clued a friend in on this and he was begging me to nab him a 2015 MBP. The obsession is real, it is the last truly great Macbook in a while, in my own opinion.
Can you tell me one real example of why somebody would do that? I mean REAL, not some random reason you just think of.
Any ideas on why WD and D-Link share the same hard coded user and password?
If you don't have access to clean water, you should publicly object.

If you don't know how to determine if you have clean water (e.g. the parent comment), then either you demand proof or expect, uh, dynsentery and a bad time. You should not assume you have clean water.
another word for debt is credit. credit is literally trust. so, the question could reasonably be reframed as whether perpetual trust is a good thing..
May I ask why? Why did you feel you have to hide your identity?
I've had JS off for non-TLS sites for a while. Any site that wants to run JS should have the chops to know how to set up a cert. and my machine shouldn't be running JS that could have been MiTM'd
What’s the connection to D-Link about?
We should focus on building “unaffordable” housing
As much of a pity that, 70 years later, we are still using transistor based computers originally derived from three wires stuck in a piece of rock[1] by some very innovative fellows at Bell Labs[2]?

[1]http://images.computerhistory.org/revonline/images/500004836...
[2]http://www.computerhistory.org/revolution/digital-logic/12/2...
We use JIRA and Bitbucket in an org with thousands of users. AD SSO support is mandatory.
> It's really very much like a regular progam, except it's parameterized, automatically differentiated, and trainable/optimizable.

> People are now actively working on compilers for imperative differentiable programming languages.

Do you have an example of either of these things?
Both. I had a first gen iPad Pro for about a year before I gave it to my parents to use for their travels.

The keyboard cover was super handy (I highly recommend it), and I admit that there are some cases where I could have gotten away with just an iPad. But for anything important, I'd need to open a VPN and RDP session anyway. A Surface may have been a better purchase, TBH.
Send them an email. It's listed in the comment.
Show HN: Can you think like a word vector? A game for exploring word embeddings
> Linux is, of course, great, but what hardware?

We are in 2018, not in 1995. You can easily find good desktop and laptop that run fine under pretty much all major distros.

Especially if you compare to MBP & the like, meaning you have no budget issues...
This is apparently common practise amongst data hoarders, especially after the flooding affected HDD production in Asia.
What an excellent way to ensure I don't even spare a glance for your products before going with the competition's offering(s).
GDP wouldn't necessarily go up nor down due to such an invention. However, a useful invention that increases productivity (as yours undoubtedly would!)... frees up resources (capital and labor) for other uses, which, if they're actually put to such other uses, may well lead to additional production.

Don't fall for the ATM fallacy (that ATMs killed the bank teller job, therefore made people poorer -- they did not do the latter!).

It's true that malinvestment initially shows up as growth, but later turns into a destructive, recessionary force.

Maximizing current GDP is not the same thing as maximizing future GDP. The latter is a much better activity, while the former can lead to ruin. Exactly as you say.

But, at the end of the day, with all economic activity aggregated, measures like GDP are actually useful and meaningful. Of course, context helps. Growing GDP in a context of massive malinvestment is definitely not a good thing!
Old Atoms also don't have a branch predictor. The new ones might?

IIRC, they were basically "low power" versions of the desktop CPUs by ripping out all the expensive branch prediction / out-of-order speculation parts.

I used to know this more because I was reading intentionally on it, but old age and years passing kind of rots the memory.

[edit] Yep:

>every Intel processor since 1995 that implements out-of-order execution is potentially affected by Meltdown – except Itanium, and the Atom before 2013.

http://www.theregister.co.uk/2018/01/04/intel_meltdown_spect...

So "every Intel CPU" is correct enough for the general public to scare most people (as it is potentially a huge problem), but it's incorrect in the sense it doesn't apply to ALL Intel CPUs. Atoms are very popular in netbooks. (And the Itaniums exception we can ignore because a handful of machines across the entire planet are running them.)
I was thinking the same thing. I've never seen a job posting for a CEO role. Especially from such a prominent organization. Something must be up.
Also, Nest uses virtually no bandwidth so throttling won't hurt it.
Do you expect an ISP to come right out and state something like that? "Thats a nice thermostat you got there, be a shame if something happened to it.....".

Stating, directly, that throttling a customers internet is going to have an effect on their thermostat is going to be read a very specific way by those on the recieving end, and its hard to see how anyone who wrote that would miss its implication.
The web of software has inherent unsolveable security issues and leads to an ecosystem where less and less software lies under the direct or indirect control of the user.

Proprietary apps are not the solution to this either, of course.

We need native, free (not necessarily without exchange of money) and open source programs that do the work for us.
Hi all! Coded this up over the holidays, and curious to hear thoughts & suggestions!

In order to find the "next word" w to say, the program uses a normalized set of word vectors and tries to maximize the product of the cosine similarities between w and each of the two context words. (The idea to maximize this product, rather than finding the word closest to the mean of the context words, comes from the paper Linguistic Regularities in Sparse and Explicit Word Representations [1].) Possible answers are then filtered based on some simple heuristics (avoid saying a word that's been said before, that's too infrequent or too frequent, etc.).

It's come up with some fun answers — van + agree --> Accord, facebook + sore --> viral, cursive + movie --> script — but can also sometimes be frustrating. Any thoughts on how to make it more "human-like" would be appreciated :)

There's also a discussion on Reddit [2].

[1] http://www.aclweb.org/anthology/W14-1618

[2] https://www.reddit.com/r/MachineLearning/comments/7o8q8v/p_c...
Unfortunately, it seems Apple has forced us to choose between Meltdown mitigation and a somewhat working OS. The recent Sierra security updates didn’t include the Meltdown patch.

https://twitter.com/theregister/status/949358083431546880
I think most people are looking to see average crypto price first a la coinmarketcap, not which exchange is cheapest. Perhaps have the home screen default to the Marketcap page?
Also, maybe default to US country/English or guess based on location
The thing that actually surprises me most here is that Transmit for Mac is apparently quite profitable. Free FTP clients have been around for so long, and have worked so reliably, that the thought of paying for one never crossed my mind. I personally have used Cyberduck for years, which is free (although it does tastefully ask for donations) and has never given me a reason to look for other options.

Can anyone explain what Transmit does that makes it worth $45? I am wondering if I am missing out on something here.
I agree. Javascript should be required for simple static content.
Registered Education Savings Plan(RESP) in Calgary
Kind of makes you wonder why they included it in the warning then. Perhaps they understood that it would frighten their customers into compliance.