skysight-inc/HackerNews huggingface dataset:
The problem is that almost every new device now includes these hidden contractual strings. Your phone will only run software signed by the developer, same with your smart tv, chromebook, your car, many new refrigerators, etc.

As a consumer, it is very hard to determine the restrictions that this imposes on ability to fix as it varies widely between devices.

I haven't seen any manufacturer label these items as a lease nor be upfront with the support lifetime.
So if I understand this right, what GitHub did was something like:

user = get_user_from_valid_email(params[:email])
send_reset_email(params[:email])
# instead of
# send_reset_email(user.email)

?

I've seen this pattern before and the reason is usually something about using the variable in memory as opposed to the function call. Total non-optimisation.
React/AWS lambda/AWS DynamoDb+S3 for prototyping CRUD variations.

Anything else would depend on the app's features.
Ask HN: As a young person, what can I do to make things better?
I am a college senior, and I feel that I and many of my peers grapple with the question of how to make decisions that will allow us to cause positive change. It is not that there is a shortage of problems, but that the path to doing anything about them is so unclear. The most common advice seems to be to "vote with your dollar/behavior", but I struggle with this advice because it's hard to see the connection between small daily decisions and large scale change, and harder to have the discipline make those decisions regularly. With this in mind, I'm curious as to how I can direct my career to put myself in a position to have a positive impact. I am hoping that some of you who are or have been where I am can point me in the right direction.

I am graduating Spring of 2020 with bachelor's degrees in Computer Science and Philosophy from a top 25 University. Next year, I will be working in the Bay Area for a fortune 500 company as a software engineer. I'm excited to work there, and I like the company, but I don't believe my work will have an impact on the problems I care about e.g (education, democracy, and sustainability.) I chose computer science because I believe that the best I could do was to build systems and tools to make positive change easier. Now that I'm this far, I'm not really sure what to do next? What skills should I try to build, technical or otherwise? What kinds of companies do I try to work for? What kinds of mentors do I seek out?
Tight coupling to binary blobs and proprietary HALs + vendor specific OS changes etc make maintenance a chore - everyone in the chain has to be on board for it to happen.

They are incentized not to, new phones means profit for carriers and new hardware means profit for chip makers.

Maintaining old products costs money, not maintaining products saves money, planned obsolescence prints money
The drivers don't work fine when you upgrade the Linux kernel - which is the planned obsolescence that Qualcomm has relied on to push the sales of the latest Snapdragon. I don't know if custom Android ROMs are still a popular, but (SoC & camera) drivers were what forced custom ROMs to stick old kernels.

Project Treble is Google's plan to keep the drivers working - I don't know how well that's going seeing that OEMs were given the option to not support it at the time it was launched.
That's intentional tension. Just concentrating into some activity creates some tension in the muscles and skews the measurement.

Here is something you can try: Lay relaxed in a bed eyes closed. Program a timer to give pleasant audio signal at random intervals 10-60 seconds between. See if you can detect the signal from EEG.

In general you need to process the signal if you want something useful out of it. The real EEG is very weak coming under skull. Noise from the surface has 100x higher amplitude. Most of what you see visually from spectrogram is just signal noise.

Here is good intro: Classification of Artefacts in EEG Signal Recordings and Overview of Removing Techniques
https://pdfs.semanticscholar.org/cba7/b93c6810a7bbc5917bbaef...
But Swift has had a more specific target platform, where it wouldn't make sense to produce excessively high level generic abstractions.

Whereas a language like Haskell is happy to try some absurdly abstract concepts in the interest of promoting computer science.
Sure, if you can put up with the terrible smell. And lasers strong enough to burn hairs being deployed by automated robots? The first stray laser (either direct or reflected) at someone's retina will shutdown this idea quick.
You have to be kidding me. You are trying to assert that paragliding is safer than flying on a 737 MAX? Seriously?

How is this even a reasonable, thought out argument to work against? I downvoted you (and a lot of the other over-the-top reactionary nonsense from armchair “aviation experts”) but I figured I’d at least explain why.

Why is it every discussion on this site that involves any large company full of such over-the-top vilification? It’s so predictable and eye rollingly childish....
"Just tell the story"

It actually comes from writing for the screen. Our novelistic and theatrical instincts compel us to fill a page with decorative flourishes demonstrating our creative elan. But our audience is just craving a memorable tale.

Obviously just as applicable to pitching your startup ;)
Your statement isn't incorrect, but it has missed the point. Yea the middle class will always bear the majority of the tax burden in absolute terms, but that doesn't mean it's silly to tax the rich, the take home is pretty minor but they should always be paying more money in absolute individual terms than the middle class - right now they usually pay less, sometimes they pay nothing, sometimes they get a handout.
I presume your parent is referring to the double nonlocal/global statements, which are never valid productions for the atom grammar even when they are validly produced.

Here, the production is func_body_suite → stmt+ → (stmt, stmt) → (simple_stmt, simple_stmt) → (small_stmt, small_stmt) → (global_stmt, nonlocal_stmt) ; syntactically, I'm inclided to agree that the code sample seems valid. (It is, of course, semantically malformed.)

I suspect that there just never was a separate exception type for this sort of thing.
I used to be excited by new technology. Now I'm thinking we're just automating ourselves into a far, far worse existence largely driven by greed.
Back in 2009 my family member was a partial owner of an electronics recycling facility in northern California. I worked in warehouse at times and I can tell you from experience that everything was incinerated or recycled. They had huge deals at the time with Apple and Lucent. Part of the deal was that all the precious metals that were recovered were given back to the companies for manufacturing. Most surprising thing for me was that the cost of insurance was one of the most expensive things on the books because of the amount of precious metals they had on hand at any given time.
Except that it's actually very trivial to make such an exe.
eplanit, right there with you. There's a couple variables ahead in our list (precision, speed, repeatability) but cleaning up the hair will eventually get added to that list. My hunch is we'll start exerting tighter control over the end effector (which is just a Wahl trimmer right now) as we mature.
high-carb foods increase risk of type 2 diabetes. news at 9.
It seems a lot easier than driving a car, and your description of the task sounds like surgical robots, which are a thing already, with superhuman capabilities.
Show HN: I Graded Software Companies on Their Perks/Benefits/Compensation
this is phenomenal and I look forward to using it, has anyone done something similar for linux distributions?
Much of the emerging evidence is that while the amount used in livestock makes for flashy numbers, it's likely medical overuse in humans is the main driver of the problem.

Recent mini-thread on it by Marc Lipsitch, a Harvard epidemiologist who does a lot of work in the area: https://twitter.com/mlipsitch/status/1206419839872569346
I think you mean 'started with an RSS reader' - omea reader was ace :)
This is a good summary!

I think the biggest reason why bitemporality hasn't seen widespread adoption is that it's a hard problem, both for DBMS implementers to solve and for users to adopt, when constrained to a world of SQL and tables.

Crux not only has first-class support for bitemporality in the core engine but saves the user from having to worry about how and when bitemporality impacts the schema. This is because everything in the database gets a bitemporal history by default, without the user needing to make upfront designs & decisions.

Point-in-time Datalog queries traverse the entity graph using a very simple schema-on-read behaviour and this can serve as a foundation for more complex relational modelling and constraint enforcement.
Same here. My final straws were 1) my regular local barbershop suddenly disappearing on me, while I was still holding a few of their discount haircut coupons I had stupidity to buy in advance (let this be a lesson to you folks), and 2) tried another shop and saw in horror how dirty their tools/accessories were.

