Searching txt.sour.is

Twts matching #reading
Sort by: Newest, Oldest, Most Relevant
In-reply-to » To the parents or teachers: How do you teach kids to program these days? 🤔

@movq@www.uninformativ.de I started with Delphi in school, the book (that we never ever used even once and I also never looked at) taught Pascal. The UI part felt easy at first but prevented me from understanding fundamental stuff like procedures or functions or even begin and end blocks for ifs or loops. For example I always thought that I needed to have a button somewhere, even if hidden. That gave me a handler procedure where I could put code and somehow call it. Two or three years later, a new mate from the parallel class finally told me that this wasn’t necessary and how to do thing better.

You know all too well that back in the day there was not a whole lot of information out there. And the bits that did exist were well hidden. At least from me. Eventually discovering planet-quellcodes.de (I don’t remember if that was the original forum or if that got split off from some other board) via my best schoolmate was like finding the Amber Room. Yeah, reading the ITG book would have been a very good idea for sure. :-)

In hindsight, a console program without the UI overhead might have been better. At least for the very start. Much less things to worry about or get lost.

Hence, I’d recommend to start programming with a console program. As for the language, not sure. But Python is probably a good choice, it doesn’t require a lot of surrounding boilerplate like, say Java or Go. It also does exceptionally well in the principle of least surprise.

⤋ Read More

AnalogLamb Expands Maple Series with Low-Cost ESP32C6 Breakout Boards
AnalogLamb has introduced three new RISC-V development boards based on the ESP32-C6, designed for low-cost, full-function, and low-power IoT applications. These boards feature Espressif’s first Wi-Fi 6 SoC, integrating Wi-Fi 6 (2.4 GHz), Bluetooth 5 LE, and IEEE 802.15.4 protocols. Each board is built around the ESP32-C6-WROOM-1 module, which combines a high-performance 32-bit RISC-V core […] ⌘ Read more

⤋ Read More

Computers in school (updated)

Introduction

A much shorter version of this post was initially published on
2022-05-23 (Pungenday, the 70 day of Discord in the YOLD 3188) in my
gemlog at:

gemini://gem.hack.org/log/computers-in-school.gmi

The text has been edited after speaking with some old school mates and
trying to remember more. I also added a few photos.

The beginning

When I started upper secondary school as a sixteen year-old in 1988 my
school had wha … ⌘ Read more

⤋ Read More

MS-A2 Combines Ryzen 9 9955HX and 7945HX Processing with Scalable Storage in a Compact Form Factor
Minisforum recently introduced the MS-A2, a compact workstation featuring high-end AMD processors, support for up to 96GB of memory, and flexible storage options. It offers PCIe expansion, triple 8K display output, and fast wired and wireless connectivity, targeting users who need strong performance in a small footprint. The MS-A2 is a compact comp … ⌘ Read more

⤋ Read More

The return of the tilde
As some of you may have noticed my web page is now under /~mc instead
of just /mc. This is a return to olden times.

The Apache web server, and probably many other web servers, had a
simple way of adding personal web pages for local users. This meant
that an URL ending with ~mc led directly to a subdirectory of user
mc’s home directory. Whatever they put in that directory was
immediately available on the Intertubes! Neat, huh?

We need to bring this back to the modern net! Many tilde pubnixe … ⌘ Read more

⤋ Read More

谷歌 A2A 協議:Agent2Agent 的通信協議
A2A 協議A2A 文檔:https://google.github.io/A2A  GitHub:   https://github.com/google/A2A 想象一下這個場景: 你公司裏的 HR Agent 在篩選簡歷,財務 Agent 在覈對薪資,面試 Agent 在安排日程——但它們彼此無法溝通,就像三個互不理解的人在同一間辦公室各自工作。• 企業需要不斷切換系統,工作效率被 ⌘ Read more

⤋ Read More

使用 Go 進行 HTTP 流量重放測試
在 Web 安全測試、API 調試、流量回歸測試中,HTTP 流量重放(HTTP Traffic Replay)是一項重要的技術。它可以幫助我們復現問題、測試系統兼容性、進行安全研究等。在這篇文章中,我們將簡單探討 HTTP 流量重放的原理,並通過 Go 語言實現不同的流量重放方案,同時介紹常見的開源工具。(身爲一個在小公司裏的網安牛馬,總得幹些雜活🐂🐎)HTTP 流量重放的原理HTTP 流量重放 ⌘ Read more

⤋ Read More

使用 Go 進行 HTTP 流量重放測試
在 Web 安全測試、API 調試、流量回歸測試中,HTTP 流量重放(HTTP Traffic Replay)是一項重要的技術。它可以幫助我們復現問題、測試系統兼容性、進行安全研究等。在這篇文章中,我們將簡單探討 HTTP 流量重放的原理,並通過 Go 語言實現不同的流量重放方案,同時介紹常見的開源工具。(身爲一個在小公司裏的網安牛馬,總得幹些雜活🐂🐎)HTTP 流量重放的原理HTTP 流量重放 ⌘ Read more

