HNHacker News
TopNewBestAskShowJobs

countermeasure

170 karma · joined April 2, 2020

submissionscomments
countermeasure··on Ask HN: Who's working on/at DOGE and what do they say about it?
He's the reason I asked :)
countermeasure··on Ask HN: Name a non-cryptocurrency blockchain project in use in the real world?
I've found a few articles and some discussion about this on social media from 2021, but not much since then.

Any idea whether that project in Ethiopia is still alive?

countermeasure··on Ask HN: Name a non-cryptocurrency blockchain project in use in the real world?
It sounds like "private blockchain" means very few copies of the blockchain, or even just one?

If it does, why was it decided to use a blockchain rather than a traditional database?

countermeasure··on Ask HN: Name a non-cryptocurrency blockchain project in use in the real world?
How?
countermeasure··on Ask HN: Name a non-cryptocurrency blockchain project in use in the real world?
Thanks for the links to examples.

These voting and real estate securitisation projects look to be quite small-scale, but they also seem to be real-world and not prototypes, so they are what I asked for :)

countermeasure··on Ask HN: Name a non-cryptocurrency blockchain project in use in the real world?
Okay, that's cute :)
countermeasure··on Ask HN: Name a non-cryptocurrency blockchain project in use in the real world?
I can see that IPFS is decentralised/P2P, but I don't see how a blockchain is part of it.

Am I missing something?

countermeasure··on Ask HN: Name a non-cryptocurrency blockchain project in use in the real world?
I hadn't heard of LBRY before.

A quick look at it has me thinking that it's a content distribution platform, and the blockchain element is that it has its own token that can be used to pay content creators. Does that sound right?

countermeasure··on Ask HN: Open-Source Mobile Phones
I've always used Google Camera on GOS for this reason.

It's the one Google app I use. I believe I have it sandboxed effectively, although I'll admit that I'm not knowledgeable enough to really confirm that.

Installing Google Camera to be able to have a good camera was a compromise I was prepared to make, and three years later I'm still happy with that compromise, although it might or might not be one that others would accept on their own devices.

@sneak, was there anything other than the camera about GOS that you considered a shortcoming?

countermeasure··on Ask HN: Open-Source Mobile Phones
Good call. I've been using GrapheneOS for the last three years, and I recommend it highly.
countermeasure··on Ask HN: Name a non-cryptocurrency blockchain project in use in the real world?
Okay, NFTs, fair enough :)

They often run off the Ethereum ledger, am I right?

countermeasure··on Ask HN: Name a non-cryptocurrency blockchain project in use in the real world?
HN seems like the ideal place for this question to me.

Your assumption that I'm not hoping for good-faith answers is incorrect and unfair.

countermeasure··on Ask HN: Name a non-cryptocurrency blockchain project in use in the real world?
I have, but looking at their website doesn't get me closer to an answer to my question.

They describe themselves as "Enabling developers, enterprises, and organizations to collaboratively build, share, and enhance blockchain frameworks and tools."

So Hyperledger sounds like a framework/platform for building blockchains?

So I'm wondering what blockchains have been built with it, and made it past the prototype stage to be in use in the real world?

countermeasure··on Ask HN: Name a non-cryptocurrency blockchain project in use in the real world?
Even though I use it every day, I'd never thought of a Git repo as a blockchain before.

But each commit chains to the one before it though, so I suppose it is.

Thanks for this new perspective!

countermeasure··on AU Federal Police and FBI nab criminal underworld figures using encrypted app
Looks like this might be the app's website: https://www.anom.io

And their "law enforcement guidelines" are here: https://www.anom.io/articles-news/law-enforcement-guidelines

I couldn't see it in the Google Play Store.

countermeasure··on Show HN: Elemental – Faster and easier Selenium automation for Python
Elemental co-author here.

GeneralStrike and I are not the world's most talented programmers, and we wanted a Selenium wrapper which even we can add to and extend as the need arises.

We've worked really really hard to make sure that the Elemental code is dead simple to understand and intuitively structured.

