skysight-inc/HackerNews huggingface dataset:
Ask HN: Should add typescript to my stack or Flow is enough?
#javascript and #typescript users, doing my first steps in JS (after coming from Python). I still don't have a clear answer on whether I should add typescript to my stack ? Types are important for me, so why not settle for Flow ?

Problems that I see
1. Complicates tooling
2. Another language to learn

I intend to use NodeJS 8.1 (supported by AWS Lambda) which supports ES2016, is it good enough for enterprise grade projects?

Help appreciated
Snoozing and bundling are they key features that I love with Inbox.
Commercial Space and Its Role in the World Today: An Expert View
Parts of a ‘Virtual’ Border Wall, Built with the Tech Behind Driverless Cars
> Why is it needed at all? We have HTML, we have an agreed upon governance for it.

For my selfish reasons, so I can write a competing browser that only accepts that format. While I want the spec smaller and more strict for selfish reasons (ease of implementation), it has bonus value for performance use cases.

Also, there is value for devs to signify that they are attempting to conform to a certain specification (i.e. the purpose of a doctype). Sans validation the value is less, but still, having a simplified spec subset for web pages at least lets the community/ecosystem grow around it.
AFAIK fastmail is driving jmap as a new standard - because they like standards - but like everyone that works with imap implementation for any length of time - don't like imap very much. (That's just an observation based on imap server and client implementations).
Sure, although they actually reversed that trend on iPhones for a few years now.
Pedantically, I would agree with your definition if it was phrased as "short selling" and would ask for more clarification ("via what?") if someone said they had a short position.
Reverend Martin Luther King, Jr once worked as an advice columnist (2011)
This is why I've never really found AirPower to be that compelling of a product, even though I buy lots of Apple stuff. Yeah, it's a pretty nifty technological thing (apparently too nifty!) but … why should I care?

I nearly never want my Watch and my iPhone on a charger at the same time because I pretty much always have at least one of them with me. And I charge my AirPods case so rarely (I plug it in for a few minutes once a week or so when I think to), it's not really compelling to me that it charges it separately.

Anyway, I'm sure other people differ...
A very American view!

This just sort of proves the point the poster was making. People here don't assume that the worst case is going to happen. Most sorts of these laws so far result in initial action taken to help (or force) the company to comply. Fines are usually only considered for those who repeatedly refuse to come into line.

My view of the US is that there are many more aggressive public prosecutors who will swing for maximum penalties, in order to make a name for themselves.

But maybe I just watch too much tv.
I disagree with the GDPR "success story" part of your comment. So far it's backfired entirely. The goal was to provide users with more control, and (from the standpoint of such a user) to reduce relentless personal data harvesting.

That hasn't happened. What's happened is more annoying "we use cookies and track you"-banners all over the internet. As a user who doesn't use cookies, these damned things won't even go away and keep coming back. It hasn't given me more control. At all. If anything, it's made me more trackable on the internet (because now I'll have to use cookies to tell people I don't want their god damned cookies).

Online newspapers are the worst. "Here's a front page you can read, and maybe the start of an article, if you want more, you have to give us permission to track you -- or you can just fuck off". What exactly has GDPR solved here? Nothing. Before this nonsense, I could simply tell my browser not to accept cookies from these sites, and I could tell my plugins to ignore their tracking stuff. But at least I could read the newspaper without any hassle. Now all I get is more annoying popups and less contents. Thanks, GDPR.

Yes, I'm being snarky. Yes, I know the idea of the law is pretty solid. But no, I'm not at all happy with the outcome.
German firm's 7 commandments for ethical AI
I reckon "Build online. Publish instantly" has a nice ring to it.
Trump’s trade war with China will affect all of us – this is how
It's certainly illegal, and it might be difficult to maintain, but I'd argue that it happens quite often across many industries, and very well could happen here.
Will flying cars take off? Japan's government hopes so
Vegetarian/vegan does not mean undernourished.
Plausible. But it also means bad publicity, and bad publicity is bad for business.
> Best part about it is much fewer laws will be written since so few understand that language.

Legalese didn't seem to have that effect.
Atomic design principles are super fit for React component libraries. I don't take the atoms > molecules > organisms pattern quite literally though, as functionally, it makes more sense to group atoms and molecules (composed of atoms) into a single dictionary of components, like a toolkit. I simply `import { hammer, nails, thumb } from tools`...

And then, my organisms are usually groups of organs, that are specific implementations or modules within the app. Anytime I build an abstraction of an organ to be used in multiple organisms, it can probably be added to my toolkit.

Also, I use CSS-Modules and avoid Redux wherever possible, because I build my applications such that state, style, and function are all local & self-contained... avoiding global variables as much as I can.
you can’t use Tor for the Internet banking either
So I get the impression GnuPG is considered obsolete by the security community. I'm unclear for which of the many possible scenarios it can be used for.

Is there, right now, a better (security-wise and usability-wise) way to digitally authenticate a message (document/binary/payload)?
Peeve: these folks often don't realize there are other sides/lanes of traffic that they aren't able to stop. So the pedestrian still can't cross because of other lanes, but now the good Samaritan is just holding up traffic and slowing everyone down. Including the pedestrian who would normally wait for traffic to clear.

Paradoxically, in these encounters I prefer the "rude" drivers that get out of the way as quickly as possible.
B12 is produced by bacteria and we used to get plenty of it from the environment. Public sanitation means we don't have those bacteria in our food and water anymore so you need to supplement.

A lot of meat is also artificially enriched with B12 though and a lot of meat eaters are also deficient so a B12 supplement is probably a good idea for most people anyway.
Actually, in Scotland (part of the UK) we have right to roam - so we can pretty much go anywhere we want on land, rivers or lochs - no license needed just a degree of common sense.
Donald Trump's reliance on Chinese restraint is risky
The new, modern ACLU wants careful regulation of speech when it gets in the way of progressive goals.
You don't. You try the key on the lock, and if it doesn't work you keep looking for another key. Nietzsche is saying "I FOUND A KEY! Anyone care to try it in their lock?"

Eh, that might be a bit more euphemistic than I meant to be, but the point is there.
If we insisted bicycles only be allowed on dedicated bicycle tracks, there would be no track because there would be no bicycles (because there was no track!)

As a bicyclist, I would love to have a dedicated network of bicycle track all over town. But it doesn't exist, yet.

Also, this is way fuzzier than you present. There's little conflict between cars and bikes on lightly traveled, spacious suburban streets or sleepy neighborhood county roads. Even on collectors & minor arterials, on an e-bike I travel about the same speed as a slow car.

Speed delta is not an incorrect observation, but varies in significance. In terms of priorities, highways are certainly top candidates for the first dedicated bike tracks.
We appreciate that you're watching out for quality submissions on Hacker News, but please don't keep doing this.

> Please don't complain that a submission is inappropriate. If a story is spam or off-topic, flag it. Don't feed egregious comments by replying; flag them instead. If you flag something, please don't also comment that you did.

https://news.ycombinator.com/newsguidelines.html
Where is it different? Which countries punish racist comments but not fraud?
I'm not arguing everyone should live in huge, loud cities. You can still have sleepy towns with trains. I'm arguing that cars ruin lives and cities.
That's one detail that might be cult-like, but on the whole as long as their employment contract doesn't prescribe who employees are allowed to talk to I fail to see how it is cult-like on the whole.
In that case maybe you want to fish with a Geiger counter and not a magnet.
Oh I see what you mean. Does this change if you don't use any of Google's products ie. web browser, youtube or search engines?
I watched one video on youtube and they found a safe with a woman's passport and various harddrives, a handgun, and a sheathed knife with a swastika insignia and that's only 15min in:

https://www.youtube.com/watch?v=RyYuwfU3fPs
“IPFS is only for static files” – How to deal with dynamic data
I didn't have any equity. The only thing I invested was several years of my life and a fair amount of blood,sweat&tears. The other early days engineers and myself worked our asses of, going beyond the call of duty as they say. I don't think I (or my former coworkers) felt entitled as such. We certainly did feel like we were underappreciated when piles of cash were being handed out to everyone but us.
Why not simply weight the search results and make an open grading project? Site loads slowly versus other sites that do similar things? Give it a C or a D instead of an A. Weight the results instead of just giving the top to amp pages. Easy.
They are def. trying but the answer to your question so far seems to be yes.
Even if someone were to believe AMP is a walled garden, so what? You spend so many words expressing your passion that controlling ad revenue is bad, but why is it bad? Who cares?

Facebook is the biggest walled garden out there, but you never see this passion against Facebook ads. It's only AMP. I don't think this has anything to do with walled gardens. I think it's just generic hate against Google. Google has plenty of things to be upset at, but I don't really buy AMP being the most evil thing in the world.
They're mad at you because it's indeed frustrating to get stuck behind someone who has no business trying to drive in the snow. If you get stuck because you're terrified at the thought of exceeding 10 MPH, they get stuck too.
Incidentally, I've been working with digital signatures which are legally equivalent to traditional ones in my country (Poland) and comparing them to a GnuPG setup with private keys stored on a YubiKey.