⤋ Read More

Go:終於有了處理未定義字段的實用方案
衆所周知,Go 裏沒有 undefined,只有各類型的零值。多年來,Go 開發者一直依賴 JSON 結構標籤 omitempty 來解決 “字段可能缺失” 這一需求。然而omitempty 並不能覆蓋所有場景,而且常常讓人抓狂——到底什麼算 “空”?定義本就含糊不清。在 編碼(marshal) 時:切片和 map 只有在爲 nil 或長度爲 0 時纔算空。 指針只有 nil 時爲空。 ⌘ Read more

⤋ Read More

UN food agency says its food stocks in Gaza have run out under Israel’s blockade
WAFAA SHURAFA and LEE KEATH,  Reporter | Chief Editor for Middle Eastern Stories  -  Associated Press

_Stephan: The Israeli genocide of Palestinians is not getting the attention it should in the United States, because psychopath Trump and the Republicans are using anti-semitism as a cover to support the killing of hundreds of thousands of Palestinians, particularly … ⌘ Read more

⤋ Read More

Teens, Social Media and Mental Health
Michelle Faverio , Monica Anderson and Eugenie Park,  Research Staff  -  Pew Research Center

_Stephan: Are you old enough to remember a time when there was no internet or social media, and what your life was like. More social activity. More physical activity. More hanging out physically with friends. Drive-in movies and dances.  Today’s teens are fatter, less socially comfortable, woefully misinformed, and influenced by the weaponization of misinform … ⌘ Read more

⤋ Read More

Why Women Outlive Men in the U.S.
,    -  USA FACTS

_Stephan: The people of the United States do not live as long as people who live in developed, wellbeing-oriented democracies. Also, men in the United States overall have much shorter lives than women. Here are the facts. Partly this is the result of having an illness profit system rather than a healthcare system. But it is also partly the result of the resentment, stress, and anger so many men feel about gender and racial equality, which … ⌘ Read more

⤋ Read More

AirPods 4 Hit $99.99 on Amazon, Plus Big Discounts on ANC Model and AirPods Pro 2
Amazon this weekend has major discounts on a few AirPods models, including all-time low prices on the AirPods 4. You can get the base AirPods 4 for $99.99 on Amazon, down from $129.00.

Image

_No … ⌘ Read more

⤋ Read More

用 Go 語言開發一個石頭剪刀布遊戲,很簡單
本文將通過 Go 語言實現一個玩家與電腦對戰的石頭剪刀布遊戲,並重點講解如何通過 Go 的 crypto/rand 包生成安全的隨機數,確保遊戲的公平性。一、遊戲模型設計在編寫代碼之前,我們首先要設計遊戲的基本模型,包括參與者、動作和遊戲狀態。1. 用戶與動作遊戲的參與者有兩個:玩家和電腦。每個參與者可以做出三種選擇:石頭、剪刀或布。我們通過 Go 的枚舉類型來表示這些選擇。// 用戶類型type ⌘ Read more

⤋ Read More

Weightedrand:Go 權重隨機選擇
weightedrand (github.com/mroth/weightedrand) 是一個 Go 語言實現的權重隨機選擇庫,可以從一個元素列表中以不同的概率選擇一個元素,也就是所謂的加權隨機選擇(weighted random selection)。你可以爲每個元素設置 “權重”(可以理解爲概率的相對值),然後根據這些權重進行隨機選擇。安裝go get github.com/mroth/we ⌘ Read more

⤋ Read More

10 Cave Explorers Who Never Made It Out Alive
We all have our hobbies. Some of us come home and go for a run, while others read a book. Still others are a bit more extreme. Maybe you enjoy BMX bike riding or whitewater rafting. But a select few do something that most people consider quite insane: spelunkers, also known as cave explorers. Spelunkers […]

