skysight-inc/HackerNews huggingface dataset:
There is also a performance advantage if you can build everything under these constraints. A pointer to something held in an immutable log will never become invalid or otherwise point to garbage data in the future. At worst, whatever is pointed to has since been updated or compensated for in some future transaction which is held further towards the end of the log. Being able to make these assumptions allows for all kinds of clever tricks.

The inability to mutate data pointed to in prior areas of the log does come with tradeoffs regarding other performance optimizations that expressly rely on mutability, but in my experience constraining the application to work with an immutable log (i.e. dealing with stale reads & compensating transactions) usually results in substantial performance uplift compared to solutions relying on mutability. One recent idea that furthers this difference is NAND storage, where there may be a substantial cost to be paid if one wants to rewrite prior blocks of data (depending on the type of controller/algorithm used by the device).
> reasonable at face value is since you can't give back your education, that's the justification for not being able to declare bankruptcy

At face value, yes, but in the real world if you're not earning enough after 10 years to pay it down, it was a bad investment. Allowing bankruptcy after the passing of a few year's time is a way of notifying lenders, who should be the more sophisticated party to the transaction, that if the career investment fails to pan out, they take a loss.

That would work, except that politics become involved, so it doesn't.
I love to read. I was browsing through the top apps on the apple App Store and found a free app called Libby. It lets me check out books from my local library - and it gave me a link to create a library card and check out ebooks. It’s actually pretty amazing, and I regret not knowing that checking out ebooks from your local library (at least in the US) is a thing.

Anyway - my favorite purchase is a Kindle. Im actually frugal and struggle with the concept of paying for digital items. So, I’d like to read ebooks, but again I can’t stomach paying for something I don’t own.

I check out books on Libby, and there’s a send to Kindle function. This is pretty dang amazing.

Most books I’m interested in are immediately available, or there’s a couple week wait at most.

I’ve gone from reading a couple books a year to now reading a few books each month.

I’ll tell you what I love about the Kindle. Turn on dark mode, and the thing is super easy to hold and read, even when you’re laying down. As a matter of fact, I always fall asleep reading. Now the books I read are all checked out and have to be returned. I don’t want to lose the notes or highlights I create in these books, so I just use the export functionality and send everything to myself over e-mail.

And I have folders set up on an old MacBook where I have my notes and highlights clean organized by genre and book title.
I'd just like it if my S21 didn't delete any downloads over 25 gigs randomly, before I can move them off the phone.
Ya know, you're right. I guess I assumed the OP meant more along the lines of "What was your favorite podcast episode you listened to this year" vs the more literal translation. I'll throw in an edit to clarify.
First, vaccinated folks clear the virus faster, so the overall time of infectiousness is lower. https://globalbiodefense.com/2021/12/04/vaccinated-people-cl...

Second, fewer vaccinated people have breakthrough infections in the first place, so overall spread is lowered because of vaccinations.
This is awesome, I love seeing weird projects like this. Does anyone have a practical use for this, or is it just for fun?
>Greenlanders haven't existed for millennia. Greenlanders have existed for just under a millennium.

That sentence is saying the diet is millennia old. The diet and genetic variation are also common to other Inuit populations.
I use an ncurses Spotify client (I forget what) or a web browser to listen on my computer (normally I do it on the phone and airplay to the required speakers). Never had an issue.
The weight advantage will prove decisive. On routes served by LH2-fueled transports, the kerosene-fueled dinosaurs will be wholly unable to compete.
> I do not miss free school. I strongly resent that it was ever forced on me.

What’s the better alternative? No schooling seems like it would be wildly worse for all of students, families, and society.
> unless you're doing fun patterns like 'where TComparer : IEqualityComparer<T>,struct`

These fun patterns are precisely generic type constraints I mentioned in my comment. I do use them when performance matters, here’s an open-source example: https://github.com/Const-me/Vrmac/blob/1.2/Vrmac/Draw/Main/I... That code is from a 2D vector graphics library, these interface methods may be called at 10 kHz frequency or more. Displays are often 60 Hz, the methods are called couple times for every vector path being rendered.

> If you poke around at the internals of System.Linq you'll see there's a lot of checking to use specialized types depending on the collection in order to minimize costs.

Linq is awesome, but I’m pretty sure it was designed for usability first, performance second. I tend to avoid Linq (and dynamic memory allocations in general; delegates are using the heap) on performance-critical paths. YMMV but in most of the code I write, these performance-critical paths are taking way under 50% of my code bases.

> 'new' generic constraint is definitely not zero cost

If you mean the overhead of Activator.CreateInstance<T> when generic code calls new() with the generic type, I’m not 100% certain but I think it’s fixed now. According to https://source.dot.net/, that standard library method is marked with [Intrinsic] attribute, the runtime and JIT probably have optimizations for value types.
WDYM by "practicing only"? Are you unvaccinated (not trying to witch hunt, asking to contextualize) and have you had consistent large social gatherings (reasonably high chance of exposure)? I'm vaccinated but always down to try easy additional protection
In which case you would not have any license to use or distribute the software.
Two of these (plus another, Price Parrot, that I forgot to include: https://sandpiperhq.com/pricing !), are spin-outs of a side-project (https://quailhq.com) that I started in 2014and that I've been working on for 7 years -- and that became my full-time job in 2021. That one definitely isn't a failure!

The five (six including Price Parrot) are just the failures from this year. I try to live by "fail fast"!
Not the GP, but it's an easily defended view along several avenues.

First, I could point out that the marginal utility of money must decline at least logarithmically with quantity*, which means that egalitarian resource distributions tend to have a higher net utility.

Second, I could point out that the Pareto principle only guarantees an outcome for which, locally, no individual actor can do marginally better without another doing marginally worse, not an outcome in which the total utility of all actors even approaches a local maximum, let alone a global one. We can easily end up in a scenario where a beggar can starve to death while a baron gorges on food whose loss would go unnoticed to him.

I could go on but I think the above is already enough of a basis to support the claim.

* The proof of this is not short enough to type on my phone.
There is a massive tradition, spanning thousands of years, of people trying to wrestle with morality and the good life with or without a God involved. We broadly call it Ethics in Philosophy, and you can spend an entire lifetime exploring and glimpsing what is at the core of this "being a good human" with or without a God involved.

On "good comes from religion"... you can start with the western classics (or eastern classics, but I do not know them)
https://plato.stanford.edu/entries/plato-ethics/
https://plato.stanford.edu/entries/aristotle-ethics/

Then maybe take a course or two on Ethics
https://ocw.mit.edu/courses/linguistics-and-philosophy/24-23...

Then explore from there.

You can spend a few weekends or a lifetime on this if you'd like, and either way it will be worth the time.
So you're claiming the entire world is wrong, but you. Yeah sure, that usually proves to be correct.

Lol
As a android user I see a lot of IOS only apps on Show HN but can't recall an Android only one. Is there a business reason for this given that android has over 70% of the market.
Of course they are enforceable? They have been all along, how did the courts only find about it just now? Did they not get the memo like 20 years ago?
Thanks -- I was just searching "best podcasts of 2021".
Reasons Apple Is Worth $3T
You can turn that stuff off.

But I agree it's absolutely nuts that advertisements and "suggested content" is included as standard without a very clear prompt on first use saying "you can turn this off if you like"
-- or perhaps a "set this PC up as a work machine" choice in installation that automatically shuts the noise off and adds the Windows classic theme rather than the weird start-metro hybrid we have now.

I'm not sure I'd pay any price for modern Windows 2000, but I'd certainly sing its praises which is something I've never been able to do.

I'd pay to remove the 2021 social media/marketing BS, sure.

But there's no reason for them to do that. They can instead offer Windows VIP down the line as a subscription-model recurring payment to keep ads and other shit away.

This isn't anything specific to Microsoft, this is what any company that wants to maximise its profits would do.

Doing the right thing isn't "what's right for the consumer" any more, it's "what's right for everybody" -- but where "everybody" is defined as the provider, its shareholders, and perhaps whatever subset of all customers contribute the most to the bottom line.

Has to benefit the provider, "they're running a business not a charity" -- an innocuous line of dialogue from the movies that can be used to justify almost any shitty, consumer-fucking decision you can think of, because we're capitalists, it's 2021, if you're not squeezing every dollar out, you're not doing it right.

Except people in the movies who said shit like that were typically gangsters or at least crooks. But they're the heroes now. The notion that they did wrong never really stuck -- they made lotsa money, you can't blame them. But they got caught, so work hard, run after that dream, they got the idea right -- money is what you want, just gotta be smarter than those silly gangsters.

Do it cleverer -- make your racket legit. It's not extortion, it's a subscription. It's not protection, it's premium. It's not more than they can afford, it's almost too little, they don't even know it's gone.
If I'm understanding correctly, you're saying a compiler will optimize out "void*" to instead be the value put into it, so theres no pointer dereference to get to it?

That's what I am talking about. I don't know much about modern C optimizations.
Zig's approach isn't unique, it's basically what dependently typed languages do. The problem is that if you don't do it right, it's too expressive and the type checker can loop forever.

Of course, this is also true of C++ templates since they're Turing complete, but it's not true of generics in most languages.
PerryWerneck/pw3270: 3270 Emulator for GTK
There were multiple of the European hacker camps scheduled for this year and all the large ones had to cancel, I very much doubt Congress would have been able to happen either.
https://historyofvaccines.blog/2021/07/12/diego-riveras-vacc...
I've been thinking recently about making something that would allow me to print my daily saved articles. Kind of like my own newspaper. I hardly use my inkjet printer as it is and I much prefer reading from paper than a screen.
So you notify the victims so they can do something about it. I mean you yourself just said how sophisticated the threat was, shouldn't they know an implant accessed sensitive data and may have tampered with the integrity if data as well? Cutting off access is just containment, not eradication. Any operator worth his salt would have multiple ways back in for when the primary implant is burned. A proper incident response involves the consent and participation if the victim,the implant/malware is not the problem, what was and might be done using it is.
The official tutorial https://docs.python.org/3/tutorial/

IMO, the best, most efficient way to learn.
A study of 264 people by Swedish researchers found narcissism and low int (cont)
I agree it’s really cheap. I know people spending three times that for some cable tv service which comes with adverts in the middle of programs!

At some point streaming will devolve to that, and it will be back to torrenting as the content providers kill the goose that lays the golden egg
It's a custom fork of plain Lua, not LuaJIT, so indeed there's no LuaJIT support. They first open sourced it this November and supposedly they're planning to implement their own JIT. There's no timeframe or estimate for that though, just mentions of plans to here and there.
Ask HN: How did my LastPass master password get leaked?
Hi,

I've just had a bizarre thing happen and wanted to see if the HN community could come up with some theories as to what happened.

LastPass blocked a login attempt from Brazil (it wasn't me). According to an email I received from LastPass, this login was using the LastPass account's master password. The email doesn't look like it's a phishing attempt.

What troubles me is that the master password was stored in a local encrypted KeePassX file.

I can imagine that someone has my KeePassX file and the (completely different) password to this file. If that's the case, I'm in a world of hurt.

But are there any other possibilities? Is the email from LastPass accurate i.e. was the login attempt actually using my master password? Is there some LastPass extension installed on some computer still having a valid auth token allowing them to login as me to LastPass..?

I'm really confused, and scared.

Thanks for your help.

P.S. The LastPass account had 2FA set up, but I was able to simply remove it (since I didn't have access to the token anymore). That's scary too -- what's the point of a 2FA you can remove...??

---

Update:

- the email was truly not phishing -- the same information regarding the login attempt appears in my LastPass dashboard. I also talked to LastPass support over the phone, and they confirmed seeing the same information.

- There are 2 separate users in the thread below confirming that the same exact same thing happened to them, from the exact same IP range as me.

Either the 3 of us had the same malware/Chrome extension or somehow had our master passwords compromised...? Or...? Is this a LastPass issue?
Good luck with your effort! I started making web pages in 1998, in high school. Then years later finally got a job and worked for 7 years as web developer full-time, but after I saw Angular and React and tried making a project with them, I quit.

But even without SPA frameworks, a boilerplate for a simple project was insane: linters, assemblers, template frameworks, etc.

With React it was one notch more boilerplate, and yet after all that you had to write pretty much all the interactive UI still on your own.
Cool. From what I find online, it seems like PoE and SFP (with the X-SFP) are both supported? Any experience with those?
> What do you mean here?

Griggs v. Duke Power held that if a test has a disparate impact on ethnic minorities, then the burden of proof is on employers to demonstrate that the test is reasonably related to the job. The practical effect is that private employers are highly unlikely to use these tests, since doing so opens themselves up to liability, particularly since due to socioeconomic factors any fair test will have a disparate impact. For example, the tests in the particular case were a general IQ test and a mechanical aptitude test.

> I can't square my experience and your statement.

Every particular instance you gave was of a public employer, but I was careful to note that employers practically may not use proficiency exams. It's not directly illegal, and some employers might use them because either they do not realise how much liability they are exposed to, or because they have been very careful to justify them.
Well you could own digital goods without having to rely on centralized services that can cancel your accounts.
My was this 4-episode mini-series about the development of Halo 2's multiplayer component. Links here: https://smarturl.it/H2Pod
Dan Carlin's Supernova in the East VI.

Given the insane brutality of the Pacific war, the stranglehold the Japanese military had on its society, and the utterly unbreakable Japanese will that just kept going loss after brutal loss even when it was clear to everyone involved that there was no possible way left for them to win, Carlin makes it clear that the leaders of the day certainly felt justified with their decisions to first firebomb and then atomic bomb Japanese civilians and cities.

A couple of weeks later a friend told me that he believed that you should be willing to fight to the death, and even the death of others, for what you believe is right. I think morally of course you should be committed to your beliefs, but if you replicate that to that extent on a society-wide scale, you might end up with another Imperial Japan.

https://www.dancarlin.com/product/hardcore-history-67-supern...

(Of course, as Carlin will often tell you, he's not a historian and is more interested in an emotional story than 100% true facts. I'll also recommend Ian Toll's Pacific War book trilogy for a more accurate take on events. Plus, it covers the incredibly brutal Battle of Manila that Carlin leaves out.)
> An interesting thing I noted some years ago on several forums, when someone would post images or news articles about younger people using typewriters, the comments would very often turn extremely vitriolic and invoke violence, the 'these people should all be x' sort of thing where x ranged from gulags to getting kicked while on the ground

Sounds like you hang out in some really unhealthy user forums.
I don't totally understand the value of the second, but isn't the first already exist in things like BigQuery?
This is pretty different than most of the other recommendations on here, but the "Johnny Keys" story from Sammy Gravano's podcast, which starts at the end of episode 6, and continues to the beginning of episode 8:

https://youtu.be/oEFjWlgOu1k?t=1260 (this is the point in ep. 6 that the story starts)

It's a little bit ethically questionable to listen to, since the guy is a killer, and he's profiting from it. However, the storytelling in this thing is leagues better than any movie i've seen in the last few years. He's literally sitting in his armchair just talking, and it's so much more engaging than most professionally written stories.
I partially agree, but I don't think it's stupid - I've been experiencing a gradual push to do more things in the browser for 2 decades (along with everyone else I'm sure) and I don't think it's a positive thing. My workplace is experimenting with people getting a cloud computer and laptop instead of a workstation (and laptop) when it's time for new hardware, and my experience during the last couple of years of WFH has been that our nice modern laptops cannot really provide enough power for Chrome to do everything they want us to use Chrome to do.
if it were stronger than cocaine then it wouldn't so often come laced with caffeine
That is awesome! I hadn't seen that when you wrote it; I wish I had! Thank you so much for giving it a try, and -- whoa -- writing about it!
Tim Ferris #542 with Chris Dixon and Naval was the podcast that made me think maybe there might be something to web3 and it was at least worth investigating.

2 months later I'm still not yet sure. So take that for what it's worth.

https://tim.blog/2021/10/28/chris-dixon-naval-ravikant/

As an honorable mention I'll also say that I've been listening to Dan Carlin's series on Japan in WW2 and it has been incredible as I've come to expect from his work.
> Eg time series or secondary keys

not an "all or nothing" question.. for example, a fast-enough "return the most recent in a time series" is not exactly time-series, but solves many use cases
This could be a big step toward ultra low latency streaming with an rpi.

I tried to do this (low latency streaming) circa 2016 and ran into two issues, one of which was the high framerate or subframe capture and the other was subframe encoding.

With high framerate capture you can fake the subframe capture by capturing a whole frame and encoding just a subset.

Now to get the h264 drivers to do subframe encoding…
The Off Menu with Bridget Christie as the guest (it has zero to do with tech):

https://play.acast.com/s/offmenu/ep130-bridgetchristie
It is important to understand the reason for the limitation(s).

Cardinal is intended to be usable just like a conventional plugin, which includes having presets that can be exchanged between computers (or even between users).

If Cardinal allowed arbitrary modules to be loaded, there's no guarantee that when the preset was used on a different computer or by a different user it would work, because modules could be missing. One idea for Cardinal is to be able to build "synths" with it, and then represent the result as a preset that could be used anywhere.

The regular Rack plugin version doesn't have this as an explicit goal, and therefore it can allow arbitrary modules to be loaded. You can certainly have presets, but there's no way to ensure that any context in which you use the presets have all the required modules.
0. Federal Reserve creating inflation of US Dollar artificially pumping stock market up and up since 1987. Every stockmarket crash only intensifying peace of currency printing.
https://milkydeveloper.github.io/cb-linux/
"The arrangement of the muscle fibers, she says, suggests that this layer is involved in the stabilization of the lower jaw. It also appears to be the only part of the masseter that can pull the lower jaw backwards – that is, toward the ear."
Yes yes, class mobility but only for the already wealthy. Tell me more.
> Likewise if I take some GPL software, I can do whatever I want with it to run it

That's true, but unlike the DVD case it's so only because the GPL license explicitly grants you this right. If it didn't, you wouldn't be able to run it at all.
I think pointing out flaws in other people's reasoning is perfectly valid. You could argue the response was mean-spirited, but I actually enjoyed how well it articulated something I was thinking. Honestly I think we need more posts like the above, not fewer.
Just about impossible in the US.
I've been using asn.1 for 20 years now, and i find it absolutely fabulous. I still learn something new from time to time, when something doesn't parse or encode correctly :)
The people who use HN frequently are startup fiends, and Apple is an expert at extracting value from their users. The rest of the story writes itself.