skysight-inc/HackerNews huggingface dataset:
> I'd use it again for personal projects, maybe not for large company projects if I was the architect.

Questions about large projects always arise when talking about Svelte.
Did you / would you use it and why not?

I would certainly NOT suggest using Svelte on enterprise projects.
Why not?

Because other people don’t do it, and that means that it is very likely that there are no (not many anyway ) experienced Svelte devs that are willing to work at/for some large company.
React and Angular are safe bets in THAT space.

On the other hand, would I use it for personal projects or in a startup - absolutely.
It's simple, it is fast and it is fun to work with.
Exactly. The gravy train was powered by hopes and dreams and leverage not profits.
Yes, the interesting segment imo is "online multiplayer AAA, released in the last 5 years".

Because when people buy gaming rigs with $1-$2k graphics cards, those are the titles they are likely to want to play. Anything simpler, older, indie, you can basically work around by other means (virtualization, emulation. Or the community or company, or driver vendor has caught up and "fixed" the problem, see e.g. Apex Legends).
That was very entertaining. Thanks for posting.
Godwin aside, the point is valid. When I look at Musk? Sure, he's overrated, acts like a nerdy teenager who never grew up — "Rockets are cool! Sports cars are cool! I know, I'll put a sports car on a rocket!" — but even where I think he's surrounded himself with sycophants (IMO Boring Company, Neuralink, based purely on what I'm told by civil engineers and brain scientists) not really evil.

Misaligned and powerful, so an easy example of how an AI can go wrong; but you don't have to reach for Auschwitz or the Holodomor to find people much worse to clone than him.

As for Gates? The worst true thing I've heard about him was Internet Explorer. And possibly Clippy.
You're not even close to baseline!
I've been using Svelte and Sveltekit daily for a few years (back when it was Sapper!). I consider myself a product designer and not an engineer.

With the new direction of Sveltekit, the absolutely worst thing is the documentation. The new server-side endpoints have confusingly similar nuances (certain things like fetch can be used on certain server-side files, but another kind of fetch can only be used on another). The documentation style makes these nuances next to impossible to find, and I find myself having to Google or ask Chat GPT to help me figure those problems.

Otherwise, it's been a breeze to build with!
+1 for r/netsec - they keep most of the blogspam and occasionally have some good thread discussions
Maybe it's not "link rot," it's just information that's no longer relevant. Design your systems to be able to handle that. And you'll be able to interop and reason with all kinds of data.
That sounds like a good idea, you just gave me new keywords to search for my next attempt.

Thanks!
I recommend you to have a look at Phoenix Elixir LiveView next.
Just to clarify, I am an atheist and I don't mind taht people believe in
god. Sorry, _God_. I respect the decision to believe and to worship. It's a
fundamental element of humanity. I'm not against it at all. I just don't
think that those beliefs are real, that's all. The last thing I would ever try
to do is to convince someone that God doesn't exist. Why would I ever do that?

As to LLMs, they are not supernatural beings that are the subject of belief,
or even disbelief. They are technological artifacts created by humans,
machines that perform a task they were created to perform. We created the
machines, we know how they are made, and we know what they can do. For
example, if you were to argue that a car can understand transport, or an
airplane, flight, just because they are very complex technological artifacts
and they behave in ways that are not easy to predict, or even explain, then
I'd have to say, similar to what I say about LLMs: "an airplane is a machine
designed to fly, not understand flight, so if you think it understands flight
it's up to you to show me how its mechanisms allow it to do that".

In particular I would ask you this because I am just now polishing up a PhD in
AI (although not the kind you read in the news) so this is my field of
expertise and I believe it is reasonable for me to have questions, when
someone makes assertions about the functioning of systems that I have studied.

In short, it's my job to know and to understand how those systems work, and if
you say they 're working somehow otherwise, then of course I'd like to know
why you say that. So, yes, I'm going to want to know where "understanding" has
been hiding from me all this time, and I'd like very precise instructions to
find it myself, please, otherwise I'm going to assume you're making it up as
you go along.