It seems to me that my YubiKey setup (done following https://github.com/drduh/YubiKey-Guide) is substantially better in almost every respect than the state-provided smartcard.

I intend to publish a signed PDF document (signed with the state-certified RSA key) that says that my GnuPG keys are really mine.
Next the California Highway Patrol will be after him for texting while driving.

Tesla might be better off without Musk. It's past the stage where it needs a visionary. Now it needs someone who can run a big auto manufacturer.
FiveBucks.com – Bitcoin powered Fiverr
first interplanetary flight risk?
IKEA had been selling the NORDMÄRKE for at least a year.
The point of the magnet is that even if you don't find the nuke you find the hordes of AR-15s people have lost in "tragic boating accidents" over the years. If you go out fishing for bluefin it's better to come back with a cooler full of stripers than an empty cooler, metaphorically speaking.
I think it's mostly those who are better off than average who argue against cars. No other comment from me.
Zero-Day Bug Allows Hackers to Access CCTV Surveillance Cameras
is it true the sushi guy was interviewed by jobs?
In fairness, it's probably more accurate to say their profitability is not clear.

Their president says they are profitable, and they've claimed that several times over the last few years.[1] However, an expose from the WSJ from 2015 indicated they were quite the opposite then.[2] The Motley Fool suggested in 2017 that SpaceX might be on its way to profitability, but it was still unclear whether they really were or not.[3]

So what I should say is that Tesla is not profitable, and that SpaceX claims profitability, but that the claim is questionable. I'll update my post.

[1] http://www.latimes.com/business/la-fi-spacex-shotwell-201805...
[2] https://www.wsj.com/articles/exclusive-peek-at-spacex-data-s...
[3] https://www.fool.com/investing/2017/11/11/will-spacex-earn-a...
Trump has forgotten that America was made great by prosperous trade deals
Something like XKCD 927.
Ramanujan did what made him happy. He was good at what he did. Maybe he was so absorbed in his work that he hadn't had time to think about his circumstances. He was a natural.
As someone who lived in Eugene and now PDX, the model I advocate is the wagon spoke. You need to ferret the people between the large spaces as the population density is that of the Ukraine which presents little in the way of the geographic challenges we have here. Get people to the perimeters and in parking garages and then make it so they're able to use alternative transport. We won't be building fast rail between Portland, Salem and Eugene but we can certainly make it so you limit the amount of driving you need to perform.
Latest Windows updates
It seems to me there's 2 reasons some people view it this way:

- It's hard to use for normal people, it's a lot easier to hand someone Signal

- It allows cipher suite changes, some of which may be weak

Basically, for the purposes you're talking about, ease of use isn't a major concern, but the second one is. A dead simple Ed25519-only signing tool would be viewed as better... does such a thing exist? Certainly it's fairly easy to create one using NaCl or even the reference implementation, but nothing has the popularity of GPG.
I feel like the whole "web of trust" thing failed, but otherwise, it's fine for signing things. Debian packages use it for that, for example (with a trusted way of bootstrapping the trusted keys).
> It very well could turn out that self-driving cars are worse, or no better, than human drivers.

This is trivially true. I mean, self driving cars that are worse than human drivers already exist. Isn’t the point asking when they will be made widely available? I assume that is only possible when they are at least as good as human drivers by some key metrics.
Oh, this is where we have different experience. I went to Waterloo, which is generally where a ton of our top CS and Engineering grads come from. Many (both Canadian and American citizens) went straight into spookware or military gear with no prior connections.
Probably put his previous job on his resume or they looked up his previous job using a credit reporting bureau
> and now they want to mess with something as fundamental as a hyperlink.

Unless I'm missing something, basic hyperlinking seems to be excluded from the scope of the new directive, and it is instead targeting services that reproduce the publication more substantially.

Recital 33:

> This protection [granted to press publications] does not extend to acts of hyperlinking.

Article 11, paragraph 2a:

> The rights referred to in paragraph 1 shall not extend to mere hyperlinks which are accompanied by individual words.

http://www.europarl.europa.eu/sides/getDoc.do?pubRef=-//EP//...
> So I get the impression GnuPG is considered obsolete by the security community.

This is news to me, but I'm not in "the Security Community". I can't find anything that corroborates this. Why do you say that?
> Business Logic, Core < Handlers < Front (HTTP routing, sessions/token stuff, ...).
I use the similar logic. But you have presented it perfectly.
In one of the project we had to use NoSQL database in crunch time situation so had to go with Dynamo.
Author here, the release files are now available if you want to try it out (we had some snags with the infra to build and publish the packages): https://github.com/mozilla/DeepSpeech/releases/v0.2.0
>> The trend has been clear for the past decade, and it has been going in the wrong direction, at increasing speeds.

> Tools to block tracking have gotten better. Spyware is more difficult to spread, etc. I'm not convinced it's going the wrong direction "at increasing speeds". Do you have any empirical evidence of this or is it just based on perception?

To make an analogy, what you're saying is similar to saying "I'm not convinced violent crime is going in the wrong direction, because people many people are regularly wearing better bullet-proof vests."

Better tools to block tracking is part of a trend going in the wrong direction: an arms race between trackers and anti-tracking blockers. If things were going in the right direction, we wouldn't need better blockers, since the tracking companies would have taken the hint, and either become opt in or respect simple measures like DNT headers.
Aren't they doing that anyway? It was my understanding that most companies didn't send their latest generation products to be built in China due to them bring consistently stolen and china not backing up the IP protections
Can you use Keybase for this?
It can be challenging to get enough iron and B vitamins with a vegetarian diet. It's not that hard to get enough protein. Most Americans are consuming more protein than their bodies can use.

I have a genetic disorder. I need about 1.5 to 2x as much nutrients as normal people to not be malnourished. I eat smaller portions of meat than your standard American diet and some of my meals are meatless. My meat-and-potatoes relatives have accused me of being vegetarian because of it. I've improved my overall nutritional status while eating semi-vegetarian by American standards.

Some B vitamins are a serious problem for some vegetarians. But you would really have to be doing something wrong to not be getting adequate protein eating vegetarian.
So in a sense, web browsers are a bit to promiscuous. Website builders would have more incentive to properly engineer their websites if browsers were pickier. One issue with that is that it is the websites visitors who are most likely to see the errors and not the designer of the site.
I have kept thinking about this.... way over 12k years ago, the anonaki (made up name but ...heheh) did exactly this to early hominids. but it wasn't a breathing device, it was an hability to imagine whatever they (anonaki) proyected, then just about 12k years ago for some unknown reason they vanished. now unshackled... well I ain't no writter so that's it.
Do you have a source for that? I had always understood the speed limit as simply being an objective, statutory codification of the subjective notion of "appropriate maximum speed for conditions"

Which fits well with dynamic speed limits cropping up in places that get regular bad weather
I don't know why I'm getting downvoted. The parent post asked why short sellers harm companies, and I gave a legitimate answer, and that answer is also exactly one of the reasons Musk cited for wanting to take Tesla private.

Maybe folks are skeptical about the fraudulent NHTSA complaints? If so, here's a source: https://electrek.co/2016/06/13/tesla-fale-complaints-suspens...
He said Elon's rig was total shit.
To echo the other comment - this isn't familiar to me in the UK either.

Guilty pleas do usually result in lower tariffs, but AFAICT we have little to none of the horse-trading that's continually portrayed on US television.
Unfortunately I was long Kraft (the food co), completely unleveraged, and got taken out at a 15% loss thanks to a flash crash-induced stop loss. It taught me a lesson that only losing real money teaches.
Interesting. Can you explain a bit on which sources you used and how are you calculating the trendiness?
Ask HN: What does new Linux Code of Conduct bring to the open source community?
The only part about these EU types of laws that kinda rubs me the wrong way is how they infect across business dealings. But overall I support their objectives, even if I think the true solution to some of the problems they're trying to solve is a technical change to how the web and internet work.
https://www.reuters.com/article/us-china-apple-icloud-insigh...

The encryption keys for Chinese users are stored in China, and the government has full access to data and keys on those servers as per Chinese law. Maybe “backdoored” is the wrong word since they can walk in the front door.
ha ha, looks like the single biggest reason for failure (or success) of startups are marriage :-)..
Somewhat offtopic, but I'd love something like gnupg to support deterministic key generation, similar to what BIP39 did for crypto. I currently generate keys on an offline computer, back them up to a usb driver, and the copy the keys to yubikeys. It works, but it's a PITA, and I'm always worried that I'll lose my backups despite going through a lot of effort to keep them.

Deterministic key generation is one thing crypto has gotten right.
Introducing Experiments, an ongoing research effort from GitHub
Plus you can essentially and blatantly ignore them anyways.

I had a non-compete and discussed the meritless nature of it with a lawyer. My response to the company had a few swear words in it. And the issue was settled because they knew they had no basis and it was completely uneforceable.

I didn't care about burning bridges in this particular case.
Isn't what you did hand-soldering? Sure, you didn't pick up an iron and wire solder, but still.

You can see how that's a lot more hand-soldered than a board which is pasted by machine, then fed into a pick and place machine, then fed into an oven.
Well except its not as simple as that, is it.
There are a lot of second and third tier Tech companies in SV (not considering startups even) that can't raise salaries as quickly -- or at all. Also then there is the question of simultaneity, if I'm the first engineer to get a 20k raise then I will be ahead of everyone else, while everyone else catches up.
Seems odd to have a public postal service and still require people to buy stamps for votes.
> He might have been unstable mentally, to say the least.

No doubt about it. He was clearly going mad as he got older. The cause of the madness is debatable, but a commonly accepted theory is that he contracted Syphilis from a prostitute early in life, and it killed him in the end.

That said, I don't think his madness nullifies his ideas, or even discredits them. I haven't studied him in depth, but the works of his that I have read have elements of genius embedded in them. Some are boring and observational, but some are deep and profound.

Regarding Nietzsche as a wanna-be Schopenhauer, this is not a fair representation at all IMHO. He was certainly influenced and had a lot of respect for Schope, but he contributed a ton of unique material and took some views very different from Schope. There is a lot of nuance in his criticism of Schope's nihilism that I think reflect his devotion to study and understanding, and respect for past thinkers, not just a pale imitation.
yes, there are

https://en.wikipedia.org/wiki/Non-English-based_programming_...

nothing has become popular though
AIUI the "allow being tracked to gain access" is unlawful.
Imagine the Lion!
https://www.linuxfoundation.org/code-of-conduct/
Slightly off topic, but this has been my fear with the push for UBI, it feels like rents/costs will just go up as they did with gov't backed student loans..
The free, open source CL implementation that matters and pretty much everyone (incl Google) is using - SBCL - destroys luajit in performance, not to mention your average JITed language..