HNHacker News
TopNewBestAskShowJobs

nyanpasu64

3,935 karma · joined March 24, 2020

trans rights are human rights

denying self-determination is the root of hierarchy and fascism

submissionscomments
nyanpasu64··on Ask HN: Could you share your personal blog here?
Molex to SATA, lose all your data. Injection-molded thermoplastic SATA power connectors have a tendency to short internally and catch fire, as opposed to SATA connectors made out of two separate pieces of plastic clamped together with a seam.
nyanpasu64··on The dangers of conditional consistency guarantees
Fun article, neat trick with lock fences. Distributed systems are cool, but easy to build wrong and impossible to fix after the fact.

I think multithreading is effectively a distributed system. Is GPU rendering one too? I've tried reducing Dolphin Emulator's latency with vsync on, and run into a wall trying to understand GPU frame fences, the relative timings of CPU operations and GPU polygon rendering on Wii vs. PC GPUs, and the occupied length of the swapchain.

nyanpasu64··on Proton Pass end-to-end encrypted password manager is here and free for everyone
I also got an email from Proton saying that they're forcing mandatory arbitration and class action waiver on all users.
nyanpasu64··on It's weird that people get mocked for changing their minds
I think it's harmful to society and people's lived well-being (as opposed to adherence to values espoused by millenia-old orthodoxies) to judge people as being sinful for being attracted to and caring for loved ones of the same gender, as opposed to being attracted to and caring for loved ones of a different gender.
nyanpasu64··on Outlook now ignores Windows' Default Browser and opens links in Edge by default
This bullshit still happens with the latest version of Windows 11. I found that I had to demote Windows Boot Manager to a lower position in my EFI boot order, whereas removing it completely from my boot order and removing the boot entry cause Windows to install itself as first priority the moment it booted. I have not tried retaining the boot entry (skipping efibootmgr -b0000 -B) but removing it from the boot order (efibootmgr -o 0001).
nyanpasu64··on Repairing a $25K HP Workstation from 1981 to Run Pac-Man
I used to save files under the default name and rename on my PC, but got too lazy. I'm up to NewFile9.csv, having suffered from the scope refusing to recognize USB flash drives until I rebooted and lost my saved trace (DSRemote wouldn't connect to my scope over USB or Ethernet, I resorted to using the dreadful Windows UltraScope software to export a CSV) (somehow UltraScope manages to be as slow on a Ryzen 5600X as the DS1054Z software on the decade-old microcontroller), later stopped recognizing my drive mid-save (the progress bar hung indefinitely, the flash drive idle LED turned off) until I replugged the drive and tried saving again, and minutes-long CSV save times and randomly unchecking all but one save channel (I couldn't find good tools to parse .trc and .wfm files into PulseView-readable files).
nyanpasu64··on Everything you never wanted to know about CMake (redux)
Just saw vcvarsall.bat in the post. Did you know that the Visual Studio Command Prompt phones home to Microsoft? I tried installing Microsoft's build tools on Wine, then when I opened a VS command prompt from KDE I saw an error message, from Wine's PowerShell stub being used to run a telemetry script. Then I discovered the very same telemetry had been running every time I had opened a MSVC command prompt on Windows, as well as countless other telemetry operations in the Visual Studio IDE and updater itself.

I found a video on this topic at https://www.youtube.com/watch?v=ORH5JfpPx88.

nyanpasu64··on Repairing a $25K HP Workstation from 1981 to Run Pac-Man
Having recently had the (dis)pleasure of getting a DS1054Z oscilloscope, I'd confidently say I'd prefer mouse/keyboard-controlled numbers on a multi-gigahertz processor PC, over a waveform-scrolling jog wheel which updates at 3 frames per second with unpredictable acceleration. Though given a processor that isn't slower than trying to run YouTube on a Pentium M, I'd probably prefer a physical knob or dial for continuous parameter control.
nyanpasu64··on Making C++ safe without borrow checking, reference counting, or tracing GC
Can you clone a Handle? If so, how do you handle using a clone after freeing it? If clones are refcounted, how do you handle cycles?
nyanpasu64··on Real-time messaging
This reminds me, a few months ago, a "real-time" chat app appeared on HN which would display your typing to a public chat room before you hit Enter. And people found ways to inject XSS into usernames, including images and JS popups. Does anyone remember the name and URL of the site? I think it would make an intriguing alternative to voice calls, which is more synchronous/immediate/interactive than a conventional IM app where the other person can only start reading a sentence once you've finished typing it.
nyanpasu64··on Gitlab has introduced a five-user limit for free groups
VSCodium is specifically incompatible with Microsoft's proprietary extensions like SSH development, and now the official VS Code Python extension has now switched to a proprietary Pylance language server.
nyanpasu64··on Revolt: Open-source user-first chat platform
Shareholder-first.
nyanpasu64··on Are you a late bloomer in work or love? Maybe you’re right on time
Escaping unstable living situations by repeatedly grinding through improbable moonshots, requires you to have the emotional and financial stability necessary to repeatedly expend effort and money on attempts that fail to pay off. This can be achieved through self-worth produced by a supportive and non-traumatic upbringing, a financial safety net, finding ways to make daily life more worthwhile and recharging, and/or loved ones acting as an emotional support network. For people without this, attempting stressful tasks will only destabilize your living situation and result in burnout and suffering.
nyanpasu64··on LCD TVs won’t see any further development
Today I learned that liquid crystals are being used to develop antennas?!
nyanpasu64··on Show HN: Slint – A declarative UI toolkit for embedded and desktop
The toolkit doesn't support regular application menus or right-click menus.
nyanpasu64··on Show HN: Slint – A declarative UI toolkit for embedded and desktop
The toolkit still seems quite incomplete for desktop use (as opposed to embedded/appliance UIs), as it doesn't support menu bars in an issue open since 2020: https://github.com/slint-ui/slint/issues/38
nyanpasu64··on Update from Lemmy after the Reddit blackout
Hilariously a year after saying they would never remove the slur filter, they did just that in 0.14 (https://lemmy.ml/post/89740). I'm not sure if that's a good look or not.
nyanpasu64··on Recovering secret keys from devices using video footage of their power LED
I find that solar panels have very fine time resolution as well. When illuminated by the light coming from a CRT monitor and plugged into a 192khz motherboard audio interface, they were able to clearly resolve individual scanlines at 31.5 KHz, each with a sharp illumination peak falling off over microseconds to milliseconds. And IMO plugging a solar panel into an audio jack or cxadc (cheap high-speed 1-channel capture card) is about as realistic as filling a camera sensor frame with a LED's direct light (unsure if indirect reflections are bright enough).

In terms of cameras, I suspect my Pixel 4a's rolling shutter isn't truly continuous, but has blocks of 4 or so "scanlines" (haha) which start and stop recording light simultaneously.

nyanpasu64··on OnBoard – A New Grants Program to Fund $100 in PCB Costs for Teenagers
I wouldn't want a USB-based Picoprobe debugger or logic analyzer to depend on (or even use?) wireless connectivity. And for a low-latency game controller adapter which translates between wired NES/SNES, N64/GC, and/or USB protocols, converting a regular controller to a Bluetooth controller is quite an invasive change which requires adding batteries to the device, and increases input latency/unreliability when you're using a wireless connection, so many adapters don't bother with networking.

In terms of whether WiFi or Bluetooth is a wise idea (as opposed to being cool or useful), I find that wireless/networked protocols are easier to get wrong than simpler configuration. I have a video scaler (GBS-Control) which exposes a network-based interface over the ESP8266's Wi-Fi adapter. The IP address it picks up in my LAN is random, and though you can visit gbscontrol.local to resolve the URL using mDNS, this is unsupported on older versions of Android. And in certain video modes, the video circuitry interferes with the wireless signal, causing network requests to stall indefinitely.

In my observation, networking is especially prone to race conditions. If I toggle my power strip and power on both the ESP8266 and my router at the same time, the ESP8266 boots before the router, fails to connect to the router (remembered by PersWiFiManager), and decides to expose its own access point and never reconnect to the existing router afterwards. Worst of all, the web server used runs networking code in the yield() callback, leading it to handle network requests in the middle of I2C communication call stacks and possibly overflow the stack. It's also known to corrupt heap memory when concurrent HTTP requests occur (https://github.com/me-no-dev/ESPAsyncWebServer/issues/324 was closed by a bot without a solution). I found an concurrency footgun where the server allows HTTP callbacks to ask the server to reply with a SPIFFS file handle, but you can reopen and write to the file in subsequent code after the HTTP callback finishes, but before the server finishes streaming data from the file handle. This results in corrupted data being sent to the HTTP client.

I also heard that the Pinecil V2 released with a Bluetooth Low Energy compatible microcontroller, but the wireless-enabled firmware apparently malfunctions on certain irons and causes them to fail to boot (https://github.com/Ralim/IronOS/issues/1661), though this may be fixed over time.

nyanpasu64··on OBS merges WebRTC support
Sadly people recommend OBS for regular screen capture on Wayland, after X11-based capture apps like SimpleScreenRecorder no longer work on Wayland. And OBS isn't very good at screen recording, and even cropping the recording by dragging a specific region, then shrinking the output file size to this region, cannot be done easily (alt-dragging the bounding box followed by "Resize output (source size)" picks the uncropped source size, and the "Crop/Pad" filter doesn't allow dragging a screen region).

In fact the issue was closed without understanding what the reporter was asking: https://github.com/obsproject/obs-studio/issues/8822

nyanpasu64··on NixOS for the Impatient
When I got my MacBook I thought "hey it would be neat to install gcc and friends using Nix". I struggled through outdated documentation to add packages, mixed up editing the files and `nix-env --install`, struggled with the `nix search` command requiring flakes or something, and never did figure out how to even update my package versions. Earlier I also tried installing NixOS and never actually got any use out of the disk at all.
nyanpasu64··on Tell HN: "I don't care about cookies” extension bought by Avast, users jump ship
I miss old Avast, the brushed metal UI, the radioactive virus dialogs with the siren sound (https://www.youtube.com/watch?v=ycs92N_rph8).
nyanpasu64··on Helplessness is not learned (2022)
Isn't the right solution to {chronic pain, trauma and broken self-worth, inability to afford safe housing} to escape the internal/external situations incompatible with a fulfilling life, rather than to optimize for a "new normal" devoid of safety and a healthy environment? The problem arises when finding a better state is unattainable with the mental and financial resources available.
nyanpasu64··on The Rust I wanted had no future
Importing a trait into scope can silently materialize methods on other types, with no syntax at the method call site pointing to which import statement created the methods, requiring you to ask the compiler/IDE. This can also mean that removing a use statement with no references to the type being used in the entire rest of the source file, can make code suddenly stop compiling. I've worked around this by strictly confining "specialized" traits (like std::io::Write or std::fmt::Write, why are there two Writes?!) to the beginning of a single function, but I'm lazy and put "general" traits like std::borrow::Borrow and std::str::FromStr at the top of my file.

Which types grow new trait methods is dependent on trait implementations, which can be generic and apply to an unbounded number of types, based on complex matching rules, and figuring out requires reading every impl of that trait to see if any match a given type, or asking the compiler/IDE. I want to explore languages which explicitly select a trait implementation at the call site (like a Heap<int, int_greater> type which uses int_greater::cmp() to implement a min/max heap), or naming the trait (but not picking an impl) at the trait method call site (like Write::write_all(stream, "hello world") or (stream as Write).write_all("hello world")). I think Zig takes a similar direction.

nyanpasu64··on DreamBerd is a perfect programming language
DreamBerd is the world's finest programming language.
nyanpasu64··on DreamBerd is a perfect programming language
I would be quite happy if you could add a single character in a function definition to log the function name and all arguments on call, and function name at time of return. I spend a substantial amount of time manually adding logging to unfamiliar or malfunctioning code, and this would improve (not eliminate) the difficulty of doing so.
nyanpasu64··on Connect to your Raspberry Pi over USB using gadget mode
They've chosen to prioritize selling to businesses ordering hundreds of Pis for field-deployed devices, over individual hobbyists ordering single-digit quantities for tinkering and hacking (https://www.youtube.com/watch?v=-_aL9V0JsQQ).
nyanpasu64··on This site is no longer solar powered for now
Is this SD card as fast as an average SanDisk/Samsung card you get off Amazon for photography or cell phones? If so, I want to only buy these from now on; SD cards are notorious for failing when used as a boot disk in Pis.
nyanpasu64··on WP20 and Audrey Scholars
Around 2 years ago I was trying to move my blog to Wordpress. I found that the vast majority of themes want your money (unlike static site generators like Jekyll, Zola, and probably Hugo), I found numerous editing and cursor movement bugs in the Gutenberg editor (https://github.com/WordPress/gutenberg/issues?q=is%3Aissue+s...), I was unable to edit pre code blocks on the mobile app, and converting articles between Gutenberg and classic formats resulted in structural issues (someone else has elaborated on the technical reasons at https://gschoppe.com/wordpress/comments-arent-structure/).
nyanpasu64··on Din 1450, recommended for barrier-free reading
Even worse, when reading this sentence in the comments, I thought it was referring to monospace coding fonts, which happen to share the same "legibility features" as required by DIN 1450 (tailed l, dotted 0, etc.)
← PreviousPage 14 of 34Next →