Better HN
topnewbestaskshowjobs
Log inSign up

bicolao

257 karma · joined Dec 25, 2012 (13y ago) · 93 submissions

Submissions

comment 2mo ago · link · parent

What's so interesting about tiling managers? I've been using i3. But my usage is so simple (I guess) that I have just a few windows maximized in tab mode, usually just two: browser and terminal. I rarely need to split vertically. To be fair I like i3 simplicity. But I'm not really "wooed" by i3. I may be missing something?

comment 10mo ago · link · parent

> I misread this as AI initially ...

The japanese have it harder because "ai" means love. But perhaps "love" will be written in kanji while "AI" in katakana, so writing form is not confusing.

comment 10mo ago · link · parent

I'm more amazed you run the same machine for 20 years. Another 20+ years user, but I've reinstalled 5-6 times when I change laptops.

comment 11mo ago · link · parent

> Every time I try and learn Vulkan I end up getting confused and annoyed about how much code I need to write and give up.

Vulkan isn't meant for beginners. It's a lot more verbose even if you know the fundamentals. Modern OpenGL would be good enough. If you have to use Vulkan, maybe use one of the libraries built on top of it (I use SDL3 for example). You still have freedom doing whatever you want with shaders and leave most of resource management to those libraries.

comment 11mo ago · link · parent

> But you're right: ulimately the kernel is just a program.

Play a bit with user mode linux [1] the kernel becomes literally a linux program, that I believe you can even debug with gdb (hazy memory as I tried uml last time maybe a decade ago)

In theory you can also attach gdb to qemu running linux, but that's more complicated.

[1] https://en.wikipedia.org/wiki/User-mode_Linux

comment 1y ago · link · parent

It's 2000. Build failure was pretty much expected for any software. Probably a good idea to stay home and work through any problem. Nowadays you'll just fire up a build and go. And the build is probably finished before you're out of the door.

comment 1y ago · link · parent

> I get your point, but reviewing your own PRs is a very good idea.

Yes. You just have to be in a different mindset. I look for cases that I haven't handled (and corner cases in general). I can try to summarize what the code does and see if it actually meets the goal, if there's any downsides. If the solution in the end turns out too complicated to describe, it may be time to step back and think again. If the code can run in many different configurations (or platforms), review time is when I start to see if I accidentally break anything.

comment 1y ago · link · parent

The top of the page links to this https://practical-scheme.net/oneday.html that explains more what practical means for the author (of Gauche Scheme). In short

> One day, however, I will point this page, when the friend asks me if Scheme is feasible for daily chores and a practical choice.

comment 1y ago · link · parent

fuse probably isn't a good example here because you still have to enter kernel space if i'm not mistaken, then out again to the fs driver in userspace then probably back to kernel space (block driver). fuse has many upsides, but I don't think performance is one of them.

comment 1y ago · link · parent

If this is ad hoc solution, what's the "right" approach?

comment 1y ago · link · parent

The author answered on lobster thread [1]. This is more of an io_uring exercise than an attempt to replace ls.

[1] https://lobste.rs/s/mklbl9/lsr_ls_with_io_uring

comment 1y ago · link · parent

The only git-notes related issue I found is https://codeberg.org/forgejo/forgejo/issues/6385. So, probably because nobody has raised it.

comment 1y ago · link · parent

past? I'm still running it. If I don't, I find something is missing on the right side of my screen. I got my theme off freshmeat.net. The original source is gone now [1], so I have to copy the theme to any new laptop I have.

[1] can't find a mirror anywhere. But if anyone knows the "Industrial" theme, I'd love to know.

comment 1y ago · link · parent

because it's not worth the risk of breaking plenty applications out there (or in the case of office, documents). I have heard stories of MS making changes to keep older apps working. Imagine carrying all that to a new rewrite.

comment 1y ago · link · parent

It was experimental to allow the developers to tweak UI, including breaking backward compatibility if needed. But I left Git shortly after these were added. I guess nobody picked this up to finish the job (even by just removing the experimental status, since nothing has changed for years and I assume nobody complained about them).

comment 1y ago · link · parent

There were preview releases before, when they promised to not break ABI but could still add/refine things.

comment 1y ago · link · parent

https://en.wikipedia.org/wiki/Impeachment_of_Park_Geun-hye so yes

comment 2y ago · link · parent

They mention this in https://github.com/asterinas/asterinas/blob/2af9916de92f8ca1...

> While we prioritize compatibility, it is important to note that Asterinas does not, nor will it in the future, support the loading of Linux kernel modules.

comment 2y ago · link · parent

As someone who also uses emacs, I type C-a a so often that sometimes I do the same in emacs and it leaves an extra a. It's quite rare though.

comment 2y ago · link · parent

With XCOM 2 if you miss a tile in the last turn, you lose the mission. It's not a great execution even if it does apply time pressure. Long War or other mods handle this much better by bringing in reinforcement, so you can't stay for long, but you won't lose just because you miscount the tiles.

comment 2y ago · link · parent

seems easily worked around with base64 and friends.

comment 3y ago · link · parent

Gentoo Linux

comment 3y ago · link · parent

I think you can see a modern CPU as a network. There are some beefy servers doing all the heavy lifting which is what the outsiders see. But there's also a few smaller servers here and there monitoring the system (or even responsible for powering on the entire network).

comment 3y ago · link · parent

Curlhammer 40k is the ultimate one.

comment 3y ago · link · parent

It's part of the language [1] [2]

> Builtin operators && and || perform short-circuit evaluation (do not evaluate the second operand if the result is known after evaluating the first), but overloaded operators behave like regular function calls and always evaluate both

[1] https://en.cppreference.com/w/cpp/language/operator_logical [2] https://en.wikipedia.org/wiki/Short-circuit_evaluation

comment 3y ago · link · parent

Or this [1]. A bunch of gauche.* modules are not listed there.

[1] http://practical-scheme.net/gauche/man/gauche-refe/Module-In...

comment 4y ago · link · parent

> A disadvantage of the RISC design was that since programs required more instructions, they took up more space in memory. Back in the late 1970s, when the first generation of CPUs were being designed, 1 megabyte of memory cost about $5,000. So any way to reduce the memory size of programs (and having a complex instruction set would help do that) was valuable. This is why chips like the Intel 8080, 8088, and 80286 had so many instructions.

> But memory prices were dropping rapidly. By 1994, that 1 megabyte would be under $6. So the extra memory required for a RISC CPU was going to be much less of a problem in the future.

I think this is still a problem? Not memory size, but the speed of the memory bus.

comment 4y ago · link · parent

Windows is not affected because it uses IBRS instead, which is less performant than retpoline. So the question is, is IRBS overhead less or more than 28% now?

comment 4y ago · link · parent

> since you can't really decrease your temperature you might as well learn to live at the upper extreme

There is a MinuteEarth video about this YouTube if I remember correctly and the reason is well.. more reasonable. Our body works better at higher temperature, but of course if it gets too high everything breaks down. So the optimum temp is somewhere closer to the upper limit.

comment 4y ago · link · parent

What does it mean in British English?
1234