HNHacker News
TopNewBestAskShowJobs

verandaguy_alt

25 karma · joined April 3, 2018

submissionscomments
verandaguy_alt··on Python’s For - Else
You could print the warning out to STDERR when the Python runtime finishes parsing and before it executes your script.

This will likely break some people's workflows, but honestly, it's the de-facto way of notifying users of a deprecation in many Python frameworks (Gunicorn did this recently with gunicorn-paster vs gunicorn --paste).

They could also include this in a "What's new in Python (4?)" since this is unlikely to be introduced in a minor version bump.

verandaguy_alt··on Tor: 1100 relays still run end-of-life tor versions
A cryptocurrency implementing a zero-knowledge proof, like ZCash, may be a better choice here.
verandaguy_alt··on Reports from Nest Secure customers who are unable to arm/disarm or lock/unlock
That varies from brand to brand, but generally, yes. Given that it's happened to devices whose manufacturers have a long history of being part of large enterprise security mechanisms, flaws are still being found and actively exploited.

While this isn't an indicator of the quality of newer brands specifically, I believe it's reflective of the state of the industry as a whole -- in that digital physical security as a whole is still immature and shouldn't be trusted to keep bad guys (determined adversaries) at bad.

verandaguy_alt··on Reports from Nest Secure customers who are unable to arm/disarm or lock/unlock
If you're comfortable using a totally (physical) keyless solution, try a hotel-style mag strip-based access card, or an NFC alternative like a ProxCard.

AFAIK, most code-based locks include a physical lock cylinder as a backup.

verandaguy_alt··on Reports from Nest Secure customers who are unable to arm/disarm or lock/unlock
Coming from an infosec background and having touched on physical security, just don't use a smart lock:

- Best case, even with a responsible implementation, you're introducing more variables than are necessary into a supposedly secure system. If one of your dependencies fucks up, your lock is exploitable.

- Worst case, you have a typical IoT device, where the "S" stands for "security."

- In _either_ case, you're likely still going to include a physical lock mechanism for keys as a backup -- so you're basically just increasing the attack surface (significantly, I should add) by doing this.

Smart locks are currently high-risk appliances, and I'm fairly confident that most others with a security background will agree with me on that.

verandaguy_alt··on Void Linux project leader has disappeared
What most companies have is access controlled by an organizational superuser team.

At large companies, this means that each team has full or near-full control over their "jurisdiction." IT has full control over LDAP accounts, and since they're a team, one person going AWOL won't affect the org as a whole. There are also infra teams that control domain routing and hosting providers.

verandaguy_alt··on One Giant Leap for SQL: MySQL 8.0 Released
Are the feature comparison tables in this article supposed to reflect the state of SQL databases as of several years ago?

I've been using Postgres very consistently for the past half decade (as a dev, not a DBA) and it's had a `GROUP BY` and `WHERE` clause for at least as long.

I'm not totally sure what "base table `UNIQUE`" is supposed to mean in this context, but if it's just the bare `UNIQUE` constraint, Postgres has also had that for a long, long while.

verandaguy_alt··on World's first electrified road for charging vehicles opens in Sweden
That's actually reassuring, I'm glad they looked into this.

My follow-up concern is, what if, under these salty and wet conditions, something causes a short circuit between the powered rails?

e.g., either a defective vehicle-side contact where the anode and cathode allow for the water and salt to close a much smaller gap, or if someone deliberately sticks a piece of metal on there.

verandaguy_alt··on Theranos’ Letter to Shareholders Shows the Company Is on Its Deathbed
I haven't heard of vulture investors before. Is this just someone who aims to profit from an eventual asset sale (somehow)?
verandaguy_alt··on Theranos’ Letter to Shareholders Shows the Company Is on Its Deathbed
Asking as someone less involved in reading about the funding side of starts than probably many of you, can someone explain this quote?

>The most viable option that we have identified to forestall a near-term sale or a potential default under our credit agreement is further investment by one or more of you.

Surely, the company can't in earnest expect any more VC or angel funding after their most recent round of layoffs, right?

Is it common for startups to ask for funding when it's very clear that the company is in such bad shape, with very little chance of recovery?

verandaguy_alt··on U.S. Agencies Agree to Slash Approval Times for Infrastructure Projects
Is it appropriate to be concerned that this will result in infrastructure being approved without sufficient review, potentially resulting in dangerous infrastructure?
verandaguy_alt··on Facebook Employees Are Quitting or Switching Departments Over Ethical Concerns
Not all countries have whistleblowing protections, and even fewer will offer fiscal rewards for the act.
verandaguy_alt··on Facebook Employees Are Quitting or Switching Departments Over Ethical Concerns
Leaking corporate data or trade secrets to the general public is not the solution for a couple of reasons.

- Depending on the actual contents of the leak, people might panic; this is basically never useful.

- Depending on the outlet, the contents may get distorted before being published in order to fit some narrative -- potentially causing a panic. See above.

- You or the original leaker may be traced back using even editorialized data, or without the corporation seeing the data. This would land you and/or the original leaker in a lot of legal hot water.

- A side-effect of that is that you'd become unemployable in many cases, and you might find yourself running from the law in other cases.

So, yeah -- quitting facebook probably isn't a bad idea as a user. Refusing work as a contractor or an employee may be difficult, but because absolute morality doesn't exist, it's really up to the person in that position to make the call about quitting.

verandaguy_alt··on RFC 7858: DNS over TLS (2016)
Lots of edge cases with an extremely large base case -- I'd guess (conservatively) that at least 9 out of 10 sites you go to use shared hosting or a CloudFlare-style CDN.

Also worth noting that an ISP will generally go for the low-hanging fruit, but if your threat model includes a determined opponent then this probably isn't for you.

It's hard to argue that this isn't a net improvement over the status quo, though.

verandaguy_alt··on Show HN: Wey – A fast, open-source Slack desktop app
>Why do you need an HTML renderer?

Because it's objectively easier to do cross-platform GUI development using a single, well-defined and portable API that someone else maintains.

That that API is nowadays de-facto WebKit supporting a HTML/CSS/JS stack is a natural, but unfortunate choice, and it's got a much lower barrier of entry and much less maintenance overhead than, say, Gtk+ or Qt.

verandaguy_alt··on Report of Active Shooter at YouTube HQ
Naturally, but some of your replies have been needlessly rude towards them. It's also important to be sure that your criticisms are valid.
verandaguy_alt··on Report of Active Shooter at YouTube HQ
But nobody's walking up to the victims and saying this. HN is an open -- and international -- forum for discussion.

Given that the US is affected by gun-related violence unlike essentially any other developed nation, it's completely reasonable to bring the American gun fetish up anytime there's a shooting, to draw attention to it and to (hopefully) enact change which can prevent these kinds of tragedies in the future.

verandaguy_alt··on Report of Active Shooter at YouTube HQ
> it bothers me that you feel so free to say that on HN.

Freedom to express one's opinion is not a uniquely American value, especially on the internet. You're free to be bothered, but it's invalid to criticize someone for commenting about why US gun culture makes living in the States a non-starter.

verandaguy_alt··on US Navy remotely lands F/A-18 Super Hornet on carrier deck
It definitely is a feat. Carrier landings on US-supercarrier-style carriers especially are pretty notorious -- between the ocean swell, the short runway and tiny margin of error, plus a runway that's actually angled with regards to the carrier's direction of travel, it's pretty challenging.