HNHacker News
TopNewBestAskShowJobs

lotharcable

305 karma · joined July 22, 2022

submissionscomments
lotharcable··on You can now directly sync Postgres with Redis
Probably useful for sharing stuff with services that already have access to redis, but you don't want to add SQL client dependencies for and/or don't want to give access to your database.

But you want to be able to store/have single source of authority and update them using a SQL database.

This would then eliminate the need to maintain a separate lambda or cron job or something like that to keep them in sync.

lotharcable··on Redis is open source again
If Redis is superior then sticking with Valkey would just be throwing good money after bad. Hopefully those companies are competent enough to understand the concept of sunk costs.

Maybe Valkey has served its purpose in pressuring Redis into playing ball.

Just answering "why would". Whether or not Redis is better then Valkey or if it would be worth it to switch back is not something I know.

lotharcable··on Why did Windows 7 log on slower for months if you had a solid color background?
C++ is definitely a drawback for a long time. Not because it is 'bloated', but because of how ABI changes were handled. It is all history now.

Nowadays the major problem with KDE is that by the time it is stable a new QT major version gets released and along with that it essentially gets a major rewrite, which takes years to stabilize and once it does a new QT version is released, etc etc etc.

lotharcable··on Why did Windows 7 log on slower for months if you had a solid color background?
Gnome is a acquired taste, but it is also a lot less work to keep working then KDE or other desktop options.

There are a lot of people that bitch about it, but that is only because it is the most popular one and they think that Linux desktop is a zero sum game. They don't use Gnome most of the time and arguments tend to be parroting somebody else and probably out of date for years or just kinda made up conspiracy theories about Redhat or something.

The whole thing is pretty confused. Gnome being popular doesn't make KDE not be popular.

lotharcable··on Elon Musk is wrong about GDP
wow, that is kinda dumb.

Governments can and do target GDP with their spending, with predictable results. The classic example is "ghost cities" in China. They have ghost cities nobody lives in, ghost roads nobody drives on, and ghost bullet trains that go nowhere useful. All because regional governors are expected, one way or the other, to match GDP targets for their regions.

Goodhart's law applies here. "Any observed statistical regularity will tend to collapse once pressure is placed upon it for control purposes." or "When a measure becomes a target, it ceases to be a good measure."

GDP is subject to manipulation when it becomes a target. So is lots of other things like "Consumer Price Index", which nowadays doesn't index a whole lot other then what the goverment's target is for inflation (and yes, the Federal Reserve actually counts as part of the "government" here).

Which means that GDP, like the CPI, is not particularly useful measurement anymore.

lotharcable··on ZFS: Apple's new filesystem that wasn't (2016)
OpenZFS exists and there is a port of it for Mac OS X.

The problem is that it is still owned by Oracle. And Solaris ZFS is incompatible with OpenZFS. Not that people really use Solaris anymore.

It is really unfortunate. Linux has adopted file systems from other operating systems before. It is just nobody trust Oracle.

lotharcable··on Microsoft reports several bootloader vulnerabilities
Microsoft isn't my favorite major multinational corporation (hint: I trust none of them), but they created this to solve actual problems.
lotharcable··on Ploopy Classic 2 open source trackball
I have both, kinda tend to forget about the Expert one. I like the slim Blade for normal stuff.
lotharcable··on Ploopy Classic 2 open source trackball
Kinda works ok for these types of games.

A lot of modern trackballs are fairly small and lightweight. They don't have the sort of mass and quality of bearings, most of the time, that will make them move around properly and roll like classic arcade balls.

Arcade trackballs are kinda designed to hammered sideways and pushed by the bottom of your palm. Can't really do that with a computer trackball.

The Kensington Slime Blade pro is the closest in terms of physical size. The ball will go flying if you try to get too energetic with it, though. It is just sitting in a depression.

The Ploopy Adept is another possible option with similar issues. It uses a smaller billiard (1.75 inches) ball as its central ball. It does have high quality sensors, which makes a big difference. Since it is open source I thought about buying one and modding it for a full sized USA-style pool ball (2.25 inch). Which would be awesome.

Of course you can actually just go and buy a genuine arcade cabinet quality ball that will support USB. You'll need to make a custom gaming panel for it, though.

lotharcable··on Ploopy Classic 2 open source trackball
I use a trackball almost exclusively. I will go back to mice for first person shooters. Mice can move faster and have easier time with pointer accuracy. This is where the sensor on a trackball is very important as it helps a lot with tracking, but mice will always have a edge if you are competitive. For stuff like Cyberpunk that isn't so hard core I have a fine time with my trackball.

Trackballs come in all sorts of different sizes, shapes, and layouts. Which works best is kinda up to your own physiology. That being said i find the thumb-style tend to work out a bit better for sitting on a sofa and plopping it down in random locations. It doesn't need a hard surface, being sideways or odd angles isn't going to bother it.

Another advantage for the trackball is you don't need much room for it. Just need enough room for it to sit on something without falling off.

If I have somewhere flat then I prefer to have the big center ball trackballs. Having a bigger ball with more mass is nice as more energetic movements doesn't cause it to rattle around and it is nice to be able to use multiple fingers.

Laptop trackpads are probably the worst devices ergonomically. It doesn't really matter how nice of quality they are as it is the size and position of them that make them bad to use. It is the repetitive twisting and bending of the wrists to reach them that make them bad.

If you have a very nice trackpad that is on the side of the keyboard then they probably can be very nice, though. I haven't tried them so I can't say anything from experience.

lotharcable··on Ploopy Classic 2 open source trackball
High quality human interface devices are expensive. There are multiple reasons for this, but the biggest one is that very few people are interested in buying high quality devices so they are very nich product.

In terms of capabilities there isn't much out there that rivals Ploopy. So 144 is pretty reasonable.

To put it into perspective this particular trackball is effectively a clone of "Microsoft Trackball Explorer", which is no longer made despite being well regarded by many. Used ones are usually going to be over $100 with people selling refurbished or NOS or something like that on Amazon for $250.

Budget clones are from SANWA and Nulea and they go for about $40-50

Ploopy Classic will get a much higher optical sensor, fully programmable, and better bearings. Budget trackballs usually are going to use budget sensors and tiny little ruby static bearings and have limited programming options.

This is a problem because one of the weaknesses with track balls is trying to balance out very fine movement with being able to move the pointer quickly across the screen without wearing your thumb/fingers out or being annoying.

This isn't a problem with the mouse. Big movements are accelerated by the OS and you have a large object that is easily moved very finely. This is why mice dominate competitive first person shooters and other games that require both very high speed with pinpoint accuracy.

To compensate if you have a nice trackball you can crank the DPI settings up and turn the mouse sensitivity and acceleration settings down low and gain a lot of control. If your bearing suck then you can't really fling the ball and have to do a lot of repetitive motion to move quickly across the screen.

And if your sensor is low quality then when you fling the ball it won't be able to track the movement accurately. Like the effect of helicopter blades being recorded on a video camera.. The pointer will stay still for a bit, and even go backwards until the ball slows down enough to be tracked and the point shoots forward.

I have a Kensington Slim Blade pro, which is a popular trackball of a different style and it suffers from this. And that costs over $100 retail.

On top of all of this cheaper balls will tend to rattle around a bit. Which makes it miserable when you just _can't quite_ move the pointer over just one more character or hit that tiny corner of a window correctly.

So this is the sort of thing you do get what you pay for and Ploopy is pretty darn nice. It isn't perfect, but you can do a lot worse for the money.

lotharcable··on The Wright brothers invented the airplane, right? Not if you're in Brazil
What made Wright Brothers the first, and not Santos Dumont or other people is that they not only created the first flying machine, they developed critical _PRINCIPALS_ of heavier then air flight that is used in every fixed wing aircraft since then.

