Better HN
topnewbestaskshowjobs
Log inSign up

acimim_ha

10 karma · joined Feb 2, 2024 (2y ago) · 13 submissions

Submissions

comment 2y ago · link · parent

"The Earth’s spin is slowing down. This is annoying." https://what-if.xkcd.com/26/

comment 2y ago · link · parent

If I won't do it, somebody else will. And we're back and square one.

comment 2y ago · link · parent

Correctness and robustness are not always the requirement. Sometimes it's simplicity. Sometimes it's time-to-market. Sometimes you get fed a broken XML and regex actually does a better job.

I've also been a junior developer and thought that my code has to be correct, look correct and perform correctly. Then I got a boss. Boy I was wrong.

comment 2y ago · link · parent

> Case 2. Misuse of IF [NOT] EXISTS

The article doesn't provide any good example of misuse. And that's exactly how you use it. It's clean and simple, no hidden pitfalls. Schema migration tools are overhead when you have a few tables.

comment 2y ago · link · parent

and we got "IS [NOT] DISTINCT FROM" in the meantime, for better or worse

comment 2y ago · link · parent

"SELECT * INTO table" is not ANSI standard.

comment 2y ago · link · parent

Negative publicity is reflected on their equity evaluation. They have great incentives. The system works.

I think with 100 deaths the company would get liquidated. This incident alone probably caused more damage than a cost of one single driver's license suspension.

comment 2y ago · link · parent

The topic would not gather nearly as much attention. Why?

comment 2y ago · link · parent

I sure did. And I sure did even bigger screwups while driving.

comment 2y ago · link · parent

> locations on the moon where conditions are ideal for the study of the early universe.

Doesn't get me particularly excited personally. Scientists should be aware other people have different interests. I want a futurama lunapark.

In the end, government is going to decide. After some war/conflicts. Just like on Earth.

comment 2y ago · link · parent

How? Except it would finish sooner. The is no behavior.

comment 2y ago · link · parent

I don't really see why:

  public class TestJIT {
    public static void main(String[] args) {
        for (int i = 0; i < 20_000; i++) {
            payload();
        }
    }

    public static int payload(int a, int b) {
        return a + b;
    }
  }
shouldn't be optimized into a 'no-op'. The end-effect is the same.

comment 2y ago · link · parent

You missed the important part: they charge for a yearly subscription to their service.