So being a DYI guy, I watched a few YT videos, bought $20 electric clippers, made my share of beginner's mistakes, but now I really enjoy getting better at it and won't go back at any price.
ACME is entirely based on DNS. The HTTP and ALPN challenges look up which IP address to speak to via DNS. The DNS challenges look for a TXT record in DNS. (Letsencrypt tries pretty hard to ensure that the DNS is legitimately being served by looking up the IP address from multiple networks, so you can't disrupt one of their networks to issue fake certs. But it has no idea who really controls your DNS server or glue records.)

If you host your site at foo.example.com, then example.com can get a wildcard certificate for *.example.com that will be valid even if you have your own foo.example.com certificate and they can also change the A or AAAA record for foo.example.com to get a certificate with an HTTP challenge.

You could always petition browser vendors to pin your foo.example.com certificate, and thus override any tampering by the example.com DNS server. It is exceedingly unlikely they would do this for you.

TLS certificates these days only prove one thing: control over the DNS server at the time of provisioning.
Damnit I love Honey Nut Cheerios. Damnit.
Two of the richest investors I can think of off the top of my head (Warren Buffett and Steven Cohen) have an education in economics. In fact, lots of fund managers do. Also, economists as a group are quite varied, and dare I say the more successful ones are making millions trading and working for banks, not making public predictions.
Does that make any practical difference for animals meant for consumption like beef cattle, hogs, or chickens? You can give them all the antibiotics you want until a few days before slaughter.
Exactly, never thought I'd say this, but true.
The US needs Boeing for military planes.
Then today you learn that Paul Graham is a tool.

There are Lisps that improve on the situation. In particular, vau calculi/fexprs are worth examining. http://lambda-the-ultimate.org/node/4093

There are also systems like Forths, where the compiler and interpreter really are the same system, in two different modes of operation. In these systems, there is only runtime; compiletime is a specific style of runtime.
Most people are forced into it -- by things like pain, suffering, and the prospect of a future featuring more of the same.

What you're really getting at is being forced into it by humans and/or groups of humans, and when it comes to that, you'll have to delineate your categories, identify incentives, and then either counter those or eliminate them.

Two to consider would be greedy relatives looking for some kind of inheritance and health insurance companies hoping to avoid another million dollars in keeping someone alive.
I'm on a similar page with Comcast.

I had problems with their service back in 2008. Long story short, my internet connection dropped frequently (20+ times per DAY), and not only were the techs unable to find the problem, but wanted to charge me for the visits since they assumed that it had to be a problem with my computer, even though it was the lights on the cable modem showing a loss of signal. After that debacle, I swore off Comcast and said I'd never use them again.

I doubled down on this boycott as net neutrality debates heated up.

But these days, my choices for Internet service are Frontier FIOS or Comcast. I'm on Frontier, paying $40/month for 30 mbps, but only get 20-25 mbps. They supposedly offer up to 500 mbps, but won't tell me what the off-promo pricing is. Comcast at least includes it in their fine print.

Having only 30 mbps is starting to be a drag. I'm a gamer, and having to wait an hour or more to download a game that my friends are inviting me to check out is lame. I'm starting to consider Comcast, even though I hate them so bad.
This isn't a technological breakthrough, though— Twitter is a jacked up, turbocharged shortcode SMS for the web. Also, I don't think it's true that Trump was elected solely by leveraging Twitter (though there's no doubt he has leveraged it more effectively than any other president). There are a number of factors that played into Trump's election.
ClojureScript / Clojure / React Native
The code is not open source. However, If you inspect the network traffic from Chrome developer tools you can verify there are 0 post events occurring.

True, you can do this with many languages like python (quite easily with pandas as you pointed out) or with awk, perl, even cat (minus ordering) etc. For more power users Excel Power Query is your friend, but as you know these require script setup and memory considerations.

This tool is geared for ease of use anyone can do without the fuss of custom scripts and/or setups and for the most part almost zero memory concerns as the output is being written on the fly.
To the sibling comments, here are some prior threads about other critiques of Swift:

https://news.ycombinator.com/item?id=17278175

https://news.ycombinator.com/item?id=15421073

https://news.ycombinator.com/item?id=13655125
I'd say more helium is generated in the Earth crust than the potential fusion reactors powering all of humanity. Probably by several orders of magnitude.

