skysight-inc/HackerNews huggingface dataset:
If you maintain a popular public project, you help the entire JavaScript community if you use TypeScript, because then you can ship perfectly accurate type definitions along with your code. Even if the user is using plain JavaScript, their editor can probably use those type definitions to provide coding assistance.

Also, it's hard to call something a "leaky abstraction" when it's a superset of the thing it sits atop.
NBC took Bob Costas off the Super Bowl for speaking out about concussions
I'd love to hear more details about why they didn't work out than the article goes into. I'm guessing it's because of the combined heat and electric?
It's cutting edge ES type annotations.

That's it.
I remember going to YCNYC nearly 10 years ago, and pg made the argument that anyone starting a company should just move to the Bay Area because it was that much better. I guess NYC has come a long way, or YC has, or both :)
Had a client that wanted a machine learning solution to determine if one name that was in one list was also in another list...
It seems dramatically better. I think the reality is that this is only relative to Google today, not Google long ago. Lots of us have been like the mythical frog in the slowly-heated pot, failing to notice that Google is getting worse. For business reasons, or because executives have an agenda, Google now refuses to prioritize what users want.

So yes, you should try it again.
>> I really don't think you were using TypeScript correctly from everything you've written

I've worked in multiple high-performing teams and have only received positive feedback for my TypeScript code so I'm pretty sure that I'm using it correctly. I don't like it, but that doesn't mean I'm not good at it.

It's not in my personal interest to say bad things about TypeScript. I'm just sharing my honest unbiased experience.
Here's a hypothetical feature of all package managers:

* for all stable packages requested by the user, always upgrade to the most recent stable version that has the same major number as the one currently installed

Can npm, apt, cargo, guix, etc. safely do this presently for the set of packages that use semver?

If the answer is no, then what is the value to using semver?
'ox_n appears to be trying to prove (by a pigeonhole agument) that the equation x^n + y^n = z^n in unsolvable for _some z_. That's much weaker than proving that it is unsatisfiable at _every_ z.
Instacash
Hi, I am thinking of an idea to enable cash delivery at home (or point of consumption). Order cash and get it delivered for a nominal fee. Fee is dependent on how quickly you need it. Question is do you need cash regularly? Do carry cash in your wallet? Have there been times you wanted to cash (say for laundry, hair cut) and you didn't have it on you.
Maybe this drill is a preparation for democratic election free from foreign influence?
Forget the Mandarin Duck, a Boring Bird Divorced from Nature
Thanks! We've certainly explored that avenue in the past, working with city centres & BIDs to get street footfall data.

We're also talking with malls, who are trying to get footfall traffic data in myriad of different ways already, at differing levels of quality. They may not want to share their information with 3rd parties, but would be able to do trend analysis for their own purposes.
Maybe people that work in Office all the time don't visit HN or the ones that do don't bother to submit articles.
Before Firefox Multi-containers, Amazon decided my wife and I were pregnant. I've shared the story on Hacker News before, so I won't go into too much detail, but the short of it is - it decided (incorrectly) that we were pregnant, and started sending weekly "you're pregnant, read our tips, buy things" emails to me. As a couple with troubles conceiving... it was not welcomed. It was salt on a wound. And thus far, I have found no recourse. I'm uncomfortable that corporations can readily collect and analyze information about us, misinterpret it at times, and attempt to influence our behaviors and choices based on this. It's not a new problem - humans have done this before. Now computers do it, and very large companies that do not care about "rounding errors" are not really prepared to apologize or improve their systems to avoid causing some people emotional pain or any other problem.
A 17MW nuclear plant sounds unrealistic with currently approved technology.
There is an entire field of economics which basically rejects the idea of human beings being rational economic actors and making decisions based on sentiment. If enough people tell you that there is a recession, it's not impossible to think that a significant minority will ignore the numbers and actually start believing it.
India Forces Amazon to Choose Between Operating E-Commerce Platform and Vending
The problem is not the web tracking, the problem is your obsession about it. Stop worrying about it and your mental health will improve. Are you going to raise your kid to be afraid of the shadows around every corner?
> "Would we have as much compassion for a school opening on a pacific island where everything needed to be transported in...when you could instead move people to civilization instead?"

Weird example, I would expect more compassion from most people for that scenario. Criticizing coal plants is common but criticizing people for living on Hawaii seems.. unusual.
I am using Stripe with a self-hosted CRM software I bought (slightly modified for other reasons, but not the payment module.)

Stripe alone can take care of it. Subscription or any type of recurring invoice system would be sufficient enough to stop collecting the check. Although, it comes with nearly 3% fee, which is fine because I see it as "what if I couldn't collect one of these invoices". That 3% really doesn't hurt much at the end of the year as long as you collected 100% of your invoices. Missing 2-3 invoices can truly hurt though.
And Spotify can control their service how they please, next.
Except on Android where the math takes up more horizontal space than the layout engine thinks it should, causing overlap with text after the math.
+1 for the NixOS configuration tip!!! Glad to learn it's working well on Ryzen!
1: Treason against the United States, shall consist only in levying War against them, or in adhering to their Enemies, giving them Aid and Comfort. No Person shall be convicted of Treason unless on the Testimony of two Witnesses to the same overt Act, or on Confession in open Court.

Have you read it? If you don't think overthrowing our democracy is an act of war against the USA or giving our enemies aid and confort....

https://ih0.redbubble.net/image.16046137.2447/ap,550x550,16x...
Hi there, do you have any Junior/mid level positions for those who work with python? Or are you looking for Java developer specifically?
I think it does when nearly everywhere else coal plants are being replaced by other kinds of power generation.
Code has bugs. I don’t even write that much typescript and I’ve looked trough the transpiled code just so that when I encounter a bug I’ll be familiar enough to debug through that layer.
That's a little bit unfortunate, as I think that the topic could be explored much, much deeper. For example, are there any social considerations when it comes to not sharing these details? Will you be ostracized or seen as weird by your friends, will you maybe even trigger automated alarm systems because your behaviour is seen as fraudulent, etc.

(at least the last part is alluded to, but it comes through yet another link; if I want to follow many links, I go browse Wikipedia, not an article that purports to be a long-form essay about an interesting topic)
An optimization guide for assembly programmers and compiler makers (2018) [pdf]
Semantic versioning reduces the social cost of breaking changes. It makes them more likely.
they said "nothing penciled out" but I would be curious to see an actual explanation of the costs of various energy sources... I can't imagine natural gas would have been that much more expensive, and in terms of indirect financial costs would likely have been a better choice (creating much less localized pollution)
Great way to cut down on YC's carbon footprint, while also saving everyone some travel time.
This made me laugh out loud. I identify with the sentiment (I can get pretty pedantic about how code looks), but I wouldn't take it to that extreme.
Hawaii is years ahead of its targets to move to renewables, which is why I didn’t use them as an example.

I meant somewhere like the Marshall Islands, where there’s nothing.
Oh dear. Talk about fatigue decontextualised misinterpretation.

Thanks for clearing that up.
A couple of thoughts come to mind - are you doing this because there is a dip in the number / quality of applicants being SF-only, or are you hoping to grow YC on top of the SF-base with these new "hubs". (i.e. have we reached peak "good ideas" in the US?)

Second thought - I need to get my butt into gear ...
That seems like a problem with Java or Maven: it doesn't allow multiple major versions of a library to co-exist within a project. NPM and I believe Cargo both allow this. There's cases where this isn't great (where multiple libraries each need to communicate with each other using a data structure implemented by another library, but they each depend on a different version of the data structure library, or where the library you have multiple versions of is gigantic; this might be a good argument for using many small and focused libraries instead of fewer big ones), but overall allowing multiple versions in one project can save a lot of needless headaches.
What does "safely do this" mean here?
Related to tech but not technical:

The Psychology of Computer Programming by Weinberg. It's a bit dated (references PL/I, tapes and punch cards), but the content on team structure and programming psychology is actually pretty good and mostly seems to hold up (based on my own observations of myself and offices). It's one of a variety of books I've read recently that hasn't really taught me anything "new", but has connected dots between topics or given me better terms or frames of reference to discuss the topics.

Technical:

The Reasoned Schemer by Friedman, et al. Not using this for anything in particular, but I wanted to do something fun that was programming. It's been a very enjoyable read. About 2/3 through it but got distracted by moving and other things. I'll pick it up after the move next week.

My objective is to read at least one full book per month this year (I often have several books I'm reading at a time, not always to completion). So far I'm on track with that. A variety of topics: system dynamics and systems thinking, project/team management and dynamics, then various technical topics like the above or mathematics.
That makes sense. Thanks for taking the time to elaborate + best of luck!
> I became scientifically convinced that carbohydrates are not food for humans.

Wow. Absolute, complete, and utter pseudoscience. Any references for that one?
You folks think that Russians interfered with our election results, I would think you would thusly support securing our elections...
I'm reminded of a blog post about Facebook's "X years ago today" feature that has shown people pictures of dead children or other relatives, burned out houses, car accidents, and other memories that the algorithm chipperly suggests they share to their timeline. A lack of consideration is definitely a thing.
Plenty of them related to lack of bounds checking handling strings and arrays.

Google has been pushing for the Kernel Self Preservation project for quite a while now, which Android and ChromeOS make best use of, also a reason why the NDK is so constrained on Android.

Security in the kernel also had quite a few talks at Linux Conf 2019, just recently in New Zealand.
While I can't update my original post here its worth noting that 1Password got in touch and said there is a standalone plan with a license purchase - and you do not need a monthly/annual subscription.

https://support.1password.com/upgrade-mac/
From the article it’s not clear that they considered geothermal [0] (though perhaps they did and it was discounted; the article doesn’t say either way). I’d also suggest that this could have been the posterboy for modern nuclear.

[0] https://www.popularmechanics.com/science/green-tech/a2540/42...
Absolutely. It's by far the easiest way to ship an easily consumable API reference with your library.
Maybe your formulation is better. This is something I've been hitting on for some time.

Here's another way of looking at it: how do you know not to do your job?

It's a simple question. All true professions like lawyers or doctors, have clear guidelines for when their services are not appropriate. You go ask a doctor to use his medical skills to hurt somebody and they'll turn you down (hopefully!)

But not tech. You can throw 100 technology developers at anything. Doesn't matter if the problem is already solved, whether it needs solving or not, whether it's ethical to solve, or whatnot. Doesn't even matter (and this is more to my point) whether you can do it in one line of code or a million. In fact, a million lines would be better! Keeps everybody looking busy.

We desperately need better ethics in our profession. Code budgets can help some here, but there's a lot more room for growth.
Anecdote: I had a surgical incision around six inches long glued shut after an operation in the UK. No stitches. I was surprised, but from talking to the nurses it sounded like that was standard procedure. Judging from other comments, the stuff they used (DermaBond) is a variant of superglue.
> If the answer is no, then what is the value to using semver?

So that humans can get an approximate idea of the pain involved with any particular version upgrade. It doesn't need to be fully automated to be useful. Plus, just because it can't be fully automated now doesn't mean that it won't be in the future.
The problem that you end up with past a certain scale in a component-based app without a state management framework (third party or your own) is that you're performing business logic inside view components. By moving your business logic into your state management framework and using something like redux-saga that is designed specifically for managing complex asynchronous workflows, you can extract your application code from your views and make your views pure functions of the state tree.

When I hear someone complaining about redux using global state, I like to ask them what makes global state bad. The answer is usually that it allows any part of the application to change a value, which makes debugging difficult. This doesn't apply to redux and similar frameworks because every slice of the state can only be managed by a single, pure function, which makes it incredibly easy to debug. Additionally, redux uses a copy on write mechanism, so your state tree isn't actually being mutated, which allows you to use equality comparison instead of a deep compare to see what state has changed. That, combined with the fact that all actions go through a central dispatcher that is easily audited means unit testing your state transitions is almost laughably trivial. And since you are pulling all of your business logic out of your UI components, you can avoid the side-effect hell of unit testing your UI.

Having said that, I won't use react or redux for any website that doesn't have a heavily interactive UI with complex state that must be shared across many pages. Managing application state in your front end is an enormous burden and you'd be crazy to take it on without a need for it.
Stable linux distros have a long history of backporting security patches themselves - RHEL does this the most/longest, Debian and Ubuntu somewhat less but still a lot. They've given up on web browsers, but for most other stuff, definitely including java, they certainly can and do support what they have released. In the linked issue, it notes that they already have backported some security fixes that were in 11.0.1 to openjdk-10.
Nice introduction to group theory. I wish my math profs had used some of this material.
I'm sure Steve would have loved to put the product guy (Jony Ive) in charge but I bet Ive didn't want the job. This is why people like Steve Jobs are so rare: product guys who want to run the company and deal with all of the business stuff instead of rolling up their sleeves every day.

People criticize Steve Jobs for the fact that he was never an engineer. But he was never a suit either. He was more like Santa Claus: running around his workshop and getting so excited about all the new toys the elves come up with. He could play with your demo for a few minutes and tell you what was wrong with it, from the perspective of a non-engineer, and thus give you feedback on things that engineers take for granted.
The Mind, the Brain and the Computer (2018)
that wasn't even the point of my comment, you're insisting on derailing my argument and reducing it to something I cannot verify, and seriosuly, wtf do you think HN users are? housewives or wall street bankers? HN is an online community for tech workers especially software engineers, insisting on giving the evidence that 99% exactly of the users are software engineers is childish to say the least
They... should be able to. Per SemVer rules you should be able to do just this. As an example, you should be able to upgrade from 2.0.0 to 2.25.99 without a single concern, because 2.0.Z is always backward-compatible bugfixes, 2.Y.Z means new features in a backward-compatible manner, and if -anything- ever breaks, then the major version would change, and you wouldn't automatically be upgraded to it.

The only time that the answer would be "no" is if the project advertising itself as using SemVer breaks the expectation, since you have to trust that the developer actually knows how to use SemVer.
One of the guys at the office last year was quite happy for sending photos, sms and doing phone calls.

Not everyone wants a computer on their pocket.
Not just in a single thread, in the same thread as DOM rendering. It's conceptually impossible to use a website in the time the javascript executes (except for webworkers etc).

Still, javascript issues tend to cause too many hangups of other parts (browser UI or other websites). We are in the awkward position where OS threads are considered too heavyweight to use an entire thread for each tab, but browsers haven't implemented a more lightweight alternative either. So things just share threads when they really shouldn't.
That is also true. But I don't like the original article treating "being wealthy" as the, uhm, chicken?, in this chicken-egg problem.
If I consume library X at version 1.2.3, develop my application, and then library X is upgraded to 1.2.4, should I pull in this new version? What about if it is upgraded to 1.3.1?

The answer is maybe, but there are a few questions that need answers first:

1. The author of the library has stated that there are no backwards incompatible API changes. What is my confidence in this assertion?

2. In asserting that there are no backwards-incompatible changes, they have asserted that there is no new behavior as the result of bugs. Am I sure of that?

3. By stating my application is using v1.2.3, I am stating that I am _correctly_ using the published API. Am I? For example what if an API returned a sorted list, but that was not a guarantee of that API?

4. Are there benefits to upgrading that make the risks above worthwhile?
Check out enpass. Small, one time payment per platform. (Free for certain usage). It is a native client that supports sync. It also works well cross-platform, including linux. The mobile clients are also good.

https://www.enpass.io/
~$100k/year if returns are based on 10%. Aka, what some people use for expected S&P returns to beat
Because eventually there aren't any buyers left willing to spend buckloads of money as Apple is slowing experiencing the mobile version of PC vs Mac.

Their back account might hold for a couple of decades to come, but eventually they will need to come up with something else.
https://www.uaf.edu/heatandpower/background.php
This is just for the interviews, I believe accepted companies are still expected to move to the Bay Area (at least for the duration of their batch)
Markets to Build in 2019
"Not a competitive business model" is a stretch.

You might be right, but you should have pretty high uncertainty about that claim.

If driverless tech reduces the delivery cost down 10x, the average consumer might be very willing to walk out to the street. Some might even do it in the rain (umbrella, etc).
the real value to be captured isn't footfall and such because the real efficiency of e-commerce isn't a-b t testing; it's retargeting. Amazon go and their competitors are solving this problem https://m.youtube.com/watch?v=yeS8TJwBAFs. I'm sure you're aiming at the same thing though.
Smart pills filled with tiny needles could inject medicine directly into stomach
that seems mostly due to pesticide use which is unrelated
Oh cool. I've done a lot of similar projects in recent years with Apps Script [1]. With a script that's tied to a document (or even a standalone script that references Docs by ID), you can design your own API of sorts. Take in HTTP GET and PUT [2], run commands with DocumentApp [3], etc.

The upside to a system like that is, the authorization flow is abstracted completely out and handled by Google. You just pick from a dropdown as far as who you want to have access to the Web App URL, and you don't have to deal at all with setting up an OAuth flow.

1. https://developers.google.com/apps-script/

2. https://developers.google.com/apps-script/guides/web

3. https://developers.google.com/apps-script/guides/docs
Maybe you could get your hands on some spent reagent bottles, or even just photos of them. Reset the system's memory in between uses if it requires new bottles each time.

Hacking the controller could be challenging if it's been deliberately hardened.
> “we have reported an unusually precise hexagonal modulation of the fMRI signal during nonspatial cognition.”

The article has an illustration of a hexagonal lattice but makes zero explanation of what that means in practice, and the sentence above is the only actual reference.

Can anyone here explain what hexagonal modulation means, and what it means in the context of an fMRI signal?
Emojis Don't Mean What They Used To
Disastrous PR incoming. Did NBC not foresee this biting them back?
Nr4. "people argued that it would be faster to only pass the data you need as JSON than to render whole pages" - This also kills your SE(O)-ranking
Do you really believe this is the main motivation behind people who are blocking Spotify ads? That they are sophisticated tech users who wish to express their distaste for intrusive script-based ads? Or is it simply because they want to use Spotify ad free without paying (in other words, engage in piracy to save some money)?

I find this rationale, while likely true for many readers on Hacker News, unlikely to generalize to overall population fo Spotify ad blockers.
Being able to apply suction on my command seems like an added benefit. Sometimes I think I'm going to choke at the dentist waiting for him to start vacuuming. Could be comforting for people who aren't typically in the sort of situation and feel out of control of themselves.
I live in Seattle, none of my friends work in tech, none of them make anywhere near 75k, try cutting that number in half. They aren't living in condos in cap hill with the other high earning tech folks but believe it or not they aren't struggling to eat at night either and live comfortable fulfilling lives.
I believe the term would be "Server-rendered MVC framework". I think the argument for server-rendering is simply productivity. You can probably get stuff done about twice as fast if the use case fits the paradigm.