HNHacker News
TopNewBestAskShowJobs

predakanga

358 karma · joined December 17, 2013

submissionscomments
predakanga··on Old bills in Yemen are worth 10% more than new ones
The new polymer notes do include considerations for the vision-impaired.

Check out the "tactile feature" section on the various banknotes at https://www.bankofengland.co.uk/banknotes/current-banknotes

While we don't use tactile features in Australia, similar consultation went into the design of our banknotes: https://www.rba.gov.au/publications/bulletin/2015/mar/1.html

predakanga··on Kubernetes 1.18
This is news to me, do you have any links to k8s's support for blue-green deploys?

I've been holding off setting up a system like Spinnaker because I'd read it was coming (in the form of custom deployment strategies), but can't find anything current on the subject.

predakanga··on U.S. will suspend all travel from Europe for 30 days
In my experience, airports have been pretty good about checking for potential issues like that and warning passengers at check-in.

That experience doesn't include American airports though, so YMMV.

predakanga··on US says it can prove Huawei has backdoor access to mobile-phone networks
It's a bit of a leap to assume that behavior like that is evidence of nefarious activity; ask yourself, if you were implementing some sort of secret signalling layer, would you design one that uses simple English words, and whose failure state reveals its presence?

Consider the other cases - it could be something like an anti-spam system; back when MSN Messenger was a thing, it would abruptly close any conversations in which certain virus-related keywords were said (mostly including ".exe", which is how I discovered it), presumably in an attempt to stop them spreading.

Or it could be a bug - there have been plenty of these, from simple strings causing mass IRC disconnections, to eerie conspiracy theories (see "bush hid the facts"[0], a conspiracy caused by a bug in Notepad).

Or it could just be a bit of debug code accidentally being triggered. This past week, I had to explain to some users why a website was talking about "DEAD BEEF". The reason was innocent (glitch in a web server config), but to the end user it was incomprehensible.

All that said, if you want to investigate further, it's simple to disable iMessage on iOS devices. If you go to Settings->Messages, there's a toggle for it.

[0]: https://en.wikipedia.org/wiki/Bush_hid_the_facts

predakanga··on Spelunky Level Generator Lessons (2013)
I came across a video yesterday about how Dead Cells uses a similar generation method (random composition of pre-designed tiles), as well as some other interesting UX hacks: https://www.youtube.com/watch?v=Uv5NwboDDhk
predakanga··on A Guide to WebAuthn
You could have a single soft-U2F vault that contains all your accounts, and secure that vault with your hardware tokens. Using something similar to LUKS (http://clemens.endorphin.org/TKS1-draft.pdf), you could allow multiple tokens to decrypt the vault without exposing the master key. The downside is that there’s no way to revoke access to the vault if a copy leaves your possession.
predakanga··on PIA open-sources and announces audit plans
Regarding deploying servers that you don’t have access to, you could deploy them with a boot loader that netboots signed images, require a certain number of developers to sign each image. I’ve considered something similar for deploying k8s workers - just a ramdisk that encrypts local storage with a random key, then requests admission to the cluster.

Troubleshooting is harder, but I can imagine a fault reporting component that anonymises error reports and uploads them to a public-visible tracker. If something looks like a hardware failure, take it out of the infra and boot a traditional OS to do some diagnostics.

predakanga··on Faster AMP on the Origin: AMP and SSR
Perhaps a poisoned chalice, then?
predakanga··on How Command and Conquer: Tiberian Sun punished the computers of the day [video]
Based on the amount of stealth games in that list, you might like Mark of the Ninja - indie side-scrolling stealth platformer with a great visual style.
predakanga··on Faster AMP on the Origin: AMP and SSR
A Trojan horse?
predakanga··on Don’t underestimate grep-based code scanning
There's an old project from Facebook that does something like this, called Pfff[0]

It provides a tool called sgrep (syntactical grep) that lets you do some cool tricks, for instance:

`sgrep "some_func(X,X)"` returns all calls to some_func with the same argument repeated.

`sgrep "some_func(X,Y,...)"` returns all calls to some_func with 3 or more arguments.

It's come in very handy for refactoring some troublesome codebases.

[0]: https://github.com/facebookarchive/pfff

predakanga··on Upgrading my home server
Note that when using this approach, you shouldn't use the root domain; you can still use a subdomain with no issues though.

[0]: https://www.freecodecamp.org/news/why-cant-a-domain-s-root-b... [1]: https://blog.cloudflare.com/introducing-cname-flattening-rfc...

predakanga··on 1Password: Standalone / Local Vault Option Gone?
Yep, 1Password makes regular encrypted backups in a fully specified file format[0].

I've seen them used to implement 3rd party clients, so there are a few implementations out there.

[0]: https://support.1password.com/opvault-design/

predakanga··on 1Password: Standalone / Local Vault Option Gone?
The feature has been specifically disabled in the iOS app, still available on macOS for now.

It's extremely disappointing that the staff are being so evasive regarding their communication. For a product that is necessarily built on trust, that's the last thing that I want to see.

predakanga··on “The books will stop working.”
> I wonder what happens when you use 2 excerpts from different major copyright holders…

That is a technique that's been used in the past, though I'm not sure if it's still effective. As far as I know, it was popularized by Jim Sterling who named it the "copyright deadlock"[0].

[0]: https://en.wikipedia.org/wiki/YouTube_copyright_issues#2015%...

predakanga··on Article 13 gets legalized because Sweden pushed the wrong voting button
I'm sure there are technicalities to it, but the Australian parliament allowed a new vote just this year.[0]

In short, the governing party voted in favour of a motion that "It's okay to be white". The vote failed to pass, but the next day (amid condemnation) it was claimed that the vote was due to an administrative error. A new vote was held and the motion was defeated again, unanimously.

I say there may be technicalities as apparently the vote was a "recommittal"[1], but on the face of it the parliament allowed a new vote because the members claimed to have made a mistake.

[0]: https://en.wikipedia.org/wiki/It%27s_OK_to_be_white#Australi...

[1]: https://www.aph.gov.au/About_Parliament/Senate/Powers_practi...

predakanga··on GPUVideoDecode on Linux is impossible without patching
The linked blog doesn’t say anything about adopting this change - on the contrary, it asks Google to let them have more input on the extension spec.

“So I would like to publicly invite Google to collaborate with Mozilla and other browser vendors on manifest v3. It is an incredible opportunity to show that Chrome embodies Google’s philosophy to “focus on the user,”...”

predakanga··on China Telecom's Internet Traffic Misdirection
This did exist in the form of HTTP Public Key Pinning (now deprecated).

Unfortunately, the mechanism which replaced it (Expect-CT) can only help after the fact - someone would have to notice the extra issuance, and you would have no idea whether your traffic was affected.

predakanga··on Netflix to let viewers pick how TV episodes and movies will end
Ten years before that, Monty Python put out a record[1] with two concentric grooves - this meant that depending on where the needle landed you’d hear two entirely different albums.

[1]: https://en.m.wikipedia.org/wiki/The_Monty_Python_Matching_Ti...

predakanga··on Show HN: Linuxify – Transform the MacOS CLI into a GNU/Linux CLI Experience
If someone simply prefers a GNU equivalent, they can trivially install GNU ls somewhere else on the system and use it all they want without blowing away part of the OS.

That's exactly what this does. The script uses Homebrew, which installs all software into /usr/local - this is empty on a standard macOS install, and is not in PATH for regular Mac apps[1].

Homebrew also prefixes GNU tools by default so that you can use "ls" for BSD and "gls" for GNU, but this script disables that.

[1]: https://docs.brew.sh/FAQ#my-mac-apps-dont-find-usrlocalbin-u...

predakanga··on Non-PhotoRealistic Quake (2002)
Thanks for linking HijackGL - I was trying to find that a few months back, but was searching for "GLHijack" to no avail.

I used to play the Jedi Knight games with a pencil-drawn shader, was feeling nostalgic

predakanga··on Glances: cross-platform system monitoring tool written in Python
Glances is a very sleek tool, but it comes at a cost: CPU usage.

As a ballpark measurement, running htop for 60s with a 3s refresh interval takes 0.2s of user time. Running glances (even with almost all modules plugins disabled) for the same amount of time takes 6.7s of user time.

I still use glances every now and then, but I don't leave it running like I might with htop

predakanga··on Page Lifecycle API
This has now been superseded by The Great Discarder, a new extension by the same author that utilizes Chrome's native tab discard API.
predakanga··on Blackmagic eGPU – Thunderbolt 3 external graphics processor
How has your experience with that been? My MBP (early 2011) won't be supported by MacOS Mojave, so I'm anticipating a similar patch.

I may end up staying with High Sierra, but I'd really like to try out the dark mode

predakanga··on Youtube-dl: Command-line program to download videos
My compromise is to install brew's version of python, then use pip to install youtube-dl
predakanga··on Youtube-dl: Command-line program to download videos
It's been my experience that only the split audio/video streams are throttled - it's possible that your obscure video didn't have those available for some reason, meaning that you got the unthrottled combined file. You can force this behaviour by using the "-f best" options, though that means you won't get certain resolutions (1080p) or codecs (opus).

It's possible that this behaviour was designed to be pro-user; I can imagine a circumstance where a DASH (Dynamic Adaptive Streaming over HTTP) client hit a patch of network congestion, dropped to a lower quality, then the network cleared up and it downloaded the rest of the video in low quality before it could switch back. Throttling the speeds to just above the bitrate of the video would solve that.

Mind you, that doesn't explain the user-agent targeting described in other comments...

predakanga··on The Machine Fired Me
For me, it depends on the context. In a B2B transaction, my basic assumption is that the vendor will ensure that the goods are delivered, and will make things right if they fail.

In my personal life on the other hand, I'm regularly prompted at checkout to decide between registered post with insurance, or regular post without. If I opted out of insurance, I wouldn't blame the seller for the package not arriving or any damage (presuming of course that it was packaged appropriately), and I'd fully expect Paypal to resolve in their favour after verifying that the package was actually sent.

It's true that this would ruin the customer relationship which is why some businesses may offer to make things right anyway, but I personally wouldn't expect it.

That said, the consumer protection laws in my country (Australia) are fairly strong so I may well be entitled to redress; this is just my personal attitude.

predakanga··on The Machine Fired Me
Because the seller fulfilled their part of the sale (I.e. posting the item).

No postal system is without risk; that’s why they offer package insurance, registered post, etc.

predakanga··on How modern Linux systems boot
If you're interested in the userspace machinations, as opposed to what goes on in the kernel, there's a great rundown on this StackOverflow answer: https://unix.stackexchange.com/questions/226872/how-to-shrin...

There's also https://github.com/marcan/takeover.sh (previously on HN: https://news.ycombinator.com/item?id=13622301)

Both of these share a similar premise - set up and transfer control to an in-memory root filesystem, in order to make major changes to the real root filesystem.

predakanga··on Modern CMake short tutorial and best practice
I agree that it's not CMake's fault, but it does fit the grandparent's statement that "everyone does things slightly differently".

It's also very fixable - a central site for collecting find_package modules and enforcing certain standards should be doable, and would improve CMake's UX significantly.

← PreviousPage 2 of 5Next →