Without Wright Brothers' innovations controlled flight is simply impossible.

Other people had things that looked similar to the Wright airplanes, but only the Wright airplane was able to take off, do figure 8s in the sky, and then land.

For example the rest of the world was operating off of aerodynamic mathematics of lift and drag that was simply incorrect. The Wright brothers built the air tunnels and created the math for better ones that actually worked.

The also figured out the principals to using rudders to counter adverse yaw in controlled flight. This is the tendency of the airplane to turn (yaw) against the direction of a turn.

And there are a few things beyond that. Without this controlled flight is not possible. Without figuring these things out airplanes are not really possible.

Now would of somebody else eventually figured it out?

Sure.

But it was the Wright brothers that did it first and that is the point. This is why they were able to create the first airplane and other people didn't. Even if they looked very similar it doesn't matter because they didn't incorporate the necessary features that made the Wright's plane work.

lotharcable··on Quadlet: Running Podman containers under systemd
It integrates naturally into my desktop environment.

I drop a .container file into ~/.config/containers/systemd/ and the rest is taken care of. I use yadm to manage my dot files and that way it ends up on all the systems I want it.

Never tried podlet, though. I just write the container file directly.

lotharcable··on The Myth of Liquid Detection
It would be nice to have a laptop you can safely use outside somewhere or handle drinks getting spilled on the keyboard.

But I guess that would add 10 or 15 more dollars to the manufacturing cost and make it harder to deny warranty claims.

lotharcable··on A Linux laptop with a brilliant display and performance
Looks more like a native ad then a review.

But that is what I expect for 'tech websites'.

lotharcable··on NixOS and reproducible builds could have detected the xz backdoor
I see.
lotharcable··on NixOS and reproducible builds could have detected the xz backdoor
So the argument hinges on the fact that the XZ maintainer hid malicious code in the tarballs that were not checked into Git.

The author demonstrates that Nix can be configured to generate the tarballs from git that go into building the binaries.

What I don't see, however, is how is this a feature that requires Nix or NixOS?

Any build system out there (including the stuff that goes into RPMs and Debs) can be configured to generate tarballs as a intermediate step.

In fact making reproducible builds is a major thing that Debian has been working on for some time now.

https://wiki.debian.org/ReproducibleBuilds

lotharcable··on The Origin of the Pork Taboo
> But then it says people continued to eat pork in the area. Why?

The Levant area was very multinational. This is one of the things people get confused about in the Bible. Just because somebody is referred to as "A Jew" didn't necessarily mean they were of Hebrew descent or practiced the religion. Especially during Roman times the region was just called Judah. People of the era used the term "jew" generically to refer to people from that region. It didn't mean those people were Hebrew or even particularly religious.

Also the Hebrew people frequently drifted in and out of faith and frequently adopted the practices, religions, customs, and wives/husbands of other peoples.

In fact this is a major theme of the Old Testament/Hebrew Bible. If not THE major theme. It follows a repeated cycle of the people falling out of faith, bad things start happening, they beg and plead for salvation, God redeems them only to have the cycle repeat in their children's children.

So anybody who has read the Bible shouldn't be surprised when archaeologists discover pork bones or pagan idols among ancient settlements in the region. This is exactly what one would expect.

> How does it become pretty much the thing you remember every time you're out with your Jewish friends?

Because it is so conspicuous. Pork and pork products are used in a huge amount of foods and products. Even food that doesn't list it as a ingredient in restaurants frequently uses lard as part of its production.

So it actually requires a lot of effort to avoid it and one can't help but noticing when friends need to have special convesations with the waiters, etc.

lotharcable··on Why and How I use “Org Mode” for my writing and more (2022)
I use syncthing to sync my ~/Org directory to my phone and other devices.

Also it is a git repo and I occasionally check everything in and push it to my git server so that it acts as a sort of backup.

There are a few decent Org apps for Android that work with it. I've used Orgzly which is useful for simple notes and todos/agenda stuff. I use it for shopping lists.

However now with Emacs 30.x releases it has a official Android port. I have no idea how good it is. Haven't tried it yet.

My needs are filled with a ultra portable laptop, though.

lotharcable··on Urban Dead is shutting down
OSA is a censorship law that pushes the cost of monitoring and compliance onto website operators.

This means that unless you are a gigantic corporation with deep pockets and can afford all the hundreds of hours of lawyers, developers, and moderators needed to comply with the law then you really can't afford to operate websites that other people can use.

It is effectively handing over the keys of WWW to mega corporations in the UK.

If you are operating a personal website it doesn't impact you, but if you are doing forums or anything were more then a handful of users use then you'll need a pretty significant budget to keep it running without the fear of the government cracking down on you.

lotharcable··on Reality has a surprising amount of detail (2017)
The other problem is that all the details matter all the time.

Like if you want to mathematically model what happens in a pool table hall when somebody strikes a ball with a great deal of force... by the time you get to the six or seventh bounce you are going to have to start to take into account the position and movement of people standing around the table watching it. The airflow, the vibration of them moving, the relative gravitational forces, etc. It all matters all the time.

And the problem only gets worse the larger the scale and longer the timelines.

Like if you want to manage a economy.

It is tempting to want to look at "things from a high level" and imagine that all the details just kinda average themselves out. So it isn't necessary to figure out the behavior of each individual in a national economy. It should be possible to simply plot out the results of their decision making over time and extrapolate that into the future to come up with meaningful policy decisions and 5 year plans.

The problem is that that doesn't work. Because all the details matter all the time.

Also the very act of making policies causes changes in the behavior economy in wildly unpredictable manners. Every individual actor involved is going to change their behavior and decision making based on your decision making, which then changes the behavior and decision making of every other individual, etc etc. In a endless fractal involving billions of actors, since your national economy is not isolated from the forces of every other economy and visa versa.

Also trying to make targets out of measurements and indicators tends to destroy the value of the measurements and indicators. Meaning that by setting policies you are destroying the information you are basing your decisions off of.

So you can't collect enough information to make good decisions. The information you receive is already obsolete by the time you get it. And the act of trying to create rules and policies based on the information you do have tends to destroy what little value it has left.

lotharcable··on Why might prices feel high if inflation is slowing?
The dollar has lost 96.9% of its value since the Federal Reserve took over.

Why stop now?

lotharcable··on [dead]
Generally speaking workers in the USA are anti-union. Or at least see them with suspicion. They are widely perceived as a waste of money on dues and just plain kinda unpleasant to deal with.

This isn't true for all types. Like welders and pipe fitters tend to like unions, but by and large if unions don't exist it is because nobody (including the workers) wants them.

They also don't really like what they perceive as "leftists" either. They much more strongly prefer to identify with somebody like Trump then somebody writing for a Marxist online website.

There are exceptions to this, of course. Like if you live in a large city, especially predominately "Blue" area you are going to see a lot of people running around trying to advocate for unions and such things.

But that isn't normal for the rest of the country.

There is a lot of literature spent discussing this sort of thing... Why American workers are largely very conservative.

Back in the 1960/70s when student groups went around in working class areas of the country and tried to organize labor... a lot of them ended up hospitals as a result of their efforts. This is why Marxists don't go around making murals about the greatness of the working men anymore.

lotharcable··on Ross Ulbricht granted a full pardon
> The rule of law is important,

The rule of law says innocent until proven guilty.

The reason they didn't go after him for murder for hire allegations isn't because they felt bad for him or that they didn't want to waste tax payer's money.

The reason they didn't go after him for 'murder for hire' was that they knew there was no merit in it.

This is self evident.

lotharcable··on The GPU, not the TPM, is the root of hardware DRM
> A) What does DRM realistically accomplish for the media companies?

Control publishing rights, platforms, software and hardware that is used for the consumption of said media.

The publishers control the DRM, which then needs to be licensed by television makers, software writers, and such things. Then that gives them control over how is it presented, how it is sold, how it is consumed and it forces everybody to agree to their terms.

It is a power thing. They want to have power over other businesses. DRM laws help them do that.

> How are these DRM schemes actually being defeated?

Well I don't follow DRM piracy stuff, but at a high level the people that want to consume the media must be able to decrypt it to enjoy it. So if you buy one of these DRM devices and figure out how they work then you can decrypt anything that is compatible with them.

And you only need to decrypt it once since digital media can be copied a infinite amount of times.

lotharcable··on We're Leaving Kubernetes
I strongly recommend just switching the Dev environment over to Linux and taking advantage of tools like "distrobox" and "toolbx".

https://github.com/89luca89/distrobox

https://containertoolbx.org/

It is sorta like Vagrant, but instead of using virtualbox virtual machines you use podman containers. This way you get to use OCI images for your "dev environment" that integrates directly into your desktop.

https://podman.io/

There is some challenges related to usermode networking for non-root-managed controllers and desktop integration has some additional complications. But besides that it has almost no overhead and you can have unfettered access to things like GPUs.

Also it is usually pretty easy to convert your normal docker or kubernetes containers over to something you can run on your desktop.

Also it is possible to use things like Kubernetes pods definitions to deploy sets of containers with podman and manage it with systemd and such things. So you can have "clouds of containers" that your dev container needs access to locally.

If there is a corporate need for window-specific applications then running Windows VMs or doing remote applications over RDP is a possible work around.

If everything you are targeting as a deployment is going to be Linux-everything then it doesn't make a lot of sense to jump through a bunch of hoops and cause a bunch of headaches just to avoid having it as workstation OS.

lotharcable··on Uxn
It makes it easier to understand what is going on when you realize that Java did it first.

The 'VM' in "JVM" is "virtual machine".

lotharcable··on Daemonization in Unix programs is probably about restarting programs
Deamonizing means double forking processes to break away from the terminal executing it.

This sort of behavior makes writing proper systemd unit files and containers a pain. It is a lot nicer to keep them 'attached' so that you can do things like capture stdout for logging and all that fun stuff.

That is what they are talking about when "daemonizing is considered undesirable".

lotharcable··on Why and how we’re migrating many of our servers from Linux to the BSDs
Kubernetes is one of those things that are only as complicated as you want it to be.

The problem with Kubernetes and complexity is that because it simplifies a lot of things that are a huge PITA to accomplish on a "homemade" server/container setup is that there are a huge number of products and things you can run on kubernetes to "do stuff".

And it is hard for a lot of people and organizations to resist the "oh shiny" aspect. Stuff like "Oh, look I can do network policies and service meshes!" or "Lets create this really complicated and big thing so we can configure all our AWS infrastructure with kubernetes objects! Who cares that a bad commit can destroy the infrastructure the cluster depends on along with our ability to manage any of it!" or "Look we can have lots of namespaces for all our internal orgs and departments, lets make a gigantic centrally managed Kubernetes cluster that will be managed by IT and that everybody will be forced to use at the same time! Putting all our eggs in one basket is a awesome idea!".

K8s sorta removes the barrier of entry that world normally stop people from implementing those sorts of bad ideas.

Otherwise the core vanilla Kubernetes isn't really that complicated compared to most DIY solutions that try to manage large numbers of apps on clusters of systems. Most of the time it ends up a lot more robust and simpler in the right hands.

lotharcable··on Why and how we’re migrating many of our servers from Linux to the BSDs
Sounds fair enough. I never used SGI personally. I was just repeating what I read while dealing with XFS issues back in the day.

Bad old days.

← PreviousPage 4 of 5Next →