mtbc: maze K (white-green)
In experimenting with generative AI, I find Mistral quite nicely conversational, hence in part my recently writing here about the advent of AI companions. In chatting with it about books, it wondered if I'd read Iain M. Banks' Consider Phlebas and, by coincidence, I happen to have that very book out from the library.

My borrowing the novel at all is another coincidence: I had checked the library's online catalogue and found no available copies. Then, I happened to see it on the shelves of a local branch. Curiosity piqued, I returned to the web interface and discovered awful UX flow: you find the book, click "Book" format, see an entry about the book, click to check branch availability, and see it's not available. You have to notice the "other formats" section, click around in that, and it finds other editions, some of which are available. I've passed the issue on to the library who can do no more than pass it up to their software provider.

In rereading the novel, I find myself at an unusual boundary point. Usually, I retain a fairly good memory of a typical novel for a few years. Once I've waited for long enough, I've mostly forgotten it and can reread it reasonably anew. My memory of Consider Phlebas feels betwixt the two: as I read each scene, I have a fair idea where it'll go but I don't know what the coming scenes hold.
mtbc: maze I (white-red)
In writing here previously on generative AI I had wondered what happens to society when people can routinely lose themselves in artificial worlds of their own design. I had been thinking from the point of view of their being able to act out dark fantasies then adjusting to the real world where they don't make the rules and their actions affect others.

Anticipated by many works of fiction over the years, I was slow to consider what may be a good side of advancements in training inference models. There are many people who don't have enough contact with friends, perhaps especially the elderly. We may not be far from a point where they can have some artificial companion, patient and configurable, that offers interesting and helpful conversation on whatever topics the user wishes, even joining them actively in some pursuits, far beyond Alexa who can do little more than reading out the results from web searches.

Such companions may be considered a poor substitute for human contact but I suppose that there are probably funded startups chasing this very market.
mtbc: maze F (cyan-black)
My sleep has not been great. Today, I awoke before 5am then was distracted by a tedious work issue with Discord and crypto wallets and suchlike. Unusually for me, I went back to sleep later in the morning, on our drawing room sofa. Our dog L. pawed at me sometimes, R. wonders if because worried by snoring, but I fell back to sleep each time.

What awoke me properly was what seemed to be a good few hundred Sikhs, we have quite a centrally located flat and their nagar keertan, with walking and music, passed by outside. I had not realized that Vaisakhi has come so I got up to see what was going on.

While I slept, R. had made lunch. After that, we took L. walking on Glasgow Green where there were even a few people sunbathing. We have been enjoying quite the unexpected consistent bout of sunny weather. Sometimes there is a cold wind too but today we were spared.
mtbc: maze I (white-red)
In my migrating servers from one provider to another, rather than to the first provider's new platform, it turned out that the first somehow missed that I had ended my services with them and thought that they were all continued into the new platform. Fortunately, they seem to have readily corrected their records, cancelled further invoices, etc. On learning that they had thus overbilled me, they assured me that a refund had been issued. After pressing them a couple of times on this refund's absence, it turned out that actually, there had been another mistake. I did get my refund in the end but, goodness, it helps confirm my decision to migrate.

Miscellany

Mar. 23rd, 2025 01:19 pm
mtbc: maze G (black-magenta)
Listening to old music )

Playing more with AI/LLMs. )

Money is tight. )

It occurred to me to try to remember all fifty states of the US. I thought I would do better, I could recall only forty-seven, my daughter did better and faster. I shan't disclose which I forgot in case a reader wants to try. It was annoying to note those I did forget: a reader here lives in one and I was open to moving to it a few years ago, and I used to work with a couple of people who hail from another.

It was interesting to hear of the flight chaos caused by London Heathrow's power loss, so many flights diverted and passengers ending up all over Western and Central Europe. That must have caused all sorts of problems and taken the airlines quite some effort to recover from.

We had a pet food delivery from Amazon (insert hisses and boos to taste) shortly after half-past seven on a Sunday morning which impressed neither me nor R. At a glance, I failed to find a summary on their website of when they think is reasonable to make residential deliveries but at least we now know that it may happen again.
mtbc: maze I (white-red)
With secure communication online (TLS, etc.) it is interesting to see how standards develop: older ways are later judged insecure and the community slowly moves onto newer ones. I have wondered if the security services, and others, record some of the more interesting traffic that they can't decrypt yet in the hope that new developments might someday reveal the content of those once-private communications. People move on to different algorithms for actual reasons. Even if past the statute of limitations for prosecution, such records may still yield useful intelligence.

Now, given my job, I think about cryptocurrency more. There are some currencies, popular for payments for illegal services, that are designed to obscure the details of transfers. Even with normal cryptocurrencies, whose transfers are easily observed, there are tumblers which are busy accounts that take in many and various payments, and make payouts differently and rather later, so as to obscure the flows: they make it difficult to match the incoming funds against the outgoing.

I had already been wondering if statistical analysis of activity around tumblers may at least circumstantially reveal repeated flows for habitual users. Now I also wonder if some of the privacy-enhanced cryptocurrencies may be found to be less private than currently assumed, which would be interesting given that the blockchain records all the data publicly and long-term.

In short: as new discoveries uncover historical information, perhaps some people have bad surprises waiting for them.
mtbc: maze I (white-red)
At work, I had to learn about a particular distributed cryptocurrency exchange. Liquidity is provided by set of reserves that each contain coins of two different kinds, an equal value of each.

For pricing an exchange "from" the coin we hold "to" the coin we want, using one of these reserves of two different kinds of coin, we have:
rf
how much of the "from" coin is in the reserve
rt
how much of the "to" coin is in the reserve
af
how much of the "from" coin we want to exchange
at
how much of the "to" coin we are to receive
cn
a constant determining the transaction cost
cd
another constant determining the transaction cost, a little larger than cn
It turns out that we decide how much currency users receive by,

at = (af × rt × cn) / (af × cn + rf × cd)

I found this quite interesting. In my ignorance, I don't know if it's a standard approach for such currency exchanges. The formula seems to have some reasonable properties, in terms of things like how the price increases as one's swapping to a currency that there is now less of (or would be less of after the swap).

(Dreamwidth doesn't appear to allow <math> markup so I did what I could.)
mtbc: maze N (blue-white)
I think it silly of His Majesty's Government to have switched from issuing physical visas to virtual "eVisas" that one checks by typing an alphanumeric code into a government website. It assumes far too much of mobile data connectivity when one is in some random place where one's documents are being checked. Further, what actually happens is absurd: people get you to show them your visa details in the web browser on your own mobile telephone, something easily faked.

Presumably thrilled with this success, apparently the Government is now moving on to introducing digital driving licences. For the moment, these are to be an optional add-on beyond the physical photocard, presumably most welcomed by those non-immigrants who would also like an easy way to fake their details. I suppose that I can imagine a version that shows a QR code bearing cryptographically signed data that can be verified by some reader, even printed out as insurance against device failure, but, given the eVisa implementation, I am not holding my breath for such.
mtbc: maze I (white-red)
With using LLMs in two of my three latest jobs, I have been trying to embrace them a little more than I was inclined to initially, to try to see what uses I may have for them. There are some applications that don't need reliable perfection, after all. I can see, for instance, that, for image editing, one can probably readily see if the prompting and model achieved the desired effect.

It also occurred to me that, when I ask friends for their opinion or thoughts on something, I don't expect perfection from them either, and that with an LLM I don't have to consider if I might try its patience. Sometimes, I can appreciate a good guess.

As an experiment, I tried asking an OpenAI model about something I still don't understand: how the hidden variables theory was disproved (i.e., why we are sure that God plays dice) and it span me an interesting explanation of how hidden variables would violate locality. I should have tried probing that a little more but I instead wondered if quantum entanglement doesn't also violate locality and OpenAI seemed to think it does, so I shrugged and got back to my actual work. I can see the appeal of taking a bit more time to interrogate it and, with that kind of question, it has probably been trained on enough material to become fairly trustworthy. It's not as if anything relies on my being correct about such matters anyway.
mtbc: maze I (white-red)
Finally, I got around to the virtual server migration, rather last-minute. At least, I got the more critical parts, DNS and e-mail, working sufficiently the day before the deadline. I will get around to the other parts over time. It was fun to get back into that kind of work, and interesting to be reminded of how I had set things up previously. Thank you to those who offered suggestions: in the end, Mythic Beasts looked very much to be the right kind of provider and, so far, I am happy with the move to them.

Apart from other services, even my initial ones still need a bit of work: get my zones offered by the provider's DNS too, review the SSL certificates for SMTP/IMAP, sort out DMARC, etc. Still, things are already working well enough that I'll continue at my convenience.
mtbc: maze F (cyan-black)
Today was a very windy day. Schools and stores closed. Fortunately, we didn't have to go out, except for taking L. the dog outside every so often. A lorry blew over on the nearby busy bridge. I wondered if the wind would bring power lines down but we still have electricity.

In work, I wrestled with Node.js and TypeScript and finally saw some success that enables better progress henceforth. Neither is my forte but with luck I learned enough to be faster next time.

Update: The following morning, we had hail then sleet.
mtbc: maze I (white-red)
At work, I am on a project that uses large language models (LLMs), an instance of the modern AI fad that brought us ChatGPT and, relatedly, image generators and suchlike. Personally, I am not into gaming and I don't own computers that have reasonable GPUs, and I have little use for systems that can deliver me results that are rather more plausible than they are trustworthy. My preference remains for the more traditional kind of AI centered on knowledge-based reasoning, though I concede that deep learning boasts some impressive successes.

Now that I am digging into modern AI a little for my day job, it becomes more obvious to me what everybody else probably realized years ago. First, I find myself tempted to use it for inane questions like recommendations from restaurant menus for kinds of people. That would be a lot of pointless computation: with each of us using LLMs for whatever comes to mind, just as we might ask our friends what they think, it sounds about as bad as proof of work for accelerating climate catastrophe.

Secondly, in reviewing various available models it became apparent that uncensored models are readily available, there can be guards and such applied subsequently. Many models are probably trained on all manner of material from the Internet, some of it from the sewer. Perhaps one can buy oneself decent graphics hardware, download uncensored models, then privately indulge whatever interactive fantasies come to mind. This goes back to previous questions on the effect of people being able to play violent video games or watch extreme pornography. Are we approaching a world in which anybody can immerse themselves in the particular virtual depravity of their choosing and, if so, what does that mean for society? I suppose that we will find out.
mtbc: maze I (white-red)
Perhaps through our Amazon account, Alexa seems to have the ability to play us songs on request. However, I typically find the experience more frustrating than it is worth. Sometimes it will pick some strange new mix of a song, rather than the well-known original that I wanted. Today, when I tried, first I aimed for a choral work, where it found me the non-choral euphonium version. So, changing gear, I aimed instead for the Song of the Volga Boatmen, thus discovering that there are songs by some group called the Boatmen, then next try it offered the Glenn Miller treatment. Thinking that mainstream classical should be easy, then I tried for the Arrival of the Queen of Sheba, which had Alexa talking to me about watching Queen of the Damned. So, I gave up and listened to the radio instead. The strategy of suggesting a likely artist for the title is differently frustrating because, on failure, Alexa launches into something else by that artist.
mtbc: maze I (white-red)
I am a Professional Member of the British Computer Society (BCS) who handle accreditation for my Chartered IT Professional (CITP) status. At the moment, I do not much use my membership except for being able to list it on my resumé. The royal charter granted by the Privy Council to the BCS allows them to award such status so, under the established British conventions, I can reasonably use MBCS, CITP post-nominally after my MA (Cantab).

My latest annual renewal fee was £216 and, right now, money is tight. I went ahead and paid it but I wonder how much employers actually notice and care. I used my membership a little more during the COVID-19 pandemic when more talks were broadcast online but, between work and family, I have little time at the moment for interacting with fellow professionals, etc. and even less for travelling to do so. I suppose that I shall see how things stand when renewal next comes around.
mtbc: maze I (white-red)
My programming at work recently has mostly followed a familiar sequence. For each component,

  1. figure out how to make it work

  2. for a missing piece, write its code, rinse and repeat

  3. test and debug it.

Having finished that third step on Wednesday for a new page in a webapp, I am now in the midst of the second step for a related backend service.

The second step is hardest on my sleep when I think about detail of what to do next and just want to get up and do it. It is also the most interesting with its rinse and repeat in that, even if I do not start with a complete picture, if I keep filling in the next piece that I see that I need then eventually I end up having done them all. Sometimes, I find myself building a scaffold of increasing abstraction, such that I build pieces that enable other pieces to be built more easily: earlier pieces make the shape of other pieces clearer and simpler. Fortunately, it always seems that if any pieces remain to be done then at least one of them has a clear path forward, so they all get done in the end.

It made sense to complete my work on the webapp component first because the product and user experience people can test and improve it while I work on the less visible and interactive facets of the project. Further, the component I am working on now isn't strictly required for launch as long as it follows soon afterward. I expect to be able to finish it this coming week.

Telescopes

Dec. 7th, 2024 05:27 pm
mtbc: maze I (white-red)
I was taking a look at what reasonable but cheap telescopes exist these days. Some of the marketing is funny, e.g., the SkyWatcher Evostar range is probably better for objects rather nearer to us than stars. Among the first things I noticed in looking at Celestron's products was how many modern telescopes now come wireless-enabled with apps to control them. I would be less sure of finding them still usable decades later, compared with say, my father's refractor from the 1960s.

I would also be sceptical of software quality partly because, back when I worked on software used by professionals who pay many thousands of pounds for their microscopes, it was clear that the microscope hardware was often of far better quality than the software with which the manufacturers lumbered their users. Goodness knows I am not easygoing when it comes to user experience, hence my grumbling ever since smart telephones and televisions became dominant, so I am cautious when it comes to buying software-dependent products.
mtbc: maze I (white-red)
I appreciate that my job presents me with some interesting design challenges. In past jobs, I had to think about distributed systems whose state could be accessed easily. )

