6,340 karma · joined December 30, 2021
I am not complaining, I like the feeling that I could single handedly rebuild the internet using only what is found in an openbsd base install. But wow, considering the size there is a lot in there. They definitely punch above their weight.
For example you can imagine my disappointment when I discovered what a pain in the ass it is to get a pflow producer working on linux after doing the first one on openbsd.
We use monospace fonts for a reason, they stack in a grid nicely. But within the confines of that grid there is room to shift a character left or right a bit which may lead to a nicer to read monospace. (it is equally likely to lead to a hideous mess, every time a letter would shift left it would leave a larger space right)
from log join ua_data on log.useragent ~ ua_data.match_exp
It was intractable to indexing (gin can almost do it. using like instead of ~ but gin only works on pure prefix or suffix matches) so I moved on to better things.Very few people appear happy to receive generated content. It is fun to make however.
We as a society will probably figure this out(and look back fondly on the days of real handcrafted artisanal writing) but for now there is a lot of tension between the two sides.
I know I loose all interest in a thing when I learn it is generated.
In my specific case it was to save youtube videos when it was still a flash player. the video would be cached in a file but that file would be inaccessible because it was "open" hobocopy to the rescue. On linux it would make then delete the file depending on the open file descriptor to keep it around. The way to save it was to relink another name onto the inode. I can't quite remember but on linux I think you could use a /proc entry to get that inode and on obsd I would use fstat to find it and fsdb to make the relink.
As a unix aficionado I despise windows open file locking with a passion. Sure I understand it is probably more correct, An open file could be in any sort of corrupted state the only safe thing to do is default to single access and locking. But it is far more respectful to the user to just let them grab it whenever they want to. corruption be dammed.
If I parsed an emailAddress the thing that came out it would look like {'domain':'example.com', 'user':'john-doe'} or emailaddr.domain emailaddr.user and a emailaddr.address method if you like that form. Even if what I parsed ended up as a single string-like field, I would still name that field. emailaddr.address
Salutes for the bit on hiding the constructor, that makes a lot of sense.
It probably does not help anything that in my one attempt at making a javascript web application I did not bother trying to understand how javascript likes it's objects and just forced a python looking model onto it. If any of the web development team saw my code I would definitely get laughed out of the club.
I don't speak typescript so am probably missing something obvious. but. why would you parse an email(or anything really) into a string? (or string equivalent) When parsed it will end up as a specific email object, that is, something closer to a C struct. What is the articles dance doing?
the articles definition "a liquid’s ability to maintain contact with a solid surface" Water has this property therefor water is wet.
On the topic of silly semantics, science as a discipline has the tendency to paint itself into linguistic paradoxes where the words does not mean what it means.
An example is "bug" where there is a (sighs) true bug(a very specific type of insect) But the one that really bothers me is Stonehenge. Stonehenge is the origin of the term, it literally means hanging stone. but... they started cataloging other similar circle-of-stone type monuments and calling them henges, a henge got defined to be more specifically a circle of stones with an inner ditch. But Stonehenge has an outer ditch.... So Stonehenge is not a henge... (Sighs again).
Half joking because if you are really into TTD The Simutrans interface feels terible(It looks like TTD but does not feel like TTD, this is often why photoshop people hate the gimp so much) but...
I started with simutrans, and have a hard time with ttd. Their systems disgust me in a way that they probably should not but it is that same bugbear, it looks like simutrans but does not feel like simutrans.
If anyone does try it out, beware pak128. The paks are more like mods that change the goods and price ratios rather than the mere graphics updates that their name would suggest. As someone who plays the hell out of pak64 I can't make a functioning network in pak128. I almost suspect it is broken. The price ratios just never work out. pak192comic however, is easy, fun and looks good.
https://www.simutrans.com it is also free on steam, probably the easiest way to play.
If I had to describe the difference, it is that simutrans tries a little harder with it's systems, it take a little more care to make a functioning network in simutrans. Factories have specific destinations and storage sizes. for example iron ore to steel mill will jam full if you fail to deliver the steel to the car factory and no steel will be made if you fail to deliver the coal it needs. So freight network revenue is fragile until the entire chain is complete. Passenger service is tricky because the passengers want to go somewhere(exactwhere is not specified, you have to treat it statistically). If your network does not go there they won't take your trains. So the ideal is to have service everywhere, but you you have to start small and small pax networks make no money, thus why it is tricky. The money is made on the fast long distance routes, and you take a loss on the slow urban routes just to make sure you have their destination/origin covered.
Piracy is a real crime, I am tempted to describe it as theft of goods under transport. But it is probably much more complex than that. It also shares many similarities with organized crime(a company of men decide to ignore the law).
Anyway you slice it, people probably just want the crime to sound(worse/cooler) than it really is. It always sorts of bugs me to equate one of the worst crimes to one of the least. Might as well call it "software rape" at that point. And that is probably closer to the actual crime than piracy.
"Asking a computer to not copy things is like asking water to not be wet."
https://www.youtube.com/watch?v=Up0LNTMPnjI Pegasus to the Rescue: 'The Edge of Feasibility' (Alexander the ok)
Update: no, the answer is no.
It may be possible to port it to other architectures but the only build targets are i386 and amd64. I suspect a powerpc build would be a huge messy project.
A mid sized cargo ship has a 50_000Kw engine. A mid sized offshore wind turbine makes 1_000_000Kw. So depending on which way the wind is blowing it could work. Put a diesel electric drive and a full sized engine then use the wind turbine to see how much it could reduce fuel use. I was even having fun dreaming about the incidentals. how hard it would be to build a folding/quick assembly mechanism for the turbine to make harbor/bridge/crane access problems go away. could we duel purpose the wind turbine boom as a crane boom. Would a vertical turbine make sense?
While reading up on wind turbines I ran across the depressing story of the small ferry Hornblower Hybrid. A lot of hype on how environmentally friendly it was in 2008 when it was retrofitted with two vertical turbines. But my first though was "those turbines look awful small" and they are, the best they could do is power the lights not the boat itself. The boat itself was retro fitted in 2024 and lost it's electric drive. https://en.wikipedia.org/wiki/Hornblower_Hybrid
I bet even if it would work from an energy point of view, the extra complexity of the system would make it more expensive than a straight diesel ship from an operations and maintenance point of view.
From above(the manager of the program) the job is to budget the funds thriftily and fairly, each project getting the amount it needs.
From below(the team working on the project) this feels like you are punished if you are able to save money and rewarded when you waste money.
I suspect this is probably the major problem with having a more command orientated economy. While it should be fairer(free market economies are notoriously unfair). The inversion in incentive hurts performance.
If you want me to pay for your compiler it must be that much better than the compiler I can get for free that allows me much more freedom of agency in how I use it, if it is not I am going to use the free compiler. repeat for operating systems, word processors, databases and now LLM's