The post [10 Cave Explorers Who Never Made It Out Alive](https://listverse.com/2025/04/27/10-cave-explorers-who-never-made-it-out-alive … ⌘ Read more

⤋ Read More

10 Surprising Legal Gaps That Let Chaos Ensue
We tend to assume that there’s a law on the books for every situation. But legal systems often lag behind reality, leaving major gaps at the worst possible moments. Whether it was due to technological change, moral blind spots, or pure legislative oversight, these are moments when people turned to the law—and the law shrugged. […]

The post [10 Surprising Legal Gaps That Let Chaos Ensue](https://listverse.com/2025/04/27/10-surprising-legal-g … ⌘ Read more

⤋ Read More

靜態程序分析入門之 Go 實踐筆記
編譯與靜態分析的關係在 Introduction to the Go compiler[5] 也能看到相似的流程,靜態分析主要發生在 IR 層,生成機器碼後端部分 (back-end) 那就是編譯器所考慮的了。• 詞法分析器(Scanner)結合正則表達式 (Regular Expression) ,通過詞法分析(Lexical Analysis)將源碼翻譯爲 token。 • 語法分析器( ⌘ Read more

⤋ Read More

Go 利用 github-com-miekg-dns 進行安全分析與防護
在網絡安全領域,DNS(域名系統)是攻擊者和防禦者都非常關注的目標。攻擊者可以利用 DNS 進行隧道通信、數據滲透、欺騙攻擊,而安全專家則需要檢測和防禦這些威脅。本文將簡單地介紹 github.com/miekg/dns 庫,並通過代碼演示如何利用它進行 DNS 監控、流量分析和攻擊檢測。miekg/dns 介紹miekg/dns 是 Go 語言中比較流行的 DNS 解析庫之一,它支持:自定義 D ⌘ Read more

⤋ Read More

Computers in school

Introduction

A version of this post was initially published on 2022-05-23
(Pungenday, the 70 day of Discord in the YOLD 3188) in my gemlog at:

gemini://gem.hack.org/log/computers-in-school.gmi

The text has been edited after speaking with some old school mates and
trying to remember more. I also added a few photos.

The beginning

When I started upper secondary school as a sixteen year-old in 1988 my
school had what I think were IBM PC/XT computers, one classroom of
16(?) computers with co … ⌘ Read more

⤋ Read More

Supreme Court is ‘suffocating’ the Constitution as it ‘facilitates authoritarianism’: analyst
Ailia Zehra,  Staff Writer  -  AlterNet

_Stephan: The Republican Congress members have already knelt to give obeisance to despot Trump as he continues his fascist coup, effectively surrendering their role as defined by the Constitution; something straight out of Hitler’s playbook. Now the coup perpetrators are turning on the third branch of dem … ⌘ Read more

⤋ Read More

Milwaukee County Circuit Judge Hannah Dugan charged with 2 felonies in ICE case
Daniel Bice John Diedrich Mary Spicuzza, and Vanessa Swales,  Reporters  -  Milwaukee Journal Sentinel

_Stephan: Psychopathic dictator Trump for the first time in U.S. history has arrested a  County Circuit Judge. Because Trump’s first response is always to be a bully he is clearly attempting to intimidate lower court judges from ruling against him. Like all fascists … ⌘ Read more

⤋ Read More

Arkansas appeals Trump administration denial of federal aid for tornado recovery
Lauren Irwin ,  Staff Writer  -  The Hill

_Stephan: The notably incompetent and nasty Homeland Security Secretary Kristi Noemsaid in late March that she has plans to “eliminate” FEMA, to which despot Trump responded, “great.” As this report describes, Noem has already begun stopping the customary federal support for climate damage from floods, fires, and tornadoes. … ⌘ Read more

⤋ Read More

Trump signs executive order to dismantle the Civil Rights Act of 1964
,    -  Daily Kos | VPS Community

_Stephan: I still vividly remember walking down Constitution Avenue to the Lincoln Memorial to hear Martin Luther King give his “I have a Dream” speech, and months later taking my then-girlfriend, who worked for the President, to a White House party after President Lyndon Johnson signed the Civil Rights Act in 1964. After years of being involved in Ci … ⌘ Read more

⤋ Read More

10 Times Government Officials Made Startling Claims
No, this is not that type of list. It doesn’t contain quotes like “God save the Queen, man” or “I tested positively toward negative, right.” This list is about claims made by government officials worldwide that sort of eclipse anything heads of state may have said (or will say in the future). Think you’ve heard […]

The post [10 Times Government Officials Made Startling Claims](https://listverse.com/2025/04/26/10-times-government … ⌘ Read more

⤋ Read More

10 Fictional Species Designed for Battle
War is generally not something to aspire to. It’s a desperate measure to resolve one’s differences when all other options fail. Fighting forgoes people’s evolutionary intelligence and reduces them to their baser instincts. Such barbarism leaves both sides licking their wounds, coping with the pain and death that their actions have wrought. Granted, combat is […]

The post [10 Fictional Species Designed for Battle](https://listverse.com/2025/04/26/10-f … ⌘ Read more

⤋ Read More

Run Mac OS X 10.2 Jaguar in a Web Browser
Mac OS X Jaguar 10.2 may have been released all the way back in 2002, but thanks to the InfiniteMac project, you can also run Mac OS X Jaguar on your modern Mac right now with just a web browser. Sure you might even have an old dusty Mac laying around in a closet that … Read MoreRead more

⤋ Read More

Top Stories: iPhone 17 Air Rumors, Apple Watch Turns 10, and More
We’ve known for quite some time about Apple’s plans for a thinner “iPhone 17 Air” coming later this year, but wow, the latest dummy models give us our best look yet at just how thin this phone is going to be.

Image

Other Apple news and rumors this week included another iOS 18.5 beta, the 10th anniversary of the Apple Watch launch, and more … ⌘ Read more

⤋ Read More
In-reply-to » A visual flow chart diagram that illustrates how two different but very related concepts can lead to system accidents 👌 Media

These ideas are dr the two books:

  • Drift into Failure: From Hunting Broken Components to Understanding Complex Systems by Sidney Dekker (2011)
  • Engineering a Safer World by Nancy Leveson (2011)

The former I haven’t read. The later I haven’t finished reading 😅

⤋ Read More