HNHacker News
TopNewBestAskShowJobs

mrsteveman1

941 karma · joined April 12, 2008

submissionscomments
mrsteveman1··on Nasa's Voyager 2 probe 'leaves the Solar System'
It's probably still available in your region as a $2 rental from one of the other streaming services, and would be well worth it.
mrsteveman1··on XNU target config for Raspberry Pi 3 (2016)
There was a time when it looked like they might switch their Airport and Time Capsule routers, which previously had been running VxWorks and NetBSD, to a variant of iOS. But then they shelved the entire product lines a few years later.

It did turn out to be true that Apple was moving to run iOS (and later on, even APFS) all the way down to watch hardware, and later on the HomePod which is the functional successor to the audio features of the Airport Express.

Had they continued producing routers, it's all but guaranteed that they would be running firmware similar to the HomePod at this point.

The reason they would be building XNU for the bcm2837 however is probably much more "boring", like allowing various teams inside Apple to test some low level change being planned for the kernel, perhaps in the network stack, without the added hassle and potential for leaks that would result from using some other unreleased Apple platform to do it.

mrsteveman1··on Low-Calorie Sweetener Use and Risk of Abdominal Obesity Among Older Adults
`
mrsteveman1··on Announcing Open Source of WPF, Windows Forms, and WinUI
> But I refused to use WPF for my apps because back then you'd have to force the user to install the latest .net which I thought was too much of a bother.

That always puzzled me, even though I've seen some of Microsoft's reasoning and blog posts about it.

Microsoft has repeatedly stressed that you can't assume any particular version of Windows comes with a specific version of .NET preinstalled (or VC++ runtime, for that matter).

Windows already bundles various things, and the major .NET frameworks seem like the thing to bundle and preinstall, and they actually do[0], just not consistently or universally.

And, Windows Update can already update the .NET frameworks, in fact I recall that some new major .NET versions were treated as "recommended" installs by WU in the past and were automatically installed on systems that didn't already have them, but they aren't doing that consistently and universally either.

[0] https://blogs.msdn.microsoft.com/astebner/2007/03/14/mailbag...

mrsteveman1··on Dark web dealers voluntarily ban deadly fentanyl
> A lot of the US problem is that those patients will then be given a big box of opioids to take home for the next week.

Even the week isn't really a problem, in fact that's become one of the restrictions here in Ohio because the normal practice was to prescribe entire months at a time. People were ending up with 30-60+ day supplies of extended release medications like oxycontin for recovery from procedures that shouldn't have been all that painful for more than 10-12 days.

Now if a doctor wants to prescribe opiates for acute pain after a surgery or something, it can't be more than a 7 day supply, any longer and the pharmacist can't fill it. A completely new prescription is required for every additional 7 day supply.

In contrast to what was going on before, that means there are now on average 7-8 opportunities for a doctor to re-evaluate whether opiates are still appropriate over a 60 day period, rather than just 1 (the prescription for the 2nd 30 day supply).

mrsteveman1··on Strato Pi – An Industrial Raspberry Pi
> Is that true even if you mount the filesystem(s) read-only after boot time ?

Yes, read-only filesystems are not the solution to most of the Micro SD card problems on the Pi, because the filesystem and the OS are relying on the card to work properly, and the actual consumer market Micro SD cards people are using don't always do that when used in the Pi.

To manage the flash, the (dirt cheap, barely fit for purpose) controller inside a consumer Micro SD card will generally do things like move data from one area of flash to another, even when the host isn't writing to the card.

One of the reasons for that, is that reading from NAND is a potentially disruptive[1] event:

> If reading continually from one cell, that cell will not fail but rather one of the surrounding cells on a subsequent read. To avoid the read disturb problem the flash controller will typically count the total number of reads to a block since the last erase. When the count exceeds a target limit, the affected block is copied over to a new block, erased, then released to the block pool.

There are industrial Micro SD cards that can handle most of the problems that show up on the Pi though, and they aren't absurdly expensive. The $15 ATP AF4-GUD3A and $28 ATP AF8-GUD3A are some I use in my Pi projects for this reason, and I've never seen any of them become corrupt, unlike SanDisk and other consumer cards.

[1] https://en.wikipedia.org/wiki/Flash_memory#Read_disturb

mrsteveman1··on Antidepressant withdrawal: reviewing the paper behind the headlines
> The thing is, out of ignorance a lot of doctors simply deny it's possible. This kind of thing infuriates me - when doing pharmaceutical trials, the manufacturers must have come across instances of patients going through withdrawals upon cessation, but somehow that information never makes it to the papers, the leaflets or the doctors.

My take on it: nearly everyone is hyper-focused on abuse of drugs, meaning recreational potential, and it distorts everything else in health care.

We severely overstate the side effects and negative outcomes that occur when a particular drug is used recreationally, and trivialize or ignore those very same side effects and negative outcomes when the exact same drug is used at the same dosage in a medical setting.

And we do that because side effects / negative outcomes have essentially become our way of automatically punishing and imposing a sort of moralistic judgement on people for abusing drugs. If bad things happen after you abuse them, it's your fault and you deserve it. If you weren't doing anything wrong, you don't deserve punishment and therefore those very same side effects somehow won't even happen.

We have so thoroughly conflated "recreational" with "dangerous" and "bad outcome", and especially with the concept of discontinuation symptoms or withdrawal, that the mere intent of the user is effectively being treated as the determining factor for whether something bad will happen, rather than the substance itself.

As a result, even the possibility that those kinds of problems could occur with other medications that have zero recreational potential, is routinely ignored. Those are things that happen when you abuse drugs, not when you take them for medical purposes. After all, you weren't doing anything wrong.

You can see that in action when people have a moderate injury that requires surgery and a lengthy recovery, along with several weeks or months of opioid medication, people who have no real awareness of what physiological opioid dependence is. I personally know people who developed severe withdrawal symptoms after they stopped taking their medication, who were told by their own doctor that they were addicts and must have been doing something wrong, because those symptoms occurred.

And on the flip side I couldn't even count how many people I know who have stopped taking SSRIS or SNRIs, hit an almost immediate wall of insomnia and serious psychological symptoms, and were told that they were imagining it.

mrsteveman1··on A cheaper, smaller Raspberry Pi 3 is now available
> If you store your data under /run (or /var/run) your district will probably put it on a RAM disk. You’ll lose it in a crash, but you won’t be writing to the SD card and provoking it to corrupt in that crash.

> If you then adjust your systemd journal to not write very often you have eliminated most of your SD writes.

The trouble is that the OS isn't the only one writing to flash in the card, the MicroSD card controller is erasing and writing to it at random times as well even if the filesystem is read-only, with no coordination between it and the OS.

As a result you can easily end up in situations where the card decided to run some housekeeping to manage the flash just milliseconds before a power cycle or a power loss, and seemingly all consumer MicroSD cards are not up to the task of keeping the data intact at the same time.

mrsteveman1··on A cheaper, smaller Raspberry Pi 3 is now available
The Pi boards actually replaced ESP32 boards running ESP-IDF firmware I wrote, I probably have 15+ of them at this point and still plan to use them for other things.

The ESP32s were routinely dropping from WiFi (some being crashes, some just disassociating and never connecting again). ESP-IDF has had quite a few WiFi fixes, but it's difficult to guarantee that your own code isn't directly causing the problem (which you get for free running in userland on Linux), and dealing with it was becoming a huge time sink.

Most of the Pi Zero W boards I have were $5 at Microcenter, the MicroSD adds to the cost a little but they're extremely reliable as a result, and my own code is no longer running in the same address space with the scheduler and WiFi driver under extremely tight memory constraints :)

mrsteveman1··on A cheaper, smaller Raspberry Pi 3 is now available
I have probably 8-9 Zero W boards in projects at this point, running everything from cat cams, temperature sensors in various rooms, even my stereo amplifier is controlled by (but not passing audio through) a Pi Zero W.

All of them now have a very specific model industrial MicroSD card in them, and none have lost or corrupted data, or refused to boot, since those cards were added. They had SanDisk ultra cards before that, and they had to be reinstalled all the time.

I picked the card because it's an aMLC* model (cheap overall, $15 for 4GB, $25-28 for 8GB), which significantly improves write endurance even compared to MLC cards, and because the controller is designed to handle sudden power loss, which is where a lot of these Pi+SD problems come from; consumer MicroSD cards are generally designed for use in devices that have batteries and rarely if ever lose power suddenly, so the controller can take risks for optimization that it wouldn't otherwise want to take.

They're also rated down to 0C, which I can say is definitely true as I have some operating close to that right now.

This is the card: https://www.digikey.com/product-detail/en/atp-electronics-in...

4GB isn't huge in a world where 32/64GB cards are common for a similar price, but a full headless OS installation doesn't even take half of that, and there's no real use for more space most of the time.

* with aMLC mode, it's still MLC flash (so cheaper than SLC), but each cell only stores a single bit rather than 2 (MLC) or 3 (TLC), so there are only 2 voltage states it needs to be able to measure, rather than 4 (MLC) or 8 (TLC). That means you lose some storage capacity (half vs MLC), but the tolerances for the voltage measured in each cell is significantly relaxed, so it remains usable long past the point where a plain MLC mode card would not be able to accurately program and measure the voltages that represent the 2-bit values of 00, 01, 10, or 11 anymore.

mrsteveman1··on Destruction of evidence charges filed for remotely wiping iPhone
Then again, if a browser cookie is the only thing providing access to "evidence" on a particular machine, then it wasn't actually on that machine to begin with.

That's far from a mere technical detail, as it also means the person lacked any meaningful physical control of, or proximity to, the evidence.

I recall there are some cases that centered on whether someone was aware of the existence of a browser cache and knew how to clear it. In that case the "evidence" really is on the local machine because that's what the cache is.

mrsteveman1··on C-Sky: A $6 Linux dev board with HDMI and USB
The Pi Zero W is my default for the same reason, and most of mine were all of $5 due to sales at Microcenter. It's pretty hard to beat that unless you need more CPU power.

Add an industrial MicroSD card for ~$15 (to prevent the infamous SD corruption) and it's still at the $20 point but far more reliable and versatile than many of the alternatives.

Even some of my microcontroller boards cost more than that, and you can still program the Pi boards "bare metal" if you really want to, because they're popular enough that people have already done the work to make that possible.

P.S., even with a Pi Zero (W or not), you can hook up a tiny I2S audio codec board for a line level[1] or amplified[2] audio output.

[1] https://www.adafruit.com/product/3678

[2] https://www.adafruit.com/product/3006

mrsteveman1··on Apple Admits to Hardware Quality Problems with iPhone X, MacBook Pro
Seems a bit like saying a broken steering wheel doesn't make the whole car unusable, you just have to find some other way to steer.

It's a laptop, if the keyboard routinely doesn't work properly, then it becomes a slightly more portable desktop.

mrsteveman1··on F.D.A. Plans to Seek a Ban on Menthol Cigarettes
Illegal to manufacture just means the people who can legally possess it will have to deal with and buy it from people illegally manufacturing it under poor conditions with zero regulatory accountability.

And some of them will get sick or die because of the prohibition on regulated manufacturing.

We know that because there isn't an epidemic of people going blind and dying after drinking alcohol contaminated with fermentation and distillation byproducts, but there is an epidemic of people dying from using "heroin" tainted by fentanyl analogs.

The only thing that has ever worked is legal regulated sale, which keeps the market sane with respect to quality control and safety, while making it easy for people to access health and addiction services.

mrsteveman1··on RPG.net bans posts in support of Trump
There was a time, brief I'm sure, when making something available on the internet basically meant paying for a high speed connection to be installed wherever you were operating, rather than a big cooled building filled with servers.

The rental model isn't an inherent part of web hosting, it's just much easier and much of the internet is geared toward things working that way.

I'm quite sure that it would be impossible to do that in some situations and for some use cases now, and in some areas it would not work out well, but in other areas it's trivially easy to find "business class" fiber service with at least 1-Gbit up and down, which is faster than the pipes a lot of hosting providers offer.

There's a much stronger case to be made against ISPs tampering with or denying service to those sorts of customers, who are directly paying for a physical connection to wherever they're located.

mrsteveman1··on Microsoft pulls Windows 10 October 2018 Update due to major issues – The Verge
> That means, when there will be people willing to purchase Linux versions of Adobe/Autodesk/whatever apps, but not their Windows or Mac versions.

I think this is becoming a real possibility.

The other day I realized that all of the commercial FPGA design tools I use, from Xilinx, Altera/Intel, and Lattice, are available for Linux as well as Windows.

And despite being fairly expensive if you need the versions that support larger FPGAs, they all provide a free version.

Naturally they target the enterprise distributions like RHEL, and there are quirks in general and some friction to using them on other distributions, but they actually work and they're supported.

Now, perhaps there's something about the people working on FPGAs that makes demand for Linux versions of those tools much higher, I don't know. But I wouldn't be surprised if the percentage of installations for those tools was still mostly on Windows.

mrsteveman1··on Amazon pulled an Apple on the smart home
> I must admit the ones that really get to me are Windows updates that for some reason best known to the devil himself seem to be postponed until I actually need to use the computer.

This is the one thing that's becoming really infuriating lately, not only Windows but even macOS.

It's not just updates either (which macOS does pretty well), but a more general problem that the OS routinely interferes with what I need the machine to do and wastes the CPU/RAM/SSD/Network resources I need while I'm using it.

For example, updating caches/indexes requiring it to read/write the system drive heavily, running various kinds of maintenance and pinning the CPU to 100% for several minutes, or taking up all available bandwidth to do things that frequently did not need to be done at all.

Apple's iCloud Photo Library did the last one all the time until I disabled it. If you delete a large file and free up local drive space, it will almost immediately start using all available internet bandwidth to download and cache photos and videos from iCloud to fill up that space again.

Just yesterday, I discovered that Microsoft has either intentionally pushed everyone to use the "balanced" power plan or just broke the ability to select "high performance" in control panel. I had to open the group policy editor just to put it back it on high performance, because it was not possible to do it anywhere else.

I only noticed that little change because I was capturing data from a satellite passing overhead, which is not something that you can just arbitrarily delay or slow down, and right then Windows decided to reduce the maximum CPU speed to 0.49Ghz, completely ruining the data. That's not even a "real time" task, it doesn't specifically require low latency just high performance. Ordinarily that machine can handle it just fine, as long as the OS isn't actively crippling the hardware or trying to do other pointless, resource intensive tasks at the same time.

mrsteveman1··on Crypto’s 80% Plunge Is Now Worse Than the Dot-Com Crash
I'm also curious what happened to all that custom FPGA and ASIC hardware that miners were using for a while.

Surely it's sitting unused somewhere, right?

mrsteveman1··on Australia's anti-encryption law will merely relocate the backdoors: Expert
> If it is then we should just publicly say that the government shouldn’t be able to tap phones regardless of what technology they are using to communicate.

They can tap phones, and should be able to tap phones, along with VoIP, video calls, and mail. But while privacy isn't absolute, their ability to wiretap communications with a court order has never been absolute either, merely opportunistic.

These are opportunities they don't have available to them, and it needs to stay that way.

They should not be permitted to set aside all other concerns just to keep that wiretap and search ability in the cases where it comes up, because it simply isn't that important compared to all of the problems they will cause in the process.

People, including whistleblowers and political dissidents, even in the U.S., will be harassed, threatened, blackmailed, or even killed as a result of their tampering, and the government itself will misuse those expanded access powers, just like all the others they've publicly or secretly obtained.

mrsteveman1··on Apple Just Permanently Banned Infowars' App from the App Store
If the "safe harbor" you're referring to is CDA230, you have it quite backwards. They're shielded under that statute even if they ban people and delete things selectively, regardless of the reason.

Under the legal environment at the time CDA230 was enacted, they already had a shield. What they didn't have was the ability to moderate their own platforms and still keep that shield, they had to pick one or the other because if they screwed up and missed something then suddenly they were liable again.

So CDA230 actually encouraged them to moderate their platforms, arbitrarily if they want to. The "moderation" they were expected to do was mostly to remove "indecent" content, but they aren't required to do that or forbidden from removing anything else.

So at least in that respect, Twitter and Apple are doing exactly what they were expected to do.

mrsteveman1··on MikroTik routers are forwarding owners’ traffic to unknown attackers
I have an APU2 and it's really the perfect router for any small office or house. Intel NICs, plenty of ram and an mSATA port make it quite capable. I have pfSense on it at the moment, which works very well.

At one point I had an 802.11n card in my older ALIX2D router, but there were stability and performance issues so now I always use a separate access point, most recently a Unifi AC-PRO which has some quirks but works well in general.

I've been happy enough with the x86 routing strategy that when it came time to replace my older Cisco 100mbps switch, I decided to do that with x86 hardware as well. All of the smaller/cheaper gigabit switches either didn't support VLANs, made way too much heat, or had reliability issues, and the ones that were suitable were quite expensive and had reliability issues of their own.

So, I found a Supermicro Atom C2000 board (A1SRM-LN7F[1]) on sale for $90, which has 7 Intel NIC gigabit ports built-in and supports ECC ram. I put it in a Supermicro 1U[2] enclosure along with an Intel PCIe 4x gigabit NIC, for a total of 11 gigabit ports on the switch. I installed Debian on it and set up open-vswitch, which worked but was soon replaced by "vlan-aware" Linux bridging.

It's easily capable of switching gigabit traffic between multiple machines at the same time, ping shows an average latency of 0.310ms, has very low power usage and makes very little heat.

Note that those C2000 Atoms do have a "sudden death" hardware flaw, but Supermicro should have fixed it on more recent inventory, and they will send a "patched" board to replace any that are affected before they fail. The Atom C3000 doesn't have that issue, but I don't think Supermicro (or anyone, really) make any C3000 boards with that many built-in gigabit ports.

[1] http://www.supermicro.com/products/motherboard/Atom/X10/A1SR...

[2] http://www.supermicro.com/products/chassis/1U/510/SC510T-203...

mrsteveman1··on Inside the Trump Administration’s Secret War on Weed
> - Deaths related to accidental overdose would drop

If you want to have any chance of achieving this one, the drug in question has to be obtained from a pharmaceutical channel rather than a black market channel.

That means legalizing sale in some way too, otherwise the drugs themselves will continue to be impure and unsafe.

Luckily the drugs that are the most problematic are already legal, they just require a prescription to obtain.

So in the short term the answer is to start treating the drug aspect of drug addiction as the medical issue that it is, and allow doctors to write prescriptions to addicts.

Then you'll have a much easier time providing them assistance finding a job, education, safe housing, and medical care for any underlying condition they might have, which most of them really, really want.

mrsteveman1··on Inside the Trump Administration’s Secret War on Weed
> Maybe for marijuana but the societal effects of legalizing something like heroin wouldn’t be so clear cut.

Here's the issue though, it's simply not the case that the law gives us any control over the situation. The opposite is true: banning individual substances like heroin actually prevents us from having any control over them at all.

We made heroin illegal, but the market continued to exist. It simply shifted to a different set of manufacturers, distributers, and retailers. And, it totally removed any control we had over who could buy it, as well as the authenticity, purity, and safety of the product.

Worse still, banning it actually incentivized the market to continue and even expand, by artificially increasing the value of the product and significantly increasing the potential profit.

The manufacturers have no accountability or regulation whatsoever, they're pumping out fentanyl analogs of varying potency that are almost impossible to even handle safely. That alone is responsible for many, many overdose deaths.

The distributors are frequently tied to or directly run by organized crime.

The retailers can sell whatever they want to whoever they want, regardless of how dangerous it is, how fraudulent the sale is, or how many people die.

Continuing to hope that restricting it just a little more will finally solve the problem is not only unreasonable but making the very things we're concerned about worse.

mrsteveman1··on Benzodiazepines: Our Other Prescription Drug Problem
Vaporized CBD (isolated by itself) is apparently quite effective for many people who have trouble getting to sleep because they can't stop worrying about every possible outcome of an upcoming meeting or date, or replaying stressful conversations or situations that happened days, weeks, or even 5 years ago.

The "broad spectrum" products that have multiple active components are far more variable, clearly.

mrsteveman1··on The Jury Is In: Monolithic OS Design Is Flawed [pdf]
Any recent iPhone/iPad, Apple Watch, the iMac Pro, and Macbook Pro touch bar, all contain Apple's "Secure Enclave", which runs the L4 microkernel:

> The Secure Enclave runs an Apple-customized version of the L4 microkernel. This microkernel is signed by Apple, verified as part of the iOS secure boot chain, and updated through a personalized software update process.

https://www.apple.com/business/docs/iOS_Security_Guide.pdf

mrsteveman1··on Australian draft law requires tech companies to hand over encrypted messages
> The worrying items are 3-6 that basically say anyone who provides software/hardware or develops that software/hardware is part of either used for providing communications or "an electronic service" are subject to the notices.

This sounds like it would apply to Tor.

I can't imagine Tor is actually the biggest problem though, certainly compared to simple encrypted messaging services with hundreds of millions of users.

mrsteveman1··on Building Night Vision Goggles for $100 with Raspberry Pi
The Lepton modules you can buy are limited to 9fps, yes. They do seem to make some that are higher frame rate, but they aren't advertised anywhere.

FLIR and other companies like Seek[1] are selling 15/30fps imagers that are not much more expensive, though not in modules for DIY use.

The Seek Compact Pro[2][3] does a pretty good job for the ~$500 price tag

[1] https://support.thermal.com/hc/en-us/articles/208377803-What...

[2] https://www.youtube.com/watch?v=Rgyr-4u06FU

[3] https://www.youtube.com/watch?v=ybDpuFecruM

mrsteveman1··on Building Night Vision Goggles for $100 with Raspberry Pi
> Interesting thing about them is that they are still based on all-analog vacuum tube technology.

Yep, as I understand it, at least the 2nd Gen tubes have a surface that turns incoming photons into electrons, then those electrons bounce around inside tiny "micro channels" with a high voltage applied to them, which causes more electrons to bounce down the tube. And then they hit a phosphor screen and turn back into photons.

It's really quite clever.

mrsteveman1··on Building Night Vision Goggles for $100 with Raspberry Pi
You can get a FLIR Lepton 3 thermal sensor for about $150-180 used, typically in the form of an older FLIR One 2nd Gen iOS/Android dongle (eBay).

160x120 resolution isn't great (320x240 is generally the "good enough for casual night imaging" resolution), but those are the best you can do before stepping up to a minimum of $500+ per image sensor (seek compact pro).

Here's an image set of a cat walking around a fenced-in deck next to a tree: https://imgur.com/a/WmuQ1lA

If you look carefully in one image, you can see the heat from the paw prints remaining visible as a line in the grass. You can't see the actual prints at that resolution, but the sensor is absolutely good enough to see trails like that, especially indoors with footprints.

And in terms of intensifier tubes, you can do reasonably well picking up one of the Gen 1 monoculars sold all over the place, somewhere around $150-200 per eye, though you have to be careful as some of them are better than others.

mrsteveman1··on Advocates say paper ballots are safest
If you're referring to provisional ballots, those precincts generally require the person to return to the board of elections within 10 days and provide some form of ID.

If you're referring to a normal ballot, I've not seen anywhere that doesn't require some proof of residence and identity, like a very recent bank statement matching the registered address for that voter.

For that to be an issue, someone would have to:

1) Obtain a recent bank statement for a registered voter

2) Show up, in person, at the correct polling location

3) Commit a felony by lying to the poll workers and voting illegally

4) Hope nobody who knows the real person hears them claim to be that person

5) Hope the person doesn't show up and try to vote

← PreviousPage 2 of 11Next →