HNHacker News
TopNewBestAskShowJobs

smacktoward

54,886 karma · joined August 21, 2011

This is me: https://jasonlefkowitz.net

Email: jason@jasonlefkowitz.net

[ my public key: https://keybase.io/jalefkowit; my proof: https://keybase.io/jalefkowit/sigs/BS2jcE2Fl1t9sVVVcjTDvb57UNspCr_8h7RilZdYd_w ]

submissionscomments
smacktoward··on Coming soon: Fedora on Lenovo laptops
Finally!
smacktoward··on Two Months with Powershell on a Unix
The echo problem is reflective of a larger, longer-term issue with PowerShell, that being that it sometimes aliases PowerShell commands to the names of equivalent Unix commands. That’s done to ease the transition into PS-land for Unix folks, of course. But unless the PowerShell command works exactly the same as the Unix command it’s aliased to — takes all the same arguments, returns all the same data structures and error codes, etc. — you inevitably run into cases where things break because echo or curl or whatever aren’t behaving the way your code expects them to.
smacktoward··on Preliminary test results suggest 21% of NYC residents have Covid antibodies
Do they all use the same testing mechanism? If they do, a flaw in that mechanism could result in them all being incorrect or misleading in the same way(s).
smacktoward··on When can we test everyone?
Since an infected person can be contagious for days before showing any symptoms, it'd be ideal if we could regularly test everybody, regardless of whether or not they are currently symptomatic. That way we could get them isolated early, which would prevent them from infecting X other people before they even realize they're sick, as well as cutting down on the number of contacts they've had that would need to be traced.
smacktoward··on When can we test everyone?
Yes. To see if someone has an active infection, you want an antigen test. To see if someone had an active infection in the past, you want an antibody test. More info at https://www.cnet.com/how-to/coronavirus-testing-what-to-know...
smacktoward··on If a MacBook Pro runs hot or shows high kernel CPU, try charging it on the right
I made a chart a few years ago using data from Apple's annual reports that should explain sufficiently why this is the case: https://jasonlefkowitz.net/wp-content/uploads/2016/10/apple-...
smacktoward··on Carnival Executives Knew They Had a Virus Problem, but Kept the Party Going
None of those were casual journeys the way a flight home for Christmas is. For colonists, it was generally the one long-distance trip they would make in their entire lives. In the glory days of the great trans-Atlantic liners, the only people who used them regularly were the very rich.
smacktoward··on Raku vs. Perl
PHP did the same thing, skipping from 5 directly to 7 because PHP 6 ended up being a dead-end. It was pretty painless (at least as far as I could see).

“A foolish consistency is the hobgoblin of little minds.” — Ralph Waldo Emerson

smacktoward··on Why do we need Flask, Celery, and Redis? (2019)
I wonder how much of the delay is due to their recent decision to offer breakfast items all day. Many franchisees were complaining at the time about how doing so would reduce throughput, as it expanded greatly the list of possible items a customer could order and necessitated pulling people away to staff tasks that were only required for breakfast, like cooking eggs.
smacktoward··on Study: No evidence of efficacy of hydroxychloroquine in hospitalized patients
Nobody’s saying Gilead can’t make a profit. Just that they can’t make an obscene (“have us over a barrel”) profit.
smacktoward··on Study: No evidence of efficacy of hydroxychloroquine in hospitalized patients
Even a small volume of an effective treatment could still be helpful. Usage could be restricted just to patients with cases serious enough to otherwise require ventilators, for instance, which would both ease the strain on limited ICU resources and save lots of people who would otherwise die (since only around 10-30% of ventilated patients survive even with that treatment).
smacktoward··on Modern submarine torpedo attacks are not like in the movies
Silver is expensive, and the Defense Department is substantially less price-conscious than the average smartphone buyer.
smacktoward··on Latest EURO MOMO data shows excess all-cause mortality in some countries
> Had this virus affected the kidneys instead of the lungs, the outcome would have been way different.

And if my aunt had wheels and pedals, she'd be a bicycle.

They didn't stock up on ventilators by throwing darts at a dartboard to choose what type of medical equipment to buy. They stocked up on ventilators because a pandemic centering on a respiratory illness was statistically much more likely to occur than one centering on the kidneys.

smacktoward··on UTF-8 Everywhere
They probably couldn't even if they wanted to, by this point there will be too much software out there depending on "utf8" meaning "MySQL's weird proprietary hacked-up version of UTF-8".

The only real solution is to hammer home the message that "utf8mb4" is what you put into MySQL if you want UTF-8.

smacktoward··on Show HN: Built an extension to put an end to paywalls and popups
"We destroyed your business model. For a small fee, we will be happy to un-destroy it."
smacktoward··on U.S. Supreme Court to hear cases by telephone in May
> The powers of the Supreme Court are -- and should remain -- limited

This argument would have been a lot more convincing before Bush v. Gore.

smacktoward··on Panicking over Covid-19? Stay calm, listen to Dilbert
> Scott Adams... a top political analyst

I can’t help it, I LOLed.

smacktoward··on Will you be going out (movies, restaurants, etc.) once the pandemic is over?
Define “over.”
smacktoward··on Systems that defy detailed understanding
Yep, my first thought upon reading this was that no discussion of this subject is complete without a perusal of Gall's Systemantics (https://en.wikipedia.org/wiki/Systemantics).
smacktoward··on Japan to fund firms to shift production out of China
Or rather, it was the nuclear “balance of terror” that emerged between the US and the USSR. Neither of those powers wanted to risk a confrontation that could turn into World War III, so they both had a strong incentive to limit their own ambitions and to restrain their allies/client states.
smacktoward··on Japan to fund firms to shift production out of China
Europe fought the two most destructive wars in the history of the world in the three decades immediately following the publication of that book.

I guess you could argue that things could somehow have turned out even worse than that, but that feels like a reach.

smacktoward··on Japan to fund firms to shift production out of China
> Another potential advantage could be, factories are closer to natural resources, but it seems to me that that's not as much a question of efficiency, as it is of lax (enforcement of) environmental standards.

Not at all. Being close to your inputs means you don’t have to ship them as far to make use of them. And the shorter the distance you have to ship them, the less you will pay for shipping. Lower overhead equals higher efficiency.

It’s like, why were car factories in the U.S. clustered around the Great Lakes? Because car factories need steel, and the steel mills were in Pennsylvania. And why were the steel mills in Pennsylvania? Because steel mills need coal, and the coal mines were in Appalachia. You could theoretically build these factories anywhere, but the company that built close to their inputs would have an economic edge over the company that didn’t.

smacktoward··on Japan to fund firms to shift production out of China
The economist Norman Angell (https://en.wikipedia.org/wiki/Norman_Angell) published a highly influential book, The Great Illusion, making this exact argument. In 1909.

It has, let’s say, not aged gracefully.

smacktoward··on Dwellito Mini Office
Nope, that's shedshedding.
smacktoward··on ICQ New
Twenty years ago was the year 2000. Trillian first shipped as freeware that year, and shipped its for-pay "Pro" version in 2002. Jabber/XMPP development only started in 1999, and didn't reach RFC status until 2004. Google Talk didn't ship until 2005, and didn't support federation until 2006. The heyday of "XMPP all the things" was from 2008-2012 or so, with the high water mark being the adoption of XMPP by Facebook Chat circa 2010. (A decision they eventually reversed a few years later.)

IRC was of course always open, but that's kind of orthogonal to this discussion as it never really had any traction with the general public the way AIM, ICQ, Yahoo! Messenger, etc. did.

smacktoward··on ICQ New
It was all about brand names 20 years ago too. None of the big IM services of the time were interoperable. The only reason Trillian worked was because its developers put enormous amounts of work into reverse-engineering proprietary, undocumented chat protocols. Periodically a protocol would change, and then Trillian would stop working with that service until the developers could crack it again. At one point AOL got serious enough about blocking Trillian access to AIM that they were changing the protocol every couple of days.

I guess what I’m saying is, things sucked just as much then as they do now. Maybe more! Sigh.

smacktoward··on An alternative to using Google Analytics on your website
Oh cool, I didn’t realize GoAccess could do that! Thanks!
smacktoward··on Writer: An Open Digital Typewriter (2018)
Back in the day, I had a mobile writing rig consisting of a Handspring Visor PDA, the wonderful Stowaway Keyboard (see http://danbricklin.com/log/stowaway.htm), a word processing app called Wordsmith (http://www.palminfocenter.com/news/2182/review-wordsmith-20/), and a modem that plugged into the Visor’s Springboard expansion slot.

It was great! The whole package fit in a couple pockets, you could turn it on and be typing practically instantly, and the modem made it easy to transfer your work (and also let the setup do double duty as an e-mail terminal). You could print from it wirelessly to any printer that had an IrDA (https://en.m.wikipedia.org/wiki/Infrared_Data_Association) port. And the whole thing ran for ages on a couple of AA batteries, which were cheap and universally available when you needed to replace them. The only downside was the Visor’s low-res monochrome display, but for writing that wasn’t too serious a limitation. I still miss that rig.

The AlphaSmart products seemed like an attempt to bundle this kind of cobbled-together DIY rig into a single product with everything included in one box. I never had the chance to use them, but I was disappointed they never seemed to find an audience.

smacktoward··on An alternative to using Google Analytics on your website
Matomo: https://matomo.org/
smacktoward··on An alternative to using Google Analytics on your website
Or just do it the old fashioned way - have the server keep an access log, then use something like GoAccess (https://goaccess.io/) to produce reports from it. It’s not real-time reporting, but then you probably don’t need real-time reporting for your personal site anyway.
← PreviousPage 3 of 34Next →