Just distill it out of the atmosphere before it escapes into space - it'll be only a small order of magnitude more expensive than today's helium.
I’m a firm believer that any sort of fundamental research and their outcomes should be owned by the public. We may have to contract a company to build the thing, but the knowledge should be free for all.
I had chronic IBS, GERD and other inflamatory-related issues resolve almost immediately upon transitioning to a ketogenic (ultra-low carb) diet. The transition to keto can be hard due to lifelong habits but once I got through the first month, it started getting easier and now I love what I eat and I'm the best shape of my life.
The middle of the period called "modern art" seems to be about 1915.
That is about the minimum possible religious content, so little that many people would not even notice. And you regard that as "religion-down-the-throat"? I would suggest that you are a bit hypersensitive.
Ask HN: As a young person, what can I do to make things better?
I am a college senior, and I feel that I and many of my peers grapple with the question of how to make decisions that will allow us to cause positive change. It is not that there is a shortage of problems, but that the path to doing anything about them is so unclear. The most common advice seems to be to "vote with your dollar/behavior", but I struggle with this advice because it's hard to see the connection between small daily decisions and large scale change, and harder to have the discipline make those decisions. With this in mind, I'm curious as to how I can direct my career to put myself in a position to have a positive impact. I am hoping that some of you who are or have been where I am can point me in the right direction.

I am graduating Spring of 2020 with bachelor's degrees in Computer Science and Philosophy from a top 25 University. Next year, I will be working in the Bay Area for a fortune 500 company as a software engineer. I'm excited to work there, and I like the company, but I don't believe my work will have any impact on the problems I care about e.g (education, democracy, and sustainability.) I chose computer science because I believe that the best I could do was to build systems and tools to make positive change easier. Now that I'm this far, I'm not really sure what to do next? What skills should I try to build, technical and otherwise? What kinds of companies do I try to work for? What kinds of mentors do I seek out?
Dr. Death IRL:

https://en.wikipedia.org/wiki/Jack_Kevorkian
As unfortunate as that is, due to overconsolidation, this is pretty much a foregone conclusion.

If Boeing were just one in a field of aircraft manufacturers, this wouldn't be half as catastrophic, since that whole supply chain would have everyone else to supply.

But that isn't the case anymore, and it is about time overconsolidation bit something in the arse.
I work in this area, and a couple notes:

- The free market is actually doing a really good job driving down antibiotic use in livestock.

- There's not a huge amount of evidence that livestock use of antibiotics has as big an impact on human resistance patterns we see. Overuse in human populations is a big enough problem on its own. Medicine has, in some ways, been really eager to abdicate its own role in developing resistance by pointing at veterinary use.

- There are a number of policy changes already in effect, but all they can do is kick the can down the road a little. Bacteria will develop resistance to antibiotics - it's what they do. Some more easily, some less easily. This is a treadmill you can never get off - all stewardship does is control the speed. Even with good stewardship programs, we'll still need new classes of antibiotics.
Mozilla has made a commitment to privacy into its products' main differentiator, and I am 100% okay with that. The fact that FF ships with its Facebook container system turned on by default, and that it just works, is probably my favorite browser feature in quite some time.
This is pretty much exclusively what I do. I almost never go into the center isles. Everything I buy is fresh/real unprocessed foods.
I would also note that there are Blazor experiments going on right now for purposes of targeting things like Xamarin and WinUI (both official and unofficial), so one could potentially see Blazor as a single unified framework for all deployment targets on the Microsoft-side of the house in the not-too-distant future. The class partial support offered by the latest version of Razor Components would make it really easy to separate view logic depending on platform (you can use media queries & js interop to discover platform type on web). I.e. you could have MyComponent.razor w/ all the logic, and then MyComponent.Xamarin.razor, MyComponent.WinUI.razor, etc.

E.g.: https://github.com/Daddoon/BlazorMobile and some initial discussion https://github.com/aspnet/AspNetCore/issues/11471
There seems to be very little promotional stuff about the runtime for server-side. What's the story with that for Swift?

