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 A NetBSD/amd64 guest can now boot in 18ms
That's nice, personally it takes me about 400 ms to start a linux kernel with qemu (more time is spent by qemu initializing its network interfaces that starting the kernel and the init!)

I'll see which tricks can be reused on linux, as I'd love to cut that by 1 order of magnitude!

csdvrx··on Modeless Vim
That's fair, changes should try to preserve existing uses
csdvrx··on Modeless Vim
for vim aarch64 and x86-64 : https://github.com/csdvrx/CuteVim

just embed your own vimrc with zip following the instructions

for others, see https://cosmo.zip/pub/cosmos/bin/

csdvrx··on Modeless Vim
> But since I was logging into different machines all the time

We now have actually portable executables (multiplatform, multios) that contain their own config file: you can just scp 1 binary and be done with it.

csdvrx··on Modeless Vim
> Back in my day, when we pressed Ctrl+S, the terminal froze, and that's just the way we liked it.

I don't think anyone needs (or even wants) the terminal to freeze on such a common shortcut in 2024.

Personally, I have reclaimed Ctrl S for word delete (usually done by Alt-d)

csdvrx··on Modeless Vim
> I hate how they do it

What exactly do you hate?

The site says:

> > Ctrl+S to save, select text using Shift+←/→/↑/↓, and copy/paste using Ctrl+C/V.

I haven't setup Control-S, but I have very similar bindings: Shift and arrows for selecting, then Alt or Control-Shift for moving the selection around, as shown on https://raw.githubusercontent.com/csdvrx/CuteVim/main/record...

Also, like the author I have a shortcut to change themes (F9) and another to toggle invisible chars (F8), and I try to use the top of the screen as much as possible (I show the offset in hex, the row and column position etc).

I like how vim is modal, but some Windows shortcuts (like Control-C) just make too much sense to given them up on Linux: I have put `stty intr ^X` because using Shift-Control-C to copy from the terminal was way worse.

Having a few chording shortcuts give you the best of both worlds!

BTW, all of the other shortcuts proposed on this site make a lot of sense to me: I do expect Ctrl-F to search, and Ctrl-T to open tabs, I think I will copy a few :)

csdvrx··on SQLite 3.45 released with JSONB support
and the easiest way for those who can wait for the next update will be to get the binaries from https://cosmo.zip/pub/cosmos/bin/datasette and https://cosmo.zip/pub/cosmos/bin/sqlite3
csdvrx··on Grindavík residents face uncertain future after volcano erupts again
> They should also leave, flooding is only going to get worse over the next 50 years . There is no good reason for American tax payers to be forced to pay for people live in these flood zones.

+1

csdvrx··on Grindavík residents face uncertain future after volcano erupts again
> What do you have to say about earthquake prone zones, hurricane prone zones, flooding prone zones and so on?

There's no way I'd be living there, so I'd say the exact same thing!

csdvrx··on Grindavík residents face uncertain future after volcano erupts again
> Or should we talk about tsunamis? or hurricanes and sea-level rise in Florida? Maybe wildfires?

No need to, because I absolutely agree with you: there's no way I'd live near an active fault line, or in a place with a risk of tsunamis/earthquakes and other types of natural catastrophes that are naturally occuring and can't be protected against.

csdvrx··on Grindavík residents face uncertain future after volcano erupts again
> Not all volcanos are the type that explode. While there are classes/type of volcano, in reality each is a bespoke situation. It would be an oversimplification to directly compare Iceland to Pompeii.

You're right, the volcano may not explode, but by being AN ACTIVE VOLCANO, it still has many ways to kill people...

The article pictures with the RED HOT LAVA tells me it's a bad idea to stay, but if they want to, sure!

After all, we need more dramatic wikipedia articles about a single person surviving in a city that previously housed thousands!

csdvrx··on Grindavík residents face uncertain future after volcano erupts again
Maybe I'm risk averse, but if a volcano erupted where I live, not just once, but twice, I would leave.

Actually I wouldn't, because I would have left THE FIRST TIME THE VOLCANO SEEMED THREATENING!

History is ripe with government officials pretending "all is good" until the volcano kills everyone:

https://en.wikipedia.org/wiki/Pompeii and more recently https://en.wikipedia.org/wiki/Saint-Pierre,_Martinique

From https://en.wikipedia.org/wiki/1902_eruption_of_Mount_Pel%C3%... :

"The newspapers still claimed the city was safe. News of the Soufrière volcano erupting on the nearby island of Saint Vincent reassured the people, who believed it was a sign that Mount Pelée's internal pressure was being relieved. However, Captain Marina Leboffe, of the barque Orsolina, left the harbor with only half of his sugar cargo loaded, despite shippers' protests, clearance being refused by port authorities, and under threat of arrest. Many other civilians were refused permission to leave town.[6] Governor Louis Mouttet and his wife stayed in the city. By the evening, Mount Pelée's tremors seemed to calm down again."

csdvrx··on Could inflammation be the cause of myriad chronic conditions? (2019)
> avoiding definite inflamers like alcohol, cigarettes (tho some nicotine by itself might actually be good, cigarette not good),

There is 0 evidence nicotine might be good, and lots of evidence it isn't.

csdvrx··on Asus Zenbook Duo 2024
Same: it has touchscreen, EMR pen, it's portable, and comes with an easy to carry case- that's a steal at this price!
csdvrx··on Asus Zenbook Duo 2024
My portable InnoCN 4k OLED disagrees.
csdvrx··on Asus Zenbook Duo 2024
Efficiency != performance

Some of us care about absolute top performance, and don't care about the battery life

csdvrx··on Pharmacology of Hallucinations
> you began to see how it work behind the curtain, how it pulls your strings and it loose all it's magic forever. (...)

> That agnosticism is the only rational position.

Please tell us more about the insights you have gained leading to this conclusion

csdvrx··on A theory of the modern exclamation point!
> I'm personally glad it's on the front page

I'm split on that, as it made me check the README I'm rewriting, and compare it to the previous version. After noticing an increase in the amount of exclamation points and enthusiasm, I think I may decide to rewrite it again, to cut down on the enthusiasm.

Besides being an obvious waste of time, why should tech be boring?

I don't want it boring! I want my vim and my xterm to be cute!

csdvrx··on Ex-Google CEO Eric Schmidt Is Working on a Secret Military Drone Project
> My take on this is that lacking direct combat experience everything the Americans (and the West more generally) will come up with in terms of drones will be hugely inferior to whatever the Russians are now building

So what?

As someone famous said, "Quantity is a quality on its own"

csdvrx··on Macs can now inform Apple if any liquids have been detected in the USB-C ports
The sony are better: ANC + LDAC
csdvrx··on The ThinkPad P14s
> more tuning so that some cores could actually turn off if they aren't used

Can't you control which cores you use or what you put on them with the kernel cmdline? On x86-64 I use cpu0_hotplug nohz_full=1-3,5-7 rcu_nocbs=0-3,5-7 irqaffinity=4

csdvrx··on RIP Microsoft WordPad
I like WordPad because when I collect screenshots and quick notes about what's of them, it's fast and doesn't get in the way: Alt+PrintScreen, Alt+Tab to WordPad, Control+V, type some text, Alt+Tab again to go back to the application you're screenshootting and you can keep going.

Control+S at the end and you have a RTF that can be read everywhere.

csdvrx··on Terminal Smooth Scrolling
I think it's an issue of separating keyboard/trackpad/mouse scrolling: it may be beneficial in some cases, it may be burdensome in others.

I wouldn't like smooth scrolling when I use PageUp/PageDown, unless it added minimal latency, because for full pages it would break the illusion.

However, it may feel natural and normal with small and precise movements like multiple finger trackpad scroll for a few lines - at least if there's an acceleration curve to reduce the fps for large movements (many lines, or quick movements to scroll by full pages): it would help keep the perception of a low latency between the action and its "immediate" execution.

csdvrx··on Terminal Smooth Scrolling
> I'm a cinema person, so, for me, 24 fps is the right framerate for everything.

I have found that I like TVs using interpolation to achieve a higher FPS: it makes old movies feel more alive.

Some people have reported they don't like the high framerate, as it make them feel they are watching a TV series.

Could you recommend a modern terminal that would have the features you suggest?

I'd be curious to try them to see how different it feels!

csdvrx··on Terminal Smooth Scrolling
Very interesting, thank you!

I didn't think it was stupid, I had genuine trouble understanding how could an extra feature be hated - it didn't make sense: I thought it was maybe not the feature itself, but either the default setting, or the fact that it was a setting that could be tweaked.

But when something doesn't make sense to me, I've found it often means I've overlooked or missed something that may be evident to others (sometimes I even write: "what have I overlooked?")

Here, I missed that it would be interpreted to mean "poison under veneer".

I'd like to improve, as in "not being perceived as aggressive", so I appreciate your feedback!

csdvrx··on Terminal Smooth Scrolling
> "unixporn" is appropriate.

It's a wonderful sub to find inspiration and great ideas!

> What I'm kind of grokking from your comment is the text on image just doesn't really bother you

It sometimes bothers me, so the default is to have it off.

But I found it can help me concentrate so I have a shortcut.

I don't know if it works by reducing the contrast of the code or by distracting my mind, but it helps me think more about the code.

csdvrx··on Terminal Smooth Scrolling
> I have never been able to do transparency or background images in a terminal- it's so distracting to me.

Maybe this is a problem of the background image you've selected? Or maybe you don't like it 100% of the time?

I like calming background images, especially when they are animated, and turned on and off at whill.

I have a hotkey to toggle a nature scene: I've found that it helps me concentrate when I'm thinking about a coding problem: demo in https://www.reddit.com/r/unixporn/comments/11w3zzj/hyprland_...

The bottom part of the image has subtle movements (the wind effect on the grass)

csdvrx··on Terminal Smooth Scrolling
> It's distressing that (G?)PP either doesn't understand this, or is unwilling to spend enough time on reading

I already know there are many things that I don't understand, but I'm willing to spend large amounts of time to improve my understanding

csdvrx··on Terminal Smooth Scrolling
I understood that as hating the presence of the feature, so I got it wrong
csdvrx··on Terminal Smooth Scrolling
> You have trouble understanding how someone could hate an optional feature and -because of that hate- turn that optional feature off and keep it off forever?

No, I have trouble understanding why someone might hate an optional feature that's either turned off by default, or that they can turn off with little effort then keep it off forever.

The lack of the feature in the first place is more of a problem. With empathy towards people who might like the feature, you see the presence of the feature as a good thing, even if it's no use (or even an inconvenience) to you. If it's an inconvenience, what you hate is the default setting.

Example: screen readers. I've been sometimes surprised by having Windows start reading text aloud after pressing a shortcut, but I then thought "actually, that's nice because people who can't use a screen have this great feature working out of the box"

← PreviousPage 6 of 34Next →