salted-fry's comments

salted-fry | 5 months ago | on: Google Ends Support for Lynx Browser

I just tested changing user agents in Chrome - setting UA to a random string like "fff" gets a search page, but setting it to "Links" or "Lynx" gets "Your browser isn't supported anymore" - which is to say, this doesn't look accidental, but more like these UAs are specifically being blocked.

EDIT: Forging user agent in Links (with links -http.fake-user-agent) gets a usable homepage, but the results page just sends you to a turn-on-your-javascript page.

salted-fry | 2 years ago | on: Gron: Make JSON greppable

I remembered where some of my old files are and re-tested; forward-gron was "only" about 7GB for the 15MB file. gron -u was the real killer, clocking in around 53GB.

salted-fry | 2 years ago | on: Gron: Make JSON greppable

I use gron a lot, because I can never remember how to use jq to do anything fancy but can usually make awk work. (I may be unusual in that department, in that I actually like awk)

One warning to note is that gron burns RAM. I've killed 32GB servers working with 15MB JSON files. (I think gron -u is even worse, but my memory is a bit fuzzy here).

https://github.com/adamritter/fastgron as an alternative has been pretty good to me in terms of performance, I think both in speed and RAM usage.

salted-fry | 2 years ago | on: Show HN: I made an iOS HN app to navigate large threads without getting lost

I've been using an incredibly stupid bash script to do this; you've finally given me the push to publish it here: https://github.com/krsiehl/hn2mdir

Run mkdir -p /path/to/some/directory/{cur,new,tmp}, then ./hn2mdir.bash /path/to/some/directory/, and it'll crawl Algolia's HN API to dump a bunch of emails, one for each post/comment. You can read it with mutt -f /path/to/some/directory. Syncing with IMAP left as an exercise to the reader (I'm using mbsync).

Note that it gets large, fast, and may break your IMAP server; I periodically run find ~/Mail/HN -type f -mtime +30 -delete to clear it out.

Edit: should clarify, this is read-only, I've never bothered to set up any kind of response functionality

salted-fry | 4 years ago | on: Fixing stutters in Papers Please on Linux

Hey, I know this issue! I ran into it in CK3 when it launched. You can also work around it by running chmod go-rx /dev/input/ while playing your game. Whether this is more or less invasive than binary-patching the game is up for debate.

salted-fry | 4 years ago | on: When did Neil Armstrong set foot on Mars?

In a similar vein, some time ago I tried to search for how many unicode code points there are with "How big is Unicode?" (https://www.google.com/search?q=how+big+is+unicode)

Google helpfully responds "16 bits", which is pulled from the History section of Wikipedia and hasn't been accurate in something like twenty-five years.

Edit: Should have listened to people saying to screenshot your queries. Google still quotes the paragraph in question, and bolds "16 bits", but no longer puts it in a big bold heading like it's the single answer to your question.

Double Edit: except in chrome, where I do still get the old page. Here's a screenshot for posterity, after Google somehow fixes this: https://i.imgur.com/7Ng6DyK.png

salted-fry | 5 years ago | on: Ask HN: What are some “10x” software product innovations you have experienced?

I do use Lyft to get to work most days (or did, in the Before Times). I just checked a few hopefully-representative months (June/July/August 2019) and it looks like I was spending about $400/month. Google tells me that the average TCO of a car is about $700/month, so this would seem like a net win. That average might not be representative of my needs though - it's likely being dragged up by people driving around giant SUVs and such, so take this comparison with a grain of salt.

salted-fry | 5 years ago | on: Show HN: Split Keyboards Gallery

The thought has occurred to me - and I wouldn't mind a thumb-trackball on the right hand, either. Design in the physical world is well outside my wheelhouse though - is a keyboard an approachable project for somebody who hasn't done woodworking/machining before, or would I be better served working on smaller projects first?

salted-fry | 5 years ago | on: Show HN: Split Keyboards Gallery

I like the idea of a split keyboard, but I've never been able to go down that road because I sometimes hit keys with the "wrong" finger - most notably, I need to be able to hit B with my right hand because it's down-left in roguelikes (i.e. Nethack).

What I'd love to see is a "106% keyboard", where a couple columns are duplicated on both the left/right side. Does anybody make such a keyboard?

salted-fry | 5 years ago | on: On the bonkers color palette of Garfield comics

You're right - the case I'm quoting is specifically about unauthorized derivative works, which is a pretty important distinction, especially in this context (as presumably the colorizations of Garfield were authorized)

salted-fry | 5 years ago | on: On the bonkers color palette of Garfield comics

For precedent on this, see the case Anderson v. Stallone, in which Timothy Anderson sued Stallone/MGM for allegedly ripping off his fan script for Rocky 4. Courts ruled that his fan script, as a derivative work of Rocky, had no copyright protection, and so MGM was free to rip it off if they wanted to.

I happen to disagree, in that I think the law should say that derivative works are co-owned by the owners of the original work and the creator of the derivative; but that does not seem to be what the law currently says.

salted-fry | 5 years ago | on: Ask HN: What RSS Reader do you use?

Like a few others here, I use an RSS to email converter, although I'm using a custom-written one. The main difference from rss2email is that I'm not actually doing any SMTP - I'm just dumping files into a Maildir and letting isync do the uploading/downloading. The actual reading then happens mostly with Mutt (which also just interacts with Maildir).

Like some others have noted, using email as a storage mechanism reduces part of the problem (tracking which items are read/unread) to one that's already solved (by IMAP). Additionally, using isync lets me have local copies of everything; this used to be really important when I was a "poor" grad student, because I could do cool stuff like download a bunch of comics ahead of time on my laptop, then read webcomics/mailing-lists on the 2-hour bus ride. I still like having local copies of things on principle, although nowadays everybody is always-connected so it's not as useful.

salted-fry | 7 years ago | on: How SSH port became 22

Interestingly:

  $ telnet localhost ssh
  Trying ::1...
  Connected to localhost.
  Escape character is '^]'.
  SSH-2.0-OpenSSH_7.7
Obviously, it's just getting translated from ssh to 22 under-the-hood. I'm not sure who's doing the translation, though.

salted-fry | 9 years ago | on: Violating Terms of Use Isn’t a Crime, EFF Tells Court

My understanding is that, under the CFAA, any unauthorized access to commercial servers is a felony (more-or-less; there are some requirements here, but as I recall they're so broad that they basically always apply).

The theory here is that, after breaking the TOS, if you continue to use the service then that use is unauthorized and therefore felonious.

As the EFF notes, previous judges have refused to rule it this way, basically on the basis of "that's insane, even if it is what the law says".

Edit: for reference, the relevant legal bits are here, in section (a.2.C), with relevant definitions in (e.2.B): https://www.law.cornell.edu/uscode/text/18/1030

salted-fry | 9 years ago | on: TOX – A New Kind of Instant Messaging

Zooko's Triangle is conjecture, and Namecoin has shown it to be defeatable, no?

Edit: Ah, I see; "including the majority of the entities" would exclude Namecoin from being a proper solution to Zooko's Triangle.

page 1