* Posts by Tom 7

8318 publicly visible posts • joined 11 Jun 2009

Raspberry Pi OS update beefs up security

Tom 7

I'd imagine when you try and login via ssh for the first time it will do that. But you've already got past the 'headless' if you're modifying the iso. I have about a dozen of the little buggers so I tend to set up one new sd and set all the things I want on it like SSH and VNC and a host of other things and then copy and dd that to other sdcards but for some reason I used etcher and it didnt drop its access to the sd until just long enough before I took it out for the system to mount the drives and now the bloody card wont even show on /dev so I'm trying to work out how to bring it back to life (along with about 10 others I've managed to bugger!

Tom 7

Find a local CoderDojo and take a gun.

Tom 7

And audio.

I've just trashed my microSD setting up a new install so cant check this without wandering next door and I cant be bothered but are these not set to local access only? You cant log into them unless you are on the machine or you have set them to be externally accessible?

Tom 7

Given the standard ISO does not have SSH enabled it would work exactly like current standard headless setups: either you just copying one youve set up with a new user or your booting the standard install ISO on something with keyboard and screen before sending it of headless into the world like a rich politician.

Happy birthday Windows 3.1, aka 'the one that Visual Basic kept crashing on'

Tom 7

Petzold!

I remember getting a copy of Petzold's Programming Windows 3.1 and tearing into it with glee. In a few hours I'd got a program where two of us on separate machines could text each other in a split window. By the following day we could text and modify the same drawing and the boss decided it was time to get back to proper work.

I found him trying to teach himself C not long later but he never got good enough to use the code he'd swiped.

DARPA says US hypersonic missile is ready for real world

Tom 7

Re: Missile Gap

Ballistic armour? Having seen what a stream of molten copper does at these sorts of speed I'm not sure things are actually solid at these sort of impact speeds. I have a feeling a spray of buck shot in front of them would at least upset the steering and possibly cause enough damage to the air intake to prevent the engine working. But then the simple speed of these things and their steerability makes it pretty hard to get in front of them let alone accurately enough to be of much impedance.

Tom 7

Re: Russia = Ouroboros

Well, that and the fact that anyone with the technical know how not in the forces has legged it!

First Light says it's hit nuclear fusion breakthrough with no fancy lasers, magnets

Tom 7

Tsar Bomba did what it was meant to. The Castle Bravo test was 2.5* larger than expected due to the Lithium7 not actually being inert as expected.

Tom 7

The main problem with fusion is you need things to get hot, very very very very hot. In fact so hot getting the energy out if it is difficult. While this method may look good I dont think the lithium is going to melt so much as vaporise. As indeed would anything near the target plate at the power levels require to be a powerstation.

And wasnt lithium the reason Castle Bravo was a bit more energetic than they expected?

OpenAI test drives caption-to-image-generating DALL·E 2

Tom 7

Thats not a Mowhawk thats a Sharks Fin.

TIA.

Amazon books rocket flights for its Kuiper broadband internet satellites

Tom 7

Be interesting to see what happens when there's a solar flare going on and it knocks down several of these things that short out the ionosphere! DIY Carrington event?

Tom 7

Earth renamed Krikkit

Is this, like no onshore wind in the UK, another attempt to prevent renewables working?

If you fire someone, don't let them hang around a month to finish code

Tom 7

Shirley that was what macros were for? People used to complain about pointers in C, I wrote some code which was basically tables of ops managing tables of lists managing tables of selectable options and staring at rows of asterixes did my head in so I just put a few defines into a header and the whole thing became a doddle.The thing about coding is there is always a way to make your life a lot easier if you just take the time to ensure your arse is properly scratched!

Tom 7

Re: Unhelpful comments

I was amazed to discover the Z80 had a set of shadow registers so you could actually write a multitasking operating system on with relative ease but then you'd have to redo all 8080 software that was machine updated to it!

Tom 7

Re: Unhelpful comments

TBF there isnt room for gravel filled emergency off ramps in most cities so soft road furniture it is. I say soft as in my old village one house got pissed off with pissed teenagers coming over the 16thC humback bridge too fast and taking out their garden wall so managed to get some cat iron bollards to defend it and all it achieved was it launched a car over the wall into their living room!

Tom 7

Re: Comments are bugs, too

# fix for bug report 93315 http://localhost/projectnumber1/filecurentlybeingred#BR93315

is sometime the best way to do it - and its sort of bidirectional too in the sense you can hop from the place where the bug fix is defined to the code if you grep and or ASP a lot.

Tom 7

Re: Unhelpful comments

There were some old info you could get on how to implement really useful machine code side effects to do things that weren't in the least bit obvious from the assembler. I've been looking for them recently but either my googlefoo is going to hell or they have been lost like tears in the rain. I found a few bits of really weird stuff in device drivers and when I used to step through code to find out how to get past the need for dongles or bits not in the normal parts of floppy disks.

Tom 7

Re: Unhelpful comments

Comments are always contentious. I did have a bit of a battle with someone who was trying to use me as the excuse why his bit of the system wasnt working when all the bits he'd asked me to do were. He changed the rules so basically comments had to be so detailed someone who had never programmed could follow it. So 300 lines of device driver became so large it wouldnt assemble on the machine he thought I had to assemble on. But of course I could cross assemble it elsewhere and copy the object file over et voila. It was around this time I realised he'd spent two years there being paid a fortune to code something without actually knowing how to code but somehow he'd decided to make me the fall guy - even though I could have actually helped him if he hadn't tried shitting on me - the thing he was trying to code could be achieve by basically cutting and pasting the data from a large document into the DB and putting it in the right drop-down lists at the right time. However he chose to fire me while I was away at my mothers funeral and I was told not to come back to the office or contact anyone in the company or legal action would be taken!! He managed another year before the Director finally sussed out his childhood friend was just a con artist and sued his balls off!

Tom 7

Re: Extra credit

TBF to the guys in Mumbai Exchange was a pile of shit early on. Cant say how it is now but I worked at one place that had a support contract and they'd spend 3 days sending me MSDN numbers to read and try to fix the database corruption that seemed to occur fairly regularly. On one occasion the last resort DB repair program could fix the DB even after a dozen runs or so but I'd discovered the Exchange API by then and used that to basically read out message after message and put them into a new DB and then renamed that to the old DB name and rebooted the system and the corruption was gone. The VB code I wrote was about 30 times faster than the MS db cleaning engine and seemed to get all the existing messages out - Exchange just would just leave corrupted bits of data in the DB from time to time and then fall over them, and sometimes their repair program would too.

And the best thing was I discovered I had access to everyone's mail. Not that I read (many of) them but I learned that security has to be put in at the start and not added on later.

Google talks up its 540-billion-parameter text-generating AI system

Tom 7

Re: Slightly obvious flaw

So basically right biased AI bots are training the next AI bot. We've already got Nadine Dorries thanks!

Elon Musk buys 9.2% of Twitter, sends share price to the Moon

Tom 7

Re: Pump and Dump

You'd have to prove the shell companies were controlled by him. In the UK you cant tell who owns them, not sure about the US but I'd imagine they have similar methods of hiding real ownership - the political system would collapse pretty quickly without it.

Tom 7

Re: No, sorry

"which actually are about free speech for billions of people." Well speaking is allowed, but those whose speech is preferred by the advertisers will be heard, not the billions of people.

Tom 7

Pump and Dump

When you are this rich you can just secretly buy a load of shares through shell companies. Then announce you are buying some publicly, watch the price rocket. 27% rise yesterday - after a 2 month long fall? Sell off the shell company shares. Rinse and repeat...

Wing launches drone deliveries in the US where people actually live

Tom 7

The article the other day about hoverfly controlled drones

means a lot of intercepted supplies. I think the best place to start may be the drugs drops around prisons value wise.

Court erred in Neo4j source license ruling, says Software Freedom Conservancy

Tom 7

Re: This is why some people prefer the BSD licence

US courts are a lawyers paradise.

Tomorrow Water thinks we should colocate datacenters and sewage plants

Tom 7

Not sure about sewage

In Iceland they use geothermal to keep greenhouses warm allowing them to grow a fair amount of food. We could at last become a banana republic!

The sewage idea seems to be doomed in the UK given the putting shit in rivers companies always use the lack of land excuse for not expanding their sewage farms though they could of course be telling porkies.

Tom 7

Re: Water companies in England

You think it would be a good idea to knock down parts of cities to build solar farms? I've also noticed nuclear power plants are built far from their customers too. Perhaps there are good reasons for some things.

Its not like someone hasnt invented the grid or anything. The pylon bits only lose 1.7% - the 'domestic' side loses between 5 and 8%. So maybe knocking down parts of cities and sorting that out would make some sense.

The time you solved that months-long problem in 3 seconds

Tom 7

Re: Some years ago, before I retired ...

"or are used to people loafing around a lot." That's called 'meetings'. Those things where you get round a table with a lot of people who are paid far more than you but stare blankly at you when you tell them the solution to many of their problems because its a) beyond them and b) upsets their plans for empires.

Amazon warehouse workers in New York unionize in historic win against web giant

Tom 7

Re: Trickle-down economics

Unions in Germany are on the board. Strangely they have far higher productivity there than any non-unionised places! Its almost as if you arent a dick to people they wont be a dick to you!

Tom 7

Re: Trickle-down economics

The unions in the 70s were merely asking for wages that covered the massive increase in the cost of living due to OPEC raising the oil price. The tories basically managed to blame them for something that happened in the Middle East and the poor idiot voters believed them. We're going to be seeing a lot of that coming soon due to brexit and Russia. If you can explain to me why someone has to run their lives at a loss working for a company simply because the company thinks it has a right to their cheap labour I'm sure I could do with the belly laugh your explanation would give me.

Tom 7

Re: Not an unequivocal union fan - but I applaud this

Ford had the sense to pay his workers enough to actually buy the things they produced. Its nice when your market is a lot larger!

Scientists repurpose hoverfly vision to detect drones by sound

Tom 7

Re: This is where AI is going to really get I

Sophisticated pattern matching is all we do. We just do it on several levels at once. Google might not do the clock thing but they're not interested in doing that - they only want your money and giving the right answer to slightly complicate questions doesnt help them do that. People are starting to pull apart animals brains - someone has taken the honey bee brain and got the navigations system and redone that in AI and it works far far faster and uses several orders of magnitude less nodes than any trained AI equivalent. As we find out and emulate more and more bits of brains things will come together quite quickly - currently we're more or less just bashing numbers against each other and seeing what falls out but when we learn how our own heads actually work - and there are already full brain models to work from - then the fun starts.

Tom 7

This is where AI is going to really get I

once people can take apart intelligent beings brains and identify and copy the components then we can really start worrying!

Tom 7

What about silent drones?

I've seen a motorised glider with PV on the wings that only needs to run its motor around 1 minute in 10 to stay aloft. It seems 60:1 can be achieve but half that is common.

SerenityOS: Remarkable project with its own JS-capable web browser

Tom 7

Re: Where is the low end for Linux?

There's https://www.fuzix.org/ which is available for the Pico (only one CPU though).

http://cowlark.com/2021-03-10-fuzix-pi-pico/index.html

Japanese startup makes baby carrier-style sling for 'Love Robots'

Tom 7

I had a shoulder holster made for my Psion 5

But I had to take it out to use it but it was bloody useful. Now I'm wondering it one of these for a laptop/tablet might actually be quite a boon. I must say I find the Japanese delight in robot toys a little disturbing but then they'd probably find my desire to do a bit of coding in the pub 'while I still can remember the light bulb moment I've just had' a bit weird too. I can see problems with ripping charging/network sockets out of walls but as I'm leaving it will be someone elses problem.

Russia bans foreign software purchases for critical infrastructure

Tom 7

Re: Best of luck with that mate

Venezuela is back online as non-pariah - they have oil and the US has suddenly kicked them off the naughty step.

Tom 7

Re: Best of luck with that mate

httpsed://

With 90% COVID-19 vax rate, Intel to step up return-to-office

Tom 7

Re: Delusional thinking

Wait till the accountants see how much they can save in closing the office. I've worked in places the work space I used cost the company more than I did.

Tom 7

Re: WFH is here to stay

Judging from the local FB group I think its safe to say not working in the office is going to be quite common. Several local businesses are shut due to covid and several events this weekend have been cancelled due to the staff being ill. Two restaurants I know of the chefs are ill for at least the second time and in one of them I know they were both fully vaccinated AND have had the flu like bug before.

I'd not go back into the office unless you are sure you're going to get sick pay because you sure as hell are going to get covid (again).

BT must 'prioritize' between 'shareholders and workers' says union boss

Tom 7

Re: No choice

Now, it's a perfectly reasonable argument that shareholders' best interests are best served by management keeping a happy work force that doesn't bugger up the business by striking.

The wild world of non-C operating systems

Tom 7

Actually that was after switches - the first real modern computer- the manchester baby - had storage screen memory and the code was entered by switches. Core memory (called that because it was made using ferrite cores) came along later.

Tom 7

The first machine were coded in binary - there was a website you could run a Baby (the first modern electronic computer!) but the code its was written in no longer runs on a browser but basically the binary code was set on switches and loaded into the memory, then the next bit of binary code was loaded and stored and once the program was loaded you set the start address and hit the run button. I would say its worth while for any programmer to try and get a grip on how a simple CPU works (or worked). Basically its a quite simple arrangement of switches and registers and a bit of logic. Laziness being the mother of invention the next thing that came along was assembly language where mnemonics replaced the binary codes and then they were changed into binary and entered. Then someone came up with the idea of an assembler that took a text file and converted that into binary and ran it. Once we got to that point (and allowing defines and macros and including other files etc ) we were pretty much where we are today - computer languages are really just smarter machine independent assemblers with attitude.

http://www.visual6502.org/ can show you how the code works in silicon! But there are other 8080 virtual machines that you can easily run to see how assembler works!!

Tom 7

Re: Anyone remember ...

Operating Systems Design and Implementation, by Tanenbaum seems to available as a free PDF these days. Worth a read, The book you mentioned is free to download from the link you gave which is nice - there are later editions available too!

Tom 7

Re: Ghosts in the machine

I think the core Lisps were generally built around SECD machines which I guess you easily implement in machine code (CAR and CDR were taken from the machine code of the IBM704), Or equally simply create a hardware implementation of it. Symbolic Lisp Machines made machines with that in mind but never quite got round to doing it fully in silicon.

Tom 7

Re: Jupiter ACE

The Dragon32 had a Forth OS IIRC . Small, tight fast and with a complete lack of software.

UK Ministry of Defence takes recruitment system offline, confirms data leak

Tom 7

Re: "sources finger Capita-run system"

The civil service has institutionally forbidden "once bitten, twice shy" You mean the government has forbidden them.

Boom times for North America's big datacenter real estate market

Tom 7

Re: Electricity supply

Most offices seem to have a pretty much square wave day time demand. Canteens can screw that up but in the UK if you can stick PV up its pretty much the best way to spend some dosh. You get a good 7% return on the money and that was before the current price rises. If the perovskite panels live up to their promise then you can more than double the return, and borrowing the money will be profitable in the long term. Landlords might even consider it worth doing!

Instant NeRF turns 2D photos into 3D scenes in seconds

Tom 7

Re: I hope I'm not the only one

Possibly - I got my PICO to do that for me!

Tom 7

AI enabled?

That's a new marketing piece of bollocks I've nor heard of before!