Hacker Newsnew | past | comments | ask | show | jobs | submit | ndsipa_pomu's commentslogin

I think a general strike might be effective for low-density places, though that requires enough people taking part to make it truly effective. That way you don't need an obvious place to protest apart from your workplace and it'd be a non-violent protest that would definitely get the attention of the wealthy.

Here's Greg's Wiki about the difference between [, [[ and test

https://mywiki.wooledge.org/BashFAQ/031


Use ((...)) for arithmetic tests and [[...]] for other tests. [...] is for POSIX compatibility and not as useful as [[...]] though I don't remember the specifics.

[[…]] is a bash (probably other shells, too) built in. […] could be a built in, or could be a symlink to /bin/test.

The [[…]] version was introduced in Peter Korn's korn shell, ksh88 IIRC.

I'm intrigued - any info on that?

I personally use ((...)) for arithmetic tests and [[...]] for all other tests as I just target new versions of BASH and don't care much about POSIX compatibility.


This is completely safe: [ "${payload}" -eq 42 ]

This can evaluate arbitrary code: [[ "${payload}" -eq 42 ]]

Here is one example of a malicious payload:

  payload='a[$(touch /tmp/pwned)]'

Thanks.

Now I need to figure out whether (( payload == 42 )) is safe.


If we truly need age gates on the internet, then I think the best method is to have non-internet based age verification. I envisage going to a local shop and buying something like a gift-card that the shops only sell to adults (c.f. tobacco sales in the UK). That way, the gift-card code would be the only information required to upload to websites to prove that you're an adult and existing legislation could cover the shops requirements to not sell them to minors.


I don't see why they'd need to expire after a time, but I think the purchaser should be able to revoke the code if they lose it if they particularly care. A least with it being a simple age verification system, there shouldn't be any worry about someone stealing your code as it shouldn't be linked to any accounts.

It prevents resale. Also additional friction for a minor who manages to illicitly obtain a code.

I don't see too much of an issue with resales - it's like if an adult buys booze for someone underage which can't really be prevented.

My issue with having them expire is that people would have around 70 years of proving their age whilst minors only need to be prevented from accessing websites for up to 18 years (more likely just 10 years or so).


Ok sure. I don't have a strong opinion on that either way.

That's definitely my favourite conspiracy theory as otherwise the Ballroom expansion seems a bit random although that fits in with his general behaviour. The existing bunker getting expanded and redeveloped seems like the kind of self-serving behaviour that would fit in with the plans to isolate USA and start wars, including civil.

Seems a bit subtle when Trump could just send invading troops and see how it pans out (assuming that the military remains loyal to him). That could then lead to NATO kicking out USA, so what would threatening to do it achieve?

However, one of Putin's aims is to destroy NATO and the U.S. attacking Greenland would likely lead to that. Also, Trump seems keen to flex military might (despite his FIFA Peace award), so it's not wise to ignore threats that he's made more than once.

It often makes more sense to view Trump's behaviour as him being a Putin plant to destroy the USA and weaken Europe. I'd guess that Putin has a lot of incriminating evidence of Trump being involved in dubious sexual acts.


As well as distracting from the Epstein Files, the takeover of Greenland would be something that could destroy NATO which is one of Putin's aims.

I am starting to believe that this might actually be the objective. There is no other logical reason for the US to act this way (not that anything under Trump is logical anyway). They already have full access to Greenland for defence purposes (or pretty much any other purpose) under NATO. It's no secret that Trump is Russian aligned and that he has a intolerance (hatred?) for Europe.

There is no mystery here. Trump clearly explained his motivation in a recent interview:

"Donald Trump Says He Wants 'Ownership' of Greenland Because It's 'Psychologically Important for Me'"

He’a a rapist and does not take no for an answer. That’s it. That’s *really* it. It’s yet another score to be settled from his first term in office. Same with his Nobel Prize fixation.

I think a lot of people are having a really hard time grappling with the fact that the leader of a superpower is a literal maniac.


I'm not aware of anywhere in the UK that can print US dollars legally. As far as I can tell, there's just two locations that can print legal US dollars - Washington, D.C. and Fort Worth, Texas.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: