activescott's Notes

Public notes from activescott

Thursday, July 30, 2026

Install:

cd ~
sudo apt-get update
sudo apt-get install -y git python3-pip
pip3 install --upgrade adafruit-python-shell click Flask-SQLAlchemy
git clone https://github.com/adafruit/Raspberry-Pi-Installer-Scripts.git
cd Raspberry-Pi-Installer-Scripts

If you want to mirror the HDMI output to the display, known as “FrameBuffer Copy” or FBCP for short, use one of the following commands:

For the PiTFT 3.5" Resistive touchscreen, use the following command:

sudo -E env PATH=$PATH python3 adafruit-pitft.py --display=35r --rotation=90 --install-type=mirror

Is this not the cutest, little display for the Raspberry Pi? It features a 3.5" display with 480x320 16-bit color pixels and a resistive touch overlay so is slightly larger than our popular original. The plate uses the high speed SPI interface on the Pi and can use the mini display as a console, X window port, displaying images or video etc. Best of all it plugs right in on top!

This PiTFT 3.5" is designed to fit nicely onto the original Pi 1 Model A or B but also works OK with the Raspberry Pi Zero, 4, 3, 2 Model B or Pi Model A+ or B+ as long as you don't mind the PCB overhangs the USB ports by 5mm.

Uses the hardware SPI pins (SCK, MOSI, MISO, CE0, CE1) as well as GPIO #25 and #24. GPIO #18 can be used to PWM dim the backlight if you like. All other GPIO are unused. There's a 2x13 header on the bottom, you can connect a standard Pi GPIO cable to it to use any of the other pins ask you like.

Best of all, it comes fully assembled and ready to plug into your Pi! You can use this as a display for running the X interface, or pygame. You can also have an HDMI display seperately connected. There's four mounting ears that can be used to attach the display & Pi to a bezel, or snap them off with pliers (they're perforated) for a slick exactly-the-same-size-as-a-Pi look.

At 9:20:

So for example, I'll give you at LinkedIn we used to have product managers, we had designers, we had front-end engineers and then we had back-end engineers and so on. So what we did is we sort of took those first four roles and combined them. In fact, increased scope and said, let's they're all full stack builders. So I like that because that's a structural change that allows for us to increase the change both the work and the workflow between these functions.

at the same time as you can imagine if to build an AI product today there's a complete new workflow right it starts with eval right so basically there's this eval to science to infrastructure and so eval are done by these full stack builders and what have you and product managers in the new form. The infrastructure is built by the systems engineers at the back end because they support the science that supports the product.

So in some sense there's a new loop uh and you have to structurally change and so a lot of what is happening inside a tech is that change uh which is I think going to be pretty massive uh and at the same time a company like ours I have to do everything it's not like I can just so go live in the future I have to make sure we're doing a fantastic job of doing hot patching on Windows is done with quality uh while at the same time building the evals that are improving co-pilot quality right and so both of those have to be first class. – Satya Nadella

Wednesday, July 29, 2026

The business needs engineers that can adapt to the dynamics of the modern world. Professionals that are self-sufficient and won’t go into paralysis when the DevOps is out on holiday. Ideally, any person in the team should fill any other role if needed - from small tweaks on the UI, to debugging the CI pipeline.

This is easier said than done, though. Acquiring the skills to be productive in multiple areas requires years. You also need to be exposed to different parts of the product. A company with strong silos between teams won’t give you that opportunity.

At the same time, when complex work needs to be done, a team of generalists may lack the experience to take proper decisions. When the database’s performance needs improvement or architectural decisions need to be made you need a person that’s deeply focused on that topic.


The evolution of software development methodologies required a new kind of engineers - specialised generalists.

Thus, the term “T-Shaped Specialist” was coined. It is used to describe a person whose knowledge distribution looks like the letter T. The horizontal line describes a broad working knowledge in multiple areas. The vertical one is for specialization in a topic.

A back end engineer who can put up their own interface, style it reasonably and deploy it may fall into that category. A UI engineer that can spin up an Express service when needed and can debug an API endpoint could also be considered T-Shaped.

Having a team of specialised generalists means that work can be prioritised without worrying about the available developers. This breaks the silos around teams and helps everyone to get more involved in the project.

Problems of T-Shaped Engineers

Having T-Shaped specialists is not a silver bullet. It doesn’t mean that anyone can do any job and do it well. While they have broad knowledge this doesn’t mean that they can perform exceptionally everywhere.

The business may sometimes falsely expect such engineers to be experts in everything. T-shaped engineers can adapt and get up to speed with different technologies. But they still have a main area of focus.

Figuring out when and how to use these tools appropriately and productively will take time.  When the same tools are available to everyone, the differentiator will be in how we use the tools, not the tools themselves.  By default, they are homogenization machines, spinning out lookalike content for everyone.  It takes work and creativity to use them in ways that will actually stand out.

On Friday this week the FTC’s open comment period regarding its “Policy Statement Addressing AI Accuracy” will close, which means that a bunch of very smart, very busy people are wasting a ton of time this week writing up comments that will mostly be ignored by the FTC — but still matter for the record. The whole thing is so ridiculous that a former FTC lawyer has sarcastically requested that the FTC publish a quarterly “schedule of values” so AI companies at least know which ideologies they’re required to support to keep Donald Trump happy.

It’s an unconstitutional sham from an FTC whose chairman, Andrew Ferguson, quite openly sees his job as putting his thumb on the scale of speech to favor the MAGA worldview. Ferguson has been doing this since the very start of his tenure and it doesn’t appear to be slowing down now.

Not to mention that this sets precedent for future administrations to use this power to determine what is biased.

Yet, that’s exactly what this proposed FTC policy is setting up: if AI tools don’t produce properly MAGA-fied outputs, the FTC might go after them, claiming that the outputs are not in line with “consumers’ expectations” (as determined by the MAGA FTC) and thus, “unfair and deceptive.”

Elon Musk’s X has settled a long-running legal battle with a major advertising trade body that it had accused of orchestrating an “illegal boycott” against the social media platform.

The advertisers rejected the allegations, arguing brands had the right to decide where to spend their money themselves rather than be forced to back a particular platform. The case was dismissed in March by a federal judge but X then launched an appeal in April.

In a statement on Wednesday, X Corp and the WFA said they were “putting the litigation . . . behind them”. They added that this “resets the relationship between the two organisations”. No terms of the agreement were disclosed.

The WFA said it “reiterates its commitment to freedom of speech, a principle first included in WFA’s founding constitution back in 1953, and a principle it shares with X”.

In 2024, X dropped Unilever from the lawsuit after it restarted advertising on the platform.

When it filed the lawsuit, Musk posted that “we tried being nice for 2 years and got nothing but empty words. Now, it is war.”

Musk has had other run-ins with advertisers, including telling them “go fuck themselves” after advertising revenues fell after his takeover. X last year merged with xAI, Musk’s artificial intelligence company, which has in turn combined with SpaceX.

Moscow has effectively throttled the service as part of a wider campaign to ​cut off access to foreign tech platforms and tighten control over the internet.

Russians can only access Telegram now by using a VPN ​to encrypt traffic and conceal their location. Yet state bodies including the Kremlin and the defence ministry continue to post ⁠to it on a daily basis.

In statements, the FSB and the state Investigative Committee said a chatbot available on Telegram called "Daivinchik/Leo" had been ​used by Ukrainian special services to recruit young Russians to carry out sabotage and terrorist operations.

Daivinchik/Leo is a popular dating chatbot in Russia, where Tinder is no longer available. The statement said Ukrainian spies posting as young women were using it to contact and entrap Russians before coercing them into committing crimes.

The FSB statement said Durov was being placed on an international wanted list, but it ‌did not ⁠specify what mechanism Russia would use to do this.

The global police organisation Interpol did not immediately respond to a request for comment. If Moscow does request a Red Notice, however, the process is unlikely to be quick, said a source with knowledge of the situation.

Dubai, where Durov lives, has friendly relations with Moscow and growing ties in energy, business and finance. But handing him over to Russia could risk damaging the emirate's image as an attractive hub ​for enterprise and technology.

Born in Russia, he now holds Emirati and French passports. He founded Russia's Facebook equivalent, VKontakte, before selling his remaining stake in 2014 amid pressure from Russian authorities.

In 2024 he was arrested in ​France over allegations that Telegram failed to adequately counter criminal activity on the platform and did not sufficiently ​cooperate with law enforcement ⁠requests. He was later allowed to leave the country while investigations continue.

"They must be suspecting me of defending Articles 29 and 23 of the Russian Constitution — which guarantee freedom of speech and the right to private correspondence. Proud to be guilty!" he ​wrote at the time.

NISQA is a deep learning model/framework for speech quality prediction. The NISQA model weights can be used to predict the quality of a speech sample that has been sent through a communication system (e.g telephone or video call). Besides overall speech quality, NISQA also provides predictions for the quality dimensions Noisiness, Coloration, Discontinuity, and Loudness to give more insight into the cause of the quality degradation.

For the second time in less than a month, Israeli forces and municipal officials today forcibly entered the Kalandia Training Centre (KTC), a United Nations facility located in occupied East Jerusalem, disrupting ongoing educational activities and raising renewed concern over the protection of UN premises under international law.

The KTC has been under threat of unlawful seizure by the Israeli authorities for several months. UNRWA has cautioned that this would not only constitute a violation of international law but would also result in an irreplaceable loss of critical vocational education opportunities that the Agency provides under its mandate from the United Nations General Assembly — opportunities on which Palestine Refugee youth rely to build skills, secure employment, and shape their futures.

In October 2025, the International Court of Justice affirmed Israel's obligations to facilitate UNRWA's operations in the occupied Palestinian territory, including East Jerusalem. The Agency takes this opportunity to remind the Government of Israel of the Court's determination:

For the Rub

  • Brown Sugar: For sweetness, use 3 tablespoons of light brown sugar.
  • Salt: You’ll need 2 tablespoons of kosher salt.
  • Dried Herbs: We’re using a tablespoon each of dried parsley and ground dill weed.
  • Garlic Powder: This provides an intense garlic flavor with no need for mincing!
  • Black Pepper: Freshly ground or cracked is best. 
  • Spices: You’ll need 1 tablespoon of paprika and a teaspoon each of coriander and cumin.
  • Prepare Grill: Preheat the grill to about 450˚F. Clean the cooking grates with a brush and close the lid. 

  • Prep Fillets: While the grill preheats, pat dry the fillets with paper towels. Lightly grease the fillets with cooking spray and set aside.

  • Make Spice Blend & Rub on Salmon: In a mixing bowl, combine the ingredients for the rub. Sprinkle the desired amount of seasoning onto the fillets and rub all around the flesh of the salmon. Store extra seasoning in an airtight container and keep for later use.

  • Grill Salmon: Place the salmon fillets skin-side down over direct high heat; close the lid and cook for 6 to 8 minutes, or until the fish is firm to the touch and there’s no resistance when you try to lift it up to turn it. Using a fish spatula, carefully turn over the fillets; close the lid and cook for 3 to 5 more minutes, or until the internal temperature of the fish registers at 145˚F. Use an Instant Read Meat Thermometer to check for doneness. 

  • Let Rest & Serve: Transfer the cooked fillets to a plate and let them rest for a few minutes before serving.

Tuesday, July 28, 2026

Monday, July 27, 2026

Automated provisioning of secure boot and encryption for Raspberry Pi devices

What Problem Does This Solve?

Imagine you need to prepare 100 Raspberry Pi devices for your business.

Each device needs:

  • A secure boot system (so only your software can run on it)

  • Encrypted storage (so your data is protected)

  • Your custom operating system installed

  • Security keys programmed correctly

Without this tool, preparing each device manually is time-consuming and error-prone. Each command must be executed precisely. A single mistake requires restarting the entire process.

This tool automates the entire provisioning workflow. Connect a device, and the tool handles all configuration steps automatically. Typical provisioning time is approximately 3 minutes per device (for a 2.6GB OS image).

  • Nvidia Corp. is working on AI infrastructure deals potentially worth more than $750 billion, including an artificial intelligence initiative with SK Hynix Inc.'s parent worth more than $500 billion.

  • Nvidia is in discussions to provide a guarantee of as much as $250 billion to help OpenAI lease computing from a US data center project and to finance $350 billion of OpenAI's purchases of its chips.

While critics have for months warned of the circular nature of such agreements — the companies Nvidia finances and takes stakes in typically buy or use its chips — the pace of the deals is only quickening. The risk with these transactions is they may create skewed incentives for business across a plethora of industries, spur bad decision-making and magnify losses if demand for AI fails to match lofty expectations. Nvidia is also in discussions to finance $350 billion of OpenAI’s purchases of its chips for the US project, according to a person familiar with the matter.

Industry peers are opting for similar arrangements. Google, whose AI entries include Gemini, agreed to backstop lease payments at five data center locations for Anthropic PBC, helping the OpenAI rival obtain what amounts to a $35 billion loan.