skysight-inc/HackerNews huggingface dataset:
> I went from "fast and convenient" with JS to constantly fighting against the TS compiler and linter above cryptic type errors

Would you, perchance, be able to share an example of such an error? We generally strive to improve error clarity where possible~

> I found out that using JSdoc comments and relying on the linting abilities of my IDE

Ah. Well, spoiler alert: if your IDE is vscode or VS that JSDoc is actually still getting typechecked by TypeScript ;)
Actuallt the courts already decided in Oracles favor, the only remaining thing to establish is how much money Google will have to pay.
Life Lessons About Death and Moving On
Actually the courts already decided in Oracles favor, the only remaining thing to establish is how much money Google will have to pay.
I began my programming career in 1997 with the IBM AS/400 and a Windows version of a 5250 terminal emulator. Setting up an intelligent colour scheme was considered a talking point at water towers. COBOL and RPG were the only two business compilers on it and DB/2 was stock. DB/2 kicked ass as it was one of the few RDBMSs at that time to allow new generation heretics like us to do in-line SQL directly in our COBOL and RPG "pgms". I still remember the animated discussion the older members of the team had arguing against direct SQL in the COBOL programs. "Rather stick to OPEN file, (sequentially) READ file, DO WHILE loops with NESTED IF statements to select your records into WORKING MEMORY. And don't forget to CLOSE the damn FILE!"

I also fondly remember that all our compiles had to be done by exiting the editing screens and separately scheduling a BATCH job for the compile, and then reading the output of the BATCH job to see if your PGM compiled successfully. If not, you'd have to read the JOB LOGS to see where you committed syntax errors. No debugging at runtime, no IDEs. You had to read your own code top to bottom, scatter a few PRINT statements around (also viewed in the JOB LOGS) to see if your PGM worked at all.

One of the many things that amazed me at that time (1997) was that AS/400 had a robust ODBC CLI for both Windows and OS/2 Warp. This allowed the pointy haired bosses to enjoy results of data warehouse projects directly from their Windows PCs using Microsoft Access (of all things). In Comic Sans fonts to boot!

EDIT: Oh, I forgot to mention - I still haven't seen documentation for systems, compilers and databases as useful, user-friendly and comprehensive as the manuals compiled, printed and bound by IBM. There was absolutely no need for Google.

I will never be ashamed of that beginning. Never.
I'll start by saying they're not strict mind maps; they're a cross between mind maps and spider diagrams.

If I'm listening to a talk, I'll be jotting down the key concepts in the map, just like anyone else would do with bullet points. But I'm then linking them together, where their talk jumps between ideas. Connections are the vital part.

The closest software to what my brain thinks like is https://www.literatureandlatte.com/scapple/overview. A key thing missing is representing the same information in multiple views; that's something virtually all tools miss (Coda.io et al are starting to add it - but multiple types of list-view of the same info, nothing more wild)

Realtimeboard works well for me, but ends up lacking organisation because it is totally visual and nothing structured beneath the surface.
Let's say you want to change things one day in your country: you get into politics or unionize. Too bad, your opponent has a back-channel access to data about you which could be used against you if made public. Or some law is passed and suddenly some of your old activity is made illegal: you're now on a watchlist, let's hope you can stop your cinnamon addiction.

Let's be more day-to-day: all your data is sold to insurance companies. Where you go, how fast you go, what kind of food you eat, your gym attendance etc.
I miss Tumblr.
After having lived in London for a few years, I noticed this everywhere too. I am no expert but I have a theory that it's a combination of:
Genetics - you'll notice this when you watch people walk and have odd knee/ankle flex.
Discipline - not learning how to walk properly. This sounds silly, but when you drag your feet and wear improper shoes injury is more likely.
Healthcare - I have noticed that people are more likely to go to the doctor compared to the States
> My take on this is that people need to realize that they are not an exception to this. _Everyone_ has an ideology that overrides logic for many topics.

This is mostly a meaningless statement.

If it's everyone then there is no escape, so there is no point saying it.

So we move onto a definition that has meaning, such as a person without ideology is one who can change beliefs relatively easily compared to an ideological person.
Indeed. But questions of how to evaluate results are always answered by way of some kind of preference, desire, or ideology, right? Different ethical principles can be in conflict; there's no objective measurement of the good.
I have met a few people who ranted about the NHS and TV Licenses - a very small minority but they definitely do exist. Often the type who live abroad because the UK has, in their opinion, too many immigrants.

Edit: I'm not suggesting that either the BBC or the NHS are above criticism - far from it. But I'd rather criticism was based on facts and not what the Daily Mail reports.
My first encounter with the song was A Perfect Circle's version in a minor key: https://www.youtube.com/watch?v=Rakape74oNY

I still prefer it to the original, but do you think it's as boring or facile as the original?
Ask HN: Does anyone have strange behaviors with Google Keep reminders?
Like a lot of people, I switched from Google Inbox to Google Keep a few months ago. I heavily relied on the reminder feature of Inbox for my personal and professional life. It worked like a charm.

Google advertise Google Keep as being a fine replacement for Inbox's reminders.

This has not been my experience. Notes and reminders are often out of sync between browsers and devices, often requiring a full ctrl-F5 / restart of the app to properly sync.

Also, reminders keep popping at the wrong time. Yesterday night I set a bunch of reminders to pop at 8:00am today or 7:30pm. This morning a lot of them were configured to either 9:00am and 5:00pm instead.

Last but not least, I might try to put a square peg in a round hole, but it is a complete drag to clear completely a reminder after being done with it. It requires 4 clicks on Keep (Go to reminders, mark as done, go to Notes, archive), instead of one on Inbox (mark as done). This let me think Google Keep is not made for an Inbox-like workflow.

As I'm still mourning Inbox, I'm thinking of ditching Google productivities app altogether and switching to something else.

Has anyone a similar experience ? Am I doing something wrong ? Does anyone has a great alternative to reminders in the style of Inbox ?
If you’re handy with electricity and don’t mind fracturing a few rules, European kettles work just fine on 240V 60Hz power. A British 13A plug in the kitchen is a nice conversation piece too.

Note: because of the US “split phase” system, the neutral wire won’t be neutral anymore but rather 120v above ground. The kettle bases I’ve used are well designed, but do be careful.
Automated LiveChat Support Service Can Reduce Your Customer Support Cost in 2019
People should just buy the Oyster, problem solved and it's cheaper unless you're making only one or two trips
Regardless of any lack of referential hygiene, or reliance on side-effects such that the same piece of code is not expanded the same way twice, CL macros must not mutate the input AST, period. It is undefined behavior, and easily avoidable.
The Power of the EOD Report
I live in London and travel to America 10 times a year over the last 3 years. I would agree with above.

In the USA I see more people with chronic healthcare issues that have not been treated (they just get on with it). I suspect its because of the cost of healthcare - in the UK minor issues like leg injuries dont require you to think about cost before seeking treatment. whilst in the US you would have to consider if its a good ROI based on your income.

So the cost may be enough to nudge US ppl to ignore, whilst the free element means more ppl seek intervention in the UK

Of course this is just opinion and not real data.
Why I Don’t Use Golang Web Frameworks
I find this worldview tends to face difficulties in practice because on any reasonably controversial issue you can find solid evidence that 'both' (assuming only two sides here for linguistic ease) sides are wrong, and evidence that both sides are right. So which do you choose? Neither? What if it's an issue that you find particularly relevant? Do you now base your decision on popular vote? Weighted vote? Or do you go with what you personally find most compelling? Something altogether different?

To avoid the hornet's nest that is contemporary issues let's go back a bit in time. Is Earth in the very center of the universe with literally everything in existence revolving around it, a geocentric view? Or do we live in a universe where the Earth holds no particular relevance and is just another rock rotating around our star, a heliocentric view? There is hundreds of years of astronomical evidence indicating that the Earth is at the center of the universe. But at the same time you understand that alternative views, heliocentricism in particular, have not been given anywhere near the same degree of consideration. It borders on heresy against the established political forces, but even in academia it turns against centuries of established research. But might we be missing something?

Personally you find the models used to articulate the astronomical 'reality' of a geocentric to be rather unrealistically fanciful. Mercury at some point in its orbit literally stops and just starts going the other way. Most of all the planets have to travel in these really peculiar swirly orbits that we don't really have any physical evidence of in any other phenomena. Perhaps most worrying of all to you, the models used to demonstrate a geocentric universe are completely unfalsifiable. Each time we make a new observation we simply tack it onto the model. There is no way the model could ever be refuted outside of being able to view the universe through the eyes of god himself, which is something we surely will never be able to do.

So would you choose to believe that the Earth is at the center of the universe? Or might you find it something less than compelling in spite of the fact that 'logic, evidence, reason, and reality' as framed by the times had entrenched it as indisputable fact? In any case there would certainly be no indisputable evidence that Earth was not at the center of the universe with everything else revolving around it.
"Staying in the North side" I guess most of the city is on the North, there isn't much to see in the south

But yes, it is a lovely city (though because of its size it's hard to "go around" if you don't know what you're looking for exactly)
Both may have been influenced by ideology, but were the practical outcomes identical?
Real-time phone location can be purchased for a few hundred dollars.
255W TDP for a single socket, holy shit, that pretty much demands a 280mm radiator size water cooling loop setup (2 x 140mm fans).
Show HN: Distributed blockchain experiment written in Crystal
The Icecast/Shoutcast protocol is really simple, and supported on basically all platforms. I've made some fun things with implementations [0] and I know a few guys who have made a business of it.

[0]: https://github.com/livebassmusicrightnow/even-nicercast
Read on their own, I'd be inclined to agree - neither the 4th or the 5th on their own appear to prevent this. However, taken together, I'm not so sure. Clearly a person can be searched under the 4th, and the discovered evidence used. However, when the accused has to take a more active role (Face ID/Touch ID/password), that would seem to go towards being a witness against yourself. As such, any search under the 4th would go towards being an unreasonable search, warrant notwithstanding, as it is predicated on a potential breach of the 5th.

It's a bit of a stretch, but I don't think it's _wholly_ without merit.
Top Software Development Methodologies: Pros and Cons
I am wrapping up The Righteous Mind and while I think there are a lot of intuitive ideas presented in the book, I have a lot of problems with Haidt's arguments, things he isn't addressing, and his approach to the field in general. It's been a great exercise of critical thinking skills for me.
I accept incorrect host keys a couple of time per year because the IT has changed an IP adress or when a server is replaced. I do not always bother to check that I have a mail notifying me that the change was planned. Knowing this new vulnerability, I will take care to not perform a scp toward my home directory and I will double check PATH when logging to a new account (check that PATH does not contain "." before /usr/bin and /bin). IMHO, this is a major vulnerability for unix users.
Nope, it’s less optimistic. The 4K of permanent units are funded by 50% the budget over 8 years; you’re suggesting 100% allocated to 5.6K units over the same time, a 30% worse bang for buck.

And you’ve cut the homeless out of the picture. The other half of funds is dedicated to mental health, addiction and other needed services for the homeless population. You’ve completely misunderstood the aims of Prop C.
The thing I love about Kubernetes is that it's batteries included and enterprise-first. Sure, it's not as simple as docker but when crunch time hits and you need security depth the configurability of Kubernetes is unmatched. Perhaps it just needs to be surfaced better.
CRL and OSCP have been asked for for a very long time! I don't see them coming anytime soon.

The golang TLS library author has a thing against them, so chose to not implement them[0].

Personally, I think he's wrong. He's describing a web browser style use case and not an internally managed CA for a single specific service, and he's then applied that reasoning to a languages TLS library. And it's left essentially all TLS in golang without revocation support.

For Kubernetes, you'll need to wire up nginx/haproxy whatever in front of every endpoint to do TLS+CRL checks before handing off the connection to the actual backend (kube-api, kubelet, etc) over 127.0.0.1 (still with SSL! Lookback is not safe when untrusted code is running on your server..).

[0]: https://www.imperialviolet.org/2014/04/19/revchecking.html
Why would I put my most important data on someone else's computer?
I see so in the case that I scp from an untrusted host, I could have added risk that it is silently overwriting filed in my local home dir.

That makes sense I suppose. I never scp files from untrusted hosts, nor can I think of a use case to do so, so it hadn’t really crossed my mind.
It's not so bad if you think of it more like a folding desktop that can occasionally be transported from place to place. The total weight is a lot less than a mini-itx chassis and a standalone 20" class monitor... But not by much.
I’ve always thought that if someone gained the ability to surreptitiously capture my devices’ camera feed, I have bigger problems than just my image getting leaked or used as blackmail (because that would necessitate something blackmail-worthy). Also, they’ll get some pretty boring pictures. What else should I consider here?
> Microsoft, as great as they are at OSS

Just a few years ago, that would have been a laugh. Don’t get me wrong, I love the world we’re living in :)
For those not seeing the implication: These are areas that have some of the UKs wealthiest residents.
It's not loading for me.
> One-trip tickets on the Tube were surprisingly expensive, £4.90. This is likely a form of price discrimination for tourists, as the cost for the Oyster and Contactless payment cards is much lower.

He should have just bought an Oyster card. Anyone can buy them, and you can buy them from the ticket machines on almost all tube stations.

There is absolutely no discrimination against tourists.
> Curb cut grips: I can imagine that these grips are important when the ground is wet and slippery. Would not be fun to find yourself tripping into oncoming traffic...

I thought those studs were to make it clearer for blind and partially sighted people where the crossing is?
I sometimes like to say that the Nix language is like JSON with functions and multiline interpolated strings, both of which happen to be extremely useful for system configuration and package definition.

In fact packages in Nix are functions. Dependencies are just function arguments. It makes a lot of sense.
Binned & overclocked i9-9980XE’s are already available though. I’m honestly at a bit of a loss to understand Intel’s latest offering. But hey, it made us stop laughing about 10nm for a few minutes.
More than 50% of pay-as-you-go journeys are made with contactless as of April 2018, so I don't think "very few know" is fair (fare, heh).

http://content.tfl.gov.uk/contactless-top-line-figure.pdf
Constructing Multi-Turn Conversational Voice Experiences with a Knowledge Graph
I guess they will just put your phone to your face and claim it was unlocked.
The risk mitigation part here is that you know in advance a server has moved before you try to SSH to it. The real risk is less than cautious people who might choose 'yes' to accept a new host key when sshing towards a sshd that they have no prior knowledge of having changed IPs, or having been re-imaged, etc.
Rich fat people exist, and are demonized too. Obesity is a result of overeating, and can be avoided even if you're poor. Rice and frozen bags of rich veggies are cheap.
I quite like London, and am sad that Brexit will likely mean I won't be going there on business anytime soon.

Like the article points out, I'm especially fond of the tree-lined streets and tue overall quiet in the mornings.
I use Notion with a non google e-mail and don't mind the password being e-mailed to me. I have to re-auth maybe once a month, tops, and it's one less password to manage.
Sweden: Help Save the Internet from the Copyright Directive
> This different priorities argument comes out every time China is discussed.

So you're trying to invalidate the argument by saying it's mentioned to often? I don't think this is how this works.

> Just because someone doesn't particularly care about censorship and surveillance doesn't mean they don't adjust their behavior accordingly though.

Of course they do, and if you knew Chinese culture you'd clearly see that. The average person trying to make a living might not, but it's the same in the west. Who even cared about the snowden revelations? Certainly not your bus driver. When bringing up the argument how companies like Facebook and google know more about you than your best friend, and government access is just one court order away, how many people counter you with "well I got nothing to hide"? I'd go as far as saying I can at least give the Chinese gvt the props for being upfront about their censorship and surveillance. Before snowden, if you claimed the NSA would be running a huge surveillance program tapping into the country's and world's largest internet exchanges, you got a confused look or were told to put your tinfoil hat back on.

