HNHacker News
TopNewBestAskShowJobs

nieve

1,134 karma · joined August 22, 2011

submissionscomments
nieve··on Show HN: Perceptual hashing tools for detecting child sexual abuse material
Oh good, I'm sure most organizations can use something like that guide as well as the tools. There's a lot of legitimate worry about both the wellness side & the legal exposure issues, but it seems like beyond the common wisdom to be very careful (somehow) I think in a lot of minds there's a lack of clarity as to what exactly that means. Is there a particular reason access to the guide requires handing over contact information?
nieve··on Show HN: Perceptual hashing tools for detecting child sexual abuse material
A false positive rate of 1/1000 is hard to assess without actual prevalence stats, but with a decent-sized userbase it seems likely you're still going to get a significant number of false positives. Is it intended that users of your system would have employees manually vet all positives (with legal and mental health concerns) or just submit them without review? I'm coming from having built tools to support a large manual sweep in the 2000s and watching the toll it took on my coworkers.
nieve··on Stop using low DNS TTLs
I think this is actually the desirable behavior. If you've got very long-running connections and you want to force a switch-over you can always drop the connection even if you don't have some in-band mechanism. If you're constantly watching for a DNS change all it takes is one DNS failure to kill a connection (or all connections). In general transient network issues are probably going to be more common than IP changes on your infrastructure and issues caused by the former are harder to debug.
nieve··on Discord is deactivating accounts without phone numbers
Assuming your statement that you don't sell user data is correct, are you willing to state that you do not share it with other companies without money changing hands directly? That's a pretty big gap in your claims.
nieve··on Prewarming PostgreSQL I/O caches
If you've got a database you can fit in memory that's got very sporadic access pattern it could be a nice boost even on SSDs. My biggest personal project has a 15GB database on disk, all of it a single table of 7.5M comments and a PGroonga full text search index. The queries are very disproportionately searching for low frequency terms so the index will largely cached, but most of the rows will require disk access. Since I can spare the ram to get the entire db in memory it's a clear win for me even if it's decent speed without. My users are basically a font of random accesses and being able to treat PostgreSQL as an in-memory db is convenient.
nieve··on Paypal Withdraws from Facebook's Libra Cryptocurrency
The US cares about money laundering by US entities abroad as well and there's no get out of jail free card for "well, the other guys said it was okay". On top of that one of their selling points is how universal and frictionless it's supposed to be. If they can only operate in countries with useless regulation they're kind of doomed on that.
nieve··on Calibre 4.0
Full disclosure: I'm a sql & emacs geek so that may warp my views on interfaces. I suspect there are a lot of features that are used by no more than 5-10% of users, but we'd scream bloody murder if they were taken away. No two of my heavy Calibre user friends use exactly the same set of features and we're always swapping tricks. Calibre does a decent job for so many use cases that I'm not sure there's any way to have a completely coherent UI that covers them all. That doesn't mean it's not krufty and occasionally frustrating, but I've no exaggeration never seen an alternative that did even 20% of what I wanted.

Calibre can seem pretty overgrown and I used for years without missing features like search-based virtual libraries, but now an ebook management app that doesn't let me slice and dice with that kind of power. For me it's a mix of how easy it is switching between tabbed views like new last 30 days, unread (custom tag automatically added on import), various reading lists from the Reading List plugin, author sets I tend to read together, missing metadata, etc. and the composability of virtual libraries.

When you combine virtual libraries with the slightly misleadingly named FanFicFare plugin's metadata it's a lot easier to keep track of both original[1] & fan fictions from dozens of sites (out of several hundred supported) and separate it out from regular books. Similarly the Reading List & Import List plugins are great for pulling in info from outside calibre, but they need a lot of the features that people generally ignore to do their jobs.

On the flip side most people don't seem to use multiple real libraries and they are great for topic-specific book collections or when I really don't want to see a book again, but don't want to just delete it.

Even simple things like being able to arbitrarily color column text based on filters I ignored until I realized lets me set the titles of all books missing a description red. It makes cleaning up my library easier, but nothing else I've tried has a similar features.

[1] https://github.com/JimmXinu/FanFicFare/wiki/SupportedSites It's the only thing that makes reading fiction from spacebattles.com not soul-destroyingly annoying.

nieve··on Calibre 4.0
A something else that you're avoiding naming?
nieve··on Drilling open a smart door lock in 4 seconds
I suspect you can find a way to brace them in many circumstances, some of the common bicycle theft techniques are pretty constrained. The down side of this method for a thief is that they look very much like a handgun for obvious reasons. That ups the chance that a quick theft escalates to gunfire if you're interrupted by the police, armed security, or an armed home owner or bystander. Cops are a lot more likely to shoot you if they think they saw a gun.
nieve··on The ReMarkable Tablet: A Review
Except display text on an e-ink reflective screen. They're fundamentally different for most people.
nieve··on Some items from my “reliability list”
The one I've seen missed most often in startups is directly implied by a lot of the other points and obvious to anyone with long experience: Take the time and put a lot of thought into how to break up your big transitions into smaller stages, each of which are functional. It's usually possible to at least narrow down the risky parts to a few finer grained steps and when something fails only rolling back one part to get to a good state is almost always faster and safer.

It's very easy to get absorbed into the awareness of the high level change you're making and miss the details of the process. Even just sitting down together and outlining what you think is actually going to go on (and then breaking those down into what they each are comprised of) can make it really clear that you don't have to run as many giant risks. I'm occasionally amazed how brilliant people (including some with big names in devops) can forget it's an option.

It's like taking small steps from stable to stable when you're going across a steep scree slope and only jumping when you have to - sometimes it feels riskier to take lots of small steps, but if you start to slide it can be a lot easier to recover from. Your chance of dying taking a big leap isn't the sum of the equivalent small steps. Perhaps complex computer systems have the equivalent of an Angle of Repose?

nieve··on Drug cartels use dollar bill serial numbers as random keys for delivery receipts
A random selection from a set of in-series numbers is still random, it's just got a potentially known range.
nieve··on Waterfox Browser
http://www.xuldev.org/scrapbook/ https://github.com/danny0838/firefox-scrapbook/wiki/Intro

There's zero hope of implementing something like the unfortunately named Scrapbook Plus & Scrapbook X research addons. In-browser editing & powerful manipulation, full text search within saved pages, direct access to the saved archives, the sidebar, the specialized capture options and quite a bit more require features (XUL-based and otherwise) that Mozilla won't implement. It's the biggest thing keeping me on Waterfox beyond Mozilla continual slide into sleaziness on privacy and afaik no browser not based on pre-quantum firefox supports anything like it.

Beyond research or archiving pages I think will disappear If I want to yank the content from posts across five sites, clean it up quickly, merge it into a single document and export it for conversion with calibre it's trivial with Scrapbook X and a pain with anything else I've tried. If I want to archive everything that I look at while digging into a topic or site I just turn on auto-save and start browsing. I'm fairly certain having no replacement for a major part of my workflow & browsing habits doesn't mean that I'm anti-security* or I'm scared, but that Mozilla no longer supports the tools I need. I'm grateful that Waterfox does.

*It's almost a hobby: Firejail, uMatrix & NoScript in paranoid mode, rejecting all cookies by default & extensive use of containers, different vpn connections and separate profiles for different kinds of browsing, etc.

nieve··on How Not to Acknowledge a Data Breach
At a previous employer that policy was continually causing problems and I'd been able to fly under their radar since all they did was issue hardware to myself and my minions†. Eventually IT staff came around needing the root password for my dev machine and things got awkward very quickly when I explained they didn't have internal clearance to log into it, much less view any data, and they'd have to go ask a senior vice president for direct approval in writing.

