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

This is exactly what I was trying to communicate in the article. You've put it in a way clearer way here though. Thank you:)


Author here. It is. I did a poor job explaining what I meant by this. I tried to elaborate https://news.ycombinator.com/item?id=46089466. I'll also update the article to reflect this:) Thanks for pointing it out:)


I definitely do agree with this! It's a very helpful operator in a lot of cases. I think the two cases you point out are prime examples of cases where I would prefer _not_ to encounter them.


Author here. I believe I did a poor job of explaining what I meant by this sentence in the article. Sorry about that.

As you, and many others, have pointed out, `?? ""` does not do what `.unwrap` does. `unwrap_or_default` would have been a better comparison for what it actually does. What I tried, and failed, to communicate, was that both can be used to "ignore" the unwanted state, `None` or `undefined`.

I guess the rust equivalent to what I would like to see is `nullable_var?`, and not unwrap as that will panic. That would be equivalent to the `?? throw new Error` feature mentioned further up in the comments.


Based on the status page it should be back to operational.


For a hosted alternative, Dash0 also uses Perses for their dashboards.

Disclaimer: I am affiliated with them.


I agree.

Whan awfult a time to be alive


  $ echo "What a time to be alive" | sed s/a/an awful/
  sed: -e expression #1, char 6: unterminated `s' command
Whan awfult a time, indeed. :( Shoulda ran fred instead of sed.


at least they didn't add /g


Same here. Just seeing "Rate exceeded." when trying to access https://claude.ai/new.


yep, same for me and unable to use the API either


The npm install text overflows horizontally for me on iPhone 16


It does that in Firefox at certain window sizes, too, supporting its claim to consistency across major web browsers.


Same for me to, using Microsoft Edge on Android 16 using a Pixel 8


No better laugh than an HN laugh.


iP 15 Pro, Safari, same xD


iP 12 runofthemill, Orion, same


I'm working on a TUI for viewing OpenTelemetry traces locally to help me debug distributed applications that use OTEL. It's currently in its infancy, but I'm already able to get a little use out of it. https://github.com/FredrikAugust/otelly


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

Search: