HN user

sensitive-ears

16 karma
Posts0
Comments14
View on HN
No posts found.

Yeah, I feel this a lot too. I get a lot of my inspiration from other people. Video calls don't quite work. Now it's been 18 months since I've been in the office, and I'm just some who does what their told and that's it. Still very thankful to be employed and healthy, but if I got fired tomorrow it would be a relief

Cheapest ones (new) around me are 2k. For the people buying it, yeah, it's a lot of upper class people, but also a lot of people using an ebike to replace a second car, which works out way cheaper in insurance/fuel/maintenance/etc.

This may or may not be true in all locales, but one issue described to me is that having a legal entity in one jurisdiction with employees in another jurisdiction can expose the company to be also tax liable in the workers jurisdiction

Yeah, I think java had the right idea, but the ergonomics didn't turn out great, so they didn't get the buy in they'd hoped for. Having both checked and unchecked exceptions (ie, NPEs) meant it doesn't offer the same safety guarantees as something like rust does. The implementation of exceptions can also have some implications for the runtime, whereas the enum method of error handling allows you to run in very minimal environments and easily see what's going on. (Exceptions could be implemented this way under the hood, but they often aren't)

The "?" operator doesn't turn them into exceptions, it's just a "return-early-if-error" shortcut. The main difference being that the caller still has to handle the error of a function using "?". (even if it's by punting further up the call stack with more "?", which you could argue is exactly how exceptions work, but it is at least explicit in what functions can fail and which don't)

Rust for Windows 6 years ago

It's more of an example than a resource, but the 'git2' crate that wraps libgit2 does a good job of providing a nice rust interface over a C library.

Anyone got any good ideas for the reverse problem? I can still hear 20khz at 30 years old, which is the standard switching frequency for most power supplies. Induction cooktops drive me up the wall, I can't stand to be close to one when its on. (And yes, I've recorded the sound, run it through a fft, removed the lower frequencies and it still annoys me)