skysight-inc/HackerNews huggingface dataset:
Sorry for the late reply. There are a few advantages to go.

1. we don't force our customers to lay down a large Node.js blob just to run our software.

2. The old code was written for an old version of Node.js, v4.x, I believe. As such, it was full of code suffering from callback hell, and a lot of anonymous functions written inline. It was very difficult to reason about when tracking down bugs. I'm sure your Typescript code is far better organized.

3. The edit-compile-test loop is far faster. It takes less than a minute (20-50 seconds) to compile the new codebase, which is a mix of Go and C apps and libraries. The developers use a simple build script to rebuild everything from scratch. The old codebase, a mix of Javascript and C apps and libraries, was built with CMake to manage dependencies. Each rebuild would complete in a few minutes for small changes, but could take about 10 minutes if the "right" code was touched.

4. Like theshrike79, I find Go's concurrency patterns, channels, and goroutines a delight to use.

5. We use json files for configuration. Go has a simple scheme for converting between json and structs. Node.js allowed us to make poorly structured json files. When we converted them to follow some simple nesting patterns of structs within structs, converting between structs in memory and json files was just too easy!

It seems that the new codebase is significantly smaller, so it's easier to find where things are implemented. Part of that is getting rid of tech debt and being very familiar with the new code.

When we were still in beta, we ran some performance tests. They indicated the new code was as performant as the old node code (which has been worked on for years). We expect to be able to improve on that as we have time.

I hope that helps. It's been a major amount of work to rewrite our apps while maintaining the old code base - not something to do on a whim. I know the dev team is delighted with the results. Good luck.
The phishing evolution and why security keys are such a big upgrade
Incidentally, SSDs also benefit from read and write locality. Although there's no seek penalty, there's still a large benefit from dispatching multiple reads and writes from/to the same cell. You get those for free by trying to minimize "seeks", although the underlying logic behind this optimization is simpler.
You are missing the point. The customers and users that are outside of the USA is being wiretapped by the NSA.

And the NSA cooperates with GCHQ etc (the five eyes) to monitor us citizen.

Or maybe you didn't read the article before you replied with some isolationist 'merica-standpoint
Comment on “Xray chimny extending 100s of parsecs above andbelow GalacticCentre”
One at a time, let's hope
The Programming Language Conundrum
I get to decide what runs on my hardware. There is nothing ridiculous about that.

Ad blockers are not controversial, even if the ad industry would like them to be.
I do also love status code lists or references (like MDN), but this site is really for a quick reference.

For example, I'm communicating with an API in JavaScript and it gives me a status code - I can just go to the site and type it in, and I get a little bit of info right away.

I might also add a MDN or Wikipedia link.
I don't see why they have to reach back and summon the mystic name of the Habu when astronav is still flying on the B-2 and Trident SLBM. It's not as if we have fogotten that the technology exists, it's just that GPS is non-mechanical and more deployable, cheaper and robust.

Side project I've wanted to do for years: smartphone AR app that you point at the night sky and it does the star recognition and calculations automatically. But I've no illusions that it would be much less practical than just using the onboard GNSS receiver.
Because when you entrench yourself into a position the defines who you are, it get very hard to change that position.

See for example, climate change denialism, religious sectarianism, Brexit.
sych a device would still require synchronization, it promises lower drift, but to eliminate drift you will always need to recallibrate to synchronize with reference points (stars, beacons, GPS, ...)
Maybe era kanjis should be encoded in a systematic manner similar to flags. The EU flag is encoded as <Flag letter E><Flag letter U>, the new era would be encoded like <JP era number 2><JP era number 0><JP era number 1><JP era number 9>.
I'll patiently wait until I see more physician consensus around this issue

https://www.acsh.org/news/2018/08/24/john-ioannidis-aims-his...

Given the recent 180 degree turn on "eat fat => heart attack", I think some seriously well designed studies are needed for all studies that make a strong statement about what dietary choices one should make, especially for dietary choices made by humans since forever.
I’m pretty convinced that everything gives you cancer at this point.
It is frustrating as there are straightforward, cost-effective approaches the government could take to better understand the problem and they have chosen not to pursue in an expedited fashion either because of lack of effort or an active desire to stay ignorant (due to upcoming election, impact on big donors, etc...). Instead they just keep telling Canadians they will "allocate funds to better research the issue", i.e. kick the can.

For example, a simple, 80/20 analysis they could perform: list at all real estate held by holding companies in GVA and GTA and generate a list of their corporate directors. Find people who are directors on a large number of those holding companies, and check if they are related somehow to law firms, banks/wealth managers, Real estate agents or immigration businesses. If so, you now have a short list of potential properties being used for money laundering that maybe merit further investigation.

Calling the top 25 people on that list should reveal some interesting findings... Re-organize by property value if you want to catch bigger fish first.
In most setups we use collaborative arms from Universal Robots so that people can work right next to the robot. It makes development easier too. Our system does work with industrial arms that require those sorts of precautions, though.
Spotify in Europe.
That would be a great idea! Thanks for the recommendation. I'll get to implementing that ASAP.
Whales are not fish, nor are they harvested like fish.

“If we can imagine a horse having two or three explosive spears stuck into its stomach and being made to pull a butcher’s truck through the streets of London while it pours blood in the gutter, we shall have an idea of the present method of killing. The gunners themselves admit that if whales could scream, the industry would stop, for nobody would be able to stand it.” - Dr Harry Lillie, 1946.

Lillie was a a surgeon and medical officer aboard British whaling ships in the Antarctic during the 1940s.
5 cigarettes per week? If you can get it that low why would you smoke at all? I don't know anyone who smokes, but smokes less than several cigarettes per day, most in the half-pack to pack range (10-20 per day).
Please see this comment: https://news.ycombinator.com/item?id=19529009
Ok cool. Now I understand very clearly. Thank you.
take notes and look at 'em before sleep, Is what work best for me.
Are you sure it was not just a glitsch?

$ dig a www.lancaster.ac.uk @1.1.1.1 +short
www.lancs.ac.uk.
148.88.65.80
$ dig aaaa www.lancaster.ac.uk @1.1.1.1 +short
www.lancs.ac.uk.
2001:630:80:2ff::80:1
Well. What exactly are you expecting in this case? It seems quite unlikely that any study will conclude that alcohol = good. The glass of wine a day myth has not really been supported by science, and everything seems to indicate that alcohol is bad for you.

It's just a matter of how much damage is done, and a bottle of wine per week is a lot.
How is JavaScript so far up the list? Slack commits murder on my MBP battery every day.
Experience Scrapyd Cluster
anyone know the date on that article?

there seems to be a spate of similar articles based on the greenpeace/sieara club satellite photo analysis report from september last year.

has any of it been confirmed?

edit: think this is the report ~> https://endcoal.org/global-coal-plant-tracker/reports/boom-a...
Selfies – A Misunderstanding
While it’s worth taking this seriously if true, 5-10 cigarettes a week is relatively little. A pack is 20 cigarettes and a heavy smoker might smoke a pack a day (sometimes more).

You can see that in the actual reported increase in cancer risk: 1-1.5% total increase. Definitely meaningful, but not what we associate with smoking.
On average people abstaining from alcohol do not have healthier lifestyles. They include ex-alcoholics, people on various medications etc. That has explained why people who drink moderately would be healthier than non-drinkers, because the non-drinker group includes people who cannot drink.
Apple abandons AirPower wireless charging product
> One bottle of wine per week is associated with an increased absolute lifetime cancer risk for non-smokers of 1.0% (men) and 1.4% (women)

Is that 1% on top of whatever double digit percentage everyone is at risk of cancer anyway?

I'll take the wine!
Hey, I find it alarming that someone smart enough to accumulate that much money is stupid enough to blow it on such a car. We're all very alarmed these days I guess.
GitHub Protest over Chinese Tech Companies’ “996” Culture Goes Viral
how is this relevant to alasdair_ comment?
> "Domestic pressure to keep the plants closed was HUGE and therefore they stayed closed"

Japan has restarted 9 of it's reactors since Fukushima, after completion of safety checks, seismic upgrades, and implementation of enhanced safety rules. Another 5 reactors have been approved for restart, and restart applications are pending for a further 11. One new reactor, Ōma, which can run on 100% MOX fuel, is under construction and expected to come online in 2021.

Japan plans for 20-22% of it's power to be nuclear by 2030, similar to pre-Fukushima levels.

https://en.wikipedia.org/wiki/Nuclear_power_in_Japan
>Whales are not fish, nor are they harvested like fish.

And nowhere did I say that they are. Unlike fish, they're harvested in a way that doesn't result in wasteful and incredibly destructive bycatch.

And frankly, it's hard to think of a form of butchering or mass-scale animal harvest that wasn't brutal in the 1940s. Factory farming today is a worse fate than most people can ever imagine hell to be, yet most of us (my hypocritical self included) are still providing financial support to it.

Eating meat (at least as it is now) results in a death no matter how you go about it. The options we have are let an animal have a free life and suffer at the end, let an animal suffer its whole life then pop it in the brain to "stun it", or let it watch itself bleed out if you're going for halal/kosher food. Hunting and modern whaling are ironically more humane than most other methods of meat consumption we have.
There is one easy way to get rid of that guilt now. Have you donated yet?
I mean, you probably find a lot of things alarming then? There are a lot of people not living remotely hand to mouth in the world
You're leaving out the fact that this eliminates the security mess that is the current DNS system which is so easily compromised by hacker groups and state actors.

Blockchain is the perfect protocol for DNS since it's totally transparent and establishes consensus without blind trust.
> "...eating 12 hazelnuts daily (1 oz) would prolong life by 12 years (ie, 1 year per hazelnut), drinking 3 cups of coffee daily would achieve a similar gain of 12 extra years, and eating a single mandarin orange daily (80 g) would add 5 years of life. Conversely, consuming 1 egg daily would reduce life expectancy by 6 years, and eating 2 slices of bacon (30 g) daily would shorten life by a decade, an effect worse than smoking. Could these results possibly be true?"

Why would the author expect all research to be useful and life changing? There is a lot of noise but there is noise in every aspect of life (investing, programming, etc). Do Charlie Munger and Warren Buffett complain about the news and say it's useless because there are a few bad articles?
A bottle of wine has 8 standard units of alcohol, and the British NHS recommends keeping the intake to < 14 units per week, so a bottle of wine per week should be well within the perfectly fine area.
When I ran Gentoo on my laptop, emerging Firefox took far longer than compiling even the Kernel. Around 90 minutes, I think.
Thanks for sharing. Didn't know they existed.

Raphael's monthly reports[1] were very insightful and explains why equivalent billing rate seems anecdotally low.

[1] https://raphaelhertzog.com/tag/Freexian+LTS/
At which point do laws such as this effectively become censorship?
The difference before is that people didn't have 24x7 connections, so if they were online it meant they were dialed up and sitting at their computer. Now 'online' means nothing as we're all always online.
Knee jerk law making is always a bad idea.
I have a Samsung phone. Wife has Apple. We can charge using the same charger.
> it might be 100 cache lines for those 100 pointers

No, the usual recommendation is that you should split your structures into smaller structures such that each contains only fields that are likely to be accessed together. In other words, you should err on the side of SOA (parallel arrays) rather than AOS.

That's because the unused field apply pressure on the cache.
Also, you don't have to type in the url if it's a bookmark ;)
But same with Wikipedia
But then it makes it as easy to remember
I do this too, so don’t take this as criticism.

Isn’t this bad for the battery? ISTR you want to keep the battery between 20 and 80 percent. More than that and it winds up heating up the battery during charge. Or is that just for electric cars?
Well, wait a sec.

It does have a bearing on the overall editorial quality of the paper, unless as a reader you can figure out a predictable reason for editorial quality to drop for only one specific topic. It means that a poorly researched article can get out of the door without being flagged.

Individual articles of clothing, food, and other products coming out of a company are inspected by different people. But when I go to Wendy's and buy some fries, I don't know which people are inspecting and preparing my food, and know who was preparing my food wouldn't be useful unless I already knew a lot about that person. If I went to a restaurant and my fries had mold on them, it would probably be the fault of a small percentage of the workers there. But I would still be justified in distrusting the rest of my food, even if I thought the rest of the food on my plate was probably prepared by different people.

I don't know enough about the individual staff members of my local newspaper or their individual contributions to each article to make an educated distinction between them. If I see evidence that my overall newspaper is willing to publish badly researched articles, it seems very logical to me to conclude, "hey, when you see an article in a subject you're not familiar with, remember that it might be one of the duds. If you see an article by a reporter you're not already familiar with, remember that they were hired by a newspaper that occasionally hires bad reporters."
A previous discussion at https://news.ycombinator.com/item?id=17693315
Unfortunately, this is not true.

This is still NOT (fully+) fixed in current (73) Chrome/Chromium.

+) in most real usage scenarios your cookies will persist, contrary to your/users belief.

The even bigger problem, is google employees for a few years (sic!) delaying fix for this. AFAIK press article documenting it is in the works, but you can just jump into chrome bugs discussions and draw your own conclusion if this was prompt and appropriate reaction.

So the problem is:

1. it is not yet fully fixed

2. it is MULTIPLE years in this state

3. google knew about it and was interested in keeping it as it is.
I think the point was that these studies aim to make a serious statement about serious topics, but they rarely get to be properly reproduced and tested. And when they're not challenged they can creep into our official medical guidelines, where they become doctrine, and it can take decades to convince people that not all fat is bad for you or that children with mild allergies should be exposed to allergens, and that a coffee per day will not cause high blood pressure.
I don’t think it’s wrong, I just think it usually takes criticism plus an economic incentive. Hybrid cars didn’t have adoption until oil prices rose substantially. Airlines also adopted Boeing’s Dreamliner, which was made with lighter materials, during this same period. Now oil prices are low, but adoption of electric cars is increasing still. I think that an economic spark is typically a necessary catalyst for an alternative to emerge.
Wow, that looks really cool. However, I use CentOS 7 and that documentation appears to indicate it's not an officially supported distro. Are you aware of alternatives to Mandos (even if they aren't as good) which have official support of RHEL/CentOS?
Using https://github.com/xtermjs/xterm.js as an example (the terminal used in vscode), they draw on a canvas to achieve better rendering in the browser. So I guess not javascript is the cpu hogging bottleneck, but the complexety of html/css. There are just too many footguns that slows down the rendering. If there only was something like "use strict" for html/css.
I don't understand the downvotes of the poster above correctly highlighting that GPS does not use UTC.

GPS does not use UTC, it uses GPS time [1], which is at a constant offset to International Atomic Time, TAI [2], which was in sync back in 1958 with Universal Time [3], on which UTC is based. GPS, TAI, and UTC use SI seconds, while UT1 doesn't (a UT1 second is 1/86400 of a complete rotation of earth).

Of course they are all related, but, hey, all time scales are somewhat related and "track each other", given some (time-dependent) offset. Fact is that GPS doesn't run on UTC.

[1] https://en.wikipedia.org/wiki/Global_Positioning_System#Leap...

[2] https://en.wikipedia.org/wiki/International_Atomic_Time

[3] https://en.wikipedia.org/wiki/Universal_Time
Results:

One bottle of wine per week is associated with an increased absolute lifetime cancer risk for non-smokers of 1.0% (men) and 1.4% (women). The overall absolute increase in cancer risk for one bottle of wine per week equals that of five (men) or ten cigarettes per week (women).

I.e., not very much and could well be explained by other factors, including other lifestyle patterns, data inaccuracies (much of the data was from the UK Government's Health Survey for England which involves an interview of about 8000 people), etc.
HiTechnology Discovered in Classical Mythology Reveals the Ancient Origins of AI
For the last 70 years science fiction writers and Hollywood movie directors have explored the place of robots and artificial intelligence (AI) in the future of humankind.
https://www.ancient-origins.net/news-history-archaeology/artificial-intelligence-ancient-greece-0010846
The complaint in that tweet was not in itself about the clothing style, but about DePalma's whole public behaviour that clearly tries to put media impact above scientific method.

You are being intellectually lazy and superficial by not reading the whole tweet and just discarding the argument at the first instant you see something that grates you if taken out of context.
That comment of yours is bad.
While this is true, it is often also the case that the people writing about certain areas are not necessarily experts in those areas. I have personal experience with this phenomenon as I used to write for and edit a number of IT-related magazines. In that capacity I went to a lot of press meetings, conferences and other similar gatherings where I mingled with my colleagues from other publications. It was striking to notice how little knowledge many of them actually possessed about the - often deeply technical - subjects being discussed and even more striking to see that they nevertheless wrote articles full of mumbo-jumbo which got published in their outlets which' readers can be assumed to have turned to those with the intent of being informed on those subjects.

Being able to write a fluent story is a skill in itself and not necessarily linked to deep knowledge about the subjects the story touches. News publications work off deadlines where it can be - no, strike that, is - most important to have something, anything to publish. Those who can reliably produce the required few paragraphs will rise higher than those who put accuracy above timeliness.
There's a really interesting video about character generation on HP 264x series terminals: https://www.youtube.com/watch?v=QikO0WOAGWI
Lookup Tuskegee syphalis experiment. Then lookup 1986 vaccine injury court. You're welcome!
The writer of the twitter thread is Brian Switek, who has written several books on dinosaurs. You can do your own search based on his name to see his credentials.

In any case, Neil Shubin, the discoverer of Tiktaalik, has posted this comment [1], in which he takes issue with the way the New Yorker article broke an embargo.

[1] https://twitter.com/NeilShubin/status/1111755353295863808
It's supposed to be released later in the summer. There have already been 2-3 posts about the language mentioning that, and it also mentions it elsewhere in the site that hosts the playground.
HyperDock. Not really a complete Dock replacement, but it improves Dock functionality where it matters and integrates with macOS seamlessly.
Screenshots on their website are quite dated, but it works with macOS Mojave without any problem.
I don’t think intl pressure made them do anything. They’re doing it because they want to (and PR-wise it looks good) They claim it was intl pressure but I’m not sure about that given:

“Even today, about 30 projects remain, including facilities that will not be scrutinized for their impact on the environment due to their limited scope of power generation.”

And in addition what the environment ministry says is more of guidance than law and METI has the final say.

It seems to me they feel nuclear is a better solution to their power demand than coal.
Mistakes That Node.js Developers Should Avoid
Even without underwriting it's still insurance, which is "a practice or arrangement by which a company or government agency provides a guarantee of compensation for specified loss, damage, illness, or death in return for payment of a premium" according to Google's dictionary.
What happens if an attacker can get code execution on Tesla's autopilot [pdf]
This is very cool. I've been playing Nanochess since it popped up on HN (http://www.nanochess.org/chess.html). He has a similarly sized and restricted version, but remarkably includes the full rule set and competitive AI in a 1k Javacript package.