I don't think many people are going to start learning Swift just to build servers with it unless the platform/runtime provides something special. Otherwise it'll stay isolated just to the current iOS devs.
One huge issue I've seen as a result of near-zero interest rates is how this has hit tax collection from corporations and the very wealthy.

Currently, if a company earns profits overseas and doesn't repatriate those funds then the IRS doesn't tax them. This all came about due to ridiculous IP licensing that tech companies engaged in (eg sell their IP to an Irish subsidiary and then license it as a form of transfer pricing, essentially).

So companies are faced with a choice of repatriating "foreign" profits at 21%+ or just borrowing money locally at 1-2% to cover local cash needs. This is a big reason why corporate debt has ballooned: it's essentially just deferring tax obligations for years, hopefully long enough so they can buy another Congress to pass a "one-time" tax holiday. Then rinse and repeat.

What the US needs to do is to treat all borrowings as the repatriation of that same amount of money of foreign profits.
Creating a Self Contained Reactive Angular Material Menu Component with Slice
> I think HBO can manage.

how many shows did you produce?
You don't take the bus because you like it, but because you have no other option.
Possibly. I prefer a car over public transit generally, although there are times when transit is more convenient. In those circumstances, I would use public transit more often if it weren't such an awful experience.

Directionally, I think it's reasonable to assume that bad smells negatively impact ridership. It seems all we disagree about is the magnitude. Given how few people ride transit now, even a small number of folks who avoid transit due to smell seems likely to be a decent sized percentage of overall ridership.

I'd bet that ridership would go up 10+% if you could magically remove any hygiene and perceived threat issues. Although now we're well into the territory where we are each just projecting our own opinions, because AFAICT neither of us have data to back our assertions.
Problem is deeper than that, much widespread than one company (Amazon). It's the culture of modern Western civilization. We're all guilty of it, so I'm not blaming anyone or any country. When everything is driven by profit, pure utility, regardless of its currency (it can be time not just money), what we are living is inevitable. Environmental degradation is just another manifestation of the same root problem, climate change, income disparity, you name it.
Not all human interaction is desirable
Why they should electronic makers be "required" to do supply security updates and spare parts for 10 years? To begin with, 10 years is somewhat arbitrary. Why not 12? 15? 20? These tractors could be serviceable for 50 years or more? So why not 50?

Not every consumer wants or cares about this, but every consumer would be forced to pay for it. How would this even be enforced? Who will be the judge of what updates were important and what were not? What if they provide only cheap replacement parts which regularly fail? What if the company goes out of business a few years later? So many problems...

In my opinion it's one thing to create protections that prevent the stoppage of unauthorized repair, or the development of 3rd party replacement parts. However, it's another thing entirely to force companies to provide these services themselves for an arbitrary length of time.
I have Crohn's disease and I've wondered the same thing. Crohn's is affected by diet but triggering foods vary wildly by patient.
Amazon bans third-party merchants from shipping with FedEx
Maybe OCaml/Reason?
I've done keto three times now. It's the only way I can lose weight and eat healthy. I've always ended up breaking after 3-4 months due to missing Chinese & Japanese food too much.
I just use `xsv` for this. `xsv concatenate` and `xsv join` do a pretty good job. Blazing fast: https://github.com/BurntSushi/xsv
Making AI Philosophical Again: On Philip E. Agre’s Legacy (2014)
> I'm curious why this is reported as a SyntaxError.

"Names listed in a global statement must not be used in the same code block textually preceding that global statement"; the nonlocal declaration is a use, and so that syntax rule is violated.

https://docs.python.org/3/reference/simple_stmts.html#gramma...
I don't think it is fair to say high-carb as a blanket increases the risk. Our diets are supposed to be 50% carbs. Just not the type of carbs found in these products. I think the culprits are the relatively simple carbs (or sugars) which are not intertwined with various less digestible fibres.