Pete Horne pfp

Pete Horne

@horneps

260 Following
170871 Followers


Pete Horne pfp
Pete Horne
@horneps
Here's a little bit of maybe helpful maths/code for you. I need a human usable identifier system useful for entry into IOT devices like a camera in lower case to make entry easier. We all know flight reservations numbers. If you use the alphabet and numeric values, any case, you have 26+10=36 characters. This gives you a number base of 36 and so a 6 character code means you have a space of 36^6=2.1bn values or a 1/2.1bn clash risk; acceptable. Using big integer modulo math, you can take a random block hash as bits for a big int and covert it to a 6 digit code. The long integer value I call an ikey (id key), and the base 36 encoded text I call in itag (identifier tag). They can be swapped back and forth for integer indexing and string entry/readout.
0 reply
0 recast
9 reactions

Pete Horne pfp
Pete Horne
@horneps
I do love my 4 letter coding convention... I believe it is surprisingly clear once you see it. I only do this for infra/systems level programming. I use business terms for business objects which are in the view, task and data domain.
1 reply
2 recasts
38 reactions

Pete Horne pfp
Pete Horne
@horneps
Mr Puss thought he’d sit up in the fruit bowl and stare out the visiting Mr Hugo.
0 reply
0 recast
9 reactions

Pete Horne pfp
Pete Horne
@horneps
Mr Hugo was pleased to be back to his morning cafe routine after a long road trip with me.
0 reply
0 recast
23 reactions

Pete Horne pfp
Pete Horne
@horneps
What I like about “Alone” is that often times the people who leave for whatever their right reason is are just a much a winner as the final winner.
1 reply
1 recast
1 reaction

Pete Horne pfp
Pete Horne
@horneps
“Edge lord” is such a good way to describe the people who bully their way into social media discourse.
0 reply
0 recast
5 reactions

Pete Horne pfp
Pete Horne
@horneps
What’s really cool about Waze too is that it was made and optimised to UK traffic on little streets with constantly changing traffic conditions. So it has genuine better utility than other big tech map apps. Also google office was/is developed in Australia and also kept its independence from the head office drones. Better is the best power of all.
0 reply
0 recast
0 reaction

Pete Horne pfp
Pete Horne
@horneps
Goodness me! Mr Hugo has way more charm than I have. Here’s some more of my wonderful mate.
2 replies
4 recasts
35 reactions

Pete Horne pfp
Pete Horne
@horneps
This was such a good question. It really got my mental gears grinding hard as I thought about it.
0 reply
0 recast
0 reaction

Pete Horne pfp
Pete Horne
@horneps
Thanks. He’s also the most talkative dog. Never a dull moment. Never wondering want he wants, but always knowing he’s there for me.
1 reply
0 recast
1 reaction

Pete Horne pfp
Pete Horne
@horneps
Today I cooked but forgot to take a photo. So here’s Mr Hugo instead - my constant companion and sparring partner over who gets to be boss, and most praised dog in the park as best behaved mob boss.
6 replies
4 recasts
61 reactions

Pete Horne pfp
Pete Horne
@horneps
Been busy coding in between binge watching 😂
1 reply
0 recast
1 reaction

Pete Horne pfp
Pete Horne
@horneps
I’ve loved Marvel all the way. But red white and blue American exceptionalism rings hollow right now. Not even America seems to want it. Daredevil born again is more the vibe (great I hear from you!)
1 reply
0 recast
1 reaction

Pete Horne pfp
Pete Horne
@horneps
“Captain America, brave new world” falls flat in the real world.
1 reply
1 recast
11 reactions

Pete Horne pfp
Pete Horne
@horneps
Counter the canonical narrative but I look at react, dart and swift and say - why?
0 reply
1 recast
1 reaction

Pete Horne pfp
Pete Horne
@horneps
The first rule of flex layouts is to forget everything else.
1 reply
1 recast
12 reactions

jacob pfp
jacob
@jacob
76 replies
94 recasts
619 reactions

Pete Horne pfp
Pete Horne
@horneps
Damn; I knew I’d like JavaScript again once I got into it. https://pqtr.ai/
1 reply
1 recast
7 reactions

Pete Horne pfp
Pete Horne
@horneps
Sunday, bake (fry) day.
9 replies
7 recasts
50 reactions

jacob pfp
jacob
@jacob
A lot of great questions here. I’ll answer more over the weekend
0 reply
1 recast
32 reactions