Spyke

Posts

X11 mouse "partial dropout".

The symptom: the mouse becomes somewhat unresponsive. The cursor still moves. If you have a window focused, it still receives keystrokes and can launch other things. But the window manager (fvwm3) doesn't seem to be aware of what the mouse is doing; it won't pop up menus or do the "focus follows mouse" behaviour it normally does.

You can sometimes restore responsiveness by killing one of the Fvwm modules (FvwmButtons, FvwmIconMan), or getting the window that has focus to close. These tend to be sort of chicken-egg since the issue appears a few seconds after login so you don't necessarily have an xterm launched and receiving focus.

You can also get control back reliably by switching out of the current VT and back (Control-Alt-F1/Control-Alt-F7)

It mostly happens shortly after the first login on a fresh boot. (Log out and back in and it doesn't trigger). I think there have been a few times it happened in other scenarios.

It seems to happen on both Devuan Excalibur and Void (current). The impacted machine is a home-built desktop with a Radeon 6900XT and two monitors (one 1440p/120Hz, one 4k xrandr'd-down to 1440p/60Hz) and two trackballs.

I don't think it happens on my other machine (a Thinkpad L13 Gen3 running Devuan Excalibur, with just the one 1200p touchscreen, Trackpoint and touchpad) but its config is different in a few ways (not loading some items I don't use there), so there's not an obvious single differentiator.

I think I also saw some similar weirdness in Fluxbox; the menu would come up but wouldn't acknowledge clicks on items. In that case, I was able to navigate the menu with keystrokes to restart the window manager and regain control.

I don't see anything obvious in dmesg, either.

View original on lemmy.sdf.org
amateur_radio·Amateur RadiobyHakFoo

Suggestions for a USD100 2m/70cm HT

I spent my morning playing with the three radios I've accumulated so far and none of them are perfect for my needs.

  • TYT TH-UV88: Works the best but, but the UI is a pitched battle and the mic performance isn't great-- I have to hold it like 2cm from my face and yell. So "best" here is a pretty low bar.
  • TIDRadio H3, with Nicsure firmware: Love the idea of the firmware-- it has the best UI by far, since it can show things like both the RX and TX frequencies on one screen. But I can't get useful performance out of the unit. RX is noisier, and TX seems incapable of lighting up the same local repeater as the TYT. The one last card I can try here is reverting this to stock firmware, but I suspect it might be a duff unit.
  • Yaesu FT-11R (used purchase). The best build quality, but it has the small battery that the docs say limit it to 1.5W, which probably isn't enough power to get across town, even assuming it's in perfect health. Getting a new battery is like $50-60 for a 20-year-old device which encountered unknown abuse in its lifetime.

My kvetching about this attracted the attention of a family member who said "Christmas is coming up" so I figured I would research a suggestion.

What I'd like:

  • Programmability out of the box-- either use a conventional USB data cable I have, or include whatever weird Frankencable you designed in the box. Chirp is preferred so I don't have to dirty myself by rebooting back into Windows. Why do so many of the kits include a bunch of extra batteries, antennas, and clips, but not the damned programing cable?

  • Good UI. Programmability may help on that part, if I'm not spending half my time having to try to re-adjust offsets and tones every time I change the channel. I'm sort of expecting the next generation of radios will be more like the KV4P project-- use the big friendly touchscreen you already have on you rather than try to cram everything into a 1.5" screen and a 12-button keypad-- but that's not there yet (only 1W, only one band)

  • No-disappointment performance. I've heard the big problem with Chinese radios tends to not be that they're bad, it's that they're inconsistent. I'm still in the phase of the hobby where I'm not sure if I'm doing something wrong or if the device is acting up, so I don't want to be pounding my head against a wall.

  • Takes some fairly common antenna mount. I've got a few mini-SMA male and female antennas now from the TYT and TIDRadio, but the Yaesu takes an BNC plug that looks like an old 10Base2 Ethernet connector!

  • Something in the 5-watt performance class, at least as good reach as the TYT. I understand most HTs promising above 5W are lying or cherrypicking specs anyway.

  • 100 USD or less. I looked through some reviews and saw "<= $100 when reviewed" only to see it closer to $200 today (Alinco DJ-MD5, or some of the low-end Chinese-made Yaesus) I don't know how much of that is tariffs, how much is the current economic fracas, and how much is because the models I looked for were replaced and what's left is old stock at a markup.

I have nothing against a stationary transceiver instead, but I don't think there's much in that category. Between the "$50 HT" and the "$750 boat anchor" categories, it seems like most of what's out there is designed for mobile use (bare plugs expecting 13VDC input, no built in antenna so it's two more line items to buy and match)

What's out there on a reasonable budget? I suspect this might be a market where something used would offer good value, but I'd be worried about buying something subtly broken without an easy way to return it. Or should I just get a programming cable for the TYT and stuff it so full of presets that I don't have to fight with the menus anymore? :)

View original on lemmy.sdf.org
mechanicalkeyboards·Mechanical KeyboardsbyHakFoo

Custom case complete

I first started on the "Overton130" design several years ago. At first, like most homebrew small-run designs of the time, it did a sandwich cse. I eventually added inserts to close the gaps on the case, but it still didn't feel commercial-grade.

JLCPCB, aside from making the PCBs, has a huge resin printer on offer and I tried a case inspired by the Focus FK-9000 (not shown), but I still wanted something that said "bought" rather than "built" so I spent a fair bit of time in FreeCAD riffing on the nicest industrial design on the 1980s.

Key specs: Box Pale Blues, NovelKeys stabs, G90 Galvanized Steel plate, 3mm thick aluninium sheet bottom. The PCB (4th revision) uses a CH32V305 MCU breakout (it theoretically supports a Teensy++ but that hasn't been tested) and custom firmware. Main caps are AFSA Chocolateur knockoff, top row is MA with home laser charring, and the left block is home-lasered XDA, in the weird dark-orange colour YMDK sells.

View original on lemmy.sdf.org
sdfarc·SDF Amateur Radio ClubbyHakFoo

Tools for analyzing your own signal

I recently got my license (General class) and figured I'd start with a "marginally better than a Baofeng" radio, the ~$30 TYT TH-UV88.

The few attempts I've had trying to trasmit have resulted in people reporting "you got the repeater to register, but no sound" or missing significant parts of the message. I suspect the headset/mic setup that came in the box was dodgy at best (the earpiece was cracked in two, and I was never 1000% sure if the little module with a button on it was a mic or just the PTT button that would activate the on-unit mic) so I'm using the onboard speaker/mic. But I'm sure there's an art to "how do I hold the mic, how loud, and how far do I speak from it for optimal legibility".

What's the best way to develop an understanding of these techniques? I feel like it's rude to be just constantly begging for sound-quality reports. I thought about turning on my recieve-only RTL-SDR to record the local repeater, then try different styles to play back, but I figure I don't want to disrupt the regular users with my faulty efforts, and the feedback cycle of having to stop and replay the tape seems inefficient. What's the equivalent of the little icon that throbs when it detects speaking on a Google Hangouts meeting? :D

Alternatively and semi-related-- is there a consensus for the easiest to use/most foolproof mic type? I see ones that look more like a '70s CB handheld mic, like https://www.aliexpress.us/item/3256806437867278.html, or ones that look more like a typical mobile phone headset/mic. There's a hamfest nearby next month so I could look at different types of microphone first-hand, but again, we're back to not knowing if it improved my audibility before I hand over the cash.

View original on lemmy.sdf.org
qtframework·Qt FrameworkbyHakFoo

Theming / Font configuration: "bold" inherited unexpectedly

I've been trying to style my Qt apps since I discovered the old Motif-look Style Plugin still exists; maybe I can have software not made in 1994 that looks like it was!

In the process, I noticed an odd behaviour.

I set up QT_QPA_PLATFORMTHEME=qt5ct so I could use qt5ct to do the basic configuration.

If I set the "general" font as bold, and the "fixed width" value as non-bold, when I reload qt5ct, it's switched to bold. This can also be seen in other Qt programs.

If I manually force the issue by editing qt5ct.conf, manually setting up a block like this, the bold fixed-width font still shows

[Fonts]

fixed="Go Mono,11,-1,5,75,0,0,0,0,0,Regular"

general="Helvetica,11,-1,5,75,0,0,0,0,0,Bold"

I thought this might be some weirdness due to the specific fonts I chose, but swapping in "Liberation Sans" and "Courier 10 Pitch" produce the same situation.

The only way I can have my fixed-width font be "regular" is to also leave the general font as "regular". This is not a connection I expected.

Is this a known issue? Is there a workaround?

View original on lemmy.sdf.org
rant·RantbyHakFoo

The super-rich are disappointingly boring.

So many of the .001% seem to have no visible interests other than running up the score. I mean, most of us, you get to $50 billion, hell, $50 million, and you'd probably quit and spend your days doing something you found personally rewarding, rather than continuing to chase further growth. It's not like they're still working until they can afford that Jet Ski, and then bailing for Ford Lauterdale.

I almost wonder if it's meaningful to try to evaluate them as humans-- to consider whether they're consciously evil-- since it seems like they act like the Paperclip Optimizer from bad sci-fi parables. I've seen more emotional depth from a Hewlett-Packard LaserJet.

You'd think that their spending habits would reveal some element of what little soul they might have-- personal quirks, tastes, foibles. This goes beyond the usual "they could afford to end hunger and disease with couch change" complaint. They aren't doing anything interesting in ANY space! If they had any sort of interests or feelings, they have more than enough resources to make a dramatic statement with their money, and yet, they don't.

Why aren't they indulging their fancies in comical, over-the-top fashion? Instead of a box of Lionel electric trains, they could fund the T-1 Trust. If they wanted to collect coins, they could get a 1804 dollar and wear it to public events as a brooch. If they spent too much time playing Sid Meier's Civilization, surely they could buy into the executive house of some third-world country with the GDP of a typical Quizno's. Probably much better value for money than buying a flaky Mastodon-a-like to use as a Rube Goldberg machine to flip elections. At best, they strap a rocket under their ass and pay a couple plebs' life earnings for 30 seconds release from those pesky Van Allen belts, but even that seems to be just "the generic thing billionaires do" rather than being the obvious conclusion of a rich lifetime interest in astronomy or flight.

Even in their personal estates, does anyone remember anything special about them? Or is it just infinity pools, granite countertops, and rapidly-obsolescing smart technology, the same as men a hundred times poorer, but on a slightly bigger scale? Who will be so bold as to build something that will at least be a cherished monument or celebrated folly in 500 years? What is our era's Versailles or Neuschwanstein?

Hell, one of the few things we can measure from their behaviour is that they're petty and selfish, so why don't we see them systematically buying any company that ever hires their ex just so they can systematically sack them again and again? Or paying hundreds of actors so they can relive their senior year of high school, except this time, they're Prom King. Again, an excellent way to toss around your excessive status and wealth while chasing down the demons that you won't be able to smother in stock options.

At most, there might be some slant towards discernible tastes in where they splash their charitable cash, but even that plays second fiddle to collecting an efficient tax-management strategy. Maybe they toss a few bucks towards research for a disease that their sister happened to have, or to make school kids study the things you think are important, but it's still just one on the list of cheques they write because their accountants tell them to.

We should demand better. It's common to make fun of the gauche behaviour of the sudden nouveau riche-- the 19-year-old with the sportsball contract or $10 million lottery win who buys a safety orange Lamborghini and a gold necklace that Flavor Flav dismissed as too tacky, but at least they look like they are having fun with the money, like they had some idea of "let's do something cool with it" rather than letting it moulder on a spreadsheet somewhere.

At least they could do a more entertaining job of gilding their public presence-- sponsoring statues of themselves in major cities to pretend they were an important general, walking around every day like they were refugees from a catwalk or the Met Gala, running infomercials disguised as glowing life-story documentaries on cheap late-night broadcast time. Hell, use their immense commercial wrath to demand that everyone around them use some invented cockamamie title they can strut around with. Surely they can assign themselves a higher rank than a chicken fryer!

View original on lemmy.sdf.org
bayarea·San Francisco Bay AreabyHakFoo

Any computer scrap/surplus shops worth visiting?

I'm coming to SF for a few days next month, and am a bit of a retrocomputing enthusiast. Obviously, one of the first items on my itinerary is the Computer History Museum, but is there any place worth visiting if I want vintage-computing souvenirs, not just photographs?

On my last holiday, I went to Toronto and ended up spending a day heading out to the fringes of the city and rooting a scrap dealer's boxes for ISA cards instead of exploring culture, art, or history. :)

I know I should have shown up 10 years ago if I wanted to see the heyday of scrap dealers, but linear time and all. :P

Someone mentioned Anchor Electronics in Santa Clara, but I'm staying downtown and it looks like it's 2 hours each way from there via public transport, and even an hour plus from the CHM. I suspect getting a Waymo may cost a fortune if they'd even cover that area... I try not to be in cars when on holiday, but I can sort of make an exception for a technological novelty.

View original on lemmy.sdf.org
linux_gaming·Linux GamingbyHakFoo

Some Wine games go blank when I leave the window

Currently using an X11 system, on an AMD GPU; the window manager is FVWM because I'm a nostalgic old git.

I use two screens, and most games tend to full-screen on one.

Had decent enough results with Proton via Steam on many titles. A few of them needed to be explicitly tagged "don't draw a frame around the full screen window" in the FVWM config, and I had a few where movies did that "show a test card instead of video" but no biggie.

I've recently had two harder nuts to crack. I'm using two games with Lutris: The SNK 40th Anniversary Collection (it was $20 cheaper on GOG than Steam at the time!), and Genshin Impact.

Both of them play fine, so long as you keep the mouse within the full-screen capture area. But if I leave the window (say, using a keyboard combination or pulling the mouse outside the capture area), the games go blank.

SNK shifts the black box somewhat off of its original position, and I think Genshin just goes blank.

I experimented a bit with SNK's "wine configuration" options in Lutris.

"Automatically Capture the Mouse in Full-Screen Window": This reduced accidental leave-the-screen problems, but still had failures if you used a keyboard command to switch windows.

De-selecting "allow the window manager to control the window" causes the window to turn into a weird Win95-esque "mini taskbar icon" instead of going black Pressing the "restore" and "maximize" buttons resizes it to near full screen but retains an ugly Win95 style title bar. Once you restore it in that mode, it's actually well-behaved-- you can move the mouse in and out of the window without it breaking (it seems to freeze when you move the mouse away, but that may be intentional) But still, the weird titlebar and it not working that way until you first "freeze and unwedge it" sucks.

Genshin, at least sometimes, could have its black box minimized and restored and come back to life. I've yet to try the Wine tweaks there.

I suspect the common theme might be that the games are trying to deactivate themselves when they lose focus, but not doing so gracefully. ISTR Genshin on Windows would minimize itself if you switched to another task, and I haven't tried SNK on actual Windows. I'm wondering if there's some unified fix that tells the game it's running in a single screen and when the mouse leaves, it just stayed there. There seems to have been some sort of "cage Wine apps in a virtual desktop" feature, but it seems to no longer be supported.

View original on lemmy.sdf.org
stable_diffusion_art·Stable Diffusion ArtbyHakFoo

(sigh) Another Blasted Mortal

Original parameters: (full body male vampire hunk), (shirtless), (thin necklace), (standing in graveyard), hunk, (long hair), (red eyes), (holding scepter), (wide angle), masterpiece, detailed, (moonlight background), realistic, (wind blown) Negative prompt: (head cut off), (extra fingers), (moustache), (beard), (anime), jeans, female Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 6, Seed: 3375192227, Size: 704x384, Model hash: 6ce0161689, Model: v1-5-pruned-emaonly, Denoising strength: 0.01, Hires upscale: 3.75, Hires upscaler: DAT x2, Version: v1.8.0

For years, I've had a wallpaper in rotation of the cover of the manhwa 'Rebirth' volume 1, (reference https://images-na.ssl-images-amazon.com/images/S/compressed.photo.goodreads.com/books/1347683512i/29540.jpg) featuring the vampire protagonist in the moonlight with a decidedly surly pose.

I've been smashing my 6900XT into the wall trying to get it to spit out something with a similar vibe, but a few more pixels than I can get out of denoising a 800dpi scan of a small book cover. This doesn't quite do it, but the upturned nose and downward pointed weapon (SD seems to go completely off the rails with almost any weapon you ask for, except torches for some reason), convey an interesting contempt for the viewer.

With some cleanup, I get something like this: https://imgur.com/a/9QwQwlW

I've taken to generating batches of 10 thumbnails images at a time, deciding if anything's worth upscaling to wallpaper size, and cleaning up more in GIMP. Upscaling seems to put way more stress on the GPU than generating the original image-- once my machine politely shut itself down which I assume was the way of responding to a thermal threshold trip (~115C peaks)

After scaling, seems like most of the effort is things like trying to add actual eyes instead of dark spots, cleaning up superfluous features, and a lot of reworking mouths.

View original on lemmy.sdf.org
unixporn·UnixpornbyHakFoo

[MWM] It's still 1994 here!

The wallpaper is one of the standard XBM images included with the X11 distribution (in OpenBSD, it's at /usr/X11R6/include/X11/bitmaps/mensetmanus).

The fonts are the Modern DOS collection (8x8 for the battery status, 8x16 for the terminal). The window titles use the classic bitmap Helvetica which has no antialiasing and gives it a unique "Vintage system" vibe.

I was going to give it a full CDE install, but the build guides don't seem to work right; I might switch to SparkyLinux for this machine because suspending fails just often enough to be annoying.

View original on lemmy.sdf.org
the_pack·THE_PACKbyHakFoo

[Meta question] where does THE_PACK imagery come from?

It seems like there's an infinite supply of standoffish warriors and grim reapers for this community to caption, usually with motorcycles. But what was its original use case?

I jokingly proposed "It's the equivalent of the art on Lisa Frank binders, but for boys." But not really: it's too aggressive to sell to kids whose parents (and likely schools and similar community norm-setters) would veto it, and it's too fantastical for adults; I'd expect if you had it on display at home, it's in the same category of Grown Up Mature Decor Don't that anime wallscrolls or action movie posters are.

That pretty much leaves T-shirt designs for self-described badasses and maybe posters for college dorms-- is there enough of that to fuel this ecosystem? Or is there a community which generates thus stuff out of internal demand (like the furry subculture and high-intensity fandoms)

View original on lemmy.sdf.org
opnsense·OPNsensebyHakFoo

Turnkey mini-PC for home-routing duties.

After a home rewire, I'm ready to bump up to 2.5GbE, and demote my old 1Gbps router/wifi box to "AP Only mode".

I want at least five six total ports, four of which need to be 2.5+ (three to different rooms, one for uplink, one 1G+ for the AP, and one "any speed is enough" for the networked printer :) )

It seems like the "mini-PC with a bunch of 2.5GbE ports running OPNSense" option fits neatly between "Build a router out of my old i5-2500K and some eBay NICs and ignore the USD450 electric bill", and "enterprise rackmount gear with Delta fans left over from people overclocking their Socket A Athlons."

I see a lot of machines of the form "fanless case with a little castle of fins on top, Intel N100 CPU, six 2.5G ports from I226 chipset". A representative example is https://www.aliexpress.us/item/3256806214512701.html

I suspect they may all be re-brands of the same basic product, but I wanted to know real-world experiences:

  • Basic question: can anyone vouch for any specific one of these devices/sellers and confirm it worked for them?

  • I understand the i225-v LAN chipset was much buggier than the i226-v and to be avoided; still the case? I see a few products that are like USD50 cheaper, with different CPUs and i225-based LAN.

  • For routing/firewall duties (probably 4 PCs, 3 phones, a couple printers, and some smart devices) , are the bottom-of-the-line configs (8GB RAM/128G disc) suitable? Is the CPU sufficient? The N100 makes me laugh-- Intel doesn't even want to give it a brand name.

  • Regarding WiFi, should I just block out that little Mini-PCIe slot on the board from my mind? I know that FreeBSD WiFi has been sort of a fourth-class citizen for years, but I was wondering if there had been a breakthrough, or at least a "here is one specific card you can buy for a largely drama-free experience"

  • Weird question: Any problems with RF noise? I have had some devices where the power brick made a mess of a neighbour's AM radio reception, and I don't want to start a war with him. I figure when you're buying a device with a 60w wall-wart from a random brand, it might not be the cleanest.

View original on lemmy.sdf.org
networking·NetworkingbyHakFoo

2.5GbE router for home use

I've been prepping my home network for the promise of "fibre coming soon" in my city.

That meant wrapping the house in Cat6A like a giant arachnid nest, and having a couple desktops with 2.5GbE on board, but I'm not sure what to do about the routing setup. I have three Ethernet runs to "30cm from the ISP equipment" now.

For gigabit in this scenario, the turnkey solution is any random Wi-Fi/router/firewall box which has 1Gb WAN and four 1Gb LAN ports. But where do you go when you start wanting 2.5GbE?

It seems like the "Wifi/Router/firewall" boxes with 2.5GbE ports are quite spendy, especially if you want more than one LAN port. I know a lot of this cost is because they tend to be the latest-and-greatest in terms of Wi-Fi, with 82 antennae, but that's only a secondary consideration for me with the heavy users on wires. Hell, my smartphone only supports the 2.4GHz band!

It seems like other options include:

  • 2-box solution: A slightly cheaper Wifi-Router with 2.5GbE WAN and one LAN port and using a cheap unmanaged 2.5 switch to provide the desired port count.
  • 3-box solution: Said cheap unmanaged switch, plus a wired-centric router, and use the old Wifi/Router as an access point only

I'm sort of not thrilled about the two or three-box solutions as they have poor "wife acceptance factor" as they say. A bunch of random boxes that inevitably won't stack neatly and have three big ugly wall warts. Is there some magic product that would fit my needs perfectly I'm missing?

View original on lemmy.sdf.org