Try it on earth.
Surely it wouldn't be hard for the Chinese to ship one of their docking adaptors (without space station attached!) over to SpaceX, so that SpaceX could hack up a variant of what they use that will properly mate with the Chinese one?
434 publicly visible posts • joined 8 Jul 2009
I've read on stuff for formatting comments here. I don't have a badge, so I can't use < pre >. Gonna try anyway:
Nope, nor does blockquote or code (I don't know that one)
Any other suggestions I can try?
As a programmer, posting little code snippets is a natural thing for me.
Conceptually makes sense. The big issue, at least in my case, is that the conversion factors are continually changing. So, they could not be compiled into a "program". Even if you only ran the "program" right after updating it, you'd want the updating to be automatic, so you would need your "compiler" able to go fetch them from whatever authority maintains them. (Is there such a single authority? I'm a bytes guy, not a money guy.)
Thanks to both of you for bringing up Valgrind. Caused me to read a bit more on Wikipedia, answering my question about whether it worked on C sources or on binary files. The fact it uses the latter is good, since it should work on binaries produced by my Zed compiler.
A friend ran valgrind (Memcheck I think) on my earlier Zed stuff and found one uninitialized variable, easily fixed. It also reported a problem that I was not able to track down - the badness seems to have been going through my bytecode engine's memory.... That *should* have been OK, but it would have required some "interesting" hacks to try to chase it further.
Now that I have "zedc" the standalone compiler, I should be able to valgrind it (biggest program I have used it on so far is 2K lines of Zed). Valgrind the compilation, then Valgrind the test program - whee!
Ok, I was wondering if that type of size change was what you had in mind. You need to also pay attention to the signed/unsigned attribute. If the starting value is signed, then the sign bit will be extended as needed. If the starting value is unsigned, padding 0 bits are inserted. You *do* need to be fully aware of when you are expanding numerics, but most code never has to worry about it. Whether or not you check for loss of value on a size reduction will depend on the "level" of your programming language, and then on what it's rules are for specific situations. I've avoided that issue in Zed by only having low-level sized types. 'uint' and 'sint' are only ever 64 bits.
Disagree, at least as far as strongly typed compiled languages are concerned. Type 'bool' is true/false. If you want more, then feel free to add such a type to your programming language, but the historic use of the simple 'bool' is very strong.
In my AmigaMUD programming language, type "status" had values "success", "failure", "continue" to deal with attempts to do things in the game world. What you need/want depends on what you are doing and the context. Leave 'bool' alone.
Fun! How much do you use it? I put a full "Measures and Units" facility into my Zed language. My thought is that could help folks doing scientific, etc. programming. I've never used it myself. :/) The only run-time aspect is that of finding a good scale factor for output. Took a bit, but found my fun example: (Sorry, don't know how to format stuff for El Reg comments!)
proc
BttF(bool useLightning)void:
var ampVec := getCurrentCurrents(), totalCurrent := 0.(A);
for i from 0 upto getBound(ampVec) - 1 do
totalCurrent := totalCurrent + ampVec[i];
od;
float(V) voltage := if useLightning then 1_000_000.(V) else 12.(V) fi;
/* *How* many jigga-watts?!!?! */
con power := totalCurrent * voltage;
Fmt("Power = ", power, " [", power :: gUs, "] {", power :: gUsn, "}");
corp;
Output:
Power = +0.121006e+010(A*V) [1.21(GW)] {1.21(gigawatt)}
Compiled language don't do the kind of type conversions that run-time-typed languages do (can't say about Python - its years since I did a few experiments with it). I've actually used both Algol-W and Pascal (long long ago), and neither does that sort of thing.
The problem with not declaring a type for variables is that the variables can then be used in expressions, and then you don't really know what is going on without finding the variable's declaration and carefully evaluating the type resulting from the expression assigned to it.
By declaring the type of a variable you reduce the effort needed to understand the code - you only need to look at the declaration to know - not any later uses. Taking the type from the initialization expression can be difficult for a human reading unfamiliar code.
One of the minor quandries I have when programming in my Zed language (new, compiled, strongly typed, to native binary) is which form to use for simple declarations. "bool flag := <bool expression>" and "var flag := <bool expression>" both do the same thing. But, with "var" (more often "con" when it is something that won't change later in the code) you can setup multiple simple variables of differing types on the same line. With "bool" starting the declaration you can only setup "bool" variables. Most languages I know have these niggles.
((Liam: progress is slow - currently I use "gcc" to link the compiler, and in my latest experiments it crashes something call "bfd" which seems to be part of "ld". My old route of creating several .a's and linking with those still works fine.))
On a long enough mission 'nauts might get used to tubes of flavoured mush. Then, coming back to Earth and trying to eat all this stuff with weird shape and *textures* might actually be a problem. Recognizeable hunks of animals and plants - Ughh!
(At a Christmas dinner years ago, a family friend would eat slices of turkey breast, but wouldn't touch wings or drumsticks. Turns out he was OK with stuff as long as it wasn't physically recognizeable.)
I got it different too (Canada).
Thanks to El Reg for pointing this out. I turned off nearly everything. Signing in was weird - it didn't work at all, but then I tried a direct URL for my "account", and that worked, on the second try. They *really* don't want you to go away - I've never used LinkedIn to look for a job - it was just an online group for ex-employees of the second-last company I worked for long ago. Wheeeee!
"App"? Wot's that? :-)
A friend of mine has run a lot of multi-precision integer arithmetic loads. I don't know if he has ever used GMP - he wrote his own library in assembler (and yes, we glued it into Zed). His computers only last a couple of years - he runs them *hard*. Sorry, I have no more details.
Been working on Draco's successor for quite some time. Getting there. I now have a compiler written in itself that generates X86-64 code on Linux. The language is huge, but quite Draco-like. I took some time a couple years back to try porting Amiga Empire to it. One or two routines in the world generator compiled without change. Stalled on trying to have a single server handle all the clients directly - will need to do something like "inetd" on my Linux box, or maybe use "vfork". A very out of date version of the language is here:
http://www.graysage.com/Zed/New/
Note the "http" - I haven't gone to the effort to support "https" yet.
I just checked and there are no Amigas in my closets here. I did pass some on to a friend who was going to put them in one of his storage lockers. Don't know what he has left - his life has become *very* busy.
A1000 - first off the official monitor wasn't available, so the store loaned me a green-screen one. Very slow BASIC Mandelbrot in shades of green. Long live the keyboard garage! The SOTS (Slap On The Side) hard drives never worked, so the store and I agreed to an upgrade:
A2000 - eventually got the 68020 board turning it into an A2500.
A3000 - workhorse - eventually bought a second as backup, but never needed it, but see below.
A4000T - bought this *after* I heard that they were going under - I was in the middle of a lot of programming and did not want to switch machines at that point.
At times in there I would be running Amiga Empire or AmigaMUD with two modems. Another period I ran the Amiga UUCP package and was a forwarder for news/email.
I got an ethernet card at one point - that would have been for an A3000 I think. Work let me put it on the network in their machine room, so it was running Empire or AmigaMUD (both??) right on the internet for a while.
It's been quite a while since I had UAE running - I don't think ever on this current Linux box. Probably good - saves lots of time! :-)
Why would any reasonable government (and I know this doesn't currently include the USA) *allow* someone to bury biomass? Most, if not all, biomass can be turned into plant growth. Plants take raw CO2 out of the atmosphere, add moisture to the atmosphere, reduce the albedo of the land - causing cooling, can provide food, and some even provide much-desired shade. And then to allow this ridiculous practice to serve as a carbon credit???
In lots of places, you should just mix it with the ubiquitous sand, then throw some seeds into it.
Yeah, but the Delete option is now in "more options". It's pretty much the only one I ever want - I've never been a Trashcan user, even back in my Amiga days.
Also, what on earth does "Copy by path" (or whatever it is - I'm safely back on my Linux box) do?
Thanks for this! I've sent the URL to some friends/family.
I had to get a Win11 laptop to access my local government healthcare pages to see test results, etc. (WSA also runs my new programming language compiler just fine, so it's a good test, too!). The number of "F*** O**" shouts was quite high on first use, but after I went through everything in settings, it was reduced a lot. I had gotten about half of what you suggest. I've never used a local Search capability, so that didn't show up (maybe I removed it from the bar thingy). I can readily find *my* stuff - on Linux its programs with weird names that I can't find (very poor memory for fact-like things), so I rely on menus to help there.
What the article said is that the communication is only between the controlling locomotive and the FRED. The FRED is only on the last car of the train. So, only that one radio link needs to be updated. What I don't know is how the FRED actually controls all of the freight cars ahead of it. My guess is that its the same way as the brakeman in the caboose/brake-van did - open the valve on the air line, letting all the air spew out. With no air pressure, all the brakes in the train will activate - eventually.
My understanding of this comes from being a model railroad fan, and so watching lots of YouTube videos. At least here in North America big trucks are the same setup - let the air out and the brakes all activate. You have to connect the air hoses before the brakes on a trailer will release.
The days of manual brake wheels on top of boxcars, etc. are long gone.
Good progress. Even better would be more progress.
Also, I've thought for years that direct thermal power generation would be a godsend. It already exists, but not for practical use. The article here mentions that the "CHESS" stuff works for it too. Here's hoping that that aspect can be made practical.
I like the step counter and the heart-rate monitor. But you can get step counters right on your phone, I think. So, I'd say it is mostly psychological - having a thing on your wrist that you know is tracking stuff could be a subconscious prod to *do* something.
Also, you might be a weirdo who likes to change the watch-face every day.... :-)
I've stuck with the main face on my current watch, since it has the most info right there, plus a tap to bring up the phone call stuff, and one to bring up heart-rate monitoring right away. Darn thing often gets the outdoor temperature wrong though - that's the fault of the app on the phone, however. Oh yes, they all have different control apps. :-(
The things are cheap enough on Amazon that you can afford to do just that. You'll have to fiddle with your phone settings to switch to a different watch, however. Just go with some generic Chinese brand - you can get smartwatch's for as little as $15, and the quality seems to be pretty good. Just think about your requirements - for example, do you require it to be able to answer/make phone calls through your smartphone? The $15 one doesn't have mic/speaker so can't. Slightly higher priced ones can. All do heart-rate tracking, step counting, blood oxygen level. All of the ones I've encountered have far more exercise/fitness stuff than anyone needs. The $15 one tries to do blood pressure monitoring, but I think it was reading high for me.
Ah yes. Long, long ago I took a somewhat-longer-than-usual Christmas vacation with my parents. They of course had a windows computer, not a proper Linux computer. My email then was on my own domain on my home computer (gee, just like now!), and I didn't attempt to allow email access remotely (POP/IMAP). So, I exported my usual session over X. I put a Linux distribution on a USB stick and booted the parent's machine from that. Slow, sure, but access to the X-session at home was all I needed it for. Made my stay much pleasanter. And yes, I only did it a couple of hours a day.
Where do I upvote the article? :-)
A bit off-topic, but triggered by Liam's discussion of menus, etc.
Gnome has no title-bars? Yikes! No wonder I expunged it long ago.
I'm a person with a horrible memory for raw facts. The main reason I like menus (of any kind) is that they LIST OPTIONS. That can readily remind me what the names of the tools I need are. I'm afraid this is especially useful on Linux where geek programmers invent weird and hard-to-remember names for their programs/tools.
I spend the vast majority of non-browser computer time with a shell window and an emacs window. The "search tools" that various systems have are often useless to me since I don't remember the name of the tool I recall using - and I also might not recall the proper search terms to find the tool by function.
I've used Firefox for a long time. Something different back in my Amiga days, but I think that's about it. I'm not a heavy browser user, although it is open for a good percent of the day. The one significant plugin I use is "NoScript". I block things like tags.google.com, and anything from a social media site. Google searching works fine, as does YouTube - I even have a little-used channel there. I normally have only one tab open (two now - one for the comments, one for main El Reg) - speed has never been a problem for me.
I hit the website incompatibility issue with the government's healthcare portal which I needed to use. That caused me to buy a Win-11 laptop so I could access it. Also need the dam Teams viewer tool occasionally.
Thanks for the link to your older article, Liam. I saw the amd-64-v3 and had no idea what it meant. A google search was not enlightening. The cpuinfo command on my old system includes
CPU family: 21
Model: 1
Model name: AMD FX(tm)-8150 Eight-Core Processor
Stepping: 2
none of which is a "version". I did push harder on Google search and it popped up an AI reply that said the V3 comes from the Ryzen 3rd generation cores. So, my perfectly good computer is not new enough to run these Linux versions - FX family is too old.
I'm with you on that! I was in the middle of software development when they went under - working on an A3000. I thought about it a bit and then went and bought an A4000T. Worked with that for several years before getting a PC and Red Hat Linux - I *really* didn't want to have to change at that point, and I was employed, so could sort of afford it.
OK, you've prodded me enough.
They keyboard I'm using now says "Logitech K200" and it has worked fine for me for several years. The main problem is that some of the legend paint has worn off. I'm a touch typist (staring at the screen now), but sometimes the XCV bunch gets me.
I bought a mechanical keyboard a few years back at a local computer-ish place. MSI CK S??? (argh - the label is badly damaged). It was 5% off since it was opened, but looks fine. Says it has Cherry red keys. I'll try it later today. If it fries my computer its your fault!
This would be perfect for me if I didn't have real work to do! Before Linux I was heavily into Amigas (1000, 2000/2500, 3000, 4000T) for both games (not seriously - I'm terrible at all of them) and development. I settled on Mate after Gnome went bonkers because I want just one tool, etc. bar that I can put on the right side of my portrait orientation monitor. And, it has everything via menus, so I don't have to attempt to remember function keys, swipes, etc. A release or two back on my current system I had UAE up and running so that I could re-play my AmigaMUD and Explore/Amelon games. Pathetic, I know.
I wish!
I've been a Linux user since way back to the original Red Hat. The local government has medical information online now, and I wanted to be able to access it. After going back and forth with their tech support, it was determined that their site does not support browsing from Linux. I could probably find out how (if its still possible) to make my browser fake the identification string. Instead, I bought a fairly cheap laptop with Windows 11 (I can't count how many times I yelled at it for popping up stuff that wanted me to spend more money! Or just didn't seem to want to work reasonably (by my standards)). Also I hate the chicklet keyboard. The only good thing about it is that after I put WSL2 on it, I have another test bed for my compiler. :-)
Way kewl! Brings back memories of playing with old Teletype machines, etc.
That Flexowriter is much smaller than the big desk teletype we got from a seller (government surplus??). That one came on its own steel desk that you could park a car on. The solenoid for the paper tape punch could probably have punched a hole through your hand if you could get it in the wrong place! The reader was a whole separate unit that you could slide out.
My friend spent hours tracing the circuits in the beast.
The mechanicals in those old Baudot (sp?) machines was magical to watch.
I for one quite like the concept.
The current stuff is way too complex for me - with my poor memory for pure facts, I have a hard time finding things not my own, or knowing how to do stuff that folks like Liam can instantly access. For example, when an update to Apache comes along that changes the config files, I refer to a piece of paper beside my monitor that says "systemctl stop apache2" to stop the server so I can then go undo any config file changes I don't like (I run an absolutely minimum configuration). Similar for the mail server.
Having fewer directories, with meaningful names, could make things a lot easier. Do they also do it for things like the maze of C header files? As a programmer, I curse every time I have to actually find an active definition for something in, say, the "bits" universe. I sort-of understand how the arrangement came to be, but I certainly don't like it.
I first hit UNIX systems on a PDP-11, then SunOS, so I do know the basic structure, but I'm waaay out of date, and always will be.
Looks like pretty good code to me. I have familiarity with 8080 code from decades ago, and that helps. Figuring out the meaning of stuff in the assembler, and twisting my brain to octal (been a hex guy for decades) takes some effort. Lots of comments in the code, which is good - way too many "programmers" nowadays either don't comment, or have terrible comments. I haven't spent more than a few minutes, but it looks like the whole thing uses lots of lookups in tables. Uses CPU status flags as character classification - nice!
As a computer *user*, I'd say that desktops, GUI's etc. *should* be boring. They are tools that should help me get my work done. One of the big things there is that they should be predictable, and not depend on precise muscle memory for easy use.
That is of course the complete opposite of modern Windows and Google-branded Android (haven't played with a Samsung Android, but I do recall that the older versions were quite usable).
This article does indeed bring back some memories!
I don't think any of the UofA lab PDP's had floppy drives. That top unit is a fancier version of what I had on my first/second home machines - dual 8-inch floppies. Clunk! Whirrr! Clunk!
I *think* the only DEC machines I used were a PDP-11/45, a PDP-11/60, a PDP-9 and a fairly large VAX setup.
The predecessor of Draco was developed on the 11/60, until I found that the beast wouldn't execute some instructions properly (it did not like to be treated as a stack machine!), so I was let onto the 11/45.