skysight-inc/HackerNews huggingface dataset:
Yeah. Even here in Sweden where I had -17 C the other day, the summers can be pretty warm.

Outdoors is "refrigerator" temperatures only in perhaps March-May and September-October.

But that still doesn't make sense, since we usually keep cheese indoors, where it is is nice and comfortable.
Ahh, classic HN.

You have to love how it never approaches “no politics” to discuss the EU or the UK, when any discussion that the US —- itself quietly pretending the NSA is not essentially unchained —- is at considerable risk of ending the whole “great experiment in self-rule”, the superiority of which it lords over the rest of us, is essentially verboten.

We get it: HN hates the Brits and distrusts Europeans. But as the bard (Elvis) said: “clean up your own backyard”.
Slightly surprisingly there's one still for sale. £385+VAT. "worth two code credits under the Code for Sustainable Homes." Further googling finds "The Government scrapped the Code for Sustainable Homes and the national net zero carbon homes standard in 2015".

https://uk-metering.net/products/netthings-energy-manager
They sent that to a LKML and didn't get a single reply to it? Curious.

I think maybe somebody should re-post the request to credit the 3 developers, because that is directly relevant to LKML and may have gotten lost in the middle of all the text.
Heyo, just curious what language(s) use the latin alphabet without case?
But do you need to get paid for each time someone listens to a copy? The artist isn't doing work for me when I listen to a song. Spotify should pay artists when their songs are added, not when listened.
Even if that were true (its not IMO), its not the educated and unemployed who like this sort of legislation.

It is the security services, police, and civil service.

At the moment the weak leadership (useless PM) is giving them an opportunity to rush the politicians into stiff like this.
Wild shot, but does anyone have data sets on how different languages compress in a similar manner? It would be an interesting mix of letters/phonemes used, word length etc.
> they are arguing against positions that no reasonable person actually holds.

Very much the hallmark of many a Libertarian thinky tank. This one is brought to us courtesy of Pierre F. Goodrich: https://en.wikipedia.org/wiki/Liberty_Fund

They do raise interesting questions, then often proceed to stomp all over them with all or nothing extreme positions.

Harrison Bergeron is a satirical dystopian science-fiction short story much loved by teenagers, not a starkly realistic portrayal of the inevitable outcome of social policy.
It’s not your job to decide what Spotify’s business model is.
Trade in the UK and you are, in fact, bound by UK laws.

That this regularly comes as a surprise to Americans is perhaps why the UK is so suspicious of US Big Tech firms.
Asynchronous Local-SGD Training for Language Modeling
This is quite interesting. I'd be interested in more information on this.
https://www.digitalmusicnews.com/2024/01/11/spotify-stream-m...
Volvo used to sell an EV with a built-in ethanol heater, perhaps that idea could be getting a comeback https://www.media.volvocars.com/global/en-gb/media/pressrele...
Not sure why Scott Wlaschin needs to keep renaming existing concepts ('Monads' to 'Railway Oriented Programming' and 'Function Composition' to 'Pipeline Oriented Programming'), but I really don't think it helps shared understanding.

It feels, at worst, like the height of arrogance to assign new terms to existing concepts, as though you've just invented the concept. And, at best, a form of anti-intellectualism - to try and make functional concepts accessible to ex-OO devs. But it feels to me like all it does is muddy the waters.

Not everything needs to be oriented programming.
Deserve to be paid by whom though, Spotify already pays nothing?

A song with 10000000 (10 million) streams , a pretty big hit and only reserved for big artists will give you 500 dollars before cuts, taxes etc.

So not even the biggest artists will make anything substantial.
You can think of mathematical symbols as representing math objects. They are fairly new in unicode and yes different alphabets can be used. Like the symbol for infinity is from the Hebrew alphabet. Unicode gives them different codepoints so that screen readers and eventually one day renderer engines can typeset them correctly. Of course if you try to understand some of the more esoteric math subjects, is now mostly diagrammatic. I dont understand them to be honest!
https://news.ycombinator.com/item?id=39066345

You could probably modify this solution, I am already using 3 bits for piece type

0-3 rook queen bishop knight

4 Non-moved king (can castle)

5 moved king

6 pawn that moved 2 squares last turn (can be captured using en passant)

7 other pawns

And then a single extra bit to store whose turn it is
Hmm ... to each their own I guess. But while developing backends with Kotlin I attempted to ditch all annotation/reflection/code-generation based libraries for a while, opting for functional libraries like ktor, exposed etc. But the end result always ended up being a lot more verbose and repetitive.

I now feel that some form of behind-the-scene code-generation or reflection support is generally good to have so that the bulk of the application stays focussed on application logic instead of various dto conversions, mappings, transformations etc. I don't shy away from Quarkus, MapStruct etc. now a days and I think my code is easier to follow because of what they enable.

Typescript is a bit of an exception here because the type system is quite powerful with various type transformation capabilities but Gleam's type system also appears to be quite minimal.
It also breaks many user flows like when a site in an app opens an other app to complete a process. Then there is no way to get back to the site that works in all cases.
I'm not convinced that I would choose Merlin, because it only supports a very limited amount of devices. However, I had Asus routers in the past and they were not half bad.

If you don't need USB and could switch to OpenWRT, you could go for a Netgear WAX 202 - I got a used one for 50 bucks, pretty stable so far. Or maybe a TP-Link AX 1800 for 60 bucks new.
IMHO the best way is that of SmugMug who managed to not only outlive but also eventually acquire the oh so hyped and much more funded competitor that I would’ve guessed would have finished any profitable business in its category all while staying true to their users. Customers who make rational buying decisions can be so powerful.
Maybe the non-NACS Tesla chargers are built better.
Thanks! And give me and update if there is anything to adjust to make it more appealing!
And the full game history back to the most recent capture for draw by repetition.

Ouch, I will leave this as an exercise to reader
(re: dead comment 39066268) I'm now very interested in what Reiser would think of the present state of the (semantic) web. (edit: i.e, the thought experiment, realized: transplant someone just a few years in time --- what gradual changes would they uniquely observe?)
Not to digress too far from the OP, but Roblox graphics are ass. If they could do Fortnite they would capture the more lucrative demographics.
Yes, and an export from the old browser would count as "making it accessible to other browsers".

But that's not possible, hence it being listed among the issues.
> Just fire people and say you over-hired, holy cow.

That would be the "lazy" way out. It would also be simple, fast, honest, straightforward and show respect to everyone involved.
You know... I have very little empathy for Spotify. Their whole company is built on pirated music
Amazon has taken down the Sad Bastard Cookbook
Millions of families suffer every year
I'm using sqlite and litestream in a side project of mine; it's "in production" in the sense that there are a handful of friends and acquaintances using the system, and I'm hoping to scale it up to more people in the future.

Short answer: Litestream was really easy to set up to replicate to Cloudflare's R2 (api is S3 compatible), and basically Just Worked.

That said, a handful of people's worth of data isn't exactly stressing its functionality; I have no idea how well it scales. I did some manual restores to make sure that it works, but I'm not (yet) doing regular verification tests on the data to ensure that there's been no data corruption (other than its own auto-checking, which of course could itself be broken).

There are a couple things I like about sqlite. First, somewhat simplified administration, as you don't need to set up a Postgres instance. I find it easier to test, because you just create test databases in temporary files and throw them away.

Secondly, the application I'm using has some data that's common and almost entirely read-only, and some data that's user-specific and read-write; sqlite makes it possible to divide these into different files, such that there's a single "shared.sqlite" database and each user has a "user.sqlite" database, and to join the two in a single "view" using the "attach" command. The data now is essentially pre-sharded: if I ever did need to scale past a single machine (or at some point if I want instances closer to where people), I'd just have to replicate the shared data and move the user-specific data to the appropriate instance, without any major refactoring or fancy synchronization needed.

The main downside of this is wrt litestream is that litestream's configuration file isn't really designed for this; you have to have a separate entry for each of these databases, and often you have to duplicate settings across them because most of the settings don't have a global setting you can make. At the moment, every time I add a user I have to regenerate an even-larger configuration file.

But that turns out to be fairly straightforward; and at some point I should be able to write my own daemon using the litestream golang package to do what I need to do, rather than using the litestream daemon.
Good, like VSCode then ;)
"bandwidth from a multibillion, multinational corporation" that started out as a frontend for the pirate bay. They were probably friends, as both are from Sweden.
TSMC 2nm Update: Two Fabs in Construction, One Awaiting Government Approval
Image resolution, lighting, and skin pigmentation will affect the accuracy of any image analysis app. I have a feeling a lot of those apps exist solely to collect and resell data. It doesn't actually matter that they are accurate or not, what matters is that you were concerned and that data point can be resold with the rest of the data you give them.
Recent discussion: https://news.ycombinator.com/item?id=39035536
> this sounds like it could somewhat mitigate the phenomenon

Wouldn't work in the UK; the Director of Public Prosecutions (a member of the government) has the power to take over a private prosecution, and then drop all charges.
THERE MIGHT BE ANOTHER WAY ABOUT THIS.
It's true that there is a memorial mannequin on display at UCL that contains some of his remains, it's absolutely untrue that they wheel him out to attend every committee meeting. OP's careless repetition of a myth like this has some bearing on his credibility imo.
How do you know its doing nothing? I have a couple VPSes I have sitting idle for my disaster recovery scenario.
Bored teenager.

I'm actually serious there - school/university holidays invariably bring with them a shitload of fairly random DDoS attacks aimed at ... whoever the attacker feels like.

I don't understand and I don't know where they get that volume of packets from, but I've seen it happen a quite sufficient number of times over the years to consider it as a possibility here.

(excuse the vagueness; if you're ever at the same conference bar as me you're welcome to follow me outside when I go for a smoke and ask for the full story then)
Ask HN: Who names/renames products at Microsoft?
Who comes up with these names (and even worse renaming) and confusing everyone? .net, .net standard, .net core, .net framework, .net again?
But the static dictionary is not used as is, but transformed with a lot of options. For example both `<!DOCTYPE html>` and `<!doctype html>` appear in the dictionary, and the transform 43 (FermentAll) will turn them into `<!DOCTYPE HTML>`. (No transform would generate `<!doctype HTML>` though.) Therefore Brotli is not only following the herd, so to say. And the static dictionary only improves a very short input---any long-term pattern will be captured regardless of the static dictionary.
I use smaller font sizes for the same reason
> I did once get a very lame baguette at a Monoprix once. Blew my mind that the French tolerated it.

We tend to buy bread in supermarkets only in case of dire emergency. Statistically, there probably was a much better bakery around the corner from that Monoprix.

> It takes industrial climate control to make them taste good after about December.

I remember my grand mother keeping apples in her cellar (cold but not freezing, dry, close to constant temperature year round). The apple she put there were fantastic long into winter. They would not look great, slightly shrunk and with wrinkles, but the taste was excellent. Industrial climate control is to keep them look good, not to keep them taste good.
Kind of seems silly. How much of this is fixed by running the text through NFKD? That probably takes care of a good portion. There are many characters it probably doesn't but if people ever seriously used this, someone would easily make a DB of homoglyph characters. There probably already is one.
Very cool mixup.. I have yt premium, and I boycotted Spotify a long time ago. However, Spotify is probably still the best service for playlists.
> Intelligence is more like the ability to generalize skills, applying knowledge gained in one scenario to another scenario.

Hmm.. you are talking about LLMs.. They are the most generic thing we have right now (Jan 2024) LLMs have limitations, like learning on the fly isn't their strong side. But the same with brain, it consists of limited components, that's only together they work well. LLMs can be a part of the solution, if we can't find something better.
If you mean the changes declared in https://artists.spotify.com/en/blog/modernizing-our-royalty-..., then I find it hard to reconcile the description given there with your editorialization.
My biggest gripe with Firefox on Android is that sometimes I enter a domain in the address bar, press enter and nothing happens.

