skysight-inc/HackerNews huggingface dataset:
I felt like I should make a throwaway for this...

I'm the same. I'm in a loop where I hold a job for a few months (IT support, recently, contract work, so that they're okay with me leaving), 10 months or so at the most, and then quit so I have my spare time (and energy) back. The last two times, I went overseas with no plan past the first few days. The key thing about after-work and weekend hours is they aren't as useful for getting things done as weekday hours, because you're tired from work.

I just quit a pretty relaxed IT job to move from Australia to Scotland and live in a hostel.

I'm working on a really exciting coding project now, which I've had the idea for for about a year, but never had the time and energy for before. However, I will soon run out of money, and will need a job.

My plan was to do this for a short time, then apply for development jobs once I got a few things finished for my portfolio of work. But - and maybe this is one of the reasons I've held myself back for so long already - I've realized recently I'm too scared. I'm too scared of going back to 9 to 5, even if I'm out of IT and into development. I'm too scared of having someone else in control of how I spend my time. I'm scared of no longer having the chance to become someone exceptional, someone accomplished, someone unique. I'm scared of deciding on a life and then feeling stuck with it.

I'm considering trying something crazy and risky like acting, and coding on the side, or freelance, if I can manage that.

I am reminded of this passage from from A Scanner Darkly by Philip K Dick:

" The pain, the cut in his scalp, so unexpected and undeserved, had for some reason cleared away the cobwebs. It flashed on him instantly that he didn’t hate the kitchen cabinet: he hated his wife, his two daughters, his whole house, the back yard with its power mower, the garage, the radiant heating system, the front yard, the fence, the whole fucking place and everyone in it.

That life had been one without excitement, with no adventure. It had been too safe. All the elements that made it up were right there before his eyes, and nothing new could ever be expected. It was like, he had once thought, a little plastic boat that would sail on forever, without incident, until it finally sank, which would be a secret relief to all.

In this dark world where he now dwelt, ugly things and surprising things and once in a long while a tiny wondrous thing spilled out at him constantly; he could count on nothing."
Hijacking Is Buffer Overflow
Serious scientists don't write headlines like this. Whatever her objective was in writing this opinion piece, she shot herself in the foot. Franzen's essay in The New Yorker is profound and extremely well-written. It deserves a better response than this diatribe.
Is this an appeal to the authority? Gary Taubes, as far as I can tell, has no background in nutritional science whatsoever. In fact, the wikipedia article on him states rather matter-of-factly "Some of the views propounded by Taubes are inconsistent with known science surrounding obesity."
The only disappointment is the range. If I hammer it in "ludicrous mode" on the eight mile ride to work, with at least one significant hill, I arrive at work at 10% remaining. OTOH, toning it down a bit could just about get me round trip. If I lived somewhere flat (I'm in the Seattle area) I'd come a lot closer to advertised. Hills kill my Leaf's range, too. I just keep a spare charger at work, and don't worry about it.

As for the rest, it's an iPhone/Pixel compared to the 2nd-tier-Android-like Xiamois. It's over-provisioned as far as motors, so whereas a Xiamoi is barely moving at its rated 14% grade, the Boosted is still pulling. The Boosted could easily exceed its 24mph limitation, so I assume that's a legal limitation. It's nice not to run at redline all the time like I do with the Xiaomi. Regen brakes are amazing. I rarely use the mechanical brake because the Boosted's regen will pull you down to a dead stop. In contrast, the Xiaomi's regen braking will haul you down if you're not in a hurry to stop, and you'll still need the disk brake for those last few feet.

In summary, if you plan to use a scooter as a vehicle, the Boosted is worth it. Not so much if you just want to go down the trail with your kids on the weekend. For that, or other occasional use, the Xiaomi is a bargain.
Why would would you want it to take longer to optimize?
Because they impose externalities on the people around them.
Oh, there might be quite a few in terms of absolute numbers, but as a percentage of the population they are most definitely in the minority.

See this Harvard poll from last year: https://caps.gov.harvard.edu/news/caps-harris-poll-immigrati...

Not only do the majority of Americans not want open borders, they want less immigration than is currently occurring.
It strangely hasn’t been seriously considered but it might not be a bad option (though it may need a more rigorous reformilation of the spec).
They're a major constituant of the Democratic Party and you don't get through the primaries without their endorsements, so their positions have much higher weight than your ballot.

Private prisons aren't always worse: Florida study showing lower recividism in private prisons https://www.researchgate.net/publication/249718665_A_Compara...

When you see "Private Prisons Are The Worst!!!" check the studies to see if the groups are comparable; I know someone in the industry years ago and when they opened the first private prison in the state they were sent the worst offenders in order to try and break them, yet they ended up performing better than average for the state.
I live in a nice part of town; I work in a nice part of town; but the straight-line walking connection I have to make in the middle is in the bad part of town. I'd rather not.
This sounds kind of like the simplified English used on aeroplanes [1] except more formal and less for humans to write. That leads to signs like "no step" instead of "don't stand on this".

[1] https://en.wikipedia.org/wiki/Simplified_Technical_English
From the top of my head: CSS floats, contentEditable, execCommand.
Therefore, aliens?
We'd probably go more cross platform with something like Electron. It makes sense given our heavy React stack.
Governments provide nothing. They make someone else provide.

If the government needs a couch, they don’t poof a couch into existence and everyone’s happy. They either take your couch or have someone sit down and make one.

It’s bizarre though how many people think governments can simply “provide”. America now can’t even provide for all the struggling people who already live there. You could argue that they could redefine their priorities and focus on immigrants, but that comes at a cost of something else, and people affected by those cuts would not be happy.
Mozilla Tests VPN-Like Firefox Private Network for Firefox Browsers
Not related to the new assert signatures feature (which is great!), but IMO the two best approaches to do what you want today are:

- io-ts[1]

This requires you to write your types as a runtime value, and allows you to extract static types from those, e.g.:

const ContactInfo = t.type({
address_1: t.string,
...
})

type ContactInfo = t.TypeOf<typeof ContactInfo>

You can validate objects with `ContactInfo.decode(someObject)`

Note that we can have the same name for the type and value because they live in different namespaces. When you do ContactInfo.decode, you're calling the decode property of `const ContactInfo`. When you use `ContactInfo` in a type position (e.g. `function x(arg: ContactInfo)`), you're using the `type ContactInfo` declaration

- typescript-is[2]

This uses TypeScript's transformer API. You can use it with https://github.com/cevek/ttypescript. It generates validators for your interfaces/types/etc at compile-time.

[1]: https://github.com/gcanti/io-ts

[2]: https://github.com/woutervh-/typescript-is
Big Roman Numerals
Don't know. I moved to Europe a month ago, leaving friends family and girlfriend behind, only to find out that the company might be facing a tough time ahead - CTO has left, primary revenue sources are expected to take a downfall and investor confidence is low.

I was actually hoping to do some sort of part-time Data Science/ML Masters along with my work, but looks like I'll have to get back on the interview grind pretty soon. Not looking forward to getting back on the Interview grind - take home assignments which last a week or so, or intense algorithms training. Next company will definitely be a stable/big tech one. But for that, I'll need to leetcode like crazy.

Unsure of my future.
Drug prices have absolutely nothing to do with where the drug is developed. AstraZeneca being Swedish never prevented Swedes from having a yearly out of pocket maximum at $120.
The thing is, everyone should have a right to change countries/cultures as they want - it shouldn't be determined by the birth lottery.
DynamoDB Compatibility Layer for Apache Cassandra
And how's this different from America spying on Israel, or any of the five eyes nations it claims to not spy against?

Every country spies on everyone else.
this is not how prices work. consumers only pay the maximum they would be willing to pay for a good when there is only one provider. when there are multiple providers prices are pushed down to the cost of production. or so the theory goes.
>Car manufacturers also lack the ability to issue Over-The-Air (OTA) software updates, which is another strong limitation in developing and deploying new features.

I am actually very happy about this. I want definite times (ie after servicing) that my car is going to change algorithms, not whenever the car company decides.

In addition, I think this is a very large potential security hole.
https://duckduckgo.com/?q=%22This+place+is+designed+to+kill+...
Check runtypes module.
There's not actually any risk, as plainly evidenced by the fact that the State Department has never even given a light wrist slap for any of the dozens of incidents mentioned in the top comment, under Bush, Obama or Trump. There's literally nothing Israel could do to cause the US to "cut ties", let alone even meaningfully rebuke them. Like his buddy Donald, Bibi could shoot someone in the middle of 5th Ave and nothing would happen. US security and energy interests are simply too entrenched in supporting Israeli hegemony.
because the incentives are bass ackwards. These companies lobby for laws, and there's no way they're lobbying for less prisoners.
Healthcare plans routinely charge far more than patients can reasonably pay, then unload the full force of the law at them.

https://www.washingtonpost.com/health/uva-has-ruined-us-heal... (https://news.ycombinator.com/item?id=20921887)
That’s because the vw and vh units are obtuse, being the full viewport dimensions inclusive of document element scrollbars, and there’s no workaround for that. (There used to be in Firefox, but when the dust settled and all the browsers decided to iron out their inconsistencies, they dropped Firefox’s behaviour as potentially surprising, despite it being the only sane thing out there, and haven’t talked much about making a unit that’s actually useful for this effect.) The effect of this is that the vw and vh units are pretty close to never the right thing. I have before used CSS Custom Properties to achieve a sane result, putting `:root { --scrollbar-width: 17px }` into the document based on a JavaScript calculation, with `--vw: calc(1vw - 0.01 * var(--scrollbar-width))`, so that then you can do `calc(50 * var(--vw))` and it’s like 50vw but sane. But this technique requires JavaScript, so I don’t consider it acceptable in all places.
I understand that the prison guard lobby is terrible, but that's not the point. The question isn't "private prisons vs prison lobbying," it's "private prisons vs public prisons."

Prison lobbying comes from both.
Probably not what you are looking for, but maybe useful: https://www.reddit.com/r/dotnet/comments/d2t7ti/mathsharp_a_...
Dogmas are a disease.

We have different economic & market tools. We should use the right tool for the problem.

Some markets are best served with a free market system, others with a single payer system, others with a monopoly.

There are studies (no reference) which indicate that every euro spent by government on education has a 10 times return on investment: better educated people, have better jobs, pay more taxes, create more companies, create more jobs, attract more companies, have less health issues, etc.

Making people pay for their own education, and thereby limiting the education level of the population of a country, a country is doing itself a disservice.
FYI most of Google's "satellite view" images aren't actually taken from space but by airplanes.
I was skimming thought each top level comment looking for just one person doing well and was most surprised not to find a single one :O I almost feel out of place saying this now, but surely we need balance? I feel great! I'm doing what I love (for 13 years), what feels like it was meant for me (VFX), have got a partner (for 7 years) that I love and have nothing but hopes (wealth), dreams (AGI) and confidence for the future. Am I alone?
They floated down the river/stream. It was too strong to head back the way they came from.
Not sure what it is exactly, but forcing a garbage collection (using the "minimize memory usage" button in about:memory) doesn't make any difference.
Interestingly, the technical argument here is slightly incorrect in light of the subsequent development of ROP.

https://en.wikipedia.org/wiki/Return-oriented_programming

https://en.wikipedia.org/wiki/Weird_machine
Hope they soon go after privately run homeless "shelters" as well, another huge pit of waste and corruption in dereliction of public duty.
why does the healthcare discussion always regress to capitalism vs socialism? everyone cites canada as the ideal model of social healthcare but forget to mention the long wait times and the fact that their population is only a fraction of the US. i think our system could use some tweaks but throwing it out altogether for a socialist program is not it.
There's also this, which doesn't look to be covered in the Forbes post: https://www.businessinsider.com/cloudflare-us-law-terrorists...
Denmark comes very close per capita, while still having shockingly lower prices.

Edit: found a good source: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2866602/

Note, per capita it looks like most of the countries studied are discovering new drugs (in the study's terminology "new molecular entity") at much faster rate than the United States when adjusted for population.

The money quote:
" Our data suggest that the United States is important but not disproportionate in its contribution to pharmaceutical innovation. Interestingly, some countries with direct price control, profit control, or reference drug pricing appeared to innovate proportionally more than their contribution to the global GDP or prescription drug spending"
Drivers will pass if you’re going slow, and some of them will do it dangerously so faster scooters are a safe move. I can stop as fast as the cars do.
Wi-Fi Almost Didn’t Happen
Every iPad wants to be a Surface now
Our collaboration with Babylon.js happened after most of the spec proposal work. It was inspired by Google’s similar collaboration with Babylon.js prompting Google’s own SPIR-V based implementation of WebGL. This makes the comparison more apples-to-apples.

WebGPU itself is guided by input from many framework and engine developers.
5MB!

Anyone knows how is the performance?
If the houses are 300k in their area, I'm guessing getting roommates is entirely optional. For me the first time living alone in a studio apt was bliss.
So are they going to send the money back?

Will they send the money 'back' to some charity or group that works to help victims?

Or just more cheap sorries but-thanks-for-the-expensive-equipment?

quick edit: MIT's endowment is worth over $16billion, they can afford to say no. https://news.mit.edu/2018/mit-endowment-financials-0914
Continuing the pattern it's

$\pi = 3 + \sum_{k=1}^\infty 3 \frac{(2k-1)!!}{(2k)!!} \frac{1}{2k+1} \frac{1}{4^k}$ [1].

n!! is double factorial, the product of odd or even numbers up to n (depending on whether n is odd or even) [2].

Edit: added a simpler series from https://math.stackexchange.com/a/14116:

$\pi = \sum_{k=0}^{\infty} \frac{(2k)!!}{(2k+1)!!} \left(\frac{1}{2}\right)^{k-1}$

[1] https://imgur.com/a/YtA8kUx

[2] https://en.wikipedia.org/wiki/Double_factorial
The joke is that they call that ‘natural’ scrolling. That is literally the most unnatural movement I can imagine.
Dating in SF is indeed brutal. I am a gay woman here and have the same challenge. Actually the hardest part is other peoples' flakiness and unwillingness to commit to things. And I'm not even talking long term relationship-level commitment, just, will we see each other again next week?-level commitment.

Anyway - keep working on yourself and what you have control over. With love, it all sucks and hurts until it doesn't.
Please watch out about red-pill forums. Standing up for yourself is good, being able to communicate and be assertive is good, but the underlying ideas of the red-pill community is to build relationships on games and dishonesty, with a nice base of sexism.
John Waters: Life Lessons from the Prince of Puke
That’s reasonable feedback.
I don't see why it should be relevant at this point, although there are several large test suites (including fuzzers) for common libraries in the SPIR-V ecosystem. Shader language tests should be added to the WebGPU conformance test suite regardless of the language.
The README alone is excellent, well done
I'm not sure why but your comment was hidden as dead. I vouched for it because… WTF? It's a totally fine comment. Anyway…

I agree that existing private prisons are wasteful and cruel, but I think that could change if they had different incentives. Right now, convicts can't choose between private or public prison. That lack of choice means that private prisons have no incentive to be better than state run prisons. Private prisons usually charge per head. If no prisoners want to stay at the prison because it's a hellhole, revenue dries up and they go out of business.

I'm familiar with the cobra effect and ways in which adding financial incentives can cause counterproductive outcomes. I'm not particularly worried about that happening with private prisons. Financial incentives backfire in two cases:

1. When they fail to account for higher-order effects. (As happened with the cobra bounty in India.)

2. When they replace social incentives. For example: If a friend asks me to help them move, I'll probably oblige. But if I show up on moving day and I see some paid movers helping, I'll resent that. That's basically what happened with the day care that charged for being late. Previously, parents would show up on time because they felt a social obligation (guilt). When the day care added a late fee, that guilt disappeared because the transaction moved from the social realm to the financial realm.

I think the motivations of wardens and guards in both private and state runs prisons are pretty similar, and I don't think they're motivated by social incentives. For them, it's a job. They want to minimize the amount of stress at work, and that usually means minimizing the amount of violence prisoners do towards one another. Adding some financial incentives isn't going to solve all the problems with prisons, but considering our existing recidivism rates, I seriously doubt it will hurt.
Your right. Electrics can do that kind of speed but I was on a kick scooter and probably in more of a 3-4 x range and probably averaged 9mph after lights, pedestrians and the like are taken into account.
> no isolation between the baseband processor and the main system.

There’s barely any connection between the baseband processor and the application processor on a smartphone.

Notice for all your examples, it’s denial of service for the functions of the baseband processor by a bug in the code run by the baseband processor. It doesn’t get access to the data available to the application processor. Except for the oldschool feature phones, where there is no separate application processor so a bug in the software run by its processor can cause the phone to reboot or reveal the memory accessible by that processor.
Borders being primarily geography and culture is a very western perspective on things - in Africa for example a huge proportion of borders were arbitrarily drawn by colonisers. And even in Europe and other western regions, certain borders are the way they are more for political reasons than because of true distinctiveness.

Also, different regions within countries tend to be able to maintain their distinctiveness rather well despite a lack of internal borders, and in parts of Asia and Africa were borders were recently enforced by external intervention, culture continues to exist across them and despite them, so it feels like cultural differences and borders are not as closely correlated on a global scale as one may at first think.
A CIA suicide sparks hard questions about the agency’s Memorial Wall
"Precedent" has a specific meaning here, in the context of legal cases:

> In common law legal systems, precedent is a principle or rule established in a previous legal case that is either binding on or persuasive for a court or other tribunal when deciding subsequent cases with similar issues or facts.[1][2][3] Common-law legal systems place great value on deciding cases according to consistent principled rules, so that similar facts will yield similar and predictable outcomes, and observance of precedent is the mechanism by which that goal is attained.

There was no principle or rule established here regarding the CFAA, thus no precedent that must be considered by other courts.

Courts generally try to restrict their rulings to the minimal needed to decide any particular case.

If the court had made a ruling, they would not make a point of qualifying all the statements about the CFAA the way they did.
Especially when you're still young and getting started. Getting a better offer in a different city/country for a renter is workable but if you own a house you've just started paying off with a few unfinished projects, you're pretty stuck there.
They are making these choices on behalf of kids. So it's not just their own life and happiness.

As others have already mentioned it also reduces herd immunity that's needed to protect people who cannot get the vaccine for legit medical reasons: allergy, cancer treatment, recent coma, etc.
Only 11 days to go until the official 3.0 release of .Net Core. We're pretty excited about all the new features that were added (such as the hardware intrinsics here). The biggest one we want to play around with is actually the new JsonSerializer. UTF8 vs UTF16 as the underlying storage type could have a huge impact on performance for some of our larger JSON contracts.

"Parsing a typical JSON payload and accessing all its members using the JsonDocument is 2-3x faster than Json.NET with little allocations for data that is reasonably sized (that is, < 1 MB)."

From: https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotne...

I'll definitely be checking this math(s) library out after I get our solutions updated from 2.2. I was playing around with some ray tracing in C#-land and something like this could come in really handy.
frictionless toll collection
I spent a bit of time in Swift and came back to web and got into frontend which certainly filled a gap for me!

Now we just need `if let` and `guard let` in TypeScript and we'll be good!
Consider an electric stove powered by renewables.
it feels like the new features for recent languages are starting to look the same because they're nice. Kotlin has this stuff too. Rust and Kotlin have a similar style of null handling.
Static vs dynamic still matters if the program is doing "dynamic stuff", where "dynamic stuff" means any thing that the JIT compiler is currently not able to optimize.
Growth Hacking: Using Low-Fi Google Search Operators to Find Growth Partners