HackerTrans
热门最新趋势评论往期问答秀出招聘

lambda_garden

no profile record

提交

What I Love about F#'s Type System

coffeebreakcoder.com
5 分·作者 lambda_garden·3年前·0 评论

Umarell

en.wikipedia.org
2 分·作者 lambda_garden·3年前·0 评论

Yes, I said running high, not runner's high

thirstcolorado.com
1 分·作者 lambda_garden·3年前·0 评论

Evolve Your Hierarchy (2007)

cowboyprogramming.com
16 分·作者 lambda_garden·3年前·3 评论

The parallels between Argentina and Britain's inept political class

newstatesman.com
1 分·作者 lambda_garden·3年前·2 评论

My Friends and I Bought an Island (2013)

tynan.com
17 分·作者 lambda_garden·3年前·5 评论

Larry and Sergey Won't Respect You in the Morning (2006)

flickr.com
2 分·作者 lambda_garden·3年前·1 评论

评论

lambda_garden
·3年前·讨论
It is related to how much the country can spend through borrowing and printing. Very few counties spend less than they raise through taxation.
lambda_garden
·3年前·讨论
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!
lambda_garden
·3年前·讨论
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?
lambda_garden
·3年前·讨论


    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?
lambda_garden
·3年前·讨论
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.
lambda_garden
·3年前·讨论
> 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.
lambda_garden
·3年前·讨论
> 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.
lambda_garden
·3年前·讨论
This is not the gotcha you think it is.
lambda_garden
·3年前·讨论
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?
lambda_garden
·3年前·讨论
In practice, I think it's easier to use linting and type-systems to prevent other code from mutating you stuff than defensive copying.
lambda_garden
·3年前·讨论
I use React.

Why does that require deep clones?

I simply do:

    return {
      ...current
      foo: "bar"
    };
lambda_garden
·3年前·讨论
Use the spread syntax to make a shallow copy; it's more performant.
lambda_garden
·3年前·讨论
I've never had the need to clone anything in a real JS code-base, personally.

What's the use-case?
lambda_garden
·3年前·讨论
The docs are really poor. It makes me less confident that I have configured everything correctly.
lambda_garden
·3年前·讨论
Where would the new housing go? They should focus on building fast train links into the city.
lambda_garden
·3年前·讨论
No, that would also be a poor choice.
lambda_garden
·3年前·讨论
In C# you can create types where you control the layout and they are always stack allocated.
lambda_garden
·3年前·讨论
Turing Complete and non-determinstic languages are a bad fit for configuration.
lambda_garden
·3年前·讨论
Is it possible to use Dhall to generate YAML and side-step this issue?
lambda_garden
·3年前·讨论
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?