- A backup system you should not use... (permalink)
...but it's kinda cute, as it was done almost entirely via chatGPT.
You can find the script here: c0de517e.com/MISC/backup.py
I have this system at home where I backup, very sporadically, data from my and my wife's computers. It's made of a "dumb" USB multi-bay hard-drive enclosure, fitted with various random drives I "collected" over the years.
Data there is always stored twice - i.e. on two separate drives, identical copies. It's dumb, simple, I love it. I turn the thing on a few times a year, copy the data, turn it off/unplug.
The only thing that always kinda annoyed me is that I can't easily detect bit-rot, and it would be hard to correct once detected. I had some scripts made in the past/used software to take hashes of all files and compare them, I thought of storing said hashes on the drives as well, but it was never great, and re-hashing the drives every time takes days.
Ideally, I wanted to use some backup software to create the second copy - instead of having both copies as plain files. Ideally, I wanted the software to be simple, portable, able to do compressed, incremental backups, and able to detect and even fix errors if needed.
I never found something like that, backup systems tend to be complex, designed to run continuously, to backup whole partitions, upload to the cloud etc etc. The closest thus far I've found is dar64/dargui or portableapps toucan, but they are both so niche, I don't know if I would trust them more than building my own...
So I did!
So far, I'm testing it only on smaller tasks, i.e. keeping a backup for some USB keys I use for various not-critical things. We'll see.
Thu, 7 Nov 2024 16:26:34 -0800
- Trust is lost in buckets and gained in drops. (permalink)
Turns out I was optimistic (even if - cautiously so). Which is... rare, at least, in the past I've been more often right than wrong, in reading the moment.
For leftist movements all across the world, it should be a reckoning.
The left is no more seen as the party of the working people. It is seen as the elite, the establishment, the conservative choice, not a force of change.
It is seen as a party more focused on SJW than listening to the people, even, often, listening to the minories, instead of assuming they are on board, and that they are uniformly as socially progressive as they imagine.
I would not be surprised to see that Trump made inroads with all demographics.
I'll probably block politics for a while because I fear the noise of people that now will say that it's all misogyny, xenophobia, racism, fascism. And don't get me wrong, there are definitely these forces at play, but these people are not swing voters, and they are not the majority.
Fear, pain, lack of trust - that, I think, is what populists capture, and how from there worse sentiments are bred. Sentiments that would not take hold in people's mind, if they had hope, if they trusted governments to deliver the change they want to see.
The left has been gaslighting people, insisting that their problems are not real, that the economy is great, immigration is an absolute value and never an issue, even, in the states, that a demented president is one of the best things ever to happen to the country.
I still think Harris did outstandingly well, given what she had to work with. I really feel for her loss. I think any other year she would have won, and I think Trump is not at all that strong. He wins when the opposition is weak.
First, with Clinton who was the embodiment of all the establishment fears, and a deeply unliked politician seen as being anointed from above.
Now, with Kamala I think it is different, she is an amazing politician, but she could not shake the perception of being part of Biden's gaslighting campaign.
I don't think her race had any effect, one way or the other. Her gender did lose some, win some, but all in all I doubt it was determinant.
A new left has to emerge. Unfortunately, I suspect it will take some time, it takes time to change and evolve.
As the right now tied themselves to populism, and it is both a "tool" and a shackle, so is the left living in its own bubble. The most likely path is that next time they will edge a win, and think there's nothing structural to change, and so on.
But I might be wrong... It has been known to happen :)
Wed, 6 Nov 2024 10:28:19 -0800
- How comes that Trump might (still) win? (permalink)
"Per questo i Signori del Mondo sono iniziati, ma non indulgono alla mistica. Il mistico e per essi uno schiavo, il luogo di una manifestazione del numinoso, attraverso il quale si spiano i sintomi di un segreto.
L'iniziato incoraggia il mistico, se ne serve come lei si serve di un telefono, per stabilire contatti a distanza, come il chimico si serve della cartina di tornasole, per sapere che in qualche luogo agisce una sostanza.
Il mistico e utile, perche e teatrale, si esibisce. Gli iniziati invece si riconoscono solo tra di loro. L'iniziato controlla le forze che il mistico patisce." - Umberto Eco, Il Pendolo di Foucault.
I don't care here to get into politics. FWIW, even before the debate debacle, I thought Biden's chances were relatively slim, and I have been surprised by how strong Harris turned out to be - but the consensus is that every outcome is possible at this point. "Too close to call".
What I'd like to talk about is the tendency of most to not understand how this is possible. How, all over the world, populist movements have risen to power. Did people suddenly become racist, fascist, xenophobic, ignorant?
Following social media - view-driven information, it might seem that's the case, but it is a simplifying narrative. Also, one that flies in the face of the established trends of humanity to evolve its social structures towards inclusiveness.
The danger of this approach goes beyond ignorance. It fosters a polarizing narrative that does nothing but entrench the division - ironically, it is itself populism - just of a different color.
I believe that there is real pain, unaddressed, in large parts of the population. We ignored it using macroeconomic numbers, not understanding that all our perceptions are relative to a moving baseline. Everyone is getting richer, but at the same time, inequality is growing. And it's simplistic (populist again) to just identify that in the Bezos of the world. The meat of the problem is not in the ultra-wealthy, it lies in the simpler, everyday fact that we have a generation that looks back at their parents and considers them to be more fortunate than they are.
Whilst this inequality was rising, with mathematical precision, with the rise of the global economy, the parties of the working people started to speak the language of the elites. The focus shifted from factories to social issues that raced ahead of the actual progress of society.
Am I saying that we shouldn't fight for ideals? That pragmatism is the only measure of politics? That intellectuals are sinners and should be forced to "touch grass" - at the least? Obviously not. But if you deprive large parts of the population of representation, what do you expect to happen? Progress?
We reap what we sow. And yes, on this soil, all kinds of perverted ideologies are flourishing. But they are not the root cause of the issue.
Once pain is felt for long enough, once mistrust in the institutions takes hold, you open people's minds to alternatives, for them to find home in more welcoming communities.
Ari Aster's Midsommar is a masterfully crafted movie around this premise.
White, uneducated, cisgender, male. How come that is the profile most likely to vote for Trump? Is that a genetic issue, perhaps, an inherent evil? Or did we educate them to fit a given role in society, and then not just changed the script in terms of the concrete opportunities, but the narrative around it? Should we weep for the struggles of privilege? Stop championing equality, human rights? Obviously not. But progress is helped by prosperity, can't leave people behind.
And ironically, progressives are losing support now even among minorities.
I imagine that most of the people who are going to vote for Trump are not extremists, they are willing to close one eye or two over the misgivings of their candidate because their brain works like any brain, with strong biases that leave very little space for ideas that cause discomfort. We are not rational in the best of times, and that small degree of mental opening that in the best of cases people have, shuts down under the effects of pain and fear.
Some go beyond that, and will actively engage with the lies, with whatever piece of information that confirms their pre-existing beliefs. With the community that such beliefs create. And they will be useful, they will volunteer, become activists, give to the cause.
I don't think Trump, or any other populist, is a genius in the intellectual sense. But they do know what makes some people tick. I imagine he knows he lost fair and square, for example, but in part, I don't think he can admit that to himself, because he is a weak, small person, and in part he knows that repeating the lie creates a community, a useful one. It gains more than it costs.
Lastly, in a rare turn of events, we can trace directly the causes of some pain to direct, recent actions of a government. Usually, it takes so long to steer the ship of a nation, and politics in a democracy is such an exercise in compromise, that is rare to make a dent. Not in the recent history of the US.
The post-pandemic rise of inflation, and consequent measures on interest rates, can be in a not unreasonable way, attributed at least in part to overly aggressive welfare measures. The weak stance on the Israeli's criminal retaliation over a terrorist attack makes nobody happy. And the rate of immigration has been increasing exponentially, beyond the country's ability to absorb it. Barbara Jordan today reads like a Republican. Not to mention that Joe is unfit to be president. Gaslighting an entire electorate is hard, especially if you're not experienced.
All that said, I don't want to paint an overly bleak picture. If I had to bet, right now I would bet on Harris. But I dislike the lack of empathy and understanding of the world that I see.
Whoever wins, there will be half of a country weeping. To them I say - it is going to be ok, you are going to survive. Without stopping for a second to denounce what we don't like in the world, we could though take a moment to wonder at a democracy that saw Obama after Bush, Biden after Trump, and now is deciding between two candidates that are both equally likely to win, and both represent... and extraordinary diversity on the political spectrum.
Tue, 5 Nov 2024 18:10:50 -0800
- Big rooms don't ship. (permalink)
Committees are the anathema of innovation. Overly diffused responsibility is an adequate measure against existential risks - and that's why we generally prefer democracies over authoritarianism - but it also ensures mediocrity at best - and that's why inevitably governments, all over the world, are considered ineffective, the more so the more "developed" a democracy is.
I doubt that there is a particular "shape" - organizational structure, that can avoid this. Innovation requires ownership, ownership requires trust. And trust usually is not given, and probably should not - a priori.
The way this works, if one has the right people, is that someone somewhere decides to act: focus, execute, deliver - good work is viral, it gets adopted by the undeniable merits of the solution.
Once someone demonstrates these skills, they should get "certified" - entrusted with ownership, with the ability to start larger projects. This might result in promotions and the like, and then the cycle repeats if the individual wants to grab more space, solve bigger problems.
The only thing a company should do is to protect the space and the culture that fosters such endeavours. Clearly explain what the company is looking for (so that people can self-evaluate the ROI of potential ideas), and clearly, and publicly reward people who successfully delivered.
Sat, 10 Aug 2024 15:26:54 -0700
- Xenix. (permalink)
In my retro-computing and emulation adventures I've stumbled upon some tales of Microsoft's Xenix. The name was not unfamiliar to me, but I never knew what the idea was - or rather, being an Unix clone, I assumed - and this is undoubtedly coloured by a more contemporary view (of Linux) - it was something that Microsoft wanted to have for mainframes and the like.
Apparently, not (only). The idea was for DOS to be the single-user, monotasking OS, and Xenix was intended to the foundation of what to come next: multitasking. This also had to wait on hardware, not just power, but crucially, memory protection. We take all these things for granted, but at the time, they were grand ideas, the difference between minicomputers, mainframes and micro/personal computers.
Various companies were on board - and we know where the history went.
This is a reminder not only that in IT (fast moving, fast spreading innovation) long-term plans and design-by-committee always fails (good for maintenance, safety, risk-aversion - not for innovation), but also that "good" ideas quickly get out of hand of their designers.
I'd be curious to know how much - at least for the xenix's leaders, the success of dos and later of single-tasking graphical UIs (windows) caught them off guard. Personal computing only needed a platform, not a "good" one in terms of technical sophistication, just anything to bring the chaos under control, to enable a hardware/software ecosystem to flourish. Microsoft did it first with Basic, then with DOS/Windows and arguably it is doing now the same thing (albeit, not as pioneering, but still, successfully) with Azure.
Plans don't survive the first contact... but "happy accidents" can also catch you off guard. And this is the "move fast break things" ethos and the various other myriad ways of saying the same thing.
Sat, 27 Jul 2024 14:04:16 -0700
- Stray humans. (permalink)
Stray cats, sometimes dogs, you might encounter walking down a street where I come from.
Where I moved, my second identity now, we have stray humans. Everywhere.
It is wearing me down to a point where I want to move to an even more affluent part of town, just to get what's likely to be a temporary respite from a problem we are unable to solve.
It is selfish and I realize the epitome of privilege, but it is also the truth, my empathy has been worn down.
I also think we are the cause. Prosperity brings inequality, in a measure that can't be compensated by progressive taxation - at least, not without effectively depressing the economy, thus, reducing the prosperity itself.
In other words, I don't think there is a way to create something like the Silicon Valley, that level of wealth, value-add, "productivity", without ending up with the downsides, it is, mathematical.
But the downsides might be just big enough that we should just accept this fact and live with it. What good is it to be wealthy in a place where you have to barricade yourself to not interact with the dystopia you caused?
One little thing that I don't see advocated much, when it comes to the social responsibility of companies, is to just avoid accelerating the issue.
Progressives in tech talk about the big stuff, saving the world, net-zero emissions, D&I and so on, but still within the constructs of big tech itself, with the illusion that if you're just smart enough, you can have your pie and eat it too. Despite all the evidence to the contrary.
Sustainability starts, imho, from not forcing all talent to move in the SV (or similar hotspots). You can create offices big enough to have all the "serendipity" that face to face human connection elicits, without adding to the problem.
And many people prefer not to displace themselves, so you might have a leg up in hiring talent. And, it is cheaper talent. Win-win-win?
Fri, 19 Jul 2024 11:43:45 -0700