Better HN
topnewbestaskshowjobs
Log inSign up

qiqitori

1,068 karma · joined Nov 5, 2016 (10y ago) · 455 submissions

https://blog.qiqitori.com/

Do not upvote past 999 karma, thank you very much.

Submissions

comment 1w ago · link · parent

TIL! That's great to hear.

If someone from Tektronix is reading this, my unsolicited advice is: don't have bugs. Bugs on oscilloscopes waste a lot of time. My own Rigol scope wouldn't trigger on the external trigger until I factory reset it. The Rigol scope at work crashes (and shows an Android "... has stopped" screen) when you press the "wrong" button in the main menu.

Don't enter a reboot loop if the USB power supply can't provide enough power. Etc.

comment 2w ago · link · parent

You can use DisplayLink on Android (just attach a random* DisplayLink dock via USB-OTG), install the DisplayLink app and you get your Android screen in big. Combine that with Termux and Termux-X11 (on some phones you even get 3d acceleration) and you can get a surprisingly decent* desktop. (Many non-flagship Android phones don't have native video output. IMO it actually adds to the cost to have models that support video output and models that don't, but the market segmentation probably makes it worth it from the manufacturer's perspective.)

* I use a random (USB3) HP one

** There may be some lag/tearing, so maybe not so good for movies

comment 2w ago · link · parent

I'm kind of hoping that the youth will recognize that stuff that can be made with AI is just nothing special anymore, and find something that is (or still is) special. I don't know what that is, maybe something that AI can't do on a fundamental level (maybe something physical?).

(Of course, at this point it might be necessary to point out that "the youth" is a diverse bunch, and some will be like this and others like that.)

comment 2w ago · link · parent

I'm amazed. Someone somewhere conceived of a feature, and it wasn't put into C++!

comment 1mo ago · link · parent

Gemini Pro IMO

comment 1mo ago · link · parent

Work smarter, not harder.

comment 1mo ago · link · parent

Analog computing, one thing I'm glad I learned a little about! Also made part of the tennis for two game, and occasionally think about adding features. (Course, knowledge of digital electronics keeps interfering. In fact I used two 74-series logic chips in there.) Here's my build log, with everything that makes me cringe after a few years left in tact: https://blog.qiqitori.com/2024/08/implementing-tennis-for-tw...

comment 2mo ago · link · parent

Smartphone UIs are a devastating blow to humankind. They make a real computer just redundant enough that people buy smartphones instead of computers and then just don't do anything that can't be easily done on a smartphone. Furthermore, as doing anything productive is so painful on smartphones, people just passively consume stuff instead.

comment 2mo ago · link · parent

Especially seeing how M5Stack is majority-owned by Espressif.

comment 3mo ago · link · parent

I think it's a bit iffy to argue that the bootloader code is covered by the GPLv3. In programs for standard computers running a big OS, the distinction lies in whether you are linking a library into your program. If the GPL code isn't a library but an external program, it isn't linking, and OK by the GPL. Now on to the bootloader code: in order to flash your device you have to put everything into a single image file. I guess the claim is that this process constitutes linking. But I don't think that is how most people think. Some possible arguments:

When linking, symbols pointing to addresses are involved. The main program calls functions in the library, and you end up with a whole program. On the other hand, a bootloader just does its thing and then jumps to a fixed address in the main program. The main program doesn't call anything in the bootloader. (Note, the Linux kernel has a special clause that explicitly allows the userland to programmatically interface with the kernel.)

I realize this sort of depends on the microcontroller toolchain. I'm familiar with a few, but not much with STM32 stuff. If the toolchain is dumb and implements the bootloader in a way that resembles linking, i.e. making it possible to resolve all the symbols in the bootloader from the main program then it could very well make the bootloader subject to the GPL.

comment 3mo ago · link · parent

IIRC this was talked about in Cory Doctorow's Enshittification book. Here's my bookmarklet to get rid of sponsored results, it's survived a couple years:

    javascript:document.querySelectorAll(".s-result-item:has(.puis-sponsored-label-text)").forEach(function(e){ e.remove()})

comment 3mo ago · link · parent

A while ago I learned that very early versions of 3.5" floppies didn't have the auto shutter mechanism and you had to open and close the shutter manually. (I think that was probably just used on some Japanese Sony machines.)

comment 4mo ago · link · parent

Can we also ban Java projects? Don't really like that language.

comment 4mo ago · link · parent

https://www.amazon.com/Maths-Proofs-Lean-First-Steps-ebook/d... I like this author and a while ago found that he'd published a book on Lean!

In the end I wasn't able to read it on my ebook reader and reading it on a PC or smartphone kinda makes it annoying to read on the commute. So I've only read the first two chapters or so but it seemed like a lot of fun. All this talk about using Lean in AI-powered proofs kinda makes me want to pick it up again.

comment 4mo ago · link · parent

If you want to make all developers working on a project happy about the way the project is being designed/implemented, it's best to reduce the number of developers to 1 or less.

comment 4mo ago · link · parent

How much time is spent interfacing between userland and the kernel? Can you try to get it to run as a kernel module? :)

Also in case your CPU is old enough, did you try disabling CPU bug mitigations?

comment 4mo ago · link · parent

No, it is impossible to keep them. Computers are not that far advanced yet. The melodies can only be played by pressing a button located at the end of the train.

My line lost its departure melodies in March this year :/

comment 4mo ago · link · parent

I once wrote a tool that helps with finding mistakes in OCR'd fixed width text, https://blog.qiqitori.com/2023/03/ocring-hex-dumps-or-other-...

Basically it just clusters same characters and asks the human to find the problems, which is easy when you're looking at a series of pictures like ssssss5sss.

The UI is kinda least-effort. Should ask a modern AI agent to make it look nice and intuitive, sometime maybe.

comment 5mo ago · link · parent

I've found that Gemini Pro is surprisingly good at 3d reasoning. To back that claim up, I've had it create:

A WebGl program that takes input like X123 Y123 Z123 via WebSerial every 100 ms and builds an object out of the resulting path. Required some performance optimizations (just had to tell it what to do). Also asked it to make the corners nicer and it did. (To be fair, I'd already asked a lesser model and put some things in the prompt to nudge it the right way.)

Various OpenSCAD models. E.g., remote control holder with 5 slots, staggered heights, slight slant because it looks cool, and the slots all have different depths. One shot. It implemented the slant/tilt using a shearing matrix. 100 points.

comment 5mo ago · link · parent

I'd kind of considered printing a rather small thing (seriously, 3x3x3 cm or so) in grey using this technique (using white and black filament). It told me it'd require 140 (== number of layers) filament changes and it'd take 5 hours. (In fairness, if I wanted to print 10 at once it'd probably take a similar time.)

So... honestly it's kinda silly IMO. If I wanted to mix colors in a hacky way I'd just... wait, hold my beer.

comment 6mo ago · link · parent

Hmm? Airbnb isn't on the hook?

comment 6mo ago · link · parent

I cannot fathom why USB-C would make any difference. It's not like USB-C is intrinsically better for this use case? If you're doing hardware development, your desk is likely full of in-development crap anyway and a micro USB cable more or less won't make any difference whatsoever, nor is the Pico likely to the only thing needing a micro USB cable.

Edit: one thing I can think of where micro USB connectors are better: if you broke off the connector, it's much easier to solder it back on.

comment 9mo ago · link · parent

I just checked an old note I found, maybe it was noclflush actually. Affected one or more versions starting with 2.6.32-754.

comment 9mo ago · link · parent

I came across a CPU bug that prevented Linux from booting on 3rd gen i3/i5/i7 CPUs. Did a bunch of printf debugging until I was right before the freeze. Then found something relevant in the CPU errata. It could be "fixed" by passing in noapic. I had a decent writeup on the old CentOS forums, but they're gone, and I don't have a copy of my writeup anymore.

comment 10mo ago · link · parent

That's nitpicking, IMO. It's still 99% true. There are just two "Mini-Shinkansen" lines, they only run once or twice per hour, are shorter than non-Mini-Shinkansen, and only a relatively short part (distance-wise) of their journey is spent on the slow tracks. There are non-Shinkansen trains on the Mini-Shinkansen portion of their journey, but not very many. (Also the word "shinkansen" implies new tracks.)

comment 10mo ago · link · parent

Watched it! I know it's from a US perspective, but where I live (Japan), $42000 is quite a lot! Definitely premium car territory. (E.g., Lexus RX base model)

IMO the car has a lot of bells and whistles that many drivers (probably!) don't really care about. But I guess car fans like this kind of stuff. The active noise cancelling feature might be nice, but wouldn't be surprised if we see regulation on that matter at some point. You kind of need to be alert of your surroundings, etc.

comment 10mo ago · link · parent

I keep seeing "underequipped technologically relative to their Chinese peers" on HN. What kind of stuff is missing? This is not a loaded question, I only drive a couple times a month, and the vehicle I'm driving is an older Prius, so I probably lack imagination. EVs are supposed to be technologically pretty simple, most of an EV's value being in the battery packs. I've been thinking about upgrading, perhaps to a Nissan Sakura (which probably doesn't have a lot of bells and whistles either).

Now I kinda wish my Prius had a 3.5mm aux-in jack but I get by with an FM transmitter.

comment 10mo ago · link · parent

Learned about superheterodyne receivers. Recently I've been studying up on RF technology, happened to come across superheterodyne receivers a short while ago, decided to research them today, saw that Technology Connections had a video on them, watched it, and felt reasonably enlightened.

comment 10mo ago · link · parent

Apart from the deaths from workers falling off the roof or from wind turbine towers (though these might be the only type of deaths included in these figures):

If mining deaths are included, coal, oil, gas and uranium probably do not look favorable at all, but renewables aren't perfectly safe either: there was a bridge collapse at a copper/cobalt mine in Congo two months ago that killed 32. Solar and wind use more copper per energy unit than other technologies, and solar and wind indirectly require battery technology. Lithium batteries contain lithium and cobalt. (Lithium mining seems relative safe, but 70% of cobalt is mined in Congo, which is known for artisanal mining, and the above-mentioned accident indeed seemed to happen at such a mine.) Wind, especially off-shore wind uses more concrete and steel than other power generation technologies (hydro seems like it'd use a lot too?), which could be explored too. (Course, these metals are recyclable, so you only mine them once.)

Battery factories also produce deaths sometimes, e.g. recently https://en.wikipedia.org/wiki/Hwaseong_battery_factory_fire, and batteries in operation as well as discarded batteries sometimes produce deaths too.

comment 10mo ago · link · parent

IMO, file another report and if you're asked to prove your identity again, a good way to prove it would be to put a text file somewhere under your domain that re-states your claim, adding the date and time.
12345
16