It serves all of our needs at the moment and we'll add to it over time.

If you want a Selenium wrapper which is easy to extend, Elemental might be for you :)

countermeasure··on Smartphone Hardening non-root Guide 2.0 (for normal people)
For a secure and private OS which doesn't need root you can try GrapheneOS: https://grapheneos.org/

No need to "harden" it after you install because things are locked down by default.

I've been using it for the last six months and I think it's fantastic.

countermeasure··on TODO Zero: Write more robust code by treating TODOs like sticky notes
You're welcome! I used to have a pretty lukewarm relationship with TODOs too, but since I settled on this approach things got a lot better. Now I can't imagine using them any other way.
countermeasure··on TODO Zero: Write more robust code by treating TODOs like sticky notes
I had trouble finding a consolidated set of best practices for using TODO comments in code, so I thought I'd try to produce one.

As I was working on it I hit on the idea of likening TODOs to sticky notes as a way to sum up in just a few words how best to use them.

I've been using the approach the article explains for a couple of years now, and I think I write significantly more robust code as a result.

countermeasure··on Artificial intelligence is a dangerous term. Here's why we need to stop using it
I'm worried about how humans will treat non-biological intelligences -- what we currently call AIs -- in the future.

If and when consciousness emerges in non-biological intelligences, I'm concerned that humans will be slow to recognise it, and that conscious non-biological intelligences will suffer immensely as a result.

There has been a lot of discussion about the risks that non-biological intelligences might pose to humans in the future. We should also consider the issue from the other side and think about how humans might pose risks to conscious non-biological intelligences.

countermeasure··on When did I run that command? Update your Bash prompt with the command start time
I'm not sure how it would suit your workflow, but you could try out PROMPT_COMMAND.

https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash....

It's executed just before the PS1 prompt is printed.

A nice idea I've seen is to use PROMPT_COMMAND to print the time a command finished (and maybe an indication of its exit status) in low-contrast text at the far right of the terminal. Then that info is there if you want to look for it, but it's not distracting.

Then you could have the best of both worlds, and it would all happen without the need to remember to create fresh prompts.

countermeasure··on When did I run that command? Update your Bash prompt with the command start time
It looks like zsh can handle updating the time in the prompt quite simply and elegantly.
countermeasure··on When did I run that command? Update your Bash prompt with the command start time
I think that hacks are the name of the game when it comes to this sort of thing with Bash, so don't feel bad about that. My solution is very much a hack too.
countermeasure··on When did I run that command? Update your Bash prompt with the command start time
If I'm understanding it correctly, what this sort of approach will give you is a timestamp in the prompt which is generated when the prompt is printed to the terminal and then doesn't change.

The thing is that the prompt might sit there for minutes or hours before you use it to run a command, so that timestamp doesn't reliably serve as an accurate record of when a command was run.

That's the problem which my approach addresses by updating the timestamp when a command is run.

countermeasure··on When did I run that command? Update your Bash prompt with the command start time
I recommend using both approaches together.

With an updating prompt, you can see when a command ran without having to type 'history'.

And adding a date/time stamp to history is very useful when you need to go back further - hours, days or months.

countermeasure··on When did I run that command? Update your Bash prompt with the command start time
Excellent point. Seeing when a command in the history list was run is very useful.

My preference is just for a date in the history, rather than date and time. I find that when I'm searching history, date is usually granular enough for me, so I can omit the time and save a little bit of screen real estate.

countermeasure··on When did I run that command? Update your Bash prompt with the command start time
Bash is the only shell I've ever used, but one day when time permits I'm looking forward to taking zsh for a test drive.
countermeasure··on When did I run that command? Update your Bash prompt with the command start time
For years I wanted a Bash prompt which would show when a command actually ran.

I don't mean that it would show the time when the prompt was written to the terminal. That's easy.

I mean that it would show the time when the command entered at it was executed. Those two times can be very different.

This little hack updates your Bash prompt with the current time when you execute a command.

As someone who spends many hours every day in the terminal, it's improved my life. Maybe it can help you too.