skysight-inc/HackerNews huggingface dataset:
raku's take on gradual typing may be to your taste; i likewise prefer to leave irrelevant types out and use maximally-expressive types where it makes sense¹. i feel this is helped by the insistence on sigils because you then know the rough shape of things (and thus a minimal interface they implement: $scalar, @positional, %associative, &callable) even when you lack their specific types. in the same vein, dynamically scoped variables are indicated with the asterisk as a twigil (second level sigil).

@foo

is a list (well, it does Positional anyway), while

@*foo

is a different variable that is additionally dynamically scoped.

it's idiomatic to see

$*db

as a database handle to save passing it around explicitly, env vars are in

%*ENV

things like that. it's nice to have the additional explicit reminder whenever you're dealing with a dynamic variable in a way the language checks for you and yells at you for forgetting.

i would prefer to kick more of the complex things i do with types back to compile time, but a lot of static checks are there. more to the point, raku's type system is quite expressive at runtime (that's what you get when you copy common lisp's homework, after all) and helpful to move orthogonal concerns out into discrete manageable things that feel like types to use even if what they're doing is just a runtime branch that lives in the function signature. doing stuff via subset types or roles or coercion types means whatever you do plays nicely with polymorphic dispatch, method resolution order, pattern matching, what have you.

in fact, i just wrote a little entirely type level... thing? to clean up the body of an http handler that lifts everything into a role mix-in pipeline that runs from the database straight on through to live reloading of client-side elements. processing sensor readings for textual display, generating html, customizing where and when the client fetches the next live update, it's all just the same pipeline applying roles to the raw values from the db with the same infix operator (which just wraps a builtin non-associative operator to be left associative to free myself from all the parentheses).

not getting bogged down in managing types all the time frees you up to do things like this when it's most impactful, or at least that's what i tell myself whenever i step on a rake i should have remembered was there.

¹ or times where raku bubbles types up to the end-user, like the autogenerated help messages generated from the type signature of MAIN. i often write "useless" type declarations such as subset Domain-or-IP; which match anything² so that the help message says --host[=Domain-or-IP] instead of --host[=Str] or whatever

² well, except junctions, which i consider the current implementation of to be somewhat of a misstep since they're not fundamentally also a list plus a context. it's a whole thing. in any case, this acts at the level of the type hierarchy that you want anyway.
“… was just …”
Debugging an Undebuggable App
AdWalkers: Wearable Advertising Boards with Facial Recognition
Seemed that way, in my case at least they only really checked the passports. Doubt they'd notice or care if one brings a trunkload full of GPUs across the border.
Not the OP, but they are "Headers". Probably coming from the <h1> tag in html. What outsiders probably call "Headlines".
The US is now officially a full on oiligarchy. It always was one, it's just that the powers that be don't care to hide it anymore and are flaunting that they have the power.
Just curious: is this hardware having its "micro-services" moment?
These types of responses always strike me as dogmatic.
https://en.wikipedia.org/wiki/List_of_countries_by_carbon_di...

Way less than the US though
> What do you prefer ? Letting DeepSeek and China lead the AI war ?

Me personally? Yes.
Not for the government. For people outside of the government tasked with reducing the government. Musk is one of them
I don't think he knows who RA is, I'm betting the cryptobros who ran his rug pulls and NFTs for the last year have his ear after making him millions of dollars.
Show HN: I made a peer-to-peer app to trade/share real-world land assets
Sigh. No. Censorship is censorship is censorship. That is true even if you happen to like and can generate a plausible defense of US version that happens to be business friendly ( as opposed to China's ruling party friendly ).
This is a general question for any reader here who disagrees with the original prison sentence. (Ignore the Presidential pardon for a moment.) What is a reasonable prison sentence for his crimes? 10-20 years?
I was responding to the point that the thought experiment was meaningless.
China is less per capita but the most in total:

https://edition.cnn.com/interactive/2023/12/us/countries-cli...
The OS is part of it (Apple bad, Microsoft good) but the bigger part is integrations.

Web APIs, import and export file formats, external resources (maps etc) are all part of the equation.
By that chart, it looks like you moved that code to the server. Which is fine - I prefer the back end these days too - much easier to monitor and reason about. Especially for a cloudy app. Not so great if you are going for the offline-available featureset though.
If their business sold alcohol to as many teenagers as the Silk Road has sold drugs, then yes, they would get life.
It addresses b too since decompositions are always smaller than the original tensor. It's usually the case that memory access is also slower than matrix multiplications so this will be faster. Burning flops to save memory movement.
I too, am someone who creates a new handle for every single comment, and I would like to point out you too lack any meaningful point aside from that personal observation. Yes, it is cowardly, and I agree with the sentiment of being forthcoming with identity when making negative statements related to your field. It's actually less isolating, despite one's fearful assumption. But that is still, regardless, a point completely unrelated to the actual "discussion" you're putting on the pedestal.

So now we have two posts derailing this.
Give it a few years and it will be self-maintaining
> At the level of a company, this can bring great efficiencies, and make reusable self-driving cancer-free nuclear-fusion based rockets. Or crypto scams.

This is questionable. There are many times when bureaucracy exists for bureaucracy sake. But many, many times they exist for a reason.

Get any sufficiently large company and try to understand its complexity. Simply slashing it is a recipe for disaster.

> Unfortunately, at the level of a Federal Government, it will bring lower taxes, but some of the 10% will end with coffins. And crypto scams.

This is highly questionable, especially the "lower taxes" part. Governments are not very keen on reducing revenue, more likely they will only direct the surplus by cutting off services to other things - in the case of US, I wouldn't be surprised if they just increase spending in military, for example. Those sleasy and juicy defence contracts need funding, you know.
When the Capitol riot happened, Trump was tweeting to demand the protesters act peacefully and within the law.

If Trump was truly an insurrectionist, then that’s a very strange way to incite insurrection.
redux-query seems a popular library for dealing with API calls in react.

I’ve landed on a project using it.

By default it seems to maintain its own cache in the frontend of all api requests unless you use a non ergonomic feature “useLazy*” where you can give it hint if to use the local cache or not.

It’s completely terrible in a web app! Web is distributed and multi user by default.

End result with the app I’m working on if user a adds an item in one browser session, user b goes to a list view they don’t see the update, they see the redux-query cache.

It’s an over complicated mess for an already solved problem. Have the server send proper cache-control headers and let the browser deal with the caching instead of trying to build fat clients on a web app that should be thin clients.

You are right you don’t need to maintain state on the client but all these fashionable JavaScript frameworks promote doing just that.
> Executive Order 14006 of January 26, 2021 (Reforming Our Incarceration System To Eliminate the Use of Privately Operated Criminal Detention Facilities)

This one is the second time round; in Trump's first term he reversed an Obama era executive order which phased them out. One assumes that the private prison lobby pays bigly.
He did also try to get someone killed. It didn't happen, but can you see how the non violent guy was slowly turning to violence too?

I'm sure the initial narco kingpins were nice, non-violent people too, but rarely do the people involved with supplying drugs stay that way - regardless of whether you're Pablo Escobar or just some kid peddling weed in a sleepy village in the south of France.
Probably referring to how many Americans are obese to an unhealthy degree as part of the joke.
> that retaliation would never come because Trump controls the enforcers

Federally, only today. And federally, the judiciary has its own enforcement powers. (To say nothing of private liability caused by wilful lawbreaking, even if encouraged by the President.)

It’s why Apple and Google, informed by the most-expensive lawyers in the world, have for now de-listed TikTok.
Court lifts OFAC sanctions on Tornado Cash
I didn't even think of that, but I did think of moisture. In theory a good moisture barrier would help, but I don't think they had that in older times. I suppose a lot of heating on the inside would keep it dry, but heat + moisture = mold.
I do find those suggestions valuable 80-90% of the time. But in the fringes, on less popular questions, it’s really frustrating because I can’t just substitute it in this way because the situation is just different.
Because they have no reason to care about what you think or feel or they wouldn't be doing it in the first place.

Cookie notices just gave them another weapon in the end.
had to acquit
This may be true - and I wasn't trying to claim that you can make as much money in academia than in the industry, I'm arguing that you often get paid a quite decent salary that allows you to live very comfortably.

Could you make more somewhere else. Quite certainly! But ask any Humanities grad what they're making in their first job outside academia.
I own a framed print of the first one (the orange butterflies) and it's a delight.
the assets look good as a starting point, they may even be used as background elements
Dario said in mid-2023 that his timeline for achieving "generally well-educated humans" was 2-3 years. o1 and Sonnet 3.5 (new) have already fulfilled that requirement in terms of Q&A, ahead of his earlier timeline.
I meant I literally can't see your original comment to critique it because it's been deleted.

But now I think even if I could I wouldn't bother. You don't seem like the kind of person who can engage in a discussion. You just want to "win".
Ignoring the issue would be the most sensible approach? I’m scared about possible damage to my reputation…
This is their dedicated webpage: https://hivepulse.co.za/

Too cool! Might give it a try.
Put differently:
“What has COBOL done for me lately? Can’t we just cut out all COBOL code, and replace it today to save money on paying COBOL cowboys?”
I mean, to the extent that Softbank's grand entrance could almost be used as the signpost to the bursting of bubbles.

If I was an AI enthusiast, Softbank showing up would make me nervous.
Done for effect: it felt to the OP as if it was the present so the writing conveys that, while elsewhere making it clear the arrest was not the present.
I mean there's a legal concept of motivation. A murder is sentenced very differently if it's premeditated, or not.

The idea of looking at someone's motivations to determine their sentencing is critical to our legal system - otherwise important defences like the "Battered Wife Defence" wouldn't work.

I think most of us can also see a difference between a poor person stealing some gloves to stay warm in the winter and a rich person stealing those same gloves for the thrill. The only difference here is you don't like the fact that Ulbricht's motivations were more high minded than your average crack pusher (cough CIA cough) - the judge didn't either - in fact he sentenced him harder for it to make an example of him.
No, not really... the origin of Gaza conflict is in Zionists confiscating the most fertile land and water resources.

That's why Israelis gladly handed back the Sinai desert to Egypt, but have kept Golan Heights, East Jerusalem, Shaba Farms, and continuously confiscate Palestinian farmlands in the West Bank.

There is nothing arbitrary or religious about which lands Zionists are occupying and which they're leaving to arabs.
I'm not pro life sentence but the guy who was selling literally tons of narcotics online from which people overdosed and died and the guy who was ordering murders of his narco enemies gets to spend only 10 years in jail is indeed ridiculous. Imo he should've spent 10 years more because this way it seems like he "just" robbed a bank or something and got 10 years and now it's like nothing happened.

I'm stressing it out again, multiple people died from overdose because of him and multiple people were about to get executed because he hired hitman to kill them.
IIRC it was to do with the conduct of the FBI agents posing as hitmen? I think they ended up in prison too, so a prosecution would be hard.
I treat the mortgage as rent with the benefit that the asset value goes to me and not the landlord. So when I get the job+responsibilities blues I try to improve on those rather than the mortgage.
I think microbrewery might be a little 2010, you probably want to start a coffee roastery.
The general idea of an “Islands” architecture is deceptively simple: render HTML pages on the server, and inject placeholders or slots around highly dynamic regions […] that can then be “hydrated” on the client into small self-contained widgets, reusing their server-rendered initial HTML.

cryogenic lab tech: Welcome to the world of tomorrow!
I have set up YT Kids account for a young relative and manually approved many channels and hundreds of videos. This is one way you can block Shorts, with the added benefit it’s no longer an infinite feed.
No no no, even absent a pardon, because those charges were dismissed with prejudice. That means they cannot be brought again.
There is a fixed answer: the neutral pronoun "they" which English speakers have been using for 700 years.
Sorry, you live in a different world, google glasses were aggressively lame, the ray bans only slightly less so.

But pulling out your phone to talk to it like a friend...
Main heading of an article
In a similar situation a majority could simply make it illegal to belong to the minority group. And without a way to pardon them the damage would be permanent.

You want a majority to be able to decide who gets punished and who goes free, and even the best designed laws will have unforseen consequences. If the majority is 'evil', well there's just not all that much that can be done in a democracy. Yes it would be better to live in a dictatorship of the most virtuous person in existence, but if you ever figure out how to do that please let me know.
can't wait for him to star on joe rogan podcast!
Banks move money by sharing files, and that's OK
https://xcancel.com/_markel___/status/1828112469010596347#m

https://sgx.fail
Okay, but let’s be pessimistic for a moment. What can we do if that revolution does happen, and they’re close to AGI?

I don’t believe the control problem is solved, but I’m not sure it would matter if it is.
The OC mentioned "static lighting". If they meant static, while the platform was spinning, then the lighting would be inconsistent, because the object would change lighting with each photo. You would have to fix the lighting to the platform to spin with the object, while taking the pictures to get consistent lighting.
> If I had to use HTMX for work, then I would've guaranteed used it wrong.

As someone who's been doing web dev since the 90's and is currently leading a project that's built with HTMX and having onboarded a few younger/junior "react devs", you're not wrong. What I've seen is that there's a whole generation now who just don't know how to do things in a different way than by building a SPA. The difficulty onboarding those devs is always in getting them to unlearn the patterns that React/Angular/etc. have ingrained in them. I've reviewed PRs that were a mess of complicated HTMX attributes, backend logic switching on headers, etc. and pointed out that all of it could be replaced by just, like, using a plain old HTML form submit or `<a href="..."`. I wish I were kidding. They almost always start out massively overusing HTMX out of a fear of triggering the dreaded full page reload. But in a non-SPA world, with a fast backend, full page reloads take milliseconds because there aren't MBs of JS to download and execute and a bunch of client-side state to reconstruct.

> It's also harder to find HTMX dev's when there's so much React devs

For someone who is familiar with basic web technology (like the 20 year old version with HTTTP/HTML and minimal JS/CSS), it only takes 15 minutes or so to learn HTMX (then maybe a few days of building where you pull up the docs occasionally to remember the names of the attributes). The idea of someone calling themselves an "HTMX dev" the same way we have "React devs" is ridiculous.
I mean the entire AI thing is built atop mass plagiarism and stealing things others have created indiscriminately. I doubt Mr Worldcoin could come up with an original thought for anything, seeing how his models behave.
Original story here: https://news.ycombinator.com/item?id=9626985

I wish we could run some sort of sentiment analysis to see who was pro and anti the sentencing then vs now.
I bought my first home in 1983 for £29.500 with a 5% deposit.

This was a small, two bedroom, end of terrace property ideal for a single man. 25 miles outside London as I could not afford to buy any property near where I worked.

My financial adviser told me that the interest on this mortgage would be £160,000 over the 25 year mortgage term.

forward 42 years and that same property is on the market today for £360,000.

If I still lived there and intended to sell. Where could I move unless I increased the mortgage. Every other house has also gone up in value.

If you take the £160,000 from the £360,000 it appears that I would have made some £200,000 profit. At least this is what the banks and estate agents tell you. But this money is meaningless. I cannot use that money to buy a new car or have a 6 months holiday. I would have to sell my home and become homeless.

The tories namely Margaret Thatcher destroyed society but selling off all the social housing where families for generations lived successful and fulfilling lives.

Who actually benefits from buying your own home? The rich, the banks, the estate agents and money lenders.

My dad told me at the time that I would carrying a ball and chain for the rest of my life.

My son still lives at home aged 35. We worked out that to buy my first home in todays climate he would have to be earning as a basic salary £120,000 per annum. He earns about £50,000 per annum, which is double the average income in the UK, and he still cannot even afford a tiny end of terrace home for himself and any future family. He also has a £40,000 debt from his degree.

He will eventually inherit a home but if I live until I am 90 years old he will be nearly retired but that time.

The wonders of Capitalism.
For the curious ones who are not so excited about gifting page views to the fascist:

https://xcancel.com/elonmusk/status/1881923570458304780
We use inertia.js to do exactly this.

It's a really strong selling point that you can use a popular FE framework for all the templates, but at the same time almost completely avoid state management.
also single most irrelevant comment ever
> people outside of the government tasked with reducing the government

My point is we have seen zero evidence of this influence in Trump’s executive actions thus far. DOGE is analogous to the Federalist Society or NRA. Influential. But not policy prescriptive.
It seems really difficult to actually use it. For instance, a standard linux distro probably has thousands of packages, components, etc. How can you verify all of them? Even if you can, does it defend against attacks like xz where the trusted source itself is compromised
While not 0-click, this might work even better using DNS and a more dense network of anycast DNS servers delegating a subdomain. Send a link to the target, and the DNS resolve should end up at your anycast DNS server. Respond with a CNAME entry, triggering a second DNS request and you can determine at which DNS server the request was served.

Would also work without anycast (and thus probably able to use a very dense botnet) and long list of NS entries for your domain.
Of course not - you're not handling the context at all in the called function. What's there to consider, reader.Read() has no idea about your timeout and value store intent. How would it, telepathy?
Show HN: Fingertip.com – More than just a website
Hey HN, I'm Matt, the co-founder and CTO of Fingertip.com

We've built a mobile friendly, drag and drop website builder for small businesses. Build like Lego to add more advanced functionality like appointment scheduling, forms, blog, and e-commerce. From there you can send invoices, email broadcasts, and manage contacts all in one place.

Would love feedback from the HN community!
Roads. There's a large port nearby, but it doesn't depend on canals. The electrical grid is also maintained by the state along with the other states on the same regional grid, again, the federal contribution is largely limited to funding.

GPS, OK, that's useful and it's existence depend(-s/-ed?) on the federal government/military I guess.
I always thought the sentence was too extreme, he broke some laws he should do some time.
Not life without parole.
Germany's Project Eaden Spins $15.6M for Ultra-Realistic Pork-Free Ham
Fair point. I was really looking for ‘surprising’.
I'm just hoping 2025 will be the year of Vue or Svelte. Maddening that people are still picking React over much superior frameworks like those two
Hello people,

I am super proud here. I am building an app to share land spaces and give usage rights to lessors for a period at a fee. Imaging you want to camp/tent/live(temporary) anywhere in the world. Think of hotels but this time land space to farm on/live without actually owning. This might sound delusional but it's fun to build this.

I am taking early signup here https://copodap.com/. Currently available for Android users.
Selling drugs vs. selling alcohol, this is beyond morality matter but a matter regulated by law, sorry.

There was no equation there actually. Let me unwrap it for you, probably this way it will be clear: first line was a satire of the parent comment along the line of depicting deadly but permitted matters; second line was the unpacking the satire higlighting that the fella hopelessly confused (now, this was more like the equation you sought) a socially permitted activity with an illegal one.
Edit: Your website states you live in Berlin, Germany; no, the US federal government has done nothing for you. This is a troll comment.
UI-Tars-Desktop
Some of the decisions were rather arbitrary at best, and racist at worst, though. The sentence disparities regarding, for example, cocaine depending on how you are using it was designed to punish black people more harshly. Opium bans had as much to do with anti-Chinese sentiment than anything.

I'm not arguing that drugs should be legal, but we do have to be clear that the reasons for banning them and the punishment are not necessarily rational.