skysight-inc/HackerNews huggingface dataset:
Really like Pydantic - assuming you’re happy to step outside the standard library. It does have a few sharp edges, but out of the box it includes all the stuff you eventually end up needing anyway. attrs is the other big Python parsing / validation library. I know nothing about it other than it’s also popular and that it distinguishes itself philosophically from Pydantic in a number of ways.

Don’t forget to use ‘ConfigDict(frozen=True)’ absolutely everywhere!
There's nothing on that link.
Election Security: When to Worry, When to Not
Completely false.

For many reasons, among others: https://en.wikipedia.org/wiki/Security_incidents_involving_B...
Without giving an opinion on coding style, it seems like IDEs/debuggers could present the unnamed values this way.
I am not, just a huge fan of prolog and works of passion like this.
I mean, isn't the entire problem related to the fact that most of WordPress core development is still getting funded by Automattic? That's why a fork doesn't really matter, the resources to build WordPress seem to mostly come from one source. Even players with a lot more resources like WP Engine didn't or couldn't work a lot on WordPress so I'd be surprised if a random fork would matter.
Letsencrypt wildcard certs are valid for 30 days, and regular certs are valid for 90 days but they recommend renewing them after 60 days.

Cert validity intervals directly affect the storage and bandwidth requirements for CT logs, which should be replicated.

Does anyone serve the CT Certificate Transparency logs for checking by browsers?
Are there (SymPy,) CAS versions of the Standard Model Lagrangians and corollaries? Maybe latex2sympy2 (antlr)?

Mathematical formulation of the Standard Model:
https://en.wikipedia.org/wiki/Mathematical_formulation_of_th...
If you want it to happen, ask them for it every day. You are their constituent.
On a more serious note, given that a triple-digit number of employees have taken buyouts over Matt's behavior, it must really suck to be one of the employees who now has to do other people's jobs in addition to their own.

If I worked for Automattic, I'd take a buyout even if I didn't object to Matt's behavior, just because I know how much it always sucks to be one of the employees stuck at a company after a walkout or a layoff.
> If you want to turn off SSR, you can look at the docs and see that you can do it with the dynamic import

Of course! Duh! The concepts of “server side rendering” and “dynamic imports” are very naturally, obviously and intrinsically linked.

Using “use client” is obviously totally stupid when you want to render on the client!
yeah because the amount of money a government spends on technology is correlated with its rate of progress!!!

https://jimbowery.blogspot.com/2017/07/fusion-energy-prize-a...

https://youtu.be/boLdXiLJZoY
> Like a lawyer who advises you not to do anything ever.

One of my most frequent criticisms of teams responsible for security is that they spend a lot of time telling people what not to do instead of proactively providing them with efficient tools or methods for doing what they want to do.
I looked up the docs as to what frozen does:

> whether or not models are faux-immutable, i.e. whether __setattr__ is allowed (default: True)

Seems everything is “faux” in Python world when it comes to typing ;)
Show HN: An open-source reverse proxy that authenticates users
auth-proxy is a minimal HTTP reverse proxy that shows login pages on protected pages, and passes user information in headers. My goal was to build something that’s as flexible as possible and can add auth to any existing infrastructure.

It’s pretty straightforward to use, after setting up Stack Auth (which this is based on) you can use the Docker container to proxy port 3000 to 3001:

docker run -it \
-e NEXT_PUBLIC_STACK_PROJECT_ID=<project-id> \
-e NEXT_PUBLIC_STACK_PUBLISHABLE_CLIENT_KEY=<client-key> \
-e STACK_SECRET_SERVER_KEY=<server-key> \
-e SERVER_PORT=3000 \
-e PROXY_PORT=3001 \
-p 3001:3001 \
stackauth/auth-proxy:latest <protected-page-patterns>

If you now go to http://localhost:3001/handler/sign-in, you will see a log-in page.

Once you’re authenticated, every request to your HTTP server will have the following extra headers:

- x-stack-authenticated ("true" if authenticated; not present otherwise)

- x-stack-user-id

- x-stack-user-primary-email

- x-stack-user-display-name

If you’re building an SPA or client-side app, you can also fetch the current authentication status on /handler/me:

{
"user": {
"id": "...",
"primary_email": "email@test.com",
"display_name": "John Doe"
},
"authenticated": true
}

This is all still pretty hacky, but I’d love to hear your feedback. Any cool ideas on what to build?

PS: Big props to fellow HN user rudasn who brought it up first, and who gave us plenty of ideas after another Hacker News thread: https://news.ycombinator.com/item?id=41195470
The post is dated in May of this year which is now 5 months ago with no further posts. Anyone know if the author is still with us?
Even if you think Javascript is already complicated, that isn't a reason to make it more complex.
Tito: An In-Memory Rootkit
Hyperbole. It wouldn't "break" all the web pages, they would simply render differently.
I grew up before cloud storage was mainstream, but I never thought the new model was confusing.

- Google Drive caches recent files and downloads other files on demand. Just like iCloud Drive, MS OneDrive, etc.

- Deleting files will free up space on your Google account.

- Clicking the "clear offline files" button will free up space on device.

All these offering are quite similar with just a few extra features here and there
https://ryjo.codes/ has a lot of good material on CLIPS.
TLDR: Don’t buy H100s. The market has flipped from shortage ($8/hr) to oversupplied ($2/hr), because of reserved compute resales, open model finetuning, and decline in new foundation model co’s. Rent instead.

Is the AI infra bubble already bursting?
This obviously not true as there are plenty of other Asian countries where " collectivism and subservience towards authority figures are taught as virtues", but most Indian managers mostly hires Indians nevertheless.

It is a very observable and simple fact, why spin it?
The default expectation here means "doing the right thing while no one is looking". Ambanis is far far away from it.

I am sorry. Ambanis are not everyone's favourite. Definitely not even comparable to the Tatas. I can see why the hustle culture folks and fast money folks like ambanis. But that is not Shri Ratan Tata or Tatas at all.

I will quote Shri Ratan Tata himself:
"They are business men(Referring to Ambanis). We are industrialists."

That quote properly differentiates the differences between them IMO. Not just the perception about them. But also how they think.
Copy paste + convert to grams for 2.74kg of pork shoulder takes 2 seconds instead of crunching numbers for every ingredient. It rarely gets it completely wrong. If the old way was more convenient I wouldn't be using new method.
In absolute numbers, your statement is true. But the deaths are not equivalent because of agency.

Road deaths are "random". Obviously each one has a specific cause, but we're all equally at risk. We're all in agreement that they should be avoided, and we have significant legislation to improve safety (no one is advocating for drunk driving.)

The issue either abortions is not the death part, but the agency part. Those lives -could- be saved, but aren't, because the law provides reasons for not saving them.

To make things worse, only one half of the population is subject to this risk. So it can feel kinda targeted.

Fundamentally death is not an issue. We have plenty of people. We could lower the speed limit, we could ban alcohol, or guns. All that would drive up life expectancy. We don't do that because there would be consequences and effects from those changes. And life expectancy is not the primary metric.

Abortion is a complex topic, with some people holding very strong opinions. The pendulum has swung to the point where simple medical interventions to save lives are being denied. That's what makes the topic newsworthy.

It's not the death part that matters, it's the preventable part.
If you feel the need to nitpick on how close to genocide the current situation in Gaza is, perhaps you maybe focused on the wrong thing
A few months back, someone asked for suggestions on which new AI options to learn to beef up his marketing career. I told him to learn HTML first. That will be useful for a long time and will likely last his lifetime. After that, he can start learning others.

I even x-ed it at https://xcancel.com/brajeshwar/status/1812149514632925525
- Layouts answer: https://github.com/vercel/next.js/issues/43704#issuecomment-...

- Pass data to layout answer: https://github.com/vercel/next.js/discussions/44506#discussi...

- For router.push one, I believe you're looking for this: https://nextjs.org/docs/app/api-reference/next-config-js/sta...

- Stylesheet ordering: https://github.com/vercel/next.js/pull/63157

- Script tag: https://github.com/vercel/next.js/issues/51242#issuecomment-...
He talks about the tyranny of parking lots, but this is a solved problem! The whole presentation is an exercise in steadfastly not talking about public transportation.
> So I find it hard to understand how someone can care about women's health and support these policies. I'm flabbergasted that I know parents of daughters who support these policies.

Do you really not know the reason? They believe fetuses are humans and that killing them is akin to murder, just as killing a baby would. It's as simple as that.
The Ingestion process of RAG is very expensive, specifically when data volume increases, and requires lots of GPU processing
It's not ignored. Democrats have been pushing automobile safety since the 1970's, uphill the entire time against republican opponents.
Is this a joke? Do they prefer the taxis get paid in cash?
Notched MBPs can't do HD through resolution changing. (I would love to be proven wrong on this. See my other comment for hoops I jump through to get around this.)
The Verge has good coverage.

[1] https://www.theverge.com/2024/10/10/24267132/tesla-robotaxi-...
Noticed odd things in Spain - there is no suburb.

Cities there transition instantly from high-rise apartments to rural farms.

And prices in cities seem far above what the locals could possibly earn.
Love the design of the robocab. Assuming production looks something like this, can’t wait to see it IRL.
Really wish they had shared more details. It was so high-level that we didn't really learn anything substantive.
I mean, people have been gullible for this long already...
You can argue semantics, but it’s not an implementation detail that doesn’t matter, it’s fundamentally misrepresenting the truth.

A “recall” that does actually involve bringing the car in for service, a.k.a. recalling the car, is not accurately described as a “recall”. Words mean something.

The NHTSA is being idiotic (unsurprisingly) in not distinguishing between a software update and a recall, because legacy auto doesn’t have the software chops to successfully replicate Tesla’s approach.

News agencies that lean into that idiocy in a slanted attempt to denigrate Tesla are only denigrating themselves. It is not good coverage, and it is willfully misleading their own readers.

Call it a mandatory update if you want. But nothing was recalled, so insisting on calling it a recall is like insisting on calling cars “horseless carriages”.
> Thousands of people actually pay to go and listen to this self-aggrandising nonsense. It's very odd.

I’m pretty sure they’re free. They are nevertheless odd.
Tangent: There's a Star Trek clip I wish I could find online so I'd have it on-hand to show non-technical people. It's from the 90s, in an episode of Deep Space Nine.

Worf (in Security) is having trouble dealing with Engineering, and O'Brien gives him some advice, something along the lines of "Engineers like to solve problems. Instead of telling them what to do, tell them what you need and let them figure it out.". Then later when he tries it out, they come up with a solution he wouldn't have thought of.
A new car look without steering wheel and pedals. A working robovan. I don't think people understand the complexity of creating a hardware prototype of anything. This can't be ChatGPTed
I would like to know how much these images overlap or at least see a few of the single shots. I’m curious what the inputs look like.
TextPattern use to a thing like around the same time WP got started.

It’s also PHP based.

https://textpattern.com/
Interesting, no I hadn't. It's a bit like how criminals find ways to justify their crimes. Some people have very flexible morality.
> Road deaths are "random". Obviously each one has a specific cause, but we're all equally at risk. We're all in agreement that they should be avoided, and we have significant legislation to improve safety (no one is advocating for drunk driving.

This is not true at all. Auto accidents are not random and we have significant policy levers that we could pull to drastically reduce them but it's politically controversial to do so.

Simple example would regulating the height of the nose of trucks so that F-150 drivers can see pedestrians easier and make impacts less deadly. Obviously policy, politically impossible.
> The criteria for this list are "Can it be downloaded, dropped onto a server, and you'll have a website?"
There's definitely some things that warrant distancing. But I try to appreciate the good, even if there is bad. Moral purity is a luxury and self-righteousness can be ugly (sorry).
The PCIE has much lower perf than even a 1x slice of an SXM
I don't feel as if politics is a low stakes discussion in India, especially the religious end of political discussion. There are so many incidents of full blown riots and violence and killings over what people say about this and that religion or how you portray or don't portray this and that figure.
>Actually - more realistic would be, What if you had the disease in question and knew the cure might (then again might not) have some unknown side effect, up to or even exceeding a 10% chance of death. Would you take it?

Yea.

That exists commonly. It's called high risk surgery.

This genetic disease is more like you die in ~5 years and also all the nerves start to fail including ones involving thinking, memory, personality (cerebral)

Same with cancer truly. Many patients treated for childhood solid tumors go onto get blood cancers due to the treatment/chemo being genotoxic. Oh, and infertile also.

So I think gene therapy should be considered totally valid when these other potentially deadly treatments (surgery, chemo) are used - all of it in deadly situations. Gene therapy also has ways to go, lentiviruses are well known to randomly integrate sometimes in the wrong spot (a tumor suppressor gene) whereas CRISPR can be more targeted.
I used Lektor recently. I was OK but I found the editor UI awkward and things like tags and subjects difficult to manage, and there didn't seem to be much in the way of current support or a plugin ecosystem. Publishing directly to a server with Git push and only having html online was nice, though.

I might go back to it. I switched to Wordpress but I blog so little it seems like overkill. AFAIK Lektor doesn't have a way to crosspost to Mastodon and I don't want to learn enough Python to write a plugin myself.
Ok why is this being downvoted? Isn’t this helpful info?
Against all odds and expectations, Movable Type is apparently still around and a thing: https://github.com/movabletype/movabletype
Its not laundering to buy gold and store it, same with stashing USD
That's a coinbase transaction.
Here we have a problem:

If the “subscription” part of the “patch” data-structure is set to “None” it is impossible to tell if this means:

1/ leave the “subscription” unchanged; or

2/ set the “subscription” to None.

—

You could solve this by requiring that a subscription is either a value or some other sentinel value meaning “not subscribed”:

from typing import Union
class T: pass
NotSubscribed = T()
Subscription = Union[int, T]
def f(s: Subscription): pass
f(44)
f(NotSubscribed)
f(None) # wrong

Is there a better way of doing this? (One that isn’t just “use Haskell” :)
They sound just like stepper motors to me. Especially when they're operating to create a radius/arc in a 2-D plane.
So this should be available next year … like the full self driving cars since 2012.

This is just another to have something in the pipeline to keep shareholders at least interested.
It seems Musk tries really hard to keep the stock price from collapsing.
>Maps was technically an acquisition (Where2)

Technically, but it's morphed so much that it doesn't even resemble its former self. I remember when Google Maps first came out and showed AJAX technology, so obviously superior to the competitors at the time like MapQuest. However, these days Google Maps is really more of a business directory with navigation, and it wasn't like that in the early days: you needed an address to navigate to.
It’s somewhat disappointing that over the years the ecosystem[1] accumulated more emulators than substantial programs.

[1] https://github.com/hundredrabbits/awesome-uxn
You probably want a mix of both, daily/hourly rates to give you stability, fixed cost to charge based on the value you provide instead of the time spent.

With fixed cost my hourly rates can easily be 3x normal rates but I'm also getting more risks (extra meetings or overtime, clients not paying).
In India it's not even "speed money" that you used to have to pay (don't know how bad it is these days). It's "being allowed to play" money.
The rumour i heard is they were making their own custom thing.

There was some rumours that they were unhappy about mediawiki's response to patches they submitted (they made a bunch around accessibility). However i looked through their patches at one point when this rumour started flying around and it looked like most were merged. Those that weren't generally had code review comments with questions or pointing out mistakes which were never replied to. I sort of suspect the patch thing was some sort of internal excuse because the team involved wanted to make their own thing.

Regardless, im really happy they decided to open source their extensions and it was nice to see that they put in effort to upstream core patches.
I used to operate as you're describing and appreciate the skill required to do so, but I eventually found it impacted my ability to transition a fixed scope engagement into an open-scope engagement. I've since found it more enjoyable, profitable, and beneficial to the client, to bill daily rates and let the client stretch the scope as much as they like (which they often do once they see the value my company brings).
Tesla Robotaxi to Cost Under $30k: Elon Musk
The interior is minimalist, and ever since the model 3’s release, all other brands have been slowly trending in its direction. The 2024 model 3 interior is beautiful to the point that all the pointless plastic widgets present on other OEMs are kinda hilarious to look at.

