News for hackers. Stuff that matters.

lambda_garden

Re:Austerity Is an Antidemocratic Strategy to Boost Capital on Thursday January 11, 2024 @12:23PM (#38955380)
It is related to how much the country can spend through borrowing and printing. Very few counties spend less than they raise through taxation.
Re:The Internet Is Full of AI Dogshit on Thursday January 11, 2024 @12:10PM (#38955136)
Think how many game developers were able to realize their vision because Unity3D was accessible to them but raw C++ programming was not. We may see similar outcomes for other budding artists with the help of AI models. I'm quite excited!
Thanks for sharing this, very interesting.

It seems that you cannot, in one database call, make a transaction?

You would need to push your transfer to the depot, then poll until it has been accepted.

If you do not poll, then your transaction may be written but as a no-op.

Does this increase latency for such applications?

    indexes = function(data)
    query = function(indexes)
How does this model a classic banking app where you need to guarantee that transfers between accounts are atomic?
Re:Austerity Is an Antidemocratic Strategy to Boost Capital on Wednesday January 10, 2024 @05:39AM (#38938704)
An important factor is which country we are talking about. Only the US really has access to this "glitch" by being the world's reserve currency. UK austerity was so brutal because there's no real demand for GBP, outside of trading with the UK.
> the barrier to rolling my own is lower for me than introducing a Java dependency.

Really? I never had problems using some JVM base image and deploying via a Docker image, which is what I would be doing anyway.

Re:Python 3.13 Gets a JIT on Tuesday January 09, 2024 @12:04PM (#38928557)
> Have you tried to generate a SHA256 checksum for a file in the browser

Have you tried to do this in Python?

A Node comparison would be more appropriate.

Re:Python 3.13 Gets a JIT on Tuesday January 09, 2024 @12:01PM (#38928511)
This is not the gotcha you think it is.
Re:The Richest Countries in 2023 on Friday December 22, 2023 @08:24AM (#38733896)
Wow that's an interesting thought.

If every did their neighbor's laundry (say) and charged a fee, then everyone would be doing the same amount of laundry and have the same amount of money, yet GDP would rise?

Re:Deep Cloning Objects in JavaScript, the Modern Way on Friday December 22, 2023 @07:49AM (#38733614)
In practice, I think it's easier to use linting and type-systems to prevent other code from mutating you stuff than defensive copying.
Re:Deep Cloning Objects in JavaScript, the Modern Way on Friday December 22, 2023 @06:17AM (#38733122)
I use React.

Why does that require deep clones?

I simply do:

    return {
      ...current
      foo: "bar"
    };
Re:Deep Cloning Objects in JavaScript, the Modern Way on Friday December 22, 2023 @05:26AM (#38732856)
Use the spread syntax to make a shallow copy; it's more performant.
Re:Deep Cloning Objects in JavaScript, the Modern Way on Friday December 22, 2023 @05:22AM (#38732833)
I've never had the need to clone anything in a real JS code-base, personally.

What's the use-case?

Re:What Is OIDC? on Friday December 22, 2023 @04:11AM (#38732402)
The docs are really poor. It makes me less confident that I have configured everything correctly.
Re:New York City population declined by 5.3% since 2020 on Tuesday December 19, 2023 @12:49PM (#38698868)
Where would the new housing go? They should focus on building fast train links into the city.
No, that would also be a poor choice.
Re:Hardware Intrinsics in .NET 8 on Tuesday December 19, 2023 @06:23AM (#38694308)
In C# you can create types where you control the layout and they are always stack allocated.
Turing Complete and non-determinstic languages are a bad fit for configuration.
Is it possible to use Dhall to generate YAML and side-step this issue?
Re:Building a bare-metal bootable game for Raspberry Pi in C# on Monday December 11, 2023 @09:46AM (#38601069)
The only way this can work in practice is restricting the memory patterns that the developer can use, which is what we see in Rust.

Is it impossible to prove memory safety in the general case due to the halting problem?

Re:Python Is Easy. Go Is Simple. Simple != Easy on Friday December 08, 2023 @05:14AM (#38567283)
Advanced languages can compile quickly - it depends on the feature set chosen. For example, do-notation is an advanced feature not found in most languages, but it compiles quickly as it is syntactic sugar. Operator overload, on the other hand, might require a solver and thus compile slower. It's not a particularly advanced feature, however. Binary optimization passes do not make the language any more advanced (on the user side), but will slow down compilation. Advanced design and compile-times are pretty orthogonal.

As for maintainability, it's not clear to me that reams of imperative code is easier to maintain than something terse and declarative. In fact, probably the opposite.

This is why benefits shouldn't be means-tested.
This is the part where a basic social safety net comes in.
Re:Firefox on the Brink? on Tuesday December 05, 2023 @10:30AM (#38532124)
I'd rather have proper Firefox on iOS than Safari on Linux.
Llamafile is (rightfully) the top of HN right now.

I have high hopes that models will end up a bit like Linux servers, where everyone is building on open foundations.

Re:Keras 3.0 on Tuesday November 28, 2023 @10:46AM (#38446938)
I wouldn't describe that as "maliciously attacked PyTorch"
Re:Keras 3.0 on Tuesday November 28, 2023 @10:34AM (#38446779)
Do you have a link?

Older »