HNHacker News
TopNewBestAskShowJobs

bxparks

1,498 karma · joined September 21, 2019

submissionscomments
bxparks··on Netflix is turning into cable TV
Netflix produced some interesting original shows. Most of them got canceled after a single season, on a cliff-hanger. That got frustrating, so we stopped watching Netflix original shows. Then we stopped watching Netflix. Then we canceled Netflix.
bxparks··on So you think you know C? (2016)
But why did they make it Undefined Behavior instead of Implementation Defined?

I love the C language, but there are now so many UBs in the language, it is painful to use.

bxparks··on Teach Yourself Programming in Ten Years (1998)
Then there's C++. After ~30 years of it, I realized that I don't know how to initialize an object anymore. So I've given up.
bxparks··on A tiny radioactive battery could keep your future phone running for 50 years
But the screen cracked 49 years ago. It stopped getting OS updates 48 years ago. And the 5G towers got deprecated 40 years ago.
bxparks··on Using Make – writing less Makefile
Woah, what is that @{ construct in that mkfile? I cannot find it in the GNU Make Manual (https://www.gnu.org/software/make/manual/make.html). I use backslash-before-newline for multi-line loops like that.
bxparks··on Using Make – writing less Makefile
Ha, what if the 'rule' is 5 lines long?

Many times, a Makefile snippet in an HTML page or a PDF file has had the tab character auto-magically morphed into spaces. So when it is copied, it will be a syntax error in a Makefile. Even copying Makefile snippets from one terminal window to another will eat those tab characters. Fortunately my vim editor is configured to handle most of those edge cases now, but it took me... I don't know... 10-15 years to get that right.

My personal rule is that control characters which are visually indistinguishable from other characters have no place in source code which are meant to be written, read, and copied by human beings. So yeah, that includes the <tab> character. And yes, I do think the Golang people got that wrong, although the 'go fmt' command largely solves that problem. Except when reading Go source code on web sites which don't handle tabs well, and you are nested 6 levels deep, and half the code is unreadable because it's bled off the right side of the page.

bxparks··on Using Make – writing less Makefile
Not downvoting you. Just curious to know why? In my experience, as long as the Makefile is less than about 100 lines, it's the most useful workflow system ever. Because it's available almost everywhere. After about 100 lines, yeah, it is not great. And that idiotic tab character. I know the historical reason why tab was used. I wish they had fixed it to accept both tabs and spaces a long time ago.
bxparks··on Learn Modern C++
No, but I need to know them to read other people's code. Every C++ programmer has a slightly different subset of C++ features that they consider "basic", "fundamental", or "essential".

After 35 years of C++ on and off, I have pretty much given up it. I don't have the mental energy to deal with its complexity anymore. I will deal with parts of C++11 or C++14, mostly so that I can read other people's Arduino code.

I think I would rather learn a new language (Rust?) than deal with the hairball that is called "modern C++".

bxparks··on Did English ever have a formal version of "you"? (2011)
Wait, wat? I always thought that "y'all" was a contraction of "you all", so meant the "plural you" instead of the "singular you".
bxparks··on Porting CP/M to the Brother SuperPowerNote Z80 laptop thing [video]
The word you want is "disclosure" not "disclaimer". You are in good company though, this is a common mistake.

disclaimer /dĭs-klā′mər/ noun A repudiation or denial of responsibility or connection.

disclosure /dĭ-sklō′zhər/ noun The act or process of revealing or uncovering.

bxparks··on Why aren't motherboards mostly USB-C by now? (2021)
I think Apple made a terrible mistake. But I am not worth $3 trillion, so who am I to argue? But I will piss into the wind anyway:

The biggest difference between USB-A and floppy/CD/DVD drive is the network effect. USB-A is an interface between 2 devices, so its usefulness is measured as an O(N^2). It allows all my laptops to connect to any of my peripherals. To replace USB-A, I would need to replace all my laptops and all my peripherals. A floppy drive, on the other hand, is an O(N) device for the most part. Its usefulness is mostly limited to the single device that it is installed. (Sure, floppy disks are shared between computers, but I would say that this is a less frequent use-case.)

The other difference between USB-A and floppy is that the USB-A is "good enough" for almost all use cases. My keyboard, mouse, flash drives, USB-ethernet adapters, all work perfectly fine with USB-A. In contrast, going from a floppy to a CD increased the capacity by 1000X. From CD to a flash drive, we got another factor of 10X to 100X. And much faster random access. A floppy became "NOT good enough" very quickly.

I see USB-A existing for the foreseeable future, the next 10-20 years, because of the network effect, because it is good enough for most things, and because it is slightly cheaper than USB-C.

bxparks··on Why aren't motherboards mostly USB-C by now? (2021)
Yup, I don't own a single device that uses USB-C either: laptops, tablets, phones, keyboards, mouses, flash drives, network storage devices, routers, wifi access points, printers, scanners, kindles, microcontroller boards, calculators, rechargeable battery chargers, wireless temperature monitors, etc. Everything is USB-A (to micro-B, sometimes mini-B).

Still mad at Apple for removing USB-A. I understand adding USB-C. Why remove them??

bxparks··on The share of Americans who are mortgage-free is at an all-time high
> Until the old die, which they inevitably do, and then the transfer completes the cycle back to the young.

No, most of the boomer wealth will be transferred to private equity (who now own the majority of long-term care facilities), the hospital executives, the health insurance executives, big pharma executives, and a good number of doctors on the gravy train.

The next generation will get very little of that wealth.

> On an inflation adjusted basis, a good chunk of Soc. Sec. benefit is just the taxpayer's own FICA taxes that have been earning interest over time coming back to them,

When Social Security was created, the first recipient started receiving checks in 1940, 5 years after the program was created (https://socialsecurityreport.org/a-fascinating-look-at-socia...). It may be politically expedient to spread the untruth that it is an investment fund, where the old gets back what they put in after investments. But in reality, Social Security seems to be just another tax system, taxing the young and working, to pay for the old and unhealthy.

Because baby boomers form the largest demographic group in the country, they will continue to extract everything from the younger generations as they grow older, then they will give all that money away to billionaires of private equity funds who own the majority of long-term care facilities in the country.

bxparks··on Self-Hosted 110: Google Photos Replacement [audio]
Warning at a few hundred MB seems reasonable. A single PowerPoint slide could be 100MB.

But I have 10 GB free, and I still get nagged. Annoying.

bxparks··on Self-Hosted 110: Google Photos Replacement [audio]
I want Picasa (https://picasa.google.com/) to be the Google Photos replacement. Picasa was awesome. A desktop app, super responsive, able to scroll through hundreds or thousands of photos without effort. It didn't require no damn internet connection. It could sync to PicasaWeb, but it wasn't required. It also did not require a cloud account that could be terminated with no warning or appeal.
bxparks··on Archive your old projects
The problem with multiple copies everywhere that is:

1) You can never remember which copy is the master or the most recent. And a backup is not a backup unless you test the restore regularly. But with multiple copies, we don't have the time to test the restores of all the backups.

2) If any of the syncing scripts stop working, you will not know for ages. Unless you have another layer of monitoring scripts that watch your backup scripts. But almost no one has the patience to do that.

I have at least 3 copies of my important files, in 3 different locations. But I fail on both of my points above.

bxparks··on Archive your old projects
I read this like 3-4 times and I cannot parse or understand this comment. What does "DAW/NLE" mean? (DDG search says Digital Audio Workstation, and a whole bunch of links to something NLE Choppa). What does "non-realtime/static artifact from code" mean? What does "got the respect of any capture" mean? What does "wabi-sabi" mean? How does all this relate to "always documenting"?
bxparks··on Show HN: MicroLua – Lua for the RP2040 Microcontroller
Does Lua have primitive arrays now? When I looked at it some years ago, it seemed to support only hash maps, and arrays were emulated using hash maps, which I found to be completely bizarre. There were discussions online where Lua folks were saying, no, you don't really need arrays. And I'm thinking to myself, hell yeah, I really needs arrays on resource-constrained microcontroller systems without garage collection.
bxparks··on Hyphens, minus, and dashes in Debian man pages
Does turning off "Automatic Substitutions" (under Tools > Preferences > Substitutions) fix the problem? I have that turned off, as well as turning off "Smart quotes" (under the General tab) which drove me nuts with code fragments.

They may also add new options every now and then. I don't remember seeing the "Insert emojis using the colon character" option. Turned that damn thing off.

bxparks··on Casio fx-CG50 calculator comes with Python built-in
I love the Free42 app. The Plus42 app is also great, but the buttons are too small on my 5" phone screen.

JRPN15C and JRPN16C are also awesome, even more so in landscape mode.

bxparks··on Lichee Console 4A: Mini Laptop with a RISC-V Processor and 7 inch display
On my Dell Latitude and Precision laptops, pinch-zooming does not work at all on Linux (Mint 21, MATE or Cinammon, w/ Firefox).

On the MBA11, I was slightly imprecise with that statement. I recall that pinch-zooming was bound to Ctrl+ on Firefox. But that is not what pinch-zooming does on MacOS. On MacOS, the zoom level remains unchanged (e.g. 170% for Hacker News) but the window content is smoothly zoomed in and out, without re-rendering the text or images. The zooming is so smooth and responsive that it feels like it's doing fractional percentages. There is almost no input lag from the movement of the fingers.

The Ctrl+ action, on the other hand, changes in discrete steps, (e.g. 100%, 110%, 125%, etc), and there is a noticeable lag caused by the rendering of the window content using the new zoom level. I find the Ctrl+ action to be unusable. (Addendum: On some web pages, I see an image that is too small. So I hit Ctrl+, which causes the image to become smaller. Argh. Pinch-zoom on MacOS causes the image to become bigger, because it doesn't change the zoom-level.)

bxparks··on Lichee Console 4A: Mini Laptop with a RISC-V Processor and 7 inch display
Two thumbs up for the MBA11. I use mine every day for everything non-programming. I liked it so much that I bought another one on eBay. I keep one plugged in, then swap out the other one when the battery goes low. I use Syncthing to synchronize useful files between the two. The full-size keyboard on them is wonderful. And the 2x USB-A ports, the mini-DP port, and the 3.5mm headphone jack. Awesome.

I tried running Linux/Ubutunu on them, but I gave up. The fan did not work out of the box, requiring a patch. Sleep on lid-closing was broken, requiring a hack. But the critical thing that made me give up on Linux was the broken trackpad. Palm rejection is terrible on Linux, and Linux has no support for pinch-zooming. I cannot live without pinch-zooming on a Mac, especially on an 11" screen.

When Apple stops supporting Big Sur (my MBA11 2013) and Catalina (my MBA11 2015), I'll try OpenCore Legacy Patcher. If that doesn't work, I'll probably just keep using the old MacOS versions.

bxparks··on The City of Seattle accidentally gave me 32M emails for $40 (2018)
Yeah, I think took that into account in my estimation. Not every lawyer will be willing to work for free for a friend (it's like doctors constantly being bombarded for free medical advice, or software engineers constantly asked to provide free IT services to fix people's computers/phones/routers/network). I also assume that law is highly specialized, so a lawyer specialized in Constitutional or Patent law may not want to handle Family law, Contract law, Employment law, or Personal Injury law.

I figure the number of lawyers willing to do such small favors is in the range of 1% to 10% of the 1.3M (wild guess). So if each of them had 100 friends-and-family "clients", it still wouldn't add up to "pretty common".

bxparks··on The City of Seattle accidentally gave me 32M emails for $40 (2018)
There are 1.3M lawyers in the US according to the ABA. There are 250M adults in the US. I find it hard to believe that this is common (if "pretty common" means more than ~20% of adults?).
bxparks··on Odorant diffuser improves memory and neural functioning in older adults
On the other hand, I'm allergic to most fragrances (itchy eyes, running nose, stuffed up sinus). I have to hold my breath while almost running through the perfume department on the ground floor of a department store. I cannot walk down certain aisles of my grocery store (cleaning supplies, detergents, soaps). I dread staying at higher-end hotels because they spray their perfume everywhere. The smell of laundry detergents and fabric softeners makes me sick. Same with most dishwashing soaps. The deodorizers in Uber/Lyft cars can be terrible. The fragrance at the Denver airport bathrooms is so overpowering, I have to hold my breath while I'm in there, and then gasp through my mouth before running out.

I don't remember fragrances being so terrible when I was younger. But maybe it's another case of "it was better in the old days".

bxparks··on T-Mobile will move some customers to pricier plans, who don't opt out
I plan to file a complaint with the FTC and FCC when I get "upgraded".
bxparks··on Anything longer ago than yesterday should just say the actual date
Also: use 4-digit years. There is a forum that I visit a few times a week. It's been around for 20-30 years. It prints dates as 08/11/02, 09/03/04. Very confusing
bxparks··on T-Mobile switches users to pricier plans
I will guess that a class action is off the table because they imposed a mandatory binding arbitration clause (yup, https://www.t-mobile.com/responsibility/legal/terms-and-cond...). And forced binding arbitration is legal because the Supreme Court seems to be owned by corporations and billionaires.

I suppose we could file complaints with the FTC and the FCC, but I suspect it will not help. After all, they probably got thousands of complaints about Comcast, but that didn't prevent Comcast from taking over the media world.

T-Mobile used to be one of the better ones. But it was probably inevitable that they would succumb to the enshittification process that is devouring the corporate world.

bxparks··on Metric Time
Actually the minute is 256 seconds (2^8). The next chunk of time is 65536 (2^16). Then comes 16777216 (2^24). The whole clock rolls over at 4294967296 (2^32).
bxparks··on C uses "&" for the address-operator because 'ampersand sounds like "address"'
Heh, hopefully not too often. First I thought this loops 128 times. Then 7 times. Then 8 times. Then I thought "undefined behavior" if bit is a uint8_t. But then I thought, I don't have freaking clue because I can't keep all of C's implicit casting and arithmetic operation rules in my head.
← PreviousPage 5 of 12Next →