HNHacker News
TopNewBestAskShowJobs

shabble

2,735 karma · joined August 29, 2009

submissionscomments
shabble··on Ask HN: What is your Homepage / Startpage?
about:blank

..Which gets progressively harder to configure away from the "Helpful Tabs from our sponsors" and other guff with each new browser install I do.

shabble··on Barrier: Share mouse and keyboard between computers
Can be a lot more than that!

I was looking recently and came across https://www.aten.com/gb/en/products/kvm/desktop-kvm-switches... (and similar in the range)

Switching multiple monitors simultaneously seems to take you into a whole new bracket I tend to associate with the 15-monitor fintech/daytrader market, with pricepoints to suit :(

shabble··on Thin PostgreSQL Clones
I'm using it (mostly locally at the moment) for semi-automating testing of django db data migrations, and it's really great.

I've previously spent a fair bit of time tuning postgres for fast/less durable settings to speed up testing, and this puts all of that to shame when you need to start with any non-trivial schema/data and revert back to it.

I had been testing out some ideas with `docker commit` to save derived images which included a premade db, then reverting to that, but I don't think it's worth bothering with since I found dblab.

Haven't yet tried using it CI, and I suspect it might need a somewhat-custom-than-normal VM setup to use ZFS than you could easily do on most hosted CI runners, but it's on my list of things to investigate/setup eventually.

shabble··on Ask HN: My client want an agent on my laptop. Is this the new normal?
sticking a needle in a MEMS microphone is just as effective, you just have to [find the damn thing, and] push the needle all the way through!

If brute force isn't working, you're just not using enough of it yet.

shabble··on Ask HN: My client want an agent on my laptop. Is this the new normal?
You could reasonably invoice an upfront tooling cost ("isolated development workstation to meet customer IT policy requirements. Apple Macbook Foo, $BIGNUM")

If you want to be really cheeky, could get some value-added margin on it too, and as a bonus, AIUI it would be yours to keep after the engagement, rather than having to return hardware they've assigned to you.

Might be tough to get past finance though, unless they really want that certification :)

shabble··on No evidence that parachutes prevent injuries when jumping out of planes (2003)
Cochrane Reviews? https://www.cochranelibrary.com/about/about-cochrane-reviews
shabble··on Ask HN: How do you manage direct updates to databases in a production system
you could have a look at dblab[1] which (afaik, I've not yet tried using them) has some support for streaming in from a primary source and applying sanitisation functions/transforms

The main value is the use of ZFS snapshots to give you almost-instant (2-3s for a 20G DB on my dev laptop) writeable clone of an import, which you can test your migrations etc against, and then just revert or destroy, which has been extremely helpful for me.

Happy user, no relationship, etc.

[1] https://postgres.ai/products/how-it-works

shabble··on Clickbait is unreasonably effective [video]
> On desktop systems where the option is available to me, I use ... though the uBlock Origin elements remover can also be used for this.)

After getting really annoyed with some unpleasant thumbnails that just kept showing up, I came up with the following ublock origin rule:

    www.youtube.com##div.ytd-rich-item-renderer:has(ytd-channel-name a[href="/c/<channel-name>"])
to exclude things from the recommendations lists. Not sure how well it'll scale if I had a large number to exclude though.
shabble··on Hydraulic Telegraph
Or just implement an appropriate RFC[1] :)

[1] https://tools.ietf.org/html/rfc1217

shabble··on i3 4.18
If you're still looking, I quite like XKeysnail (https://github.com/mooz/xkeysnail) for that, although it does occasionally get confused. It does seem like it's something a WM should be capable of though.
shabble··on Using the linear distance operator in Postgres 12 to find the closest match
You might want pgrouting[1], if you can find access to appropriate datasets for your routing (road) network.

[1] http://workshop.pgrouting.org/2.5/en/chapters/advanced.html#...

shabble··on An Illustrated Guide to Useful Command Line Tools
unless I'm missing something, jq isn't[1]

[1] https://github.com/stedolan/jq/tree/master/src

shabble··on Battle testing data integrity verification with ZFS and Btrfs
Sometimes referred to as "Battleshort"[1] mode

[1] https://en.wikipedia.org/wiki/Battleshort

shabble··on Emacs 26.2 Released
looks like the 3000 has the same horrible reduced-size Escape and F-key row that I've had the misfortune of using on the Sculpt and others.

The older Curve 2000 series might be a better choice if you actually want to use those keys with any frequency

(And to bring it back to emacs, I find myself using ESC-ESC-ESC quite a lot when I (or it) get confused about what state things should be in)

shabble··on “Catastrophic” hack wipes out email provider’s entire infrastructure
as in, the backup host connects to the target machines and pulls them back to itself?

Biggest concern I have with that is that to get around file permissions, the backup user needs to be effectively root.

It's much more of a problem is the backup server gets compromised and now they also have root level creds to every target machine.

I'm not sure if something like apparmor or selinux could allow for some sort of 'read-only root' type user, and if that would actually be safe in teh circumstances.

shabble··on “Catastrophic” hack wipes out email provider’s entire infrastructure
I've occasionally wondered what the best way to secure your backup host from the individual clients, and possibly clients from a compromised backup host would be.

The most promising option I've come across so far is Borg running in append-only mode[1] with a client-push type model.

I imagine it wouldn't help in this case, if the attacker has the creds and access to run `dd' on the backup machine directly.

Anyone had any good/bad experiences with Borg append-only (or have other suggestions?)

[1] https://borgbackup.readthedocs.io/en/stable/usage/notes.html...

shabble··on Mars One, which offered 1-way trips to Mars, declared bankrupt
How useful is a mars colony/parallel civ against an incoming GRB though? My vague understanding is that they're potentially quite 'tightly collimated' in astronomical terms, but that would still potentially cover a good volume of the solar system if one came our way.

That is, if we assume a GRB intersects Earth, what is the probability that it won't also hit Mars?

Very Big Asteroids are definitely one event it would serve us well for though.

shabble··on Exwm – Emacs X Window Manager
back when I last looked, xnest[1] was the go-to for that sort of thing. It's been the best part of a decade though, so YMMV.

[1] https://www.x.org/releases/X11R7.7/doc/man/man1/Xnest.1.xhtm...

shabble··on Novels with giant, possibly magical, libraries
Given the mentions of the word throughout the article, I was entirely expecting to see Palimpsest by Charlie Stross[1] in there somewhere. It does feature a very large library, although the plot is more time-travel (and temporal engineering).

[1] https://www.antipope.org/charlie/blog-static/palimpsest-intr...

shabble··on Phenylephrine Is No More Effective Than Placebo for Nasal Congestion (2015)
A Simple and Convenient Synthesis of Pseudoephedrine From N-Methylamphetamine[1]

[1] http://heterodoxy.cc/meowdocs/pseudo/pseudosynth.pdf

shabble··on Remotely compromise devices by using bugs in Marvell Avastar Wi-Fi
Cards: https://www.bunniestudios.com/blog/?page_id=3592
shabble··on Ask HN: Best things in your bash_profile/aliases?
I have one that takes an optional numeric arg for the number of times to repeat. Surprisingly useful, but I still keep meaning to get round to making a nicer interactive one with fzf or something.

   $ alias ..
    ..=up
    $ type -f up
    up () {
        local tmp_path=''
        for i in $(seq 1 ${1:-1})
        do
            tmp_path+='../'
        done
        cd "$tmp_path"
    }
shabble··on Basilisk web browser
I did also just find https://liltinkerer.surge.sh/noscript.html as well. I thought most of the controversies have been the commercialisation/hostile takeovers of the various (ad|u)block (pro)? extensions, but seems not.
shabble··on Basilisk web browser
Has Noscript abused its capabilities as an extension in the past? I can't think of (or immediately find) any suggestion that has, but now I'm curious.
shabble··on How Google Code Search Worked: Regex Matching with a Trigram Index (2012)
https://wiki.postgresql.org/images/6/6c/Index_support_for_re... is I think the slides for a conference talk on implementing within Postgres
shabble··on Show HN: Shortcut Roulette – Dangerous, unhelpful shortcut for iOS 12
see also: suicide linux [https://qntm.org/suicide]
shabble··on The First Rule of Microsoft Excel: Don’t Tell Anyone You’re Good at It
Your first couple of points reminds me of a talk[1] about using a graph database for tracking all sorts of entity and quest dependency relationships to assist in game balancing and content creation.

[1] https://www.airpair.com/neo4j/posts/modelling-game-economy-w...

shabble··on Miller Columns
> * I remember using these somewhere, perhaps a music player, and how amazing they were.*

Maybe foobar2000 (possibly with some UI plugin?) It's been a very long time, but I recall somethign similar.

https://yuo.be/columns_ui looks a little like it, but this would have been mid 2000's, probably on windows XP.

shabble··on Empty bottles quickly with a whirlpool trick (2012) [video]
I remembered seeing something along these lines a while ago, didn't realise it was as far back as 2012 though: https://www.reddit.com/r/askscience/comments/sv6kw/which_is_...

I guess it's something that many people rediscover on a semi-regular basis.

shabble··on Ask HN: Had anyone already had to deal with the GDPR fines / abuse?
How do I allow this site to set the 'user' cookie, but not the '_cfuid' one? Since Cloudflare is proxying, both cookies are first-party.

FF61 on Mac. Solutions for Chrome would also be interesting.

Note that I specifically don't want 'self destructing cookies' or session- or time-limited ones. I just want to white/blacklist by site, cookie name, and perhaps cookie content.

I've briefly looked for suitable extensions, but not yet found anything.

← PreviousPage 2 of 34Next →