Better HN
topnewbestaskshowjobs
Log inSign up

notnullorvoid

971 karma · joined Jun 30, 2023 (3y ago) · 477 submissions

Submissions

comment 2y ago · link · parent

> Software engineers are mercenaries hired to create value for shareholders, and anything else is just delusion.

Value is a sustainable product, not some shovelware piece of crap. If the shareholders don't see that then that's their problem, and it's probably best to part ways and warn everyone you know from working with them.

comment 2y ago · link · parent

Any policy that disincetivizes growth by unsustainable practices is good policy IMO. We need less companies who's end goal is getting acquired, and more that are in it to build a self sustainable business. Having employee motivation hinge on a acquisition is one of the most toxic business practices.

My general rule of thumb is that unless the company is putting you in a position where you actually get to drive, stock should be treated only as icing on the cake of an already worth while salary. (Unless it's a publicly traded company where you can reasonably assert that stock price will most likely go up or stay around the same)

comment 2y ago · link · parent

No thanks, I'd rather not live in a dystopian nightmare where Sam Altman is in control of assigning proof of humanity. Worldcoin will undoubtedly end up assigning identities to AIs for profit anyway, and/or there will be swaths of identities being sold on the black market.

comment 2y ago · link · parent

> I hope a federated protocol can survive in a world of asymmetric operators. Email has done … ok.

Email as a decentralized protocol is basically dead at this point. Not to mention extreme decline in usage from younger generations and to a lesser extent the whole population.

Google can maybe take some of the blame for that, but they also likely extended the lifetime of email too through Gmail's relative ease of use (in the early days).

comment 2y ago · link · parent

I think blame may lie more on lobbyists than politicians. Though the fact that politicians haven't fixed the problems with lobbying doesn't look so good either.

comment 2y ago · link · parent

That's a formality. Once major browsers ship WebGPU without flags, the spec itself can actually be codified as a standard rather than draft. And I'm sure Deno will follow suit in the version after that event.

Based on current progress in browsers, I'd guess at least 2 will have it enabled without flags by end of Q1 2024. Chrome sort of already does, but for select platforms only.

I highly doubt the API will change from now till then.

comment 2y ago · link · parent

Small correction: It wasn't rolled back due to instability, it was because it increased deno startup time even for programs that weren't making use of WebGPU apis. That is no longer the case this time around.

As someone who detests python, I really hope we can get some good TS WebGPU libs going. In fact any ML lib using WebGPU under the hood would be quite portable to other languages and platforms.

comment 2y ago · link · parent

No it's not. WGPU (a WebGPU renderer built with rust) which is what Deno is using under the hood in this change, works perfectly well and is used by many other projects. Even if that were not the case Chrome's WebGPU implementation is also available separately and it's called dawn.

comment 2y ago · link · parent

How does allowing 3rd party app stores negatively affect the elderly? Just like Android the ability to install 3rd party apps and stores would likely be off by default and you'd need to enable it in the settings. And even after enabling it installing something gives you a pretty clear warning that what you're doing could be dangerous.

If that's not enough warning for someone then they probably shouldn't have a smart phone, or if they do it should have strict parental controls on it (blocking 3rd party installs, most sites, and phone calls/texts).

comment 3y ago · link · parent

Wow, took a look at the ForEach code to better understand. That's a very novel approach.

comment 3y ago · link · parent

Domain names do get lost if you forget to renew or your payment info isn't up to date.

You could argue that's caused by carelessness, but so is losing a private key.

comment 3y ago · link · parent

There are ways to securely backup private keys.

Loosing your domain name is a far worse. Not only will you not get it back, but whoever owns it now will get all your web traffic. In contrast even if you loose the private key, you could continue to serve any static assets signed by that key, and create a new private key for future assets.

There would also likely end up being plenty of "phone-book" services where you could go and provide a new private key for your company. We already have some of these: Google (Maps), Yelp, Yellow Pages, etc.

comment 3y ago · link · parent

Big companies like Google are already doing this without AI. Will AI make the services more tempting? Yes, but there's also a lot of headway in open source AI and search, which could serve to topple people's reliance on big tech.

If everyone had a $500 device at home that served as their own self hosted AI, then Google could cease to exist. That's a future worth working towards.

comment 3y ago · link · parent

For arrays, did you end up taking the diffing/memoization approach like solid?

I've yet to see any framework have O(1) collection mutation reactivity.

comment 3y ago · link · parent

Apple does get flak for this, just less so from Apple users.

The browser restriction on iOS could thankfully come to an end thanks to EU regulation. Though one down side, is that will serve to grow Chrome's market share even further.

comment 3y ago · link · parent

Domain names in general are a flawed idea.

Had public/private key pair cryptography been further along at the beginning of the web, I think we would have wound up with something like public keys that users add a nickname to. Similar to what we already do with phone numbers, but "ownership" locked to a private key.

comment 3y ago · link · parent

PR review is an async process, you can't expect your teammates to drop what they are working on in order to review a PR. This is something you can bring up in your stand-up or message channel if the PR has been sitting without a review then kindly ask "hey X, and Y can you give this a review today". Or if it actually is urgent then message someone directly and say it's urgent, and offer to hop on a call to go through the review together so the feedback can be immediate.

Actual priority items are always owned by the whole team, not an individual.

comment 3y ago · link · parent

They are not suggesting hazing. I don't doubt that you experienced hazing. Being vigilant with new hires to assure assignment on code quality and design is not hazing though.

If someone has legitimate concerns about the design decisions made, then they should voice them. However if they are refusing to adhere to guidelines, simply because they dislike the approach then that's being overly problematic.

comment 3y ago · link · parent

I would hesitate to call MacOS flawless. When I had to use it (m1 pro), it had more issues than Fedora with gnome (which has virtually no issues on the 4 systems I have running it). MacOS wouldn't work with thunderbolt dock, wouldn't work with some monitors / resolutions, requires a paid app to get middle click on touch pad (which is beyond laughable, but goes to show Apple users will pay for anything). The settings GUIs have more legacy than Windows. The updates are terrible... it will uninstall dev tools after an update, and looking at the size of them it's like it downloads and reinstalls the entire OS each time.

comment 3y ago · link · parent

I used to have issues with Steam flatpak, but it's been 2-3 years now without any issues.

Discord also works, it doesn't support some features, but that has nothing to do with flatpak and everything to do with Discord on Linux in general.

I've got a dozen or so other flatpak apps that work flawlessly.

One major complaint though is it can keep old unused versions of runtimes around and you manually have to remove them, Nvidia and Mesa runtimes for some reason consistently have this issue. Even running `flatpak uninstall --unused` does not remove them.

comment 3y ago · link · parent

It's not compression.

Compression implies the input can be reconstructed from the output (lossy or not), in the case of these ml models the input is the training data and the output is the model. You can't reconstruct even a fraction of that training data using the model alone therefore it is not compression even in the most lossy sense.

The model produced though can be an efficient compressor/decompressor, which produces a lossy output image when given a input of prompt and/or image.

All that aside, the whole human/machine thing is a dumb argument. It's humans that are using the tool. The question shouldn't be does a machine have rights to do X, but rather do humans the have right to use and build such tools?

comment 3y ago · link · parent

Ahh okay wasn't aware the encodings were different, after taking a glance at spec it seems much better than what I pessimistically envisioned.

2 NaNs, and -0 still seem like a bad call (-0 could have been the singular NaN), but I guess I understand maybe why they don't want to deviate too much from IEEE754 floats.

comment 3y ago · link · parent

Floats seem like a pretty bad data format for ML (Also in general). Infinity, NaN, -0 all useless. NaNs in particular have multiple binary representations so waste extra space.

Not sure why more effort isn't being put toward Posits, or thinking up a different format for ML specifically.

comment 3y ago · link · parent

Here's an idea, for a kind of soft rollout. Implement a optional feature for 2021-edition crates that allow specifying Leak. The trait has no effect in 2021.

In next-edition:

- 2021 crates that turned Leak feature uses it just as a next-edition crate would. Only things explicitly marked with Leak in the crate can leak.

- 2021 crate that didn't opt-in to Leak feature, automatically marks everything in the crate with Leak.

comment 3y ago · link · parent

Not so for Apple SSDs, upgrading from a 256GB to 2TB SSD is an extra $720 (US), when in reality top of the line 2TB nvme SSDs cost about $150. It's insane to me that people accept Apple's massive markup.

comment 3y ago · link · parent

You pay a premium pretty much everywhere else too, it's just much less of a premium than Apple in most cases.

comment 3y ago · link · parent

I agree that CJS needs to go, and the sooner the better. However it's slightly irritating hearing this presented on the Deno blog. Deno is no better when it comes to causing issues for library authors who want to provide cross runtime compatible ESM modules. They bundle their own fork of TS which lags behind TS stable, no support for important things like `typeVersions`, no way to test your library with newer (or older) TS versions. You're better off authoring ESM libraries for Node then telling Deno users to use `npm:` imports.
1
1213141516