No offense meant. I have to do that as part of my job (i.e. reviews). Perhaps it's a "deformation professionelle", eh?
I can’t remember where I heard this quote, but I often think about it:

“I don’t like to buy things for my things”.

For example, if you buy a car or a house, it’s basically guaranteed that you will soon need car things and house things. Many of those things will in turn require their own things, and so on.

It’s interesting to consider the longest thing chains you have in your life, so you can avoid making them longer or avoid starting new ones.
VBIOS related, right? Or custom drivers.
> does not really mean much here [...] impossible to directly observe

As misconceptions are common around the Sun, sunlight, and colour, it can be helpful to crosscheck concepts by swapping the Sun for a more familiar object: a light bulb, display, wall, shirt, or elephant.

Imagine an article about a newly energy-efficient light bulb, which included only false-color thermal and near IR images - "Look, less waste heat and wasted light!". Would it seem odd to suggest adding a true-color visible-light photo? What if the authors color graded such a photo to hide a less marketable, say greenish cast?

Years ago, NASA did a traveling museum exhibit on the Sun with lots of colorful images, but not a single white Sun. Now imagine a traveling exhibit on elephants. With colorful thermal IR images of ears as radiators, and false-color images of skin parasite distribution (thus mud baths) and so on. But not a single grey elephant. How odd would that be?

Presented with "A 5-year old asks: The Sun is a big hot ball... what color is the ball?", it's not uncommon for first-tier-U physical-sciences graduate students to answer with variations on "it doesn't have a color; it's lots of different colors; it's rainbow color", reflecting misconceptions around color perception. Which then might be probed with "A 5-year old asks: what color is that shirt?".

"Why does the Sun shine? Fusion!" becomes "Why does the LED light bulb shine? Electricity!", highlighting the incompleteness.

Another crosscheck is seeing how the non-uniform appearance of the Sun (limb darkening) is handled. With the edge/limb appearing darker and redder because of longer sight lines through cooler higher layers.
Yes, I've seen not-so-big product with 100s of feature flags. It's impossible to test for. Just have to hope for the best. No 1 can keep track of them or know what are any more.

To make matters worse it can be dynamically enabled based on cookies / headers per customer.
Create CLIs for 2023 Using Deno
There's a game this made me think of, which I now cannot remember or work out the name of. You had a collection of objects (think coloured plastic triangles, cubes etc.) and one player arranges a few of them into groups, which should all match a secret rule that they have come up with ("more red than blue objects" or "all triangles are stacked on top of cubes"). The other players then have to try and work out the rule, but the rule setter only communicates by giving counter examples if they haven't got the rule right. It was something like that anyway, can anyone remember the name?

The original edition was kind of cheap and plastic feeling, but it's the sort of thing that could be done nowadays with really high quality components.
Its amazing that everything is some conspiracy of 'they' just wouldn't let us advance. Most times these sentiments are from those that are just learning a field, and haven't realized that the 'establishment' wasn't stopping advancement, it was also advancing. Just because there is a big break through, doesn't mean that everything that came before wasn't needed to reach it.
Paging Geoff Marshall...!
https://www.aei.org/wp-content/uploads/2023/03/Chinas-Three-...

But more generally my take is that most people have no idea how these things function at a basic level.
Jsonnet – The Data Templating Language
That is almost surely an excessive reaction.

Limits (possibly to include prohibitions) on using H2M accounting to back demand deposits would be a more targeted (and therefore appropriate) intervention.
Ah the good old days of Sapper :'), the changes to the filesystem based routing to +page.ts +page.svelte +page.server.ts was really annoying to figure out initially, and +hooks as well, where to use what, what's the best way to do protected routes, took some re-learning, but it is what it is, would take the plunge to avoid React xd
I agree. Large projects become small projects. Bringing custom development to the masses.
The same way that Microsoft was messing with Quicktime on Windows.
The important part is probably not the coconut oil, but the cooling in the fridge after cooking.
"Depending on the type of service you run, you'll likely still need request IDs and other diagnostics in your error message to help your support staff debug the issue."

Just don't get too carried away here.

A few days ago when using one of the USCIS websites I came across a full stack trace including db table names and file paths.
> I like the idea, but in practice I always ended up refactoring it out. There was always something else I needed to do after the Promise resolved or rejected prior to rendering, and I didn't want to run that logic every time I used the service.

> The logic also didn't belong inline in the rendering code, though. So where does it go?

I think the idea would normally be that you would handle loading the data in +page.ts and do any transformations there, and only deal with rendering and ui elements in the +page.svelte file.
Wikidata was consciously designed without consideration for the semantic web/rdf. I remember being dismayed by this, but they added some facilities later. It is designed around a purpose built data model. https://www.mediawiki.org/wiki/Wikibase/DataModel
When I used Zig I ran into this all the time in practice when using iterators. It is the combination of that you cannot nicely create a locally scoped iterator and that Zig forbids shadowing.

Specifically this kind of code (and I do not feel calling them e.g. iter1 and iter2 or foo_iter and bar_iter make the code nice):

var iter1 = foo_dir.iterate();
while (try iter1.next()) |entry| {
// Do something
}

var iter2 = bar_dir.iterate();
while (try iter2.next()) |entry| {
// Do something else
}
I think experimentation is one of them. being able to easily break backwards APIs to try new things in each version may not be nice for large scale projects. It's nice to try new things, but it can be a maintenance effort in terms of sustainability. and such projects are usually used for a large project so core development can go a certain line. (like google products for angular, facebook products for react). it doesn't seem to apply to this svelte. It is debatable, of course, that it is a negative thing. But I think it's a shortcoming.
So ... you've no actual official link to back up your "non hypothetical" story .. no per capita figures on women in prison being raped by either guards or other inmates (other women or trans)?

That seems odd to say the least.
And of course you could turn that into a community family event at your local hacker-space. For those who didn't like the solo message/messenger.
This is cool. I wanted to provide notes export for people using a note taking service I built and landed on a ios shortcut.

I think you can accomplish something close or the same? using shortcuts.

One obvious benefit is the interface is going to be more approachable than the jar to most people.

Shortcuts are also cool because you can build one and package it for others and even define user specific parameters that get filled on install.
The banks got to play and invest that money off those depositors. The investment was in government bonds. So essentially, the government got to use those depositors money, and then turned around and gave them back their money. Oh and it also inflated away the value of that money. If you think this is capitalism or the system working properly, you're deeply wrong. Finally, if this thing didn't blow up, those depositors would've seen none of the profits from lending to the government which is clearly a risky business.

This is the same old story, governments printing money. This time they held hostages as they were printing their money. Almost like Money heist. Funnily enough, the narrative is so strong they are somehow the heroes. Maybe because people can't understand that inflating money is stealing.
K-Hashv a Fast Vectorized Hash Function That Passes SMHasher (Updated)
> those depositors just lost their FDIC insurance for any amounts over $250k

Did people think that, just for them, a special institution disguised as as a defunct bankrupt bank, was never going to be "that one trick they dont want you to know about" and you would have infinity insurance for $0?
r/conspiracy used to actually be quite joking and fun. But, no, it's turned into deep, deep MAGA dreams, russian agitprop and people that legitimately need mental help. Hate speech is half of what is in threads.
A one-time expense also has an opportunity cost though. If you invested your $1000 with an average 4% yearly gain it'd be $4800 after those 50 years.

(but then of course the same opportunity cost also applies to your monthly payments)
It appears that if you eat too much sugar over time it fucks your hunger signaling system so that you feel hungry even when you don’t need more calories. Or something like that.
Vista was shit, but Win 7 was generally accepted as a very good version of Windows, with 8 being bad, and then 10 being eh.

But 10 can be made pretty acceptable if you bring out the group policy editor.
Serving the demand and then imitating the consumism of the capitalists.

I didn't write that 'comunism' is inherently better in the environmental aspect.

At last it is just another ideological idiocy and kakistrocacy.
Mildly related but /r/buildapc is also really good if you are not just building a PC but have some hardware related questions (though it’s generally Windows and gaming focused)
Din Tai Fung founder Yang Bing-yi dies, aged 96
How cuddly are you?
I literally can't remember seeing a BSOD in Windows in as long as I can remember, at least 5 years or more.

I haven't rebooted this particular machine since the time it said it was required for an update, which was weeks ago.

I use it as my primary dev machine for my day job and it's a gaming machine that I use for gaming daily.

Something else is wrong. It's installed on billions of devices, noone would accept constant BSODs, crashes and forced reboots if this was the normal experience.
I don't think this is about smartphones. This is about the online systems they interact with. We really should ban systematic user manipulation, advertising as a business and all unmoderated online spaces.

Most on-topic and/or small communities are fine. It's OK to create forum, but you need someone to step up and step in when necessary. Unmoderated FB-style exchanges and viral content with attached comment section need to go.

Well, that won't happen. Capitalists wouldn't allow it and regular people have this toxic environment internalized and normalized.

So I guess people will kill themselves. And a lot more will be permanently damaged.

It doesn't matter anyway. Soon there won't be any meaningful employment for kinds of people who fall prey to this due to ML replacing them, so this is just a drop in the ocean.

Root cause is the profit motive. Get rid of that and we can start having real discussions about what do we want.
Linux gaming is almost in a state where I'd find it quite tolerable, except that VR on the platform is still a sitshow (yes, even on Valve's own hardware) and, unfortunately for me, I've become quite attached to a few VR games.

As it is though, I'll just give up on VR and whatever else I like that doesn't work on Linux before I go to 11.
The most common Flash Translation Layer design in modern SSDs
In the past few days, I have read a lot about different variations of Flash Translation Layer. Most of them are designed for specific architectural designs. However, what about the most common solution that is widely used in today's SSDs on the market? I know that this part of the SSD's firmware is considered proprietary, as well as the device as a whole.

Any suggestions how this might be implemented?
Right. Or just let the DB do the caching. If you're not making million user app or have hundreds of gigabytes to query it will be faster than anything done in Ruby code anyway.

> If you render the view without any cache with 10 things then you'd perform 20 queries but after the cache is warm you'd perform 0 queries. If item 5's Y gets updated then you only need to bust the cache for item 5 and query only item 5's Y association. Performing a preloaded query to get all X 10 things with their Y associated things could be an expensive query.

So instead of "do one query to the database, zero if cache is hot, one query again if you invalidate it", you do 20 queries, zero if cache is hot (but 20 cache queries), then 1 if you invalidate it.

That's nice method when single entry query is very expensive but in most cases it will be living in DB cache already.

It is only a win if DB is the bottleneck which by far is rarer case nowadays than RTT. Also you could just query all 20 records at once but write it to cache as separate records, then have write-thru logic for updating records. Best of both at cost of some complexity.

You can also just... cache the resulting page instead of data-level caching, and not engage app code in most requests in the first place. Partial caching with ESI is also possible although pretty involved.
If Mexico occupied half of the arizona desert and the US counterattacked a few months later and retook it, would you describe the US as “conquering”?
Google too. There's an awesome swipe right screen on android that shows travel related information and upcoming events. But then they decided to add news articles to it and it's impossible to turn them off! You can only disable the entire feature.
With AnyConnect you can definitely work around enough to make WSL2 + dockerd functional: https://gist.github.com/pyther/b7c03579a5ea55fe431561b502ec1...
lol, great
would you please update the milvus score in your benchmark with the latest milvus, thanks
I don't know if you lost any debates there. If you were having those debates for a long time, you may have heard of Russel's Teapot:

Russell's teapot is an analogy, formulated by the philosopher Bertrand Russell (1872–1970), to illustrate that the philosophic burden of proof lies upon a person making empirically unfalsifiable claims, rather than shifting the burden of disproof to others.

https://en.wikipedia.org/wiki/Russell%27s_teapot

So there's nothing there to disprove. Anyone who wants to convince you of the existence of the Gods they believe in, that person has the responsibility to convince you. Not you, them.

But I think it's a bad idea to try to convince people to believe, or disbelieve things anyway. Why do that? Faith is a great thing to have, life is hard and there's horrible things that happen during it. There's nothing more powerful than knowing in your heart of hearts that there's someone big, and almighty, watching over you.

Leave people believe. You're not doing them a favour by trying to refute their faith.
The quick version without all the vague distro talk and a few more Thinkpads thrown in.

Current T14/X1/X13 laptops need at least a 5.19 kernel to work but 5.19 is buggy on them in multiple ways and should be avoided. 6.x kernels are very solid with these Thinkpads. Slackware current on my X13 was the most effortless linux install I have ever had on a Thinkpad, everything worked from the start.
When Is a “Mark” Not a Mark? When It’s a Venture Capital Mark

https://a16z.com/2016/09/01/marks-offmark/
Having to interact with the browser every time I need to ssh to a machine would be extremely painful.

If key forwarding works, that might be workable.

I'm extremely wary of non-standard ssh login processes as they tend to break basic scripting and tooling.
They can. It won't matter to First-Citizens who will just backfill the deposits using Fed BTFP loans, or higher duration better matched deposits from elsewhere.

That book is worth $72bn on run off. $16.5bn pays an awful lot of interest.
Stripe's dashboard lets you do the same thing but like hell I'm giving you my secret key.
It’s pretty common for languages in the field e.g. C++ (const versus non-const methods), Rust (value, unique reference, shared reference, deref), and even Go (value v pointer, delegation).

The “method syntax” is pretty much just a convenience, so why not also handle that after all?
Apple Demoed Mixed-Reality Headset to Execs in the Steve Jobs Theater Last Week
it fails with nextjs error
we are FAR AWAY from that being a problem. An average Joe that isn't corrupted by money/lobbyists/... will make dramatically better decisions than any smartass that also tries to hide the corruption under the rug of meritocracy ("you don't understand, I am the expert!!11").

Decisions that are made in good faith from average people would be so much better than anything we experience today, its almost comically absurd. The decision-making process including all talks being recorded and publically available would also be a massive factor to restore trust in politics.
Yes they are really annoying and the fact that someone somewhere can tell it what topics not to discuss, just be cause they disagree or it’s “controversial” really concerns me. If it can not be self hosted I want the “unrestrained” version they give researchers.

I probably took “world history” a half dozen times through grade school, high school, and college. In each case the history of the world ended in 1945 because everything that occurred afterward was considered “too controversial” for discussion in a public school. Fast forward a few decades and it’s happening again. A lot of stuff happened after 1945 that warrants discussion.
All of that seems very plausible, right?

"Make a juvenile elephant."

"Make his ears comically large."

"Bigger."

"Give him a little floppy hat."

I don't think it's out of the question for these kinds of commands to result in the correct outcomes. Now, maybe I can adjust the ear size more precisely with my mouse, but it probably saved me a bunch of work.
I was also confused when migrating from Sapper 0.27 to SvelteKit 1.0.

The syntax changes were straightforward enough, but it left me with a project that didn't compile.

I started a new project and copied the source files there and it worked.
> That's great if you can fit a lot of your database in your server's memory, but seems like a terrible headache once you get a decent number of users.

Once you have few million users then you can think about better solution.

You can fit a lot into server memory, and spilling out of RAM to NVMe isn't that bad either.
The commission is tasked by the council to translate policy into proposals. If the council directs the commission to repeal a law, they will draft a proposal to do so. The council also appoints the head of the commission, who has final say in the members. The council in turn is composed of the heads of state of the EU members, so it is mostly directly elected.

Maybe people just need to take more care which leaders they elect, if they don't like the policies that result from it.
SSH Security: Protecting Your Linux Servers
Show HN: Hacker Cabin