HNHacker News
TopNewBestAskShowJobs

csdvrx

2,333 karma · joined March 29, 2019

IMPORTANT: If you are reading my profile and checking my old comments, please do not upvote them!

I use the karma indicator as a cheap way to detect replies to comments and this mess up this simple heuristic.

Conversely, if we are talking and you would like to engage in a discussion, just upvote! (or downvote, whatever!) This will catch my attention and make me check what you wrote.

ABOUT ME: I'm a command line geek with an interest in Arch, Windows, Sixels, ZFS and KVM!

I like new things, even those you may believe are "against the natural of things":

“I've come up with a set of rules that describe our reactions to technologies: 1. Anything that is in the world when you’re born is normal and ordinary and is just a natural part of the way the world works. 2. Anything that's invented between when you’re fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. 3. Anything invented after you're thirty-five is against the natural order of things.”

― Douglas Adams, The Salmon of Doubt

submissionscomments
csdvrx··on Command-line Tools can be 235x Faster than your Hadoop Cluster (2014)
"Consistently shows disregards for costs, performance and practicality to deliver predictable increases in the team size, budget and number of direct reports"
csdvrx··on Framework Laptop 16 Review
With the extra keys, you can have 4 modifiers on each side of the space bar: Control, Win (Super), Alt and Cmd - total 8 modifiers, ideal for your thumbs!

This still leaves you with the Yen and the Ro key to map for other things!

csdvrx··on WPA3 on Raspberry Pi 3B+, 4B and 5B with iwd
> iwd has really been a joy to work with for me, so clear & direct, with easy config files & a very pleasant little tui/cli.

I discovered it on arch. It's a perfect companion to bluetoothctl, and far better than what I had seen on Linux before

csdvrx··on Framework Laptop 16 Review
It is a very nice keyboard layout. I'm very happy I discovered it (even if it was by mistake!)

Another example I can think about: remap the Ro key to toggle between international layout while it's pressed, so you can switch between layouts with a key right next to the shift key.

For example, on a US/RU settting, press Ro while pressing the 6 keys to the right of Tab in a sequence and you would get ЙЦУКЕН, don't press Ro and do the same: you would get QWERTY. Mixing and matching in both upper and lowercase would be very easy.

csdvrx··on Framework Laptop 16 Review
> (am not even Japanese, just have bad habit of using thumb clusters a lot, and this is the only layout with small space bar)

Same, the 106/109 keys JP layout is wonderful!

I use the Ro key as a quick desktop toggle (right next to PageUp on my Thinkpad keyboard) and the Yen key as a full-word erase (like Ctrl-W on bash)

The extra left and right thumbs are also extrely helpful to have Home and End in an easy-to reach position.

csdvrx··on The Minimal Phone pairs an E Ink screen with a QWERTY keyboard and Android
If I can disable the phone features, I absolutely want one! I don't carry a phone, but I carry a Moaan eink reader.

Having a physical keyboard would be ideal for the secondary use I've found for my Moaan: it's been slowly replacing my Sony Walkman as the Walkman has no advantage when paired with the Huawei Freelace Pro neckphones: it's bulkier, LCD instead of eink, and the neckphones don't support LDAC (990kbps)

If there's bluetooth support, the keyboard would let me type part of the name of the song I want to listen to directly get without having to click around, while also having the advantage of showing the results on a eink screen instead of a bright LCD (I don't like LCDs, I like them even less at night)

If there's also some Linux support to replace android (I want to run tty programs without having to use termux), I'll be buying a couple the moment it goes on sale.

What I absolutely don't want is the phone features or the Google store, but if I can reflash the firmware to remove that, I'm in.

csdvrx··on Oreo Cookie Treatment Lowers LDL Cholesterol More Than High-Intensity Statins
The real question is, when will I be able to use my FSA/HSA to buy my Oreos?
csdvrx··on RubyWM – an X11 window manager in pure Ruby
> It looks great, but to me this is pretty much the opposite of what I want to use - the demo video at least is so busy, and full of transitions and other distractions.

They are optional: you can make them last 100 ms, or just remove them.

Such "eyecandy" enable new uses: for example, all my windows are full screen, on they own desktop. No titlebar, no nothing because that's a waste of space. A quick animation when I change desktop helps me keep a mental map.

Also, hyprland great strength is it makes it not just possible but very easy to have a keyboard-centric workflow: you mix the tiling window manager strength with the traditional "windows" you can move with your mouse. F1 gets me to desktop 1 where my terminals live, Shift+F1 can send whatever window I'm using on desktop 1 to share it with the terminal for a while, Win + Left lets me adjust the tiling and Win + J lets me change from horizontal to vertical tiling

Last year was my year of Linux on the desktop, and I think I'll stay on Linux if only for hyprland.

> I have a weird urge to write a Frankencompositor that supports Wayland clients and enough to support an out-of-band X11 style window manager and the brutally insecure X11 style event snooping and injection; partly because it'd really irritate some Wayland purists

Check hyprctl: you can get a list of windows. With hyprland key bindings + basic shell scripts using hyprctl and ydotool to send key or mouse events, it's already possible!

From one of my simple scripts: `hyprctl dispatch focuswindow $WINDOW_ID | wl-paste | wl-copy -c` replaced `ydotool type "`wl-paste`"`

csdvrx··on RubyWM – an X11 window manager in pure Ruby
> And because it's Perl I bet it runs pefectly on Perl interpreters shipped on OSes today.

That's a superpower (software that will not bitrot): last month for a new project, I hesitated between C and perl but chose perl.

csdvrx··on [dead]
Please don't take my comment in a bad way, but to me it feels wrong to take what's being offered for free and without limits by another company (here, issues from github), to then monetize it.

It may look like a good idea to make $ from the other company pricing decisions, but it ignores the very previsible dynamic effects: I've heard about how other companies "unlimited" offers were turned into a different product by some "creative" hackers - only with the previsible effect of said storage/bandwith/whatever then no longer being unlimited.

You could argue that if something unlimited has to "become" limited, it wasn't really unlimited in the first place, but then I'd argue it's a question of ethics and social behavior: being responsible and not overusing resources, even if they are available to you in "unlimited" amounts, because nothing is unlimited in the physical reality we live in.

csdvrx··on Use Midnight Commander like a pro (2015)
I had a project of baking in sixel support into nnn, but got too busy with other things :(
csdvrx··on Keeping a long shell history
> Should be doable with bash's PROMPT_COMMAND if you are still on bash

Already done, with also PS0 and a sqlite backend: https://github.com/csdvrx/bash-timestamping-sqlite

csdvrx··on Investigating a vanishing BIOS on the Fujitsu Lifebook AH532
> The main issue with fixing it properly is that I'd most likely have to reverse engineer the Windows kernel or the UEFI firmware itself

Before doing such complicated things, have you tried with RU.EFI?

csdvrx··on Investigating a vanishing BIOS on the Fujitsu Lifebook AH532
If I may guess, with a dongle supported by flashrom, soldering wires to the flash chip, and a lot of patience - because doing the same thing from say linux can run into permission problems: the firmware really doesn't want you to read the flash chip.
csdvrx··on Investigating a vanishing BIOS on the Fujitsu Lifebook AH532
> (sadly, reverse engineering that is a pain), and that the Linux kernel is most likely the place where an actual fix has to happen.

You did most of the work already, and it's super interesting (or at least, it's the kind of things I find super interesting lol) so you may want to finish fixing the issue?

It's funny how outside RU.EFI, there're no nice tools for such a basic features as tweaking UEFI variables, so if you are into this kind of things, you may also be interested by writing a better efibootmgr: many people (including myself, and now you) are dissatisfied by the issues it can create: https://old.reddit.com/r/archlinux/comments/18j6o7x/rfc_what...

csdvrx··on Investigating a vanishing BIOS on the Fujitsu Lifebook AH532
> From TFA: "Note: At this point, I checked that Windows and various other UEFI tools are able to read the variables just fine, so Linux’ output is confirmed to be incorrect."

UEFI is a bit complicated and it's well known the EDD3 specifications can cause issues to efibootmgr, for example on Dell https://github.com/rhboot/efibootmgr/issues/86

I just think it'd be nicer to have a multiplatform way to tweak UEFI boot variable, so you can fiddle with your UEFI variables from either Linux or Windows without having to actually go into the UEFI shell or use a PE32 like RU.EFI : https://ruexe.blogspot.com/

csdvrx··on Investigating a vanishing BIOS on the Fujitsu Lifebook AH532
The UEFI entries are just regular EFI variables, except they use a special GUID: 8BE4DF61-93CA-11D2-AA0D-00E098032B8C cf https://stackoverflow.com/questions/67395528/ and the actual description in https://github.com/erikberglund/AppleNVRAM/blob/master/EFI/8... with examples on how to access them from an UEFI shell on https://oofhours.com/2019/09/02/geeking-out-with-uefi/

These variables are what `efibootmgr` lists and can change on Linux, what `bcdedit /enum firmware` lists on Windows, and what GetSetVariable can manipulate on Windows cf https://github.com/ProSlatisa/GetSetVariable/tree/master/Var...

Ultimately, each are OS-specific solutions, while it would be interesting to make a crossover between efibootmgr and GetSetVariable (and that C program) to create a tool working on both Linux and Windows with cosmopolitan to restore/hack 8BE4DF61-93CA-11D2-AA0D-00E098032B8C variables, because a quick search on that magic shows some people have uploaded their efivar to github for other models so it must be a common issue!

csdvrx··on My daily driver is older than I thought; it's positively vintage
> So maybe it could be done with a current/forthcoming consumer USB PD wallwart, without needing to add additional power circuitry?

You may need a circuit to negotiate the USB-PD, then to ouput 20V from that, but it should be possible.

It could even be a very interesting project: expose an artificial resistance on the barrel plug to simulate the Lenovo AC wattage resistor by matching what the USB-PD can deliver.

csdvrx··on You don't need to document everything
I absolutely love this take! My personal quirk is to be "phone free": I don't carry a cellphone. I have one, but it stays at home, plugged in. I only take it with me if I have to take a flight. On most days I only carry a Moaan ebook reader (the size of a phone) or a Bigme (the size of a tablet).

No phone is nice for concentration (reading a book), but the lack of distraction goes both ways: no notifications/email or apps to waste my time, and also no possibility to take a picture to waste my consciousness of what's happening!

I think the lack of pictures make me experience the moment more, with my eyes: I can always check the pictures other people will have taken on their feeds, later. For something like a new year countdown, there'll be multiple versions available.

csdvrx··on New cancer drug kinder than chemotherapy
Yes, there is beam forming.

Do a websearch about MIMO and beamforming, or ask Bing chatgpt to explain it.

csdvrx··on Each Facebook user is monitored by thousands of companies
If I don't want to use tor, but just reduce fingerprinting, is there a solution that wouldn't depend on extensions but use the features from a regular browser?

Firefox could limit the fonts and the resolution it reports to "usual" values, then upscale/downscale as needed.

csdvrx··on My daily driver is older than I thought; it's positively vintage
> The huge 170W power brick is the reason not to just move to it now, since I have a fleet of 90W AC adapters I've been using for everything since the T60.

Can't you get a barrel connector on top of a modern GaN adapter? It should be much smaller!

csdvrx··on I regret selling my startup
> Money can alleviate hardship and stress, but happiness is more than absence of sadness, hardship, or stress.

Indeed: happiness seems to require a certain degree of introspection to realize other things, such as social status or Ikegai, are needed too - hence the (also) famous corollary "Ain't got enough money to pay me respect; Ain't no budget when I'm on the set; If I like it, then that's what I get, yeah"

My favorite philosopher indeed!

csdvrx··on I regret selling my startup
The same thing was said by other famous philosophers, such as A. Grande who publicly declared: "whoever said money can't solve your problems, must not have had enough money to solve them".

Yet there seem to be many other things playing a role in happiness. Besides the famous ones like love, I can cite Ikegai, Wanderlust, Ubuntu, Hygge, Wabi-Sabi (...), and it may be foolish to concentrate on just one of them.

csdvrx··on I regret selling my startup
> I am my own lifestyle company.

I love your reply, as it puts the finger on what I felt was missing from this simple answer that was otherwise very compelling!

Like there's exploration and exploitation, ikegai is the #2, but something like wanderlust is the #1: the "change/growth/discovery", or what someone else has called "the happy feeling of anticipation of unknowns that comes from a schooltrip/school vacation bus ride": meeting for the first time people who'll become new friends, seeing new things, and not knowing what may happen, yet having no fear of bad outcomes.

It's not exactly wanderlust or serendipity, but something close to that (I wonder if there's a word for it?) mixing adventure/curiosity/freedom and happiness/excitement/inspiration.

Having too much ikegai may prevent it, as it may be become a burden - like you explained about the burden of having to always defend a reputation.

You may need both this and ikegai, like you need exploration and exploitation - a ying and a yang.

> I'm fulfilled by beating the game. Resource acquisition is a Massive Multiplayer game.

Success (in creating then selling a company etc) seems to be just a basic resource acquisition - but then, what?

Getting fulfilled by beating the game may be like metagaming in board games: it may reduce the enjoyment of the game by putting too much focus on the exploitation part.

However, being your own lifestyle company makes it a game within the game: like doing speedruns, or trying to beat a game with each of the playable characters to see the alternative endings

That's the exploration: trying out new options to see if they lead to better outcomes in the future. Like research vs development: there needs to be risk taking before refinement.

csdvrx··on Modeless Vim
> You missed the point; Ctrl-C is never going to be "copy" in a terminal, since that shortcut is already in use

My `stty intr ^X` disagrees

I've made Ctrl-C do copy paste in the terminal, even in vim, with a special function for wayland:

vnoremap <C-C> <CMD>call WLCopy()<CR>

csdvrx··on I regret selling my startup
> Maybe it's one of those things that is easy to explain but hard to understand if you don't have experiential context.

Maybe use the word "Ikigai"?

It seems to carries the concept very well across cultures. It's doing what you love, what you are good at, what the world needs, and what you can get paid for!

https://en.wikipedia.org/wiki/Ikigai

A friend told me a life without Ikigai is a life spent waiting for death.

It's an extreme position, because it can just be more opportunities for change/growth/discovery (as someone else posted, why tie in identity?).

Also many people seem to lack Ikigai but still be happy.

Yet the concept resonated with me.

> It can be a way to live life, not an alternative to it

You seem to have explored what life is without Ikigai. Could you share your thoughts?

csdvrx··on I regret selling my startup
> But I am also without a driving force. It gives me a new appreciation for the athletes or musician who un-retires.

I have a friend who phrased that very well: the problem is "you're waiting for death" because a life without a "driving force" is just waiting for death, as it will eventually do its part.

> I am happy. My life is amazing in terms of health, fitness, diet, family life, where I live, travel etc.

Waiting can be happy, but it's still waiting. Also, how things are during the wait will change: fitness and health aren't perfect forever, likewise family members aren't immortals

No judgement value is implied: that's what retirees do, and what most people aspire to do, so it shouldn't be so bad.

Yet I believe we as human beings need things to do.

csdvrx··on PixieFail: Nine Vulnerabilities UEFI Implementations
You can use a BIOS with GPT (which remove partition size limit using LBA48) : see EDD 4 page on 4 https://www.fpmurphy.com/public/EDD-4_Hybrid_MBR_boot_code_a... : "Hybrid MBR boot code overview: This annex describes how MBR boot code called hybrid MBR boot code may be constructed to support a GPT disk layout (see UEFI-2.3) in a legacy BIOS system."

I'm working on that for one of my projects. A BIOS can use GPT partitions to have LBA48, but MBR partitions standards could laso be changed to use LBA48 instead of LBA32 which cause the limit

You could even use the CHS fields to have even more space if needed: there are 3 bytes for the CHS start, 3 others for the CHS end, both are often wasted by storing 0 for LBA32.

That said, I still consider UEFI to be better for at least 1) multiplatform support (have different /EFI/BOOT paths to payloads named by their architecture) 2) fallbacks (shell + startup.nsh) 3) defining how the persistence of settings work (efivars)

csdvrx··on Keypirinha: A fast launcher for keyboard ninjas on Windows
I did the same thing on Windows, and when I recently moved to linux, I upped my game with Hyprland workspaces:

- if the window doesn't exist, open it (*)

- if the window exists, change focus to it (*)

- (*): on it own workspace, which allows me to run windows in full screen mode, without a title bar wasting space!

The workspaces are configured by a set of rules (ex: I have mozilla|firefox|edge => go to workspace #2 for browsers)

Hyprland is both a tiling and a normal window manager, so you can make a window either. I'm running one terminal in quake mode, with what's called a special workspace

I added a few dedicated keys:

- F2: send me to workspace #2

- Win+F2: reassign the window to workspace #2, say if I want to have a text editor to take notes while reading a page

- Win+Shift+Arrows: resize the tile, because I want a lot of space for the browser and not so much for the editor

- Win+J: toggle the tile, because I want the text editor at the bottom (or top) of the screen, not on the left (or the right)

← PreviousPage 5 of 34Next →