Bottom line is, people in China genuinely think their country is heading in the right direction and the vast majority doesn't care about censorship and surveillance, anyone who's been to China for more than just a couple weeks quick travelling and didn't just spend time with other expats would quickly have learned that. Whether they truly understand the implications of this is an entirely different matter and not even part of the survey. But then again most westerners also don't, they just happen to live in a very free environment and don't realize what they got themselves there, or just don't care (Facebook point from above, voter turnouts).
A history of the sprawling personality clashes over RSS
> the server your home directory is on is compromised

The attack presumes your home directory is client side, and you use SCP to connect to any kind of server, whilst ~ is the client side open directory.

Thus, any server you might SCP to could write to your local home dir. In university, I did this with compute clusters, servers of my association and other servers.

This breaks the SCP security model because it means a server has covert access to your local working path. Whereas normally you know which files SCP touched, so you can verify they are as intended.
This reminds me of the Swiss system, where there's a notion of the "half fare card" which is conventionally supplied by companies in Switzerland to their workers. 50% of the ticket price is essentially a "tourist tax", which is unavoidable by buying a different kind of ticket (like an Oyster card) at the station. I think it's pretty smart.
The server could also drop a "ls" file with execution rights in current directory. If "." is in your path before /usr/bin (I have already encounter that), it may be called as soon as you type ls (generally just after the scp).
I think the throw-away-server approach you mention cannot address enough issues or fulfill enough needs; in particular, I'm thinking reproducible builds:
https://reproducible-builds.org/.

Recent years have shown how badly we need to trust our software, and Nix/Guix are two prime examples of projects trying to tackle this issue.

"Just shoot it" servers lack trust and reliability (assuming you are not shooting a reproducible distro of course :p).
I personally usually don't have strong preferences in politics. Most things make sense (or no-sense) in some light.

That's why I have trouble choosing a party. Most issues are a close decision for me, so they don't clearly fall into one party's political view.
Ask HN: What's the history of [upvote] feature?
The upvote feature is arguably one of the best features of reddit/hacker news. Today it's adopted by many sites in the world, just like the "like" feature of Facebook. I am very interested in how it developed into the feature it is today. Could you people enlighten me with comments and links?
Are there dedicated HFT ICs?
SEO Points to Consider Before Updating Your Website
You are talking past each other.

Consider smokers. Addiction and pulmonary cancer is a disease. Smoking cigarettes everyday for decades is not per se but it's a cause.

We tend to have special moral treatment for diseases that are preventable and caused by one's own behavior.
> I would prefer my dotfiles to be in source control, but they're not yet, as I haven't gotten to checking out the Nix community's tooling for that

Have a look at home manager[0], I use it and have been very happy so far.

[0]: https://github.com/rycee/home-manager
Unix has usually been pretty good about giving you plenty of rope to hang yourself. :) Tools don’t usually protect from their own misuse — in this case not verifying a changed host key.
"<!doctype html>"

Four years ago, I was hired to reboot the front-end development of a french search engine from a blank html page. It has millions of users now.
I wouldn't RAID10 anything, but it's totally feasible to build a ZFS RAIDZ2 pool with hotspare out of a whole bunch of 2TB SATA3 SSDs. People do similar for 'budget' video editing setups.
London is an endlessly fascinating place to live and explore and has a vibrant tech scene that seems to be quite unaffected (so far) from the cold winds of brexit. Extremely diverse and welcoming of newcomers. Highly recommended.

Maybe we could have a list of some London startups?

* memrise, busuu (language learning)

* deliveroo (food delivery)

* revolut, monzo (banking)

* transferwise, gocardless (payments)

* improbable ('cloud gaming platform')

* roli (music tech)

* lyst (fashion aggregator)

* citymapper, trainline (maps and transport)
Floodlight Open: Understanding MS Together