skysight-inc/HackerNews huggingface dataset:
I'm curious about other people's experiences with how they choose what music to listen to.

Many of my friends carefully curate playlists on Spotify, or listen to the playlists they make for you. Others listen to the radio and just enjoy whatever comes on.

On the other hand, I have a large library of music (~13k songs) and just kind of decide what I'm in the mood for on a whim. No playlists, just a large collection of albums that I manually select or tell Siri to play for me. This method doesn't even work with Spotify for me due to their 9,999 song limit for libraries so I had to change to Apple Music when it surpassed that amount.

I don't think I've ever met another person who manages their music collection the same way so I'm curious about how rare it is. Shockingly, I manage to not fall into habits of listening to the same thing over and over, but actually enjoy the majority of the music somewhat regularly.

If my entire library were put on shuffle, I could likely name the artist with around 80% accuracy and the song / album with maybe 50% accuracy. There are definitely ones that I get wrong, but with a library of that size, I don't think it's particularly realistic to memorize everything.
There was one time that a group of Santa Monica High School kids were at the Sunday farmer’s market trying to make videos of people being fooled into a moral panic about ascorbic acid in the produce. I remember saying to them, “You mean Vitamin C?” and the interviewer shook her head and said “You’re too smart” and she and her cameraman walked away in search of a more amenable victim.
It's illuminating to observe the disparity between what gold vendors say they believe and what their actions suggest they believe. They claim that gold is the only safe place for your wealth, so the wise thing to do is give them your risky, value-less paper dollars and receive shiny metal. But their actions are the opposite, they are happy to take all of your paper dollars and give you the shiny metal that used to be theirs... No one would give away something valuable for something less valuable, their actions imply that they ascribe more value to the paper dollars than the shiny metal.
You don't decide shit. You're consuming what some executive wants you to.

I choose what to care about. I hear about what's happening, same as you, except I don't sit anxiously in front of a box to do it, and I don't get told what to think and feel about it.
My glasses are always dirty, I use my tshirt to clean them every day or so. They are full of little scratches, but if I don't focus on them, I don't notice them. My old pair (which I keep in case my current pair breaks unexpectedly) are even worse, with big visible scratches. They (the old pair) lasted at least 4 or 5 years, and the current ones are at least 3 years old, but I don't really remember.
This seems to be a common theme among certain languages, software, etc. from the 90s. I've heard similar things about Smalltalk.
How long have you used contact lenses? I used contacts from 2005-2017 or so, eventually switched away because it was annoying when I couldn't just take a nap easily, my eyes dried out a lot when I use a computer all day for work, and contacts are not very bikepacking compatible. When I first switched to contacts, it was such a breath of fresh air, but I've been back to glasses for years now and have no desire to go back. My life seems a lot simpler now that I have a good pair of transitions and a good pair of indoor glasses.
What exactly is the "next generation" part here?

"Native" support for modules and TypeScript, so during development there is no bundle process needed, which is usually the most time-consuming process.
Because money is a notational bookkeeping exercise at this point in time and has been since the dollar went off the gold standard. It can't be affected by demand for things as small as stocks, but only its relative demand to other notational currencies.
Thanks! I will have to run some tests very soon I guess. I usually handle functions that do some heavy number crunching where the overhead seems less important. I expect some impact but also see some space for optimization through caching.
Really the issue is that Amazon is trying to use a single app ("Prime Video") for both the Prime Video service (all-you-can-watch library of limited content) and their video storefront (a la carte purchases of a larger library). They should have split them out years ago, or at least done a better job of segmenting the two.
Thanks for the thoughts. Any particular references or applications of Petri nets? I found the book Petri Net Theory and the Modeling of Systems by James Peterson. I have either never heard of Petri nets or had but didn't pay attention.
Types in Idris sound like the contracts you mention.
I learnt about them in the book "Type-Driven Development with Idris".
> I'm sorry, but the credibility of those networks has completely inverted.