what makes you think the mazda 3 is the main competition?
There is not enough internal immigration to cause any disruption to national identity.

Sure people have been complaining about criminals from poor eastern europe moving to wealthy countries but the numbers were never high enough to actually change the national identity.
Internal transfers of hard working people were (and are) always cherished and we celebrated diversity as long as laws were respected.

Importing people from Africa and the Middle East in large numbers changed the face of Europe dramatically.
If your clients are happy to pay a day rate of course that’s what you charge. Way less risk on you. Many clients don’t want that though, they have a budget and need the project done for that amount and are paying you to take that risk on.
Hey, it is definitely possible to manage multiple GitHub accounts at the same time. Since there are different accounts it is good to have an understanding of the topic. This article might help:

https://gitprotect.io/blog/how-to-set-up-and-manage-multiple...
You're assuming a new backend would have to be written for LLVM, but you can also write a codegen backend for rustc which uses GCC, this way you get almost the same benefits but without rewriting the whole frontend
So it is 100% true that the promise for your current Tesla was broken. But don't worry, an additional $30k will fix it.

Yeah, not sure how this is supposed to be a positive reply.
I'm a Christian, I lived in the USA for ten years, and AFAIK I never met a single Christian who would deny that mental illness is real or who would say that locking up or torturing mentally ill people is a good thing. And I expect most of them believe that demonic possession can also happen. These are not mutually exclusive beliefs.
As an undergrad, Python was my favorite language. Now it's one of my least favorite because of dynamic typing and the poor dependency management.

Python dicts, when used as composite types or records, are a literal hellscape. Grepping through the code to find out where stringly-keyed fields get written takes way more time than thinking about types ever would. These should be structs.

Static typing has so many advantages:

- It lowers the software defect rate. All type errors are caught for free at compile time instead of runtime. This makes the software strong and rigid instead of brittle, and it removes an entire category of tests you would have to write and maintain.

- Static typing makes code maintainable for other people, including future you. It's self-documenting. You know precisely what things are in the immediate scope.

- Static typing makes bug-free automated refactoring with tools possible. There is no greater pleasure than mutating code via its AST.

Static typing is not hard, either. Most typed languages don't require type declarations except in structs and function declarations - that's really not a lot of effort.
I suspect if it works well 99% of the time, which is pretty good, they're about half way to their goals. Making it work well 99.9999% is probably a lot harder.
Oh yeah, look at all the terrible things Tesla has done, sell more EVs than everyone else, and make them for less cost, and include a good infotainment system in a car, what a terrible reality
Poppyseed bagels don’t have a psychoactive dose of opioids and cannabis contains multiple cannabinoids, so those examples are totally irrelevant.

When it comes to coffee, people are generally aware that caffeine is the active ingredient. If you ask someone, “have you had any caffeine today?”, they’re not going to say “no” if they’ve had six cups of coffee. They’re going to say, “yes, I’ve had six cups of coffee”. They’re not going to try and pick a tedious argument that they didn’t really have caffeine because they drank coffee instead of snorting crushed up caffeine pills.
I've been advised to charge for a discovery, but at a ridiculously low price, say $500. It's likely they can expense it without approval, shows they are serious, and, helps you feel good about putting effort into a serious proposal.

Have you seen anything like that succeed?
That works until it doesn’t.
I just want to observe that there are a lot of people paying huge amounts of money for consulting about this exact topic and that this article is jam packed with more recent and relevant information than almost any of these consultants have.
Yeah this place feels like Reddit right now. Hivemind takes left and right.
I don't buy it. WAS is still open from the start, and incredibly more simple and thus easier to implement securely.

And no, for reasons stated before an applet model would never become the standard again. You'd rather have to integrate Java with the browser so it's entirely under your control, and considering how massive it is and how hard it was to properly sandbox it, nobody in their right mind would decide on this. WASM reuses a lot of infrastructure already there, it's simply the best solution from a technical standpoint.