HNHacker News
TopNewBestAskShowJobs

predakanga

358 karma · joined December 17, 2013

submissionscomments
predakanga··on Badger Badger Badger Video Officially Preserved by British Film Institute
Jonti Picking (aka MrWeebl) did a more in-depth interview last year as well: https://www.iheart.com/podcast/1119-sixteenth-minute-of-fame...
predakanga··on Tvheadend: Self-Hosted IPTV Server
It does include a fairly full-featured DVR system - I used to use it with Kodi to record shows off DVB-T.
predakanga··on Murderbot, she wrote
I saw someone recommend a site called "The Storygraph" recently - haven't tried it yet, but it seems like an interesting alternative to Goodreads.

In particular the "moods" feature caught my eye.

predakanga··on YouTube confirms your pause screen is now fair game for ads
I had no idea that was an option, thanks for the tip!
predakanga··on Aphantasia: I can not picture things in my mind
> As soon as I try to add more detail the previously imagined details dissapear and I have to circle back and reimagine them. Like having a very limited amount of draw calls every frame.

This matches my experience - I think of it a bit like a really slow CRT, the phosphorescence fading before the image can be composed.

predakanga··on Forget spaceships; I just want my music
I was amazed to discover, a few months ago, that iPeng is still under active development!

I went to set the alarm on my Squeezebox Boom one night and the time picker widget was completely broken. By the next week they'd pushed out an update to fix it.

That kind of dedication in a developer is fantastic to see.

predakanga··on Jazz² Resurrection: Open-source Jazz Jackrabbit 2 reimplementation
You can play Island of Dr Brain on archive.org! https://archive.org/details/msdos_Island_of_Dr._Brain_1992

They have Lost Mind as well, but not emulated because it's a Windows game. I wouldn't be surprised if it still runs, though.

predakanga··on Going back to the old (pre-X) Twitter iOS app
If you can find the .ipa, you can sideload them, no developer account or anything needed.

The downsides are that you can only have 3 sideloaded apps at a time, and you have to reinstall them every 7 days.

https://sideloadly.io/ automates the process and can automatically reinstall them for you - I use it to keep the Pebble app installed and my watch synced.

predakanga··on Faster filesystem access with Directfs
Systemd has a mechanism[0] for configuring those limits.

I believe you can limit a unit to 1 vCPU and 256MB of memory by using something like the following:

[Service]

CPUQuota=100% # 100% of a core

MemoryLimit=256MB

Red Hat has some documentation[1] as well if the systemd stuff is too oblique.

[0]: https://www.freedesktop.org/software/systemd/man/systemd.res...

[1]: https://access.redhat.com/documentation/en-us/red_hat_enterp...

predakanga··on Lisp Game Jam – “Wireworld” in WebAssembly Using Spritely's Hoot Project
Small correction for the author:

> Copper stays copper, unless there are one or two electron heads in any cardinal direction, in which case it becomes an electron head

should be

> Copper stays copper, unless there are one or two electron heads in any neighboring cell, in which case it becomes an electron head

I spent ages trying to figure out how the generators were working in their example before I looked up the rules elsewhere.

predakanga··on Zeal is an offline documentation browser for software developers
Same here - it's a shame because I'm happy to continue supporting the developer, but I won't pay for a functional downgrade.
predakanga··on Pixel Tablet
You make a good point - there are loads of third-party magnetic charging cables out there, but I never saw the point when I have a wireless charger.

I might have to give the cables a try next time I replace my battery, see how it affects longevity.

predakanga··on DataDog asked OpenTelemetry contributor to kill pull request
> How long before Grafana has these capabilities in OSS?

They've already started down that path with Grafana Tempo[0]. It's functional, but their UX and discoverability need a lot of work.

[0]: https://grafana.com/oss/tempo/

predakanga··on PC wakes from sleep when changing clothes
The same effect was used to make stickers that lit up when you were receiving a call, with no battery needed!

https://hackaday.com/2022/02/26/heres-how-those-battery-free...

predakanga··on Better visibility into Linux packet-dropping decisions
I recently came across another useful utility for debugging unexpected packet drops - PWRU[0] (Packet, Where Are You) by Cilium.

It uses eBPF to try to trace the path of the packet through the kernel. Haven't needed to use it yet, but it could have saved me a lot of trouble in the past.

[0]: https://github.com/cilium/pwru

predakanga··on Authenticated Boot and Disk Encryption on Linux
> Also, once you've got per-user encryption on ~/.ssh/authorized_keys you'll need some other mechanism for users to log in.

OpenSSH supports this through the AuthorizedKeysFile directive - it'd be quite simple for the homedir mounting tool to sync that file from the user's authorized_keys file on unmount.

You could also use SSH certificates, but that requires a CA - not ideal for the home user.

predakanga··on You can legally get and run WordPerfect for free
Thanks for the correction - complete brainfart.
predakanga··on You can legally get and run WordPerfect for free
You might still be able to - check out "WordPerfect for DOS updated": http://www.columbia.edu/~em36/wpdos/.

If you want spreadsheets as well, Corel 1-2-3 works under dosemu at least (see https://lock.cmpxchg8b.com/lotus123.html).

predakanga··on iPad Camera Multitasking
The thing that bothers me is that it's not even restricted to iDevices.

I was recently looking into replacing Time Machine on my MBP (which has a tendency to corrupt over SMB) with APFS snapshots, synced to ZFS snapshots on my NAS.

Unfortunately, I quickly found that Apple has locked the relevant API (fs_snapshot_create) away behind a private entitlement, only to be granted to select backup software that abides by their rules.

It's gotten to the point that I want to "jailbreak" my laptop. Just give myself the ability to grant any entitlement, for local use only.

predakanga··on Dolt is Git for Data: a SQL database that you can fork, clone, branch, merge
This does exist, though support for it is pretty sparse; it's called "Temporal Tables" in the SQL:2011 standard - https://sigmodrecord.org/publications/sigmodRecord/1209/pdfs...

Last time I checked, it was supported in SQL server and MariaDB, and Postgres via an extension.

predakanga··on Fulfilling the Promise of CI/CD
The key word that covers the Heroku-style experience is "GitOps".

Most tools are Kubernetes-centric (i.e. FluxCD[0] or Jenkins X[1]), but there are some simpler Docker-only options as well such as Dokku[2].

[0]: https://fluxcd.io/

[1]: https://jenkins-x.io/

[2]: http://dokku.viewdocs.io/dokku/

predakanga··on Unlocking LUKS2 Volumes with TPM2, FIDO2, PKCS#11 Security HW on Systemd 248
Thanks for the link; I hadn't heard of Mandos.

Another solution in the same space is Clevis[1]; last time I was researching this problem, I came across it via Red Hat's docs[2].

[1]: https://github.com/latchset/clevis

[2]: https://access.redhat.com/documentation/en-us/red_hat_enterp...

predakanga··on Thou shalt not run a database inside a container
You can!

KinD[0] is a project to do just that, although production workloads are an explicit non-goal.

[0]: https://github.com/kubernetes-sigs/kind

predakanga··on Jira on premises end of life starts feb 2021
You don't even need to patch any files - you can patch classes at runtime using a "-javaagent" library.

There are plenty of libraries out there to facilitate this such as Javassist or Apache BCEL, and lots of legitimate uses (AOP, instrumentation, etc).

predakanga··on Fear and Loathing in YAML
Have you considered validating your YAML against a schema? JSON Schema[0] can do the trick, and has decent editor support[1].

It's not a panacea, but it can help avoid those long debugging sessions.

[0]: https://json-schema-everywhere.github.io/yaml

[1]: https://marketplace.visualstudio.com/items?itemName=redhat.v...

predakanga··on How to Get Fired Using Switch Statements and Statement Expressions (2016)
A fair judgement - I had only skimmed the article before replying.

I mostly wanted to provide the quote from Duff, it seemed relevant to the OP.

predakanga··on How to Get Fired Using Switch Statements and Statement Expressions (2016)
There's a particularly famous instance of this, called Duff's Device[0], with a great quote attached (regarding fall-through in case blocks):

> "This code forms some sort of argument in that debate, but I'm not sure whether it's for or against."

[0]: https://en.wikipedia.org/wiki/Duff%27s_device

predakanga··on Making QUIC Quicker with NIC Offload
While I don't think it's likely, it's not hard to conceive a scenario where the NIC purposely weakens the security for attackers in the know.

Purely theoretical (and I'm not a crypto guy, so please do correct me if this is nonsense), but imagine a scheme whereby the IV is chosen to be the first few bytes of the private key xor the port tuple.

This could reduce the difficulty of brute forcing the key, and no extra traffic need be generated - we already know that the NSA operates passive observers, and has even placed such systems inside corporate networks in the past.

EDIT: As to why they'd do this instead of getting a gag order - because they can? Because there's less oversight? Safest to assume that any technical capability will be abused sooner or later.

predakanga··on Cities sue Netflix, Hulu, Disney+, claim they owe cable “franchise fees”
In Britain, the BBC uses vehicles fitted with equipment to detect TVs, though who knows how effective they are.

https://en.wikipedia.org/wiki/TV_detector_van

predakanga··on Why we have so many problems with our teeth
I saw an interview[0] last week where the guest recommended biltong, or leaving bread to go slightly stale before serving it.

He also goes into some research on the effects that our diet changes are having on short-sightedness; slightly rambly, but very interesting interview.

[0]: https://www.instagram.com/p/CAm7u5UAv1K/ - don't mind the venue, it's just a comedian interviewing interesting people

Page 1 of 5Next →