This behaviour seems to be erratic and only affects a few websites, such as https://forum.syncthing.net.

Closing the tab or using a different one doesn't solve the problem. I need to force close the app to fix this.
>Even if you only listen to one artist, 8 hours per day, 365 days a year, they will earn a whopping... 100 bucks from Spotify.

i mean, that sounds fair?
Afaik they plan for some sort of metaprogramming, but they don't know how it will look like and it hasn't been a priority yet.
Fuck no. This is the rationalist error.

Nope. Not doing it. Pointing and laughing is the right response, not trying to figure out why mummification in the Victorian era is a bad code smell for the mindset that produces it.
Maybe if you could find an example other than PGP/GPG.
Just when rhythm got banned in discord few years ago, I made a discord bot that did something similar. I supported various sources of playlists/urls, and I'll then go get the metadata from the platform, get the song name and few other details, search it on youtube and stream from there. It was intended to be self-hosted for your own server. Was fun to use until the replacement bots started supporting youtube again and it got made redundant, a whole bunch of them paused youtube support around the time rhythm got the C&D notice.
If you can't see the problem, you've already thrown away something that you needed. I mean that most sincerely.
Making my website faster – Cliffle
Have you tried OrbStack?
"Computer says no"[1] has been a hallmark of bureaucracy for some time.

1: https://www.youtube.com/watch?v=x0YGZPycMEU
Web Components are *not* using the platform
Newly-developed apple varieties dominate because they have been carefully selected for maximum production, storage and transport qualities, appearance, etc., etc.

However, if you want to see some truly weird apples, heirlooms offer way more interest and variety if you can find them. (This probably involves making friends with people who have old trees, rather than finding a shop that sells them.)

For example, I live on an old family farm with an heirloom apple variety (unknown name, if it was ever named at all, but dating back to at least the 1850s) that is spicy and bubbles/fizzes when you bite into it. It's quite cool, and I think it is something some people would want to buy, but it is unsuited to modern commercial production for a few reasons; for example, it fruits on new wood at the tips of the branches, which makes it less suited to modern tree pruning strategies (all modern apple varieties fruit on older wood, which makes them much easier to prune).
Diskprices.com makes $5k/month with affiliate marketing
Slid out, not slided :)
That doesn’t paint the full picture, though. Artists get something from Spotify in return - exposure to listeners (even those that wouldn’t traditionally listen to an artist or never discover them otherwise), global and immediate distribution, marketing, and simple payment handling.

Today, artists don’t need most of the services traditional record labels provide, which treated them way worse over the last half century. And that’s a good thing.

Not to say I think it’s fair how little streaming services pay to musicians, but this is more nuanced than just Spotify exploiting artists.
> 1) you could argue that's bad code generation, which could easily be fixed in the compiler, as `a1` could be used as the result of the `add`

Yes, as I said.

Please note that the code was generated by GCC (trunk) that has fairly mature RISC-V support (it has had RISC-V support since 2017 at least, and the fusion optimization was suggested even earlier than that). If fusion of load/store instructions is indeed an important part of the RISC-V design, why has this not been fixed in the compiler during the last 6+ years? I take it as there is no hard canonical way that register allocation should be done in these situations, which means that HW implementations must assume that such a sequence may clobber two registers.

> 2) since late 2021 RISC-V has the `sh2add` instruction

Which is great. As you say, not really a win in terms of code density, but definitely fewer degrees of freedom and only one clobbered register. Still not as good as dedicated indexed load/store instructions, though.

BTW, while I agree that an indexed load without indexed store would be better than nothing (I actually considered that for MRISC32), I think that it would pose a problem for compilers that generally assume symmetry (addressing modes supported by loads are assumed to be supported by stores too).

> 3) using a function like this to prove anything actually verges on dishonest (and erincandescent did the same thing) because no real program where anyone cares about performance will have such a function in hot code

True that GCC happily and often transforms indexing inside loops to address increments rather than index increments (even so for architectures that has support for indexed addressing).

The point of the example, though, was to highlight that when the compiler needs to do indexed addressing, it must clobber unrelated registers, which is a problem for instruction fusion (i.e. a fused instruction does not do the same thing as a corresponding architectural instruction, as the fused instruction has more side effects).

> It gives optimal price-performance.

Probably. But this circles back to the question about what segments you target with your design. I am fully convinced that RISC-V is the best ISA choice for many segments, especially the cost sensitive segments. However I'm less convinced that RISC-V (as it is) is the optimal choice for less cost sensitive high performance segments (e.g. premium products like those from Apple, gaming riggs, compute servers, and so on). It can probably do a good job there (just like x86 can do a good job, despite all its ISA bloat and shortcomings), but if the integer ISA was designed with support for three source operands from the start, it would be an even better fit for those segments (at least that is my belief).
Reversing the Web- nywhere Watch: browse fragments of the Web on your wrist
Ask HN: AI Image Generator for Books
Has someone already done a full-scale image generator for books, and if not, why not?

Specifications: upload a book in a conventional format, specify the number of images to create, and provide the output as a slideshow. No prompts.
Here is an example of Hungarian and Thai https://hu.wikipedia.org/wiki/Thai_%C3%ADr%C3%A1s
signing up for a free service (or even just using it without an account with youtube music), and playing music for free, is the easiest way to support a creator, at no cost to you.

the bar is so low - support creators with ad money for free, and some people still can't clear it, or refuse to clear it. the complaining is not fair, it's annoying. if you can't pay, or wouldn't pay otherwise, and still opposed to things like ads, that enable you to get something for free - you didn't deserve to get it in the first place. get over it and pay up or shut up. or rather, put your principles to work and refuse to engage with ad-supported content at all. instead of being like "well...i still want it. so let me get it completely for free. even though i could get it for free, but that's not enough for me." the complaints at their core are just 'i got it for free and i'm still not satisfied'. the annoying kind of entitlement that wants something so badly, it doesn't even dare to just refuse itself the thing it wants.
Not working, just counts up to 5/6 seconds and then nothing.
I was a bit bemused the other day when I saw a reiserfs update on arch.

Kinda funny, if Mussolini had invented sliced bread, would sandwiches have been a bad idea for decades too?
I see my mistake now, sorry for being stupidly blind.
I seriously seriously doubt the UK government has anything to do with Google's investment decision. But I do wonder why UK. Post Brexit every one was expecting Finance and Tech will all moved to Germany or the Netherland. This hasn't happened.

Despite all the noise most company have stayed where they are. And in many cases they even invested more in UK.
Archived version of article: https://web.archive.org/web/20231224124818/https://medium.co...

The website making $5k/month: https://diskprices.com/
For something that uses this approach (metadata from spotify, music from yt) but with downloads, take a look at spotdl[1]. Very useful for mpd. Disclaimer: not my project, but I've had some success with it.

1. https://github.com/spotDL/spotify-downloader
That might add a bit of fun the first time. This is the fourth.
It won’t, the headline is misleading, no batteries are actually dead, it’s the chargers that weren’t prepared for the cold and only V3 at that
Overall it loooks ok, but there are a lot of spacing issues which makes it hard to read. Try testing the layout in different screen sizes and make sure everything is properly sized and aligned.
It might be purely marketing-oriented, or perhaps it’s just sales-funnel-oriented, who knows. And if anything unexpected pops up, look no further, the author can immediately come up with a new name for a decades old solution. Same happened to the “hexagonal,” “ports-and-adapters” and so on, which I noted mostly in the .NET community btw, correct me if that's wrong. Like you know every new consulting agency coming up with some new names for old stuff to stand out perhaps?