HNHacker News
TopNewBestAskShowJobs

javawizard

1,245 karma · joined June 16, 2011

Opinions not those of my employer etc. etc.
submissionscomments
javawizard··on Pornhub Blocked in Texas
This is interesting. What about the Texas law makes it impossible for PH to comply if they were to otherwise decide that that they wanted to (which of course isn't likely)?
javawizard··on United Airlines tells Boeing to stop building Max 10s and to switch to max 9s
Or more accurately, it's a merger of the Concorde manufacturer with two other aerospace companies.

Or even more accurately: it's complicated :)

javawizard··on Lie-to-children
Does it though? I really don't know. On what observations or scientific evidence are you basing your statement?
javawizard··on Lie-to-children
Leave it to HN to spend checks 57% of the toplevel comments debating whether the word "lie" in the term "lie to children" is in fact literally correct.

My bleeding linguistic descriptivist heart dies a little every time I walk into a debate like this. Does it really matter what we call it, as long as we can all agree on what it is we're talking about? At which point we can have insightful debate about whether the concept to which the term refers is a helpful, or unhelpful, one to engage in.

---

Personally I think it is; as another commenter already mentioned, "all models are wrong; some are useful". Any oversimplification of a real-world concept is bound to fall down at some point, and lots of oversimplifications are useful right up to that point.

Many times as a kid I asked for an explanation of a real-world phenomenon from a grown-up and received something that had way too much detail or nuance to hold my attention span, or for me to comprehend at the time. Usually I dropped pursuit of whatever had led me to ask the question in the first place, and as a result it would take years for me to accomplish something I could have accomplished much earlier.

Other times I asked for an explanation and received one that was oversimplified but perfect for what I needed, and was able to stay focused on, at that point in my life. Those were golden moments; more often than not they resulted in leaps in my education, and I was later able to "correct" the explanation I'd received once I ran up against its limitations.

And it's not just children; many adults who aren't subject matter experts get overwhelmed if you try to present things in a way that's as technically correct as possible. I honestly believe the ability to simplify to exactly the level one's conversant needs for their situation is one of the most underrated skills on the planet.

---

(There's an undeniable irony to how long this comment is. Ah well; to paraphrase Mark Twain, if I'd had time I would have written a shorter comment.)

javawizard··on An ALS drug fails, again
It's a good point; I have to say that, whatever other gripes I may sometimes have about it, HN is probably the most well moderated community I'm a part of.

> How else would you deal with people who abuse the vouch system?

So I think what I'm curious about is what constitutes "abuse" and how it's enforced. Like, are we saying that dang and friends have the ability to manually revoke someone's ability to vouch if they vouch for unhelpful comments on a frequent basis or if it's determined they're a sockpuppet account or something, or is there some more automated system that revokes a person's ability to vouch after some number of comments they've vouched are re-flagged?

I suppose I'd always imagined that the (fairly high, in the case of downvoting) karma threshold you have to reach to obtain privileges like vouching and downvoting would do a reasonably good job at filtering out those who might abuse such privileges, and that other remedies would be used rarely - and certainly not often enough to merit your earlier comment:

> It’s not possible to vouch it in its current state, because [...] at worst I’d lose my vouch privileges.

and the sentiment of fear I read into it.

javawizard··on An ALS drug fails, again
> I’d lose my vouch privileges

Huh. Am I to understand there's a mechanism by which someone's ability to vouch can be removed on HN outside of egregious circumstances?

I'm not sure how I feel about that.

javawizard··on I don't think the cheapest APC Back-UPS units can be monitored except in Windows
This Wikipedia article may point you in the right direction: https://en.m.wikipedia.org/wiki/Voltage_spike

I'm not an electrician by any means so take everything I saw with a grain of salt, but: in general, electricity flowing through a system has some amount of "inertia" (the technical term for this is inductance), and shutting off a circuit breaker will cause a brief voltage spike upstream of the breaker due to the flow of electrical current suddenly being forced to stop.

Have you ever unplugged a running appliance from the wall and noticed a brief spark at the plug? That's the same effect: motors in general have high inductance and try quite hard to fight changes in current.

It's bad enough that when designing circuits that switch power to inductive loads like motors, you have to include a flyback diode (read: one way valve) to allow a path for electricity to continue to flow internal to the load when the power is switched off, otherwise it will generate a voltage spike high enough to damage the switching circuit.

Put another way: it's not the "high amperage short circuit" that causes the voltage spike; it's the rapid stop to said high current that happens when the circuit breaker realizes what's going on and trips.

javawizard··on Hidden GitHub commits and how to reveal them
That link provides instructions on how to access commits from the reflog of a GitHub repository, not how to expire or otherwise delete them.
javawizard··on Updating Gov.uk’s crown
At risk of picking nits: they don't put up a million chairs. I attended the 2012 inauguration and we all stood on the grass in the National Mall.

(I agree with your overall point though. There were speaker towers arranged at intervals down the mall and plenty of crowd control involved in getting people to and from the event in the first place, none of which had to have been cheap.)

javawizard··on Renesas Buys Altium
See I think the bigger problem there is that, having used both myself, FreeCAD and Inkscape both have really sucky UX (the former more than the latter, to be sure).

A better comparison would be Canva. Can I do everything in Canva that I can in Illustrator? Not by a long shot. Is it still good enough for 80% of the things I need to do? Absolutely. Is it a delight to work with despite its comparative simplicity? You bet.

So I agree that time and pain saved is hugely important, but that's an orthogonal axis to how advanced a tool is. The two only really correlate when you're doing things that need that advanced tooling in order to avoid a lot of manual work.

javawizard··on Renesas Buys Altium
Exactly.

I feel like there's this sort of reverse Dunning-Krueger effect where people who are sufficiently advanced in a particular subject area lose track of just how much can be accomplished without operating at, and using tooling at, that same level.

Case in point, it still blows my mind that HN runs on a single process on a single server. Surely one of the tech world's most well known news aggregators would have many servers behind it, with advanced autoscaling for when different time zones come online, a database that's sharded by discussion thread, some super advanced caching solution, ...

But no. HN hums along just fine without any of that fancy stuff.

The truly enlightened, in my opinion, know how to look at the world through the eyes of those less experiences than themselves - and to see how much there is to see when one takes off one's expert glasses for a moment.

javawizard··on Renesas Buys Altium
It's awfully rich saying:

> Anybody who needs real PCB features isn't using Alitum

and:

> 99% of companies are not doing anything complex enough for it to matter

in the same breath - it really doesn't do your argument any favors. I can't see a world in which only 1% and "anybody who needs real PCB features" are congruent statements.

javawizard··on Alaska Airlines flight 1282 NTSB preliminary report [pdf]
This sort of thing always reminds me of this Dilbert comic: https://twitter.com/k8em0/status/1078824013843984384
javawizard··on Messenger Implosion Shows Journalism Lead by Visionless, Fail-Upward Brunchlords
Having not heard about the Messenger before today, I'm not sure what ideological position you're talking about. Can you elaborate?
javawizard··on Since when does Windows support forward slash as path separator?
That sounds like an RCE waiting to happen.

The canonical way to solve this would be to pass the components of that command line through a function that escapes or quotes anything that needs to be escaped. In Ruby and when using bash for example we have [0].

Does Windows have something similar?

[0]: https://ruby-doc.org/stdlib-2.5.1/libdoc/shellwords/rdoc/She...

javawizard··on Since when does Windows support forward slash as path separator?
At risk of picking nits, I feel like if the output of a joinPath call is being used somewhere where escapes can be interpreted at all, something that has nothing to do with your choice of path separator is very wrong.
javawizard··on Since when does Windows support forward slash as path separator?
Oh it's even weirder than that: whether or not paths are separated by colons or slashes is specific to the app you're using, even in modern macOS versions.

To see this in action, open a terminal, type:

  touch test:file.txt
Then open Finder and browse to whatever folder you were in and you'll see a file called test/file.txt.

I'm not sure which is the native representation, but I do know that every API I've used to interact with the filesystem on macOS has used slashes as the path separator, so GP should be fine. But it's definitely a fun party trick to pull out around unsuspecting Mac users.

javawizard··on Amazon has taken down the Sad Bastard Cookbook
> interestingly it is still available for on demand order via other channels

Where, if you don't mind my asking? This would make an excellent birthday gift for a good friend and I'd prefer to get her the print edition, but a quick search is failing to turn up anywhere that offers an actual hardcopy besides Amazon.

javawizard··on Gas pumps freeze at Calgary gas stations [video]
Right. From OP's comment I get the sense that the real problem is that Calgary's grid is poorly managed and may not be well placed to add the necessary capacity. For other, better managed grids in the world, you're almost certainly right.
javawizard··on Uber and Lyft paid SFO about $50M last year
As others have commented, it would be relatively simple for airports to deploy ANPR[0] to detect cars picking up passengers at the curb more frequently than an average person would be expected to, at which point they have the usual trespassing remedies at their disposal.

[0]: https://en.wikipedia.org/wiki/Automatic_number-plate_recogni...

javawizard··on ESP32-C61: Delivering Affordable Wi-Fi 6 Connectivity
Very small data point: I happened to have my Harvest Right freeze dryer opened up the other day and discovered it had an ESP32 on the control board.

Why, I have no idea - they don't support any form of app-based control at the moment. Maybe they're intending to do so in the future?

javawizard··on 'everything' blocks devs from removing their own NPM packages
Fool me once, shame on you. Fool me twice, shame on me.

I get that this royally inconvenienced a ton of people, but come on: the fact that this can happen in the first place, along with the fact that the expectation for most users is that it can't, is a clear failing on NPM's part.

I don't know what the solution is - maybe packages should be permanent after 24 hours instead of after they're depended upon, maybe there's a different solution - but it's disheartening to see the vitriol with which folks went after PatrickJS in the screenshotted comments in TFA.

javawizard··on Fewer people are buying electric cars in the US
I really think that's the crux of the matter: these things are all personal preferences that stem from a deeply emotional place, and emotion rarely makes sense according to the laws of logic.

For example: my parents have a truck, a van, and an SUV. Do they need all of those vehicles? No. Do they get used all the time? Yes: my parents are both avid gardeners, they generously lend their vehicles to those who happen to need a truck or a van for the day, and I have several younger siblings who occupy them the rest of the time.

And even if they didn't, I could well see my dad still owning a truck purely for the convenience of being able to drive to the local garden center and pick up a load of mulch on a whim - even if in practice that happened twice a year.

Emotions are strange things.

javawizard··on High school student allegedly uses device to turn off nearby iPhones
Ok this is the silliest nitpick but like... The personality/emotionality of the flipper zero has been the biggest thing stopping me from using mine more.

Like, I classify myself as an empath, and it's physically painful to think about using it and having to face the dolphin's sad face if it's been a while.

Looks like I need to hack mine to not get sad when I don't use it. Digital antidepressants, as it were...

javawizard··on Beeper Mini is back
Source? Of the many group chats I'm involved in, exactly one of them uses WhatsApp.

(I'm American, for context.)

javawizard··on Binance founder Changpeng Zhao agrees to step down, plead guilty
Oh interesting, good to know. I don't use Apple private relay so that wouldn't be the problem for me.
javawizard··on Binance founder Changpeng Zhao agrees to step down, plead guilty
As in 1.1.1.1? I don't use 1.1.1.1 for my DNS provider and yet I still get the never ending validation loop.

I am on Google Fiber though, so I probably use 8.8.8.8 without explicitly meaning to. Perhaps this is a problem shared by both Cloudflare and Google's DNS proxies?

javawizard··on Apple plans to equip MacBooks with in-house cellular modems
Yeah, I'm also on Google Fi and I'd get this just for the convenience factor of not having to turn on tethering on my phone and not burning its battery down while I'm connected.

(That depends on how much it adds to the purchase price though. $100? You bet. $300? Nah.)

javawizard··on std::source_location doesn't work if you need strings to be types
To be fair, it's not immediately obvious that this blog post is authored by an Intel engineering lead. I had to track down his LinkedIn page to find that out.
javawizard··on Missing windows discovered on U.S.-bound plane after departing London
Oh I don't know. The aircraft appears to be painted with a dark colored paint; that would naturally absorb any heat energy from the lights, and film set lights are really bright.
← PreviousPage 6 of 9Next →