They were some of the best IT people I've worked with, but they'd just run into a situation where they were the people who needed permission and they had to create exceptions on the fly. There's always going to be a place where the process breaks down and either you give the IT people room to adjust their policies or you make them sit on their hands and pretend nothing is going on.

† Not my terminology.

nieve··on PostgreSQL Count(*) Performance Improvements
Only one data point, but I've got a custom search engine for a community that has pretty close to the ideal usage pattern for this: append-only with no update or deletes. A pure count(*) over 6.8M rows on a slow VPS takes 135,015ms and the n_live_tup technique¹ takes 214ms. The latter was 00.009557% high before an analyze and 00.001414% low afterward. Definitely good enough for me.

¹ SELECT n_live_tup FROM pg_stat_all_tables WHERE relname = 'comments';

nieve··on Luarocks.org Security Incident March 2019
That's the clearest, most concrete, and most useful response to discovering a vunlnerability in a dev infrastructure site I've ever seen.
nieve··on Toxic Workers Are More Productive, But the Price Is High
This mindset can spread to higher levels if it's allowed to. At one point during the dot-com bubble the company I worked for was acquired by one where ad sales and biz dev were granted credit for all income and everything else in the company was considered a loss. This was a _financial media_ company and without fresh content the entire thing would have keeled over immediately, but via appearing to hold the purse things had slid to the point that ads and business development had power over almost all decisions. They bought us because they were trying to move into premium subscription products like we did, but we didn't know how bad it was until we found out that every dollar we brought in was attributed to the business development group and on paper our entire subsidiary was a money hole.

From individual employees up to the C-level divisions they judged everything solely on what was easiest to put into a spreadsheet and it destroyed them in less than a year. Sad to say my hope they were unique was wildly optimistic.

nieve··on Why White People Don’t Use White Emoji
Exactly - the average for the darkest three tones is 17% and for the lightest two 24%, that's a huge bias in the opposite direction of the author's conclusion. I'm not sure if he deliberately mischaracterized the data for click-bait purposes or he's incompetent at arithmetic, but his data completely disproves his claims.
nieve··on Potholes to avoid when migrating to IPv6
Agreed in theory, but I've seen plenty of hand-rolled solutions even so and I think the dbs are at least slightly more likely to get standardization via ORM devs. One of the most painful I've run across was a system that was allocating ips for short, but highly variable lifespan VMs and trying to store them in MySQL database manipulated with both Ruby and Python. Even with language support there was no real defense against coworkers trying to brute-force complicated network checks on assignments when sub-second responses were needed. Unless your work is only ever in a small corner of a large system a single language and standard library having a native type won't always protect you from your code getting handed ip addresses from a foreign source in various text formats. The original post explains why this is a potential nightmare in detail.
nieve··on Potholes to avoid when migrating to IPv6
I doubt we're ever going to get standardization on a given ip data type even within most languages, much less across them, but there's a tiny bit of hope that the various databases might converge on something vaguely portable. It's taken twenty years, but I'm actually seeing it with some other types. We just need to make sure MySQL doesn't release something where internally all ip addresses (4 & 6) are stored as 47 EBCDIC characters and silently corrupts your dumps if you're using a really-no-I-mean-it UTF-8 locale. (Not entirely fair to the MySQL devs, but a lot of database people have been burned by their approach and Oracle is not making this better.)
nieve··on Potholes to avoid when migrating to IPv6
It won't solve most of the problems, but if you're using PostgreSQL its native inet datatype (which supports 4 or 6) instead of a text or binary string can save a world of pain and there are alternatives in some other RDBMSs:

https://www.postgresql.org/docs/current/datatype-net-types.h... https://www.postgresql.org/docs/current/functions-net.html

First class network and ip types that properly support contains and exclusion operators make a lot of things less error-prone and potentially much faster.

nieve··on Anti-Tax Fervor Closed Their Libraries. Now Residents Are Trying to Go It Alone
I'm not sure if you've lived in low-density rural areas that are dependent on many roads, but when you do you see traffic isn't always the dominant factor. In many rural & suburban parts of the US road maintenance is heavily driven by the freeze-thaw cycle's damage - back roads will simply crack, buckle, and come apart. Living in both rural, lower density parts of New England and the even sparser US Rockies you see this continuously. A road with literally no traffic will still start to fail over just a few years. Similarly in wet soils & heavy root areas I've lived in rural roads also accumulate a lot of non-traffic damage even when you don't get sinkholes. Bridges wash out, culverts get blocked, nothing lasts. Even desert areas can have issues with drifting sand and the occasional serious cracking.

Basically dealing with infrastructure in rural areas you can't pretend that the earth is stable & inactive and no rural place can afford the most durable materials.

nieve··on 10 handy Bash aliases for Linux
These are pretty neat, but weirdly uninformed on some things .

If you're using GNU tar the alias should just be "tar -xvf" since it can autodetect compression (though I'm not sure if that's suffix-based or file type). This also means you can append your own -j or whatever for different compression types if you need to do so manually.

Specifying "wget -c" does not mean you'll be able to resume if something goes wrong, it forces resumption from a partial file you already have on a subsequent invocation. The reason to specify it on the first invocation is just so that you can be lazy and reuse that command line.

The shasum command is from Perl on most (all?) platforms, sha256sum from GNU coreutils or equivalent may be needed if it's missing and may have higher performance.

Probably most importantly, ipconfig is OS and distro-specific. It was missing on the first linux systems I checked (Ubuntu and openSUSE). It's useful, but it's a bit like listing a launchctl alias without specifying it's largely macOS-specific.

nieve··on The Most Notorious Towing Company in Chicago Gets the Boot
This kind of thing is a problem anywhere that there's not aggressive regulation and Seattle is pretty bad. At one point a partner was towed for parking in a handicap spot and she had handicap plates and a handicap placard. Similarly she was towed from in front of our house for not moving the car very frequently and towed for parking in a part-time lane at a forbidden time... before the forbidden time started. Once you're towed they got a motivation to up the fees by keeping your car as long as possible, so you're likely to run into very short retrieval hours (closed on the weekend) and fees over $200/day. It's a pretty effective racket as long as the city goes along with it and they're getting paid.
nieve··on Gravitational Lensing by Spinning Black Holes in the Movie Interstellar (2015)
That was missing an eraser.
nieve··on Gravitational Lensing by Spinning Black Holes in the Movie Interstellar (2015)
Thorne's teaching abilities really get ignored. He used to TA a session of first year physics at Caltech every year and he was amazing when I had him. To teach accelerating frames of he clambered onto a table, saying "Define a frame of reference centered on the tip of my nose", then tossed it gently forward as he stepped off. It was a perfectly intuitive demonstration and he got us to laugh in the process.
nieve··on How Postcards Solved the Problem of Disappearing Rice
Unfortunately some groups (and governments) in Europe are now trying to criminalize providing information to immigrants.
nieve··on Ask HN: What abandoned OSS project would you like to see revived?
Cinnamon supports them out of the box as well, it's System Settings -> Preferences -> Hot Corners. I had to run the Brightside daemon to get it working on MATE, but I don't know if that's true anymore.
nieve··on Netflix Stole My VHS Cassette Photos for Its Stranger Things Boxed Set
I think "unemployed" and "hire an attorney" are not 100% mutually exclusive, but if he's not asking for much and doesn't have much money it's a probalby not a good option. As for handsome royalties, they're rarely large unless you've got a lot of leverage. You're coming at this as if he's got money and wants to make more and nothing in the post suggests that's true.
nieve··on Previous Evidence of Water on Mars Now Identified as Grainflows
It's interesting that the release doesn't address the seasonality of the effect unless it falls under the possible initiation handwave. Is there some other temperature dependent effect on such flows?
← PreviousPage 11 of 16Next →