Readit News logoReadit News
Wonton56 commented on Hurl, the Exceptional Language   hurl.wtf/... · Posted by u/todsacerdoti
z3t4 · a year ago
For anyone designing a programming language, enforce namespace to includes/imports! and if possible, don't allow top level side effects.

    let foo = include "lib/foo.hurl"
    foo.init()
it's much easier to reason about then, for example:

    include "lib/foo.hurl" // side effects
    baz(buz) // function and variable that I have no idea if they are in the standard library, or included *somewhere*

That way it's much easier

Wonton56 · a year ago
I do not disagree, but I use IntelliJ for work and it shows clearly where some reference is imported from and let you navigate to it with a shortcut. VSCode does similar things with plugins and LSP, just much worse. I cannot work in VSCode because navigating code is so slow. Is this suggestion only useful when you don’t have such tools? It seems impossible to me that people can live without them, at least in a professional setting.
Wonton56 commented on Ford Mustang Mach-E using BlueCruise at time of crash: NTSB   fordauthority.com/2024/04... · Posted by u/luu
stavros · a year ago
Cars in front don't usually hit walls while they're traveling. It takes a while for the car in front to stop too.
Wonton56 · a year ago
But it is possible, when the cosequence is someone dying, the likelihood do not need to be high to act carefully. Anyway the example here was about a car in front avoiding a stopped car.
Wonton56 commented on Sea Kit   sea-kit.com... · Posted by u/belter
vasco · a year ago
So at some point most war machinery will be automated and not carry humans inside, I think this is easy to accept. A little bit harder to accept, but what would be really cool is to just realise that if there's no humans, and the whole thing is automated, why not just simulate it?

The same way mythical armies of literature used champions to fight it out - causing less mysery, why not just simulate the war itself and figure out who wins?

I guess the main issue with this is that right now there's multiple components that help you win a war that are still super relevant, logistics, manufacturing and so on. Once algorithms become the dominant aspect and those other physically bound ones are no more, could we move war fully to the digital realm?

Wonton56 · a year ago
From what i understand this is already mostly the case. The military excercises by USA and China produces reports that shows an attack is too expesive or leads to a standstill. This is works as a deterrence to the other side, unless the other side acts irrationally, which is known to happen…
Wonton56 commented on IT Runs on Java 8   veekaybee.github.io/2019/... · Posted by u/anielsen
Wonton56 · 6 years ago
There is nothing that «most people do». When will people realize this? Yes you have trends on HN that are different from trends in, say, the oil prospecting industry or something. And yet they overlap sometimes. You also have vastly different needs. Some beed to optimize for execution speed and some for development speed. Some need high parallellization some need single thread performance. Analytics demands writing code in minutes or preferably seconds while aircraft software may require years of testing for correctness. Even the level of experience will impact how well you can perform on any level with any tool. I mean stop discussing how many teeth a horse has and just count them. We should spend time defining what problems current and old tools can solve, not discussing what tools solve one problem better because no two people will ever have the same exact problem let alone have the same exact understanding of it.
Wonton56 commented on Ask HN: Leave job right before app goes to production?    · Posted by u/throwaway3579
Wonton56 · 9 years ago
Why is this even a problem? The way I see it you have already broken a agreement with your new employer, and now you are considering breaking it again?

I understand that your current project may need your attention. But that is a result of mismanagement, and two wrongs won't make a right!

u/Wonton56

KarmaCake day8January 25, 2017View Original