Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,405 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions

mqudsi on most sites.
Submissions

comment 5y ago · link · parent

I think visual derivative is just a beating-around-the-bush way of saying “thumbnail.”

comment 5y ago · link · parent

That’s awesome. Wgpu did not support a single Linux machine I tried it on, all with various hardware/driver combos, back when OpenGL wasn’t available and later when it was first previewed. It was the only reason I used a different abstraction.

comment 5y ago · link · parent

Does wgpu finally support OpenGL?

comment 5y ago · link · parent

Taliban is/was pretty ardently anti-opium even when they were running the show and could make infinite cash off its taxation or production.

https://en.m.wikipedia.org/wiki/Opium_production_in_Afghanis...

> The opium trade spiked in 2006 after the Taliban lost control of local warlords

https://www.washingtonpost.com/graphics/2019/investigations/...

> Ironically, the only power that has demonstrated an ability to cripple the Afghan drug industry is the Taliban.

> In July 2000, when the Taliban controlled most of the country, its reclusive one-eyed leader, Mullah Mohammad Omar, declared that opium was un-Islamic and imposed a ban on growing poppies.

> Much to the surprise of the rest of the world, the ban worked. Afraid to cross the Taliban, Afghan farmers immediately ceased planting poppies. The United Nations estimated that poppy cultivation plunged by 90 percent from 2000 to 2001.

comment 5y ago · link · parent

I think it’s safe to assume that the one gtld ICANN will never sign off on - even if they sell .home, .lan, and everything else - is .icann

So if they won’t give us a tld to use, just use that :)

comment 5y ago · link · parent

Chrome removed this setting altogether, I have an extension installed to set the decode charset from a menu.

comment 5y ago · link · parent

Debug info size depends on the language and the compiler. Binary packages installed via package managers are also typically stripped. There are too many confounding variables, simply running `strip foo` before comparing evens the playing field.

comment 5y ago · link · parent

If comparing the same language, maybe. But the amount of boilerplate when comparing a C/C++ to rust to Java, it doesn’t work. Even then, some teams might prefer to use more dependencies and others less.

comment 5y ago · link · parent

Binaries should also be stripped before comparing file size.

comment 5y ago · link · parent

I’ve lost* data with just RAID1 thanks to btrfs bugs post-1.0 that corrupted the entire metadata on both disks. There was no good place to get support nor any instructions on attempting reconstruction of corrupted metadata at the time and I haven’t bothered with it since. Apparently I wasn't the only one that suffered such a loss and as I recall, it was blamed on OS-integrated CoW under certain circumstances but it was quite shortly after adopting it and not a particularly weird configuration so I swore it off and have been happily btrfs-free since.

I should have known better since during my initial evaluation in search of a better llvm for Linux, I set up a root non-raid btrfs volume comprised of multiple dissimilar disks and lost all the data after an unsafe shutdown (a kernel panic that may have been caused by btrfs in the first place) even though all the disks were still functioning fine. I was an early adopter of ZFS - first under OpenSolaris, then under OpenIndiana, then (and now) under FreeBSD, so I thought I understand what "initial stable release" meant but it is clear that what ZFS devs consider to be stable and what btrfs devs consider to be stable are leagues apart.

* I was able to use forensic tools and low-level fs-agnostic recovery methodologies to get some of the important stuff back, but the btrfs volumes were completely lost.

comment 5y ago · link · parent

Lol, I was going to make a btrfs quip and say I’d rather trust my data to Sid on xfs or jfs rather than an alternative stable distro that uses btrfs cough OpenSuSE cough.

comment 5y ago · link · parent

There’s no real danger to your data with Sid, just your productivity when your OS breaks.

comment 5y ago · link · parent

He only got to keep 600 BTC.

comment 5y ago · link · parent

No, my point is that if the problem is cheap imports of ready-to-eat corn is the problem, then only banning glyphosate itself will do nothing to stem that. If it's banned alongside GMO corn imports, that's a different matter.

comment 5y ago · link · parent

Banning only glyphosate does nothing to stop cheap imports from flooding the market, so it makes no sense in the context of the problem described.

comment 5y ago · link · parent

Glyphosate and aspartame are probably two of the most vigorously studied compounds in the world.

comment 5y ago · link · parent

Do you mind sharing what sample daily/monthly bandwidth during discovery looks like?

comment 5y ago · link · parent

OpenTracker and XBT are the most famous for lightweight use.

comment 5y ago · link · parent

Do you have a source for that? I was under the impression that content is checked against the database locally, i.e. Apple never sees a hash that doesn’t match.

comment 5y ago · link · parent

For anyone curious, that’s mainly described in the linked article here: https://yarnpkg.com/features/pnp

comment 5y ago · link · parent

They’re extremely hardy but not in that sense. They’re hardy by being drought resistant and by growing absolutely massive (but stout) and incredibly strong. Figs on the other hand are rather flimsy but regrow from roots all the time.

comment 5y ago · link · parent

I know that was a poor attempt at sarcasm but very poor logic. There could have been thousands that have been winnowed over the years due to other fires.

comment 5y ago · link · parent

I don’t believe any non-matching hashes are uploaded (that’s part of the crypto work that has been done) but the device will periodically rescan previously ingested content, as I understand it.

comment 5y ago · link · parent

I also want to add that anyone that says “you can just turn off iCloud photos” can just see themselves out of the conversation. Apple iPhones ship with such low free space after OS and apps and they refuse to support SD cards (although it would be trivial for someone with their resources to abstract away the UX problems) and each photo is now 8+ MiB while videos quickly reach a GiB+ that users really have no choice - especially given how badly iPhones double as mass storage USB devices to allow for manual curation - but to enable iCloud photos.

comment 5y ago · link · parent

This entire analysis is based off a flawed assumption - that it’s a matter of proactiveness and not a nature of platform differences that causes the reported CSAM numbers disparity.

A social networking site/platform is one where previously created media is shared. iMessage pictures are not uploaded to iCloud Photos by default (they are part of the usually E2E content with the standard online backup caveat), only photo albums or photo rolls are - and those are overwhelmingly first or second party just-created content.

This means that if comparing against known CSAM hashes, it’s extremely likely for Apple to find orders of magnitude less content in the first place. The only thing that their system can catch is first-party images that end up being distributed and registered with the various hash databases.

Regardless of whether we are talking CSAM or anything else, it is the norm for the amount of content “created” to be significantly (as in several orders of magnitude) less than the material consumed.

I don’t think scanning on the device vs scanning in the cloud is going to change any of that.

comment 5y ago · link · parent

Apple is obviously already scanning for CSAM for whatever non-E2E content hits their servers. With this, they offload some of the cost of computation to the end nodes but that can’t be the only reason for pushing this tech, so it’s only natural to ask why and look for avenues of exploitation. The Trojan horse/foot-in-the-door hypothesis is basically Occam’s razor.

comment 5y ago · link · parent

Thanks for explaining. Transitives never occur to me.

comment 5y ago · link · parent

Verb or adjective?

comment 5y ago · link · parent

I’m using Postgres so I actually have it a little easier with its native sort order. I switched from NUlid that I was using from years back to this one [0], and the default .ToGuid() gets the desired sort order when used with Npgsql. Likewise though, no db-side generation of uuid - then again, isn’t that the benefit of using globally unique identifiers in the first place, to avoid needing to rely on the db to generate conflict-free identifiers, skipping HiLo or sequences, etc.

Anyway, nice to meet another .NET Ulid user in the wild!

0: https://github.com/Cysharp/Ulid

1
969798
277