In my current job, I have to create webapps that are backed by a database and a blockchain. Blockchains turn out to be tricky to deal with. )

My set of services has to make transactions happen exactly once. )

The system of services coordinating via the database is satisfying to figure out, the blockchain interaction is partly a matter of making a best guess given the nature of the beast. In my current project, I finally got to write some simple smart contract code and it worked as hoped. More broadly, it is nice to see things working well but it takes some thought to get there.
mtbc: maze I (white-red)
On one of my work trips to London, EasyJet failed somewhat for the departure back home. They called us to the gate for the delayed flight far too early, especially given that the gate was small with hardly any seats. After having our boarding passes checked, we all got to stand in a small area watching the arriving passengers disembark, then continued standing for much longer while some system loudly played the last call announcement for the flight over and over and over again. Talking to somebody else afterward, they did the same for another flight.

For the same departure, it took quite some time to even get airside because security kept stopping altogether for no obvious reason; the staff and passengers would stand around, waiting for the music to restart or whatever.

An interesting thing I learned on the work trip was about BCPL, an ancestor of C. I may be misconstruing some details but the approximate story is that its simple compact bytecode is such that the interpreter core and your bytecode programme together may run even faster than a straight machine code version of your programme because they fit better into the processor's level-one cache. It seems plausible though I couldn't find a confirmatory reference at a glance.
mtbc: maze I (white-red)
I was thinking how tricky interest rate calculations might be for institutions. One typically wants to quote an annual percentage but give interest more often than that. In terms of how the payments add up to the annual total, we certainly don't want that sum to be less than the quoted percentage but we would also rather it be as low as possible. Yet, when we pay interest, it's not like we pay exactly a twelfth root or whatever, or probably even calculate roots as precisely as we could, and we somehow round each payment to probably just a couple of places depending on the currency we're using. Further, absent withdrawals, the interest payments increase steadily due to compounding. In practice, I wonder how institutions deal with such payment calculations where each is rounded yet what matters is the sum of the payments.
mtbc: maze I (white-red)
My server hosting provider's retiring the framework I'm currently using so I get to install onto new servers somewhere. I don't need value-added services, I just need to be able to install onto cheap virtual servers from my chosen image (currently NetBSD), get network and console access, and have my server instances provide services from static IPs. Time to look around for options, simple and UK- or US-based would be ideal.

Profile

mtbc: photograph of me (Default)
Mark T. B. Carroll

May 2025

S M T W T F S
    123
456 78910
11 121314 15 16 17
18 19202122 2324
25262728293031

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 24th, 2025 05:34 pm
Powered by Dreamwidth Studios