Better HN
topnewbestaskshowjobs
Log inSign up

somat

6,364 karma · joined Dec 30, 2021 (4y ago) · 2,381 submissions

Runs the outband public shell accounts at https://www.public.outband.net
Submissions

comment 1d ago · link · parent

Electric trailer brakes are interesting mechanically as well, the naive thought is that they would work like hydraulic brakes, just replace the hydraulic actuator with an electric one, but it would take an excessive amount of current and a very large solenoid to do that. So what they actually do is have a small electromagnet grab the side of the brake drum and use the drag from that to apply pressure on the brake pads, basically using a small brake to run a large brake via levers. I thought it a rather clever solution to a problem I have never thought about before.

comment 1d ago · link · parent

An interesting question here is, What is a "christian"(or any religion really) game? Does it have to be a strictly educational title teaching the theory and history or does any game with a large representation of christian themes count?

For both definitions I would propose the Crusader Kings series as a major christian game.

My first thought was that Dante's inferno game, It has a lot of christian themes, but they are probably treated too frivolously to be thought of as a "christian game"

comment 1d ago · link · parent

It is largely what you are used to. But I really like openbsd as a desktop system, I run it as a slim no-frills traditional unix desktop(lots of terminals, simple tiling WM) everything is simple(not user friendly, but simple) and I feel I understand and am ahead of the system at all times. Heavy desktop environments and linux are fine, they are still good guys compared to windows, but the complexity starts making me feel like I am losing control of my system.

Aside from my weird fetish for how I like my desktop. I think where openbsd really excels is in the boring infrastructure department, minor low intensity services that keep stuff running in the background with no surprises, this is nothing that linux can't do, and if you are more familiar with linux go with that, but for stuff like a departmental or home level name servers, web servers, routers, mail servers, etc openbsd has close to zero fuss and drama and is fairly pleasant to sys-admin the old-fashioned way.

comment 2d ago · link · parent

It is sort of interesting how fascism and communism despite appearing to be on the opposite ends of the political spectrum end up in the same place. Fascism, as an economic policy, says the people making the economy(the corporation) should run the government. Communism says the people should run the economy, which as a practical measure basically means the government(the will of the people right, stop laughing) runs the corporations. But in both cases it ends up being a grand unified government run economy, surely nothing could go wrong with that, right?

Come for next weeks rant where I try and convince you that corporations are governments. hint it is all just groups of people and the rules that govern them.

And final thoughts: It is impossible(probably for a good reason) to discuss fascism as an economic theory without carrying along the tremendous sins of them who employed it. It is easier to talk about communism as a theory, but them that employed it have committed sins as bad if not worse. And capitalism gets free reign for some reason.

comment 3d ago · link · parent

My steam machine is netboot diskless nfs only.(probably a mistake, but I have a nice NAS and so leaned hard into it) However, having no swap worries me. for openbsd they document how to swap to nfs. But the linux docs say not to do that. What is the best practice here? swap to an iscsi block?

comment 4d ago · link · parent

Cadquery https://cadquery.github.io might be worth trying.

comment 6d ago · link · parent

The strategic commander always felt like it should have been more successful. On paper it is the perfect the missing half for the native PC FPS controller.

So, the mouse, If you had asked anyone to design a bespoke FPS controller, they would not design a mouse, yet somehow, this thing built to do something totally different, point at things on the screen, has proven to be the best fps controller, nobody has come up with anything better. Probably something about it's huge(for controller sizes) swing distance and absolute positioning.

The problem is the other half, the keyboard, on the one hand it is sort of nice to have 100+ buttons to use, but you almost never need that many and it stinks to only have binary(on/off) movement.

I have seen half controllers designed to solve this, but they never have enough buttons and are hard to hold, but the strategic commander, that makes one think, forget what it was built for, the RTS, it looks awkward as hell for that, but it does look perfect for the FPS.

comment 6d ago · link · parent

Why would you want to?

We have this display technology that is ideal for low/no power mostly static super high contrast(monochrome) displays, first thing some people ask "can I have it as a high power, quickly updating, low contrast(colored) display?"

Why? we have good displays for that use case. Why do you want to compromise on the features this type of display is good at to fit a use case it is bad at?

comment 1w ago · link · parent

On linux you(the end user) get the full source and ability to load or compile whatever kernel or kernel modules you want. So this avenue provides little utility to the anti-cheat vendors, the only reason they can pretend it works on windows, is that theoretically microsoft provides a known unchangeable kernel, and kernel modules are enumerated and signed, that is, impossible to hide and hard to install. Yeah, stop laughing, but that is what they hope to get out of it.

comment 1w ago · link · parent

Firefox recently went hard on really rounded corners in a recent version, and me being an antique interface connoisseur went "Oh hey, project athena is back" an aesthetic I find hideously ugly.

The fun thing is athena toolkit widgets can actually be made to look halfway decent. Put a "*shapeStyle: rectangle" in your xresources. My xmessages have never looked sharper. [1]

1. A blatant lie, I have it themed to look like an old amber monochrome monitor. But "if" I had employed some tasteful pastels my xmessages would look sharp. https://nl1.outband.net/image/xmessage.png

comment 1w ago · link · parent

Probably depends on the model of the scope, but I found it fairly easy to find a feature key generator to unlock scope features on mine. cough riglol.

comment 1w ago · link · parent

Unix itself was created as a rejection of robust software architecture and tools.

"I remarked to Dennis that easily half the code I was writing in Multics was error recovery code. He said, "We left all that stuff out of Unix. If there's an error, we have this routine called panic, and when it is called, the machine crashes, and you holler down the hall, 'Hey, reboot it.'"

-- Tom Van Vleck

Not that this is a bad thing, but unix was created as a hacker's toy, a small elegant system to play games on, This is why it is so fun to use. I mean, it is not really small or elegant anymore. but that is how it started, not as a robust correct business system. That is also why it got so popular. "A small hackable lowcost operating system with full source" colleges: yes please, and at a critical time in computing history, a very influential generation of hackers learned on it. Something now is better than perfect that does not exist, or that old cliche, worse is better.

comment 1w ago · link · parent

I think it makes a lot of sense.

Nearly everybody agrees that a neat formatting style is better and more readable than a messy inconsistent one. So while designing a programing language intended to be highly readable we jump two steps ahead. mandatory linting, make the neat format part of the syntax, remove the parts of the syntax now superfluous due to the mandatory neat format, and you have python.

14.

How the cure for scurvy was found, then lost(2010)(idlewords.com ↗)

1 points · by somat · 1w ago · discuss

comment 1w ago · link · parent

Only tangential, but it reminds me of how the cure for scurvy was found, then lost. https://idlewords.com/2010/03/scott_and_scurvy.htm Basicly, the danger of using something you don't understand. It mostly works, Until it doesn't and you can't fix it.

comment 1w ago · link · parent

Lifetime warranties are sort of a scam, mainly because they mean different things to each side of the transaction or perhaps even nothing. The customer thinks "my lifetime". The manufacturer, if honest thinks "the lifetime of us manufacturing the product", if dishonest "the lifetime of the product, when it breaks the warranty is over"

Does the manufacturer have to define what "lifetime" means? Perhaps buried in the small print somewhere.

comment 1w ago · link · parent

The other good story is the C-130 navigation computer freaking out when flying into Bar Yehuda https://avgeekery.com/challenge-flying-sea-level/

comment 1w ago · link · parent

I would bet the problem is not strictly the radios themselves, they will still work, Planes can talk to each other and directly to airports, But that there is a large scale highly integrated control center network that failed, and planes can no longer talk to centralized traffic control.

So it falls back to local control, more in the style of visual flight rules. Pilots in existing flights will have to be vigilant and do their own deconflictation and new flights are banned out until the network is back up.

All conjecture at this stage of course, but all the radios won't just fail. It is probably going to be a poster child example about the dangers of large scale integration. The attraction of course is that integration is very efficient, the danger is it tends to fail all at once instead of in smaller pieces.

comment 1w ago · link · parent

Not sure if this hurts or help the case for the gimp but that behavior is a tool option for the move command. It also temporarily toggles with shift.

    pick a layer or guide
    move the selected layers

comment 1w ago · link · parent

As a fellow word processor escapee, I sort of figured word processors were just something you outgrew. I liked the markup language/renderer workflow so much better, No weird internal state that can't see fighting with you for control of the document. Something like word perfect's show codes is a good start for exposing that internal state, but you still can't edit it. So a markup language and an explicit transform step into the typeset document is the final form. But obviously that does not happen for every one and people just get really good at manipulating the hidden state that so infuriated me and start to love the infernal things.

I don't really like spreadsheets for mostly the same reason, Their "big bag of cells" data model really started to bother me. I found that relational databases have a data model that agrees with me and have largely replaced my spreadsheets with them. The user interface sort of suffers in comparison to something like excel, but at least my rows stick together. (better at whole data set manipulation, worse at single cell ad-hoc edits)

You know why they call them word processors right... Well have you ever seen what a food processor does to food.

comment 1w ago · link · parent

Lunchtime doubly so"

--Douglas Adams

comment 1w ago · link · parent

I would say ACE, there is code executing out of the proscribed execution environment, (the rdbms). but it's not remote(needs existing authenticated access to the rdbms), so going with Arbitrary Code Execution.

comment 1w ago · link · parent

As an interesting thought experiment, if you do something like this and give your end users a full sql connection almost by definition you can't have a sql injection vulnerability, the database itself limits what access the clients have.

Now as to if this is actually a good idea and the database internal security is robust enough to handle full access, Well I have my doubts, It is a complicated poorly tested interface and results as disclosed by the article in question are probably not surprising.

I do run a toy application, where the experiment was to see if I could push all authentication and access control into the database, It is actually sort of neat not needing an auth layer in the application, but attacks like this were half expected.

see also: the schemaverse. A multiplayer space game where the game engine is postgres. https://github.com/Abstrct/Schemaverse

comment 1w ago · link · parent

For what it's worth, probably not much, net/openbsd still has raw devices /dev/rsd1a vs /dev/sd1a(the block device) while it looks like linux made them all block devices (unless opened a special way O_DIRECT) and freebsd(as best I can tell) made all devices raw. https://docs-archive.freebsd.org/doc/11.2-RELEASE/usr/local/...

So, on openbsd, make sure you use the raw device when writing images with dd, and in my experience you want to use dd because the block size on cat is too small. dd bs=64k if=image.file of=/dev/rsd2c (c on obsd is entire disk)

comment 1w ago · link · parent

There were several opensource tis-100 vm/interpreters made. Here is one I found, no idea if it is any good. https://github.com/melograph85/tis100

What I would always dream about was actual tis-100 like hardware, each module a small cheap microcontroller with 4 uarts(does that exist?) and a self interlocking module design so it is not constrained by a base chassis. And because I am insane, in-band programming, that is, each module needs to and can only be programmed by it's neighbors. It would be such a nightmare to actually make anything.

Heh, That would make for an interesting sequel. You thought tis-100 was obtuse and hard, now you have to design autonomous self duplicating code, it's the tis-400 virus processor.

comment 1w ago · link · parent

The "real" problem is the public suffix list. All domains should be considered public, that is, a sub domain gains no trust from it's parent domain.

There is a good argument that the public suffix list should be distributed via dns, and it is easy to propose a scheme for it. Two I know of are. A specific public suffix record marking a domain public or private. The presence of a soa record which already transfers the authority of a domain, should be used to determine if that sub domain is public or private.

But private unless in some third party list is the worst way to handle it.

comment 2w ago · link · parent

Sort of related, I had the dubious pleasure of using CMS(an IBM mainframe operating syste/userenviroment) for a while and it had an interesting take on pipes, fabulously overengineered. https://www.ibm.com/docs/en/SSB27U_7.1.0/com.ibm.zvm.v710.zv...

Making the natural comparison to unix pipes. I would say CMS pipes were better for complex pipe lines, the primitive names actually made sense and no need for that awkward setup stage on unix where named pipes need to live on the filesystem. But for simple pipes the unix syntax... felt better? Looking back on that manual now, simple cms pipes look fine, I don't remember why I felt they were worse than unix pipes.

Anyhow it is an interesting alternate take on what pipes could be.

comment 2w ago · link · parent

The web(html) is a hierarchical system and as such it's proper place in the world is mapped to the filesystem.

Which is honestly what I thought plan9's webfs https://man.cat-v.org/plan_9/4/webfs did and then you could use the filesystem api to parse it. But alas, I actually read the man page to double check, and it looks like it does the much more sane option and just fetches web resources(http), I am crushed.

But it may be a fun weekend project to see if that mapping could be done and where it fails. So not a complete loss.

comment 2w ago · link · parent

I have only ever seen fiber optics described in terms like "total internal reflectance" so it sort of blew my mind to consider them as waveguides for terahertz em fields, sort of obvious in hindsight, but most popular literature really appears to avoid thinking about light as a field preferring a photonic particle approach.

Which was one of many topics of that channel that also blew my mind, that photons might not exist, not as a particle anyhow, a photon(quantized amount of em field energy) is just how the em field interacts with matter. However because that is how we detect light, via it's interaction with matter, that interaction is probably the most important aspect. But it is totally possible to have sub-photonic levels of em-field.

comment 2w ago · link · parent

I even half believed them, old stable systems tend to suffer from version stagnation, where the major version stops moving. Not that that is a bad thing, it is just a sign that your software is mature, it no longer needs a major version jump. but having a vestigial number makes some people nervous and for commercial software hurts sales so they find different ways to change it.

Apple stuck at 10 for a long time. solution: drop the major

Linux stuck at 2. solution: randomly change major

12345
80