When I'm at my parents' house and Fox News is on (as it always is) I can google a pretty high percentage of things they're "covering" and find they're bullshit. The most-used, but not only, tactic is to report something ordinary as if it's new and sinister, omitting all context. They do it constantly.

To be fair, maybe you're right and CNN and MSNBC are even worse. Dunno, I've mostly known people from center-left to far-left (plus a few that defy categorization) in my social circles for most of my life, and none of them have ever thought either network was worth a damn.
And sometimes titles are editorialized manually:

https://news.ycombinator.com/item?id=31396861&p=2#31397151

https://news.ycombinator.com/item?id=31638648#31643597
I'm with you.

I consider this an area where the burden of knowledge will hit you pretty hard. Time suck along with stress, and performing at best case a few percent over an automated "MODERATE RISK" button.

I don't have any more time in my life to track anything with the degree that it would take to "be good" at it.
There is virtually no way to really answer that. People quoting the nominal dollar cost are misleading you. Nobody can buy hard drives and keep them running and connected to the Internet for $0.10 per PB per month. The fact that they're willing to offer you that price anyway presumably means they're actually getting paid in some shitcoin they hope will go to the moon. If it doesn't, then you'll find out what it was really costing. The other possibility is the global demand is so low that hard drive owners who already found some other way to fund their capex are just charging peanuts for the slack in otherwise idle disk space, but that is inherently a pricing model that can't scale, like airlines giving away seats on a plane that is not going to meet capacity but needed to fly anyway to keep a route alive.
If it is any consolation, I got started on the Radio Shack Color Computer ecosystem, with the original version the the CoCo3. Back then, there was quite a bit of debate by the mid 1980's about the longevity of 8/16-bit processors like the 6809 and the 6502 / 6510 series.

Addressing a maximum of 64KiB of memory back when 4KiB was expensive seemed fine. And due to cost, picking an 8-bit processor for a design in 1980 seemed sensible. But the ability to support up to 1MiB of RAM (eventually) on the 8086 series help insure the platform's longevity, in spite of the horrible segmented memory programming model.

Companies like Motorola weren't terribly interested in backwards compatibility, preferring instead to design completely new instruction sets (like the 68K family) for their 32-bit platforms.
It's okay in life to not be polarized and take sides on things. Both can be shady, both can be great, and both can be mediocre.

For your own "between the lines" reading start at 90. Remember this is Twitter legal making their case. Fair to say that is probably a slanted/biased write up of the timeline until we can see a defendant response. This is probably interpreted different by everyone (especially with love/hate Elon blinders on) hence the "between the lines" commentary.

However, here is the main funny and a tiny footnote I found hidden away -- which makes sense given this is their case/argument against him, so they probably don't want to draw too much attention to this in the big fun copy:

> Although Twitter has provided certain summary data regarding the mDAU calculations, Twitter has not provided the complete daily measures as requested.

If they are willing to share anything/everything, seems like this one would be very easy to pass along, no?
I bought a crate of onions from them in 2019 after reading this article. I got many many onions.

They say you can eat them raw, and its true - they are delicious. You still smell like an onion afterward but given the quantity of onions I had, afterwards was a long time.

I brought them to work and ate them during meetings. I can happily report that my calendar became much more clear after that.
As a farm kid who spent time in a dusty barn every day, my glasses were often so dirty that they looked opaque to others. I didn't notice and didn't care.

How the brain processes visual information is really weird. I'm not surprised that a slight speck of dirt would really bother some people but not others.
Surviving isn't the issue, I'm doing fine. Affording a house is. Reaching the standard my parents had.
Maybe copilot just generated rather random BBC link. The recipe never existed on the first place.
Let’s assume Pegasus is the furthest upstream (first to hack). Once it is fixed, security researchers (or hackers) can learn what the exploit was and how to use it. How long before it ends up in something like metasploit?
But I didn't say there was no harm? I asked for examples as it's hard for me to picture them. Another commenter gave a good example of how government agencies can use this data for nefarious things, I was originally curious of ways of profiting from knowing what was initially discussed, when the cycle is. I think because the topic is charged you saw ridicule where there was none.
I was in a similar situation until a rash of thefts began happening around my apartment complex a little over 10 months ago. Something changed, whether some porch pirates moved in to the complex, or some crime ring decided to start exploiting our area. The police and apartment management had no answer, and it turns out their security cameras are absolutely useless.
I spray with Windex, rub the lenses with my thumbs, let sit a few minutes, rinse with water, tap on the sink, then let dry.
Languages like Dafny and Ada show that you can contracts are great for augmenting a good type system by letting you express really complicated invariants that are tough to express in types. I didn't include them because they're not "mainstream", IMO.
Credit card companies could really make a difference with helping manage subscription services. For example, they could allow you to decline future charges from certain merchants essentially cancelling your subscription. You wouldn't even have to cancel with the provider, you can cancel with the cc company.
Some credit card companies do the opposite! Apple Card will automatically provide merchants with your new card number if you order a card replacement, and you can't do anything about it. It's the reason I am no longer an Apple Card user.
This article describes way too much OCD and wasted time.

Here's my solution:

* Buy 4x pairs cheapish glasses from Zenni.

* Beat the crap out of them.

* Replace as needed.
If you have POST for search and bulk delete, you are "doing REST wrong" and calling RPC by another name.
How so? The cons data structure only points to a single object. You could do singly-linked lists and trees (only with kids pointing to parent) and that's about it, right? And I guess simple loops?
The breath and piece of cloth method worked so well, I really didn't think of needing another method.

I'm curious on what the author used to test his cleaning methods, because it seemed to only appears after 2 years of using this method.
If their own public API hasn't changed, why would semver require that?
If you write an API designed to return a single entity matching the path provided, it's absolutely an error if it doesn't exist. If your API returns the simplest possible JSON representation in a success case, what JSON should it return if it doesn't exist?
Wish it had the 70s, or ideally, the whole 20th century. The 80s-2010s has been a period of unusually low inflation and consistent market returns, buoyed by the end of the Cold War and entry of the developing world into the world economy. There's a good chance that we revert to the mean going forwards and see much more geopolitical instability and resource constraints.
Isn't the solution to this just 400 for bad path, and returning a not found is 404 plus body of "entity not found"? Having to always check result: true is by biggest annoyance in APIs designed like that.
The article isn't about how to make them clean, the article is about how not to scratch them during the process of cleaning.
This is not accurate.

Post-2008, the fed did their quantitative easing by buying non-treasury bond like mortgage debt, etc.

It’s new money because the original money received for the bond doesn’t disappear.

Yes within that transaction it’s neutral (seller gives up $1M bond for $1M cash). But overall, new money has been injected.
(I think debating is good and healthy, so let me do a short rebuttal about the difference between `/api/v11/employees/1` and `/api/v1/employees/100` with an example specifically because you say that you are talking about _HTTP_ APIs.

So I will focus on HTTP then.

Say you install an nginx/apache and then have a static structure where you have the profiles of employees saved as PDFs directly on the disk.

Then you do `GET /public/v1/employees/1.pdf` and it works returns 200 with the content.
Then you do `GET /public/v11/employees/1.pdf` in this case all servers will return 404.
The same goes for `GET /public/v1/employees/100.pdf` will still be 404.
What if someone asks for `GET /public/v1/employeea/1.pdf` the server will again respond with 404.

Then I go and I implement an webapp to replace that. I plan to keep the URLs the same but now there is an app that will return the .PDF as a datastream or file.

For me, I don't see any reason why to change the behaviour of the URLs just because I replaced a static app with a dynamic web app. Any HTTP server will respond in the same way thus the current one should respond the same.

Responding like this has a compatibility (let's say) reason behind that is not a personal nor related specifically to my project.
I've noticed over the years, the primary failure mode for my lenses is the coating being scratched. I wonder if anyone has a good way to have that coating repaired or replaced?
Yes, but participating far less.
I am currently using WebPack to package a multi-page web app. Build times are relatively quick, and when developing I am using a feature that does an incremental rebuild when files are changed and that's quite fast at this point.

This being the case, I am not sure I'd really have a reason to migrate over to Vite on this project.
That's one meaning of major version number. The original meaning is simply a release that is significantly different from the previous one. It's also possible to maintain more than one version number: a marketing version and an internal version (Windows did this famously where Windows 7 is actually version 6.1, Windows 8 is 6.2). Then there's a convention where the major version is the year number and it simply increases on Jan 1st, etc.

I have no knowledge of which convention Vite uses.
I have been using Parcel for years now, the biggest issue: many weird bugs and things break which each update.

Common things that break: specific operators (?.), caching issues, missing modules in the output bundle, build errors, etc.
> Contracts? how they're different or less verbose than plain asserts? what they do better?

The difference to asserts is that they express a property over to points in the execution of a program, whereas an assert only states a property of one point in the execution in the program. Practically, that means that you can refer to the state before some code in addition to the state after in the post-condition of that code.
The best method I’ve found so far:

1. Get your glasses wet with warm water.

2. Apply dish soap to both lenses.

3. Gently rub the soapy water over the lenses. For some stubborn things (like sunscreen) in the edges I sometimes gently use a Q-tip.

4. Rinse under warm water. Gently rub with your fingers to agitate the soapy water and help rinse it off.

5. (This is the important step) Adjust the faucet’s flow to a low laminar flow and run the glasses through water, hitting the top of the glasses first and letting the water flow down and off the bottom of the lenses. It might take a couple passes but doing this will eliminate any water droplets on the lenses.

6. Use a clean towel to gently dry the frames. The lenses don’t need drying since the laminar flow eliminated all the water droplets on them.
What the average person is comfortable or familiar with is itself largely determined by the media.
I would argue that this ‘humble; always learning’ mindset is exactly what enables experts to become experts but ironically causes experts to feel like they’re not experts.
> Although Twitter has provided certain summary data regarding the mDAU calculations, Twitter has not provided the complete daily measures as requested.

(note this is the last sentence of a footnote buried away in their argument)
I wish I could do this but I really can’t. The dailies dry out super fast, and sometimes fall out. And then they stick causing a weird lag when I move my eyes too fast. Maybe it’s my eye shape but I wanted to love contacts and really couldn’t make it work.
from your comment, it doesn't sound like anyone was deterred.
Ask HN: What prevents health insurance companies from innovating more?
Hi HN,

I'm an engineer building a product in the health insurance space that in theory will allow more accurate pricing of premiums based off of individual data from wearables. My question is why haven't health insurance companies built this already? It seems like many companies already went in this direction with their 10,000 step program, but they stoped right there. Why not go further?

Does anyone know of prior attempts? Anecdotally, I've Oscar attempting to do something like "hey, runners get X% discount" and so lots of runners sign up who also happen to be at risk of some kind of cancer and then they got blown up by the tails. Anyone else heard similar things? Thanks!
Ought to generally be fine. That level of critical cleaning is kinda different from what glasses generally require.

Mine wind up with grease, fingerprints, dust, cooking oil, etc., so a good surfactant (i.e. dish soap) and some clean water tend to work pretty darn well.

If you want to finish 'em off with a critical-cleaning approach, go for it. The scratch/AR coatings on most glasses should be fine for both methanol and isopropanol. I would not, however, use solvents like acetone on plastic lenses of any kind; it'll probably destroy some of them.
The PiHole has some integrated logging where you can see the requests that were made. I had several IPs which were doing queries for the same domains dozens of times per second. That wasn't a poweruser but some kind of automated system, probably doing reflection attacks or sth. alike.

I think PiHole has improved since that time, you can now set throttling, but I'm not sure I'd run a public PiHole anymore.
You joke, but allocating and writing random data all over the heap and hiding and constantly moving key material through it is the idea behind Schneier's Boojum.
Posting another comment rather than updating my last one: Thanks to all for the feedback.

After knocking it around in my head, I concede I am wrong :) HTTP is, after all, an Application layer protocol.

Whilst I remain unconvinced by some of the arguments, that one that got through to me was mostly about the reasoning behind using an application layer protocol in the first place: standards. And this breaks the crap out of those standards.

The correct answer is probably closer to a combination of status codes and a _clear_ response message (as well as the correct Content-Type header!)

An empty 404 is ambiguous, which is surprising to nobody :) fair points all round
There's no wheat. The entirety of web3 is a series of ponzi-like schemes to pump up the price of some token and dump it on unsuspecting users. When someone is trying to sell you a currency, they're not trying to sell you a product. They're trying to get you to inflate the value of it so the miners can realize their profits, while you get stuck holding the tokens that will then change value randomly. And even if there were any merit to any of the claims made by web3 companies (there isn't), by definition most of these web3 projects/startups would fail and collapse to nothing anyway, making the token worthless, and losing everything the holders have.

Payments for IPFS storage isn't a horrible idea, but it needs to be done in a normal way using real money, without the speculative tokens.
Liquid Haskell is much closer to contracts than Idris, if you haven't heard of that already. I'm interesting in exploring contracts independently of types, though.
Just hit "#". That wasn't buried very deep.
I’d like to see a modern BASIC-like language with line numbers :)
wrong, a true asset of that class would not only limit but actively reduce the number of tokens in circulation afaik
Lol I think the OP is just getting older and his vision is getting worse.

My vision is poor (-600) but was stable for 25 years. In the last two years and especially in the last year once I got into my 50s, my vision has dropped like a rock. I need reading glasses for the first time in my life and when it’s too dark I can’t read anything. Switching between phone and tv is HARD and I can’t read properly for several minutes while my eyes adjust.

sigh What a drag it is, getting older…
Short answer is some combination of (1) That requires work and then they would have to explain to people and (2) People aren't asking for it.

If you want to roll your own, you can use free data from Yahoo and FRED and get there pretty quick.

You should also consider tax implications. For example, trading equities short-term is awful and PL taxed at income rate. Compare that to buying real estate which has a 101 ways to avoid paying taxes.
You should rinse with water to remove debris before rubbing. I just put a drop of dish soap and rub with my fingers and then rinse. Then I dry off with a glass cleaning fabric. I use a toothbrush rather than my thumb to do a more thorough cleaning if desired.
Agree with this strongly. Also, it's great to have a zero-config tool like Parcel, but it needs to have a path from zero-config to "some config" as your project grows. I found this very difficult and jumped to Vite.
The state of SaaS analytics features 2022 report
I helped build a language like this called Eve: https://github.com/witheve/Eve

It's defunct now, but it was indeed a Turing-complete SQL (but actually relational) with Prolog-like syntax and set semantics. We supported persisting data, and indeed you could think of it as programming within a database. Even though it's not worked on anymore, the last version in the repo worked pretty well IMO. I built a Spotify clone, and even a robot in the language. If you're interested in these ideas, you should give it a shot! Hopefully someone will pick up these ideas and run with them even further.

It's a pretty mind-bending experience to program this way, and I promise you'll have a new perspective on programming as a practice once you grok it (that was common feedback from our users).
Technologically, Bitcoin and blockchain technology is garbage
No cryptos?
The 10k hours number is also dubious. It just happens to be the average number of hours students at some special violin school have spent in solitaire practice by the time they turn 18 (or what ever age they apply for the school).