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

And as we've seen with streaming it'll have ads anyway despite the fact that you're paying.


matklad made xshell


Oh! Well that makes sense.


That TAS is spliced. The stairs beyond the door aren't loaded, you need the key to load it.

This is a real console 0-star TAS: https://youtu.be/iUt840BUOYA


It's crazy how unusable most gun websites are for browsing what's available. This though is the perfect example of what I really want when browsing catalogues.


if let makes a lot more sense when you learn that a normal let expression also takes a pattern[1].

  let Coordinates(x, y) = get_coords();
But this is intended for "exhaustive patterns". If you can't express an exhaustive pattern, like with an Option, then you can use let ... else

  let Some((x, y)) = get_coords() else { return };
if let is just an extension of this "let pattern" system.

Once you internalize how patterns work (and they really work everywhere) it all starts to really make sense and feels a lot cleaner.

[1]: https://doc.rust-lang.org/reference/patterns.html


No? Not everyone's dream is being a manager. I like writing code, it's fun! Telling someone else to go write code for me so that I can read it later? Not fun, avoid it if possible (sometimes it's unavoidable, we don't have unlimited time).


I meant what we want from an economical perspective, scalability wise. I agree writing code is fun and even disabled AI autocomplete because of it... But I fear it may end up being how we like making our own bread


People still play chess, even though now AI is far superior to any human. In the future you will still be able to hand-write code for fun, but you might not be able to earn a living by doing it.


Same with sewing/knitting by hand.


It's useful for combinators, like flatMap. For instance if you want to flatten an iterator of optional values into the values of all some elements.


Is it worth using a custom library so you can do

.flatMap(Maybe::stream)

instead of

.filter(Optional::isPresent).map(Optional::get)


Except mirages are real optical phenomena that can be captured by a camera. Hallucinations are made entirely by your brain and cannot be captured by an external observer.


You can also just allocate unmanaged memory directly via `Marshal.AllocHGlobal`. Basically the .NET version of `malloc()`


Those generally aren't in the living room


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

Search: