Hacker Newsnew | past | comments | ask | show | jobs | submit | Analemma_'s commentslogin

Every single person I've seen trying to defend the government's actions in this case has carefully elided the difference between "not awarding them a contract" (which would've been fine) and "using the law to try and destroy their business". The fact that almost nobody on the government's side has actually spoken honestly about the facts of the case makes it pretty obvious who is in the right and wrong here.

Django + Postgres on the backend plus a frontend of HTMX + alpine.js for a light touch of interactivity where needed is a killer combination. Claude is very good at it, and with the right instructions actually keeps things concise and modular without spilling into spaghettification. I would recommend this as a first option to anyone looking to spin up a new web stack if you’re not absolutely sure you need the heavyweight of React.

I use the same stack. Single codebase, no build step. It’s so refreshing.

A lot of font foundries are switching from one-time payments to pay-per-use licensing schemes, to try and get huge payouts from e.g. companies which serve web pages trillions of times, and those companies are mostly responding by just commissioning their own fonts instead.

I understand the complaint but a lot of these suggested improvements aren't great either, especially the ones that are close to the name of the app and so would be right next to the app name which is itself a menu header. "Password" right next to "1Password" and "Automation" right next to "Automator" would drive me batty.

Maybe the real fix is to consider if you need a File menu at all, and whether most of what has been shoved in there should go under the app name menu bar item instead.


I've banged on about this before, but every state needs to adopt a law where allegations of illegal behavior by cops are always handled by a Special Prosecutor, never the local DA. The incentives are too fucked for a DA to ever be trusted to handle it properly.

I don't have a super-wide gamut of experience here and numerical analysis isn't my specialty, but nearly all trig implementations I've looked into (in both software and hardware) make heavy use of lookup tables and other shortcuts. I've never seen a Taylor series used in a general implementation - not saying it doesn't exist anywhere, but in most cases that I'm familiar with you could support turns just as easily with a different lookup table.

If you're being technical, it's usually not a Taylor series, it's a minimax series. (The difference is that Taylor series minimize error at a given value, whereas minimax is trying to minimize maximum error in a range).

In most general math library implementations (e.g., the library in glibc, musl, etc.), the implementation of sin, as with most functions, is going to be a polynomial evaluation. See, e.g., https://github.com/kraj/musl/blob/kraj/master/src/math/__cos... for the implementation in musl, or https://github.com/bminor/glibc/blob/master/sysdeps/ieee754/... for glibc's implementation.

Of course, if you're not using a standard math library implementation, you're probably preferring speed over accuracy, and so you might use a lookup table and linear interpolation to get a very coarse approximation instead.


Our favorite WebAssembly is an example! It specifically excludes trigonometry from the spec, because real hardware doesn't produce exactly the same results.

So mathematical libraries in WASM reimplement the trigonometric functions using series.

Example: https://github.com/WebAssembly/wasi-libc/blob/2e6fb9d8ee0cdf...


I've used Taylor series in numerical optimization. A function we were implementing needed to be differentiable (for automatic differentiation), but its definition had a special case, so we used a couple terms of the Taylor series in the special case.

edit: Sorry, to clarify, this was a function involving trigonometry but not simply vanilla sine or cosine. However, angular values being represented in radians did help in the same way I described in the parent post.


I have used the Taylor series approximations to produce the LUT over a defined interval. This may be generated pre-complication or at startup with a defined precision depending on the destination signed type.

Tend to use radians because we're moving from written proofs or simulations into embedded code in such systems. The code needs to read and work the same as those.


No, it’s not a reasonable feature. If I take a screenshot, I want the image to include what is displayed on my fucking screen, period. What is so difficult about this?

Im saying the feature is reasonable from Apple's UI elements, i wasnt saying the way Bluesky is using it is reasonable...

There's nothing in this article supporting the claim that rare books are being destroyed, it just has a link to a paywalled article from 404 Media.

Do you really think they aren't? Do you think Amazon are carefully culling rare books from the list?

Although, we have to face the fact that the 'indie' book industry isn't necessarily preserving stuff either. I was recently in an old fashioned book shop in Charing Cross road, and they were selling old pictures as well as books. I was going to buy one as a present until I realised that they were pages that had been cut out of some book, because they could get more selling them separately.


The figure I've heard quoted is that 640,000 tons of used books (not 640,000 books, 640,000 tons of books) are shredded/pulped every year for lack of finding a buyer. I assume that very few of these are rare books.

I think in the situation where the background rate is 640,000 tons of books being destroyed per year, the burden of proof is on the one making the claim that Amazon is destroying rare books, and doing so at a higher rate than they're being destroyed already.


DRAM fabs are multi-billion dollar investments which take years to come online. That's the whole reason we're in this situation, there is no quick fix available.

Surely the chinese are spinning up fabs as we speak?

DDR4, and from some comments I have seen around here of only marginally acceptable reliability. It may still take a few years if until they have all the production processes fully under control.

I thought CXMT is selling DDR5 now?

They are, I have some in my system. They are fairly common in Australia.

China is making central decisions for its RAM makers (and who can complain now that the US isn't a legitimate free trade defender). I think their strategy could go in any direction to either get a small portion of still gouging or a large portion of a market with somewhat stale specs.

I think in NK’s mind all of these reasons pale before the straightforward truth that nukes keep you safe and giving them up fucks you over. Libya: gave up its nukes; invaded. Ukraine: gave up its nukes; invaded. Iran: signed an agreement not to develop nukes; counterparty tore up the agreement and attacked. When has a nuclear-equipped nation been attacked lately?

India (attacked by China, Pakistan in the recent past) and Israel (I actually don't believe Israel has nuclear weapons but still mentioning it as that is what is popularly accepted today). Nuclear weapons also didn't prevent a 9/11 attack on the US.

Russia, bombed just last night.

I mean, it was in a war that they started, so Russia is the attackers. But the attacks are coming back, and the nukes aren't preventing that.


but perhaps they would if the adversary believed that they were fully willing to use them

There are two problems. The first is that Russia is trying to conquer Ukraine, not just to defeat it, but to have it. Nuking it kind of ruins the "having" part. Also, it's upwind from Russia. Nuking it would involve eating a lot of fallout.

The second problem is that Russia has said what their doctrine is on the use of nukes. They will use them if an invasion cannot be stopped by conventional means, or if an attack has destroyed 20% of their nuclear deterrent. In their attacks, Ukraine is not touching Russia's nuclear weapons (except the odd bomber that is used for conventional attacks on Ukraine).

Now, you could say that was a miscalculation on Russia's part, that they would be better off if Ukraine didn't know what would trigger Russia's nukes, and so Ukraine had to be more cautious. And you could be right. But that ambiguity could come back and bite them later, when someone else doesn't know what their doctrine is, and decides that a first strike is the best way of dealing with the uncertainty.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: