Vous avez aimé les dernières lois européennes ? Vous adorerez la “CS3D” !
L’Union européenne, c’est très bientôt une solide protection des “minorités”, du climat, des petits oiseaux, de l’environnement et de tout ce qui passe. Et ça devrait assez mal se passer. Vous n’êtes probablement pas au courant (la presse sait se faire discrète quand certains sujets sont abordés), mais les institutions européennes ont approuvé en mai […] ⌘ Read more
Go 信號處理:優雅地關閉你的應用
在構建健壯且可靠的應用程序時,優雅地處理系統信號至關重要。系統信號,如 SIGINT(中斷信號,通常由 Ctrl+C 觸發)和 SIGTERM(終止信號),允許我們以可控的方式關閉應用程序,執行必要的清理操作,例如關閉連接、釋放資源和保存狀態。本文將深入探討在 Go 語言中如何處理系統信號。我們將涵蓋以下主題:理解系統信號 使用 os/signal 包捕獲信號 實現優雅的關閉機制 ⌘ Read more
Mais où part le pognon ?
En France, le salarié ne le sait pas, mais il vaut beaucoup plus que ce qu’il est payé. Beaucoup, beaucoup plus. Mais voilà, il n’est pas seul sur son salaire… En réalité, quand le salarié français gagne de l’argent, il en gagne un peu pour lui et surtout beaucoup pour les autres. C’est important, les […] ⌘ Read more
Quand l’immobilier va, tout va
C’est un véritable spectacle d’équilibrisme que nous offre actuellement le gouvernement Barnier dont l’absence de colonne vertébrale autorise des cabrioles assez spectaculaires, reconnaissons-le. D’un côté, le brave Michel sent – de moins en moins confusément – qu’on l’a placé dans un traquenard en lui présentant une situation économique bien plus rose qu’elle ne l’est réellement […] ⌘ Read more
@prologic@twtxt.net Regarding the new way of generating twt-hashes, to me it makes more sense to use tabs as separator instead of spaces, since the you can just copy/past a line directly from a twtxt-file that already go a tab between timestamp and message. But tabs might be hard to “type” when you are in a terminal, since it will activate autocomplete…🤔
Another thing, it seems that you sugget we only use the domain in the hash-creation and not the full path to the twtxt.txt
$ echo -e "https://example.com 2024-09-29T13:30:00Z Hello World!" | sha256sum - | awk '{ print $1 }' | base64 | head -c 12
En France, la prochaine sodomie fiscale sera temporaire mais surtout exceptionnelle !
En matière d’économie, en France, tout va bien et, à l’analyse, tout va même mieux que bien ! Le pays est sauvé et c’est grâce à Bruno Le Maire qui l’a d’ailleurs expliqué avec cette fulgurance qui vaudra certainement à son auteur une trace indélébile dans l’Histoire : « :Si aujourd’hui notre niveau de dette est élevé, c’est […] ⌘ Read more
Cela ne peut pas être ce que vous pensez que cela pourrait être. Impossible.
Pendant que les Français sont occupés par le petit théâtre gouvernemental et les gesticulations ministérielles grotesques destinées à camoufler l’effondrement économique et social du pays dans la violence et la misère, la situation sanitaire mondiale continue son inquiétante trajectoire. Cette trajectoire n’est pas nouvelle. C’est même une tendance de fond que quelques précédents a … ⌘ Read more
Erlang Solutions: Erlang Concurrency: Evolving for Performance
Some languages are born performant, and later on tackle concurrency. Others are born concurrently and later build on performance. C or Rust system’s programming are examples of the former, Erlang’s Concurrency is an example of the latter.
A mistake in concurrency can essentially let all hell loose, incurring incredibly hard-to-track bugs and even security vulnerabilities, and a mistake in performance can leave a product tr … ⌘ Read more
基於反射的輕量級 Go 依賴注入框架
在軟件開發領域,依賴注入(DI)是一種強大的設計模式,它可以幫助我們編寫鬆散耦合、易於測試和維護的代碼。雖然在 Go 語言中,依賴注入的使用不如其他語言(如 Java 或 C#)那麼普遍,但在構建大型、複雜的應用程序時,它仍然可以發揮重要作用。Parsley 就是爲此而生的。它是一個易於使用、基於反射的 Go 依賴注入包,可以無縫地集成到任何 Go 應用程序中。Parsley——-Pars ⌘ Read more
CNCF and the Linux Foundation partner with Unified Patents on a community-driven approach to safeguard open source innovation from patent trolls
Now is the time for the open source ecosystem to band together and find strength in numbers CNCF and The Linux Foundation are expanding their partnership with Unified Patents to protect open source software from non-practicing entities (NPEs), c … ⌘ Read more
@prologic@twtxt.net earlier you suggested extending hashes to 11 characters, but here’s an argument that they should be even longer than that.
Imagine I found this twt one day at https://example.com/twtxt.txt :
2024-09-14T22:00Z Useful backup command: rsync -a “$HOME” /mnt/backup
and I responded with “(#5dgoirqemeq) Thanks for the tip!”. Then I’ve endorsed the twt, but it could latter get changed to
2024-09-14T22:00Z Useful backup command: rm -rf /some_important_directory
which also has an 11-character base32 hash of 5dgoirqemeq. (I’m using the existing hashing method with https://example.com/twtxt.txt as the feed url, but I’m taking 11 characters instead of 7 from the end of the base32 encoding.)
That’s what I meant by “spoofing” in an earlier twt.
I don’t know if preventing this sort of attack should be a goal, but if it is, the number of bits in the hash should be at least two times log2(number of attempts we want to defend against), where the “two times” is because of the birthday paradox.
Side note: current hashes always end with “a” or “q”, which is a bit wasteful. Maybe we should take the first N characters of the base32 encoding instead of the last N.
Code I used for the above example: https://fossil.falsifian.org/misc/file?name=src/twt_collision/find_collision.c
I only needed to compute 43394987 hashes to find it.
Rapport Draghi : le constat d’échec cuisant des réglementations européennes
L’Union européenne, c’est vraiment une réussite : non seulement, elle nous permet de faire l’expérience sur le sol européen d’une guerre essentiellement paisible, mais en plus, elle nous garantit une économie en croissance maîtrisée, bien à l’abri des tonitruantes innovations qui menacent régulièrement les citoyens européens de leurs bienfaits un peu trop positifs. Ouf ! Sans les […] ⌘ Read more
PEP 756: Add PyUnicode_Export() and PyUnicode_Import() C functions
Add functions to the limited C API version 3.14: ⌘ Read more
I was not suggesting to that everyone need to setup a working webfinger endpoint, but that we take the format of nick+(sub)domain as base for generating the hashed together with the message date and content.
If we omit the protocol prefix from the way we do things now will that not solve most of the problems? In the case of gemini://gemini.ctrl-c.club/~nristen/twtxt.txt they also have a working twtxt.txt at https://ctrl-c.club/~nristen/twtxt.txt … damn I just notice the gemini. subdomain.
Okay what about defining a prefers protocol as part of the hash schema? so 1: https , 2: http 3: gemini 4: gopher ?
Sté výročie Oltárneho krúžku žien v Selenči
V týchto dňoch v selenčskom cirkevnom zbore si pripomínajú storočnicu pôsobenia Ženského krúžku. Záznam o jeho začiatkoch nachádzame v Ročenke Slovenskej evanjelickej a.v. cirkvi v Juhoslávii z roku 1959. V texte Michala Sľúku čítame: “Prvé počiatky organizovania žien pri cirkvi siahajú až do 1924 roku. Vtedy 9 žien večeriami sa schádzali spolu aj s kantorom do Častvanovho domu ku cvičeniu cirkevného spevu. Tento malý krúžok sa č … ⌘ Read more
Sea Lemon – Crystals (feat. Ben Gibbard)
Longtime Ben Gibbard superfan Sea Lemon hooks up with the Seattle legend on a haunting, anthemic duet that shimmers and soars, launching Sea Lemon’s beautifully wistful and always super catchy dream-pop into a new stratosphere… Continue reading… ⌘ Read more
Michel Barnier : l’effervescente mollesse de l’extrême-centre antilibéral
Voilà, c’est fait : après deux mois d’atermoiements et de “consultations” aussi théâtrales qu’inutiles, Macron a fini par désigner Michel Barnier comme nouveau premier ministre en remplacement du stagiaire Gabriel Attal qui venait pourtant tout juste de maîtriser la photocopieuse au rez-de-chaussée. Comme on pouvait le prévoir depuis la dissolution et les résultats en demi-teinte des […] ⌘ Read more
@lyse@lyse.isobeef.org 31°C here, feels like 33°C, with a lovely 75% of humidity. It has been raining, on and off (to make matter “better”) the whole day until now. No horses here, but if you go outside you will smell the same smell of farm animals (like goats, or pigs). That’s because two or three kilometres from here there are private farms, and when the wind blows in such way, well, we are reminded of their existence.
I haven’t left the house, so it feels well under air conditioning. In two more hours I will call it quits from the work day, and will have to dash to the grocery to get supplies for tonight’s meal (arroz con gandules). I will let you know how it truly feels out there then. :-D
For those swollen fingers, nothing better than a mildly cold shower! Oh, and paws off the keyboard! :-P
橋接 Rust 和原生 Go
你好,大家好,我是 yuchanns!最近我做了一些有趣的事情,想和你分享:介紹 OpenDAL 作爲 Go 語言的原生綁定。 TLDR; 我將向你展示一種可行的方法,利用 purego 和 libffi 的魔力,從 Rust 和 C 組件構建原生 Go 綁定。什麼是 OpenDAL?————Apache OpenDAL[1] 是一個 Rust 庫,提供了統一的數據訪問層。它爲 ⌘ Read more
Go 機器學習框架之火重燃,Google 前研究員開源期望媲美 Jax 的 GoMLX
Go 作爲一門兼具高性能與簡潔性的編程語言,近年來在各種領域得到廣泛應用。然而,在機器學習領域,Go 相比 Python、C++、Julia 等語言,生態仍然較爲薄弱。目前的 Go 機器學習框架無論在功能全面性上,還是在社區生態支持上都難以與 TensorFlow、PyTorch、Jax 等重量級框架抗衡。究其原因,筆者覺得還是 Go 社區缺少熟悉和精通機器學習方面的人才。不過,隨着時間的推移,總 ⌘ Read more
ASUS IoT EBS-P300 Fanless Lightweight Box PC with 2.5GbE & 1GbE LAN ports
The ASUS IoT EBS-P300 is a compact, lightweight embedded computer designed for industrial applications. It features an Intel Celeron J6412 processor and is optimized for use in harsh environments, with reliable performance across a temperature range of -20°C to 60°C. The EBS-P300 supports up to 8GB of LPDDR4x-3733 RAM, providing capacity for running multiple applications. […] ⌘ Read more
@movq@www.uninformativ.de wow! We are “lucky” today, only 27°C here, 87% humidity, overcast, and raining sporadically. Thanks to the rain our temperatures aren’t high, but muggy nevertheless. I am ready for our winter too, you know, that whole week. LOL.
vim cursor at the end of the first line on replies, and forks. I have tried adding to this to jenny's configuration:
@movq@www.uninformativ.de hmm, I guess I could do that too. I have startinsert set on my .vimrc, so I will either have to take it out, or exit insert, $, then insert again. I think the way you do it would be the way to go.
I tried setting VISUAL to be something like vim -c 'star!', which does the same thing, but no dice. :-/
Go 程序如何實現優雅退出?來看看 K8s 是怎麼做的——上篇
在寫 Go 程序時,優雅退出是一個老生常談的問題,也是我們在微服務開發過程中的標配,本文就來介紹下工作中常見的幾種優雅退出場景,以及帶大家一起來看一下 K8s 中的優雅退出是怎麼實現的。優雅退出我們一般可以通過如下方式執行一個 Go 程序:$ go build -o main main.go$ ./main如果要停止正在運行的程序,通常可以這樣做:在正在運行程序的終端執行 Ctrl + C。 ⌘ Read more
This new LG TV puts many pricier models to shame
For the fifth consecutive year, LG’s C-series ticks every box despite coming in a lot cheaper than the highest-end models. ⌘ Read more
Daniel Pocock: ClueCon 2024 photos
ClueCon has just finished. Here are some of my photos.

GNOME Bans Saying “Lunduke”. WINE Fixes AOL for Win 3.1 (Seriously). Python 71x Slower Than C. ⌘ Read more
Porting my JavaScript Game Engine to C for No Reason
high_impacttl;dr: high_impact is small game engine for 2D action games. It’s written in C, compiles to Windows, Mac and Linux as well as to WASM for the Web. It’s “inspired by” my original Impact JavaScript game engine from 2010. The name high_impact is a nod to a time when C was considered a high level language.
MIT licensed, source on github: [github.com/phoboslab/high_impact](https://github … ⌘ Read more
Petits sabotages entre amis d’extrême-gauche
Même si l’effervescence olympique aura fait passer les petites nouvelles locales franco-françaises en arrière-plan, il semble difficile d’oublier complètement les événements de vendredi dernier qui ont vu une bonne partie du trafic ferroviaire grande vitesse largement interrompu à la suite d’un sabotage d’ampleur. C’est ainsi que tôt vendredi matin, suite à des incendies volontaires sur […] ⌘ Read more
Python is 71x Slower, Uses 75x More Energy, Than C
Rust, Go, Swift, Dart, Ruby. All slower, & use more electricity, than plain old C. ⌘ Read more
JO 2024 : une cérémonie sans surprises
Voilà qui agacera peut-être les pignoufs asséchés des plateaux télé qui tremblent à l’évocation des chaleurs de l’été : on nous annonçait une sécheresse et de la canicule mais la cérémonie d’ouverture s’est déroulée sous une pluie battante. Ceci dit, rappelons que François Hollande était de la partie. C’était donc garanti que tout serait fortement humide, […] ⌘ Read more
There are also a bunch of log messages scrolling by. I’ve never seen this much activity in the log:
Jul 25 01:37:39 buc.ci yarnd[829]: [yarnd] 2024/07/25 01:37:39 (149.71.56.69) "GET /external?nick=lovetocode999&uri=https://pagez.co.uk/services/your-own-100-fully-owned-online-vi>
Jul 25 01:37:39 buc.ci yarnd[829]: [yarnd] 2024/07/25 01:37:39 (162.211.155.2) "GET /twt/112135496802692324 HTTP/1.1" 400 12 826.65µs
Jul 25 01:37:40 buc.ci yarnd[829]: [yarnd] 2024/07/25 01:37:40 (51.222.253.14) "GET /conv/muttriq HTTP/1.1" 200 36881 20.448309ms
Jul 25 01:37:40 buc.ci yarnd[829]: [yarnd] 2024/07/25 01:37:40 (162.211.155.2) "GET /twt/112730114943543514 HTTP/1.1" 400 12 663.493µs
Jul 25 01:37:40 buc.ci yarnd[829]: [yarnd] 2024/07/25 01:37:40 (27.75.213.253) "GET /external?nick=lovetocode999&uri=http%3A%2F%2Falfarah.jo%2FHome%2FChangeCulture%3FlangCode%3Den>
Jul 25 01:37:40 buc.ci yarnd[829]: time="2024-07-25T01:37:40Z" level=error msg="http://bynet.com.br/log_envio.asp?cod=335&email=%21%2AEMAIL%2A%21&url=https%3A%2F%2Fwww.almanacar.c>
Jul 25 01:37:40 buc.ci yarnd[829]: [yarnd] 2024/07/25 01:37:40 (162.211.155.2) "GET /twt/111674756400660911 HTTP/1.1" 400 12 545.106µs
Jul 25 01:37:40 buc.ci yarnd[829]: time="2024-07-25T01:37:40Z" level=warning msg="feed FetchFeedRequest: @<lovetocode999 http://alfarah.jo/Home/ChangeCulture?langCode=en&returnUrl>
Jul 25 01:37:41 buc.ci yarnd[829]: [yarnd] 2024/07/25 01:37:41 (162.211.155.2) "GET /twt/112507964696096567 HTTP/1.1" 400 12 838.946µs
Something really weird is going on?
(Updated) Forlinx’s New SoM Leverages Rockchip RK3562J Quad-Core Processor
(Updated) Forlinx’s New SoM Leverages Rockchip RK3562J Quad-Core Processor
Forlinx Embedded has launched the FET3562J-C SoM, a versatile system on module with an optional 1 TOPS NPU, optimized for a broad range of applications including industrial automation, consumer electronics, smart healthcare, energy, and telecommunications. ⌘ Read more
Linux-Compatible Board Built Around RK3576 with 6TOPS NPU for AIoT Applications
Linux-Compatible Board Built Around RK3576 with 6TOPS NPU for AIoT Applications
The Forlinx Embedded FET3576-C SoM and its carrier board are designed to meet the demands of the AIoT market, emphasizing high performance, substantial computing power, and energy efficiency. Built around the Rockchip RK3576, this hardware platform incorporates dual GbE LAN ports, PCIe support, wireless cap … ⌘ Read more
Pour redresser les finances, les autorités ont une idée finaude : augmenter les impôts
La gauche au pouvoir, c’est une éclosion permanente d’idées économiques surprenantes. Prenez l’Allemagne : son actuel déficit démographique devrait la pousser à faire un peu attention à ses finances d’un côté, à pousser la robotisation massive de tous ses domaines (comme le font Japon et Corée actuellement), et à cajeoler sa population de l’autre pour – […] ⌘ Read more
De la banalisation des couteaux, des fous et du RN
Dans au moins un domaine, les récentes élections ont enfin pu apporter un peu de clarté. Bien sûr, il ne s’agit pas du domaine politique tant l’explosion en vol du NFP, prévue et actée, donne à tant de politiciens l’occasion d’exprimer leurs talents de clown. Non, si les choses sont plus claires, c’est clairement pour […] ⌘ Read more
構建並運行 eBPF 應用 - Part 2
在上一篇文章中,我們用 C 語言創建了一個 eBPF 程序,以瞭解某個進程使用 CPU 的時間。這些數據隨後被存儲在 BPF HashMap 中。但這是一個不斷更新的短期存儲位置,數據的壽命很短…… 我們該如何利用這些數據呢?這就是用戶空間程序的用武之地。用戶空間程序不在內核空間運行,但可以附加到 eBPF 程序並訪問 BPF HashMap。現在讓我們來看看如何用 Golang 編寫用戶 ⌘ Read more
構建並運行 eBPF 應用 - Part 1
本文將介紹如何使用 C 和 Golang 編寫第一個 eBPF 程序。我們將在第一部分介紹實際的 eBPF 程序,在第二部分介紹用戶空間應用程序。準備工作本文開發所運行的操作系統是:OS: Ubuntu 22.04Linux Header Version: 6.5.0–14-generic還通過 apt 安裝了一些依賴項:sudo apt-get -y install libbpf bpfcc-t ⌘ Read more
Tentative d’assassinat de Trump : tout se déroule comme prévu
Après Jair Bolsonaro, Shinzo Abe, Robert Fico, c’est donc au tour de Donald Trump de subir une tentative d’assassinat. Comme de coutume aux États-Unis, la tentative a immédiatement versé dans le spectaculaire, surtout du côté de la presse de grand chemin. Et spectaculaire est probablement le seul qualificatif pour la façon dont cette dernière a […] ⌘ Read more
聊聊 go 語言對於 socket 的抽象
寫在文章開頭——go語言對於網絡抽象做了非常通用且高性能的封裝,所以就從net包源碼入手介紹一下go語言對於socket的抽象。Hi,我是 sharkChili ,是個不斷在硬核技術上作死的 java coder ,是 CSDN 的博客專家 ,也是開源項目 Java Guide 的維護者之一,熟悉 Java 也會一點 Go ,偶爾也會在 C 源碼 邊緣徘徊。寫過很多有意思的技術博客,也還在 ⌘ Read more
Pinellas County - Cool down: 2.35 miles, 00:09:59 average pace, 00:23:27 duration
walked about ¾ mile and then started c/d run. felt strong so endurance is in a great spot!
#running
So dissatisfied and disappointed with the Fairphone 4’s audio issues where during phone calls, the receiver only gets half of the messages due to noise cancellation problems, that we’re considering iPhone as a valid “it just works” replacement. Especially since the iPhone15 now also has the USB Type C port.
Forlinx’s New SoM Leverages Rockchip RK3562J Quad-Core Processor
Forlinx Embedded has launched the FET3562J-C SoM, a versatile system on module with an optional 1 TOPS NPU, optimized for a broad range of applications including industrial automation, consumer electronics, smart healthcare, energy, and telecommunications. The FET3562J-C SoM, powered by the Rockchip RK3562J processor with advanced 22nm process technology, features four ARM Cortex-A53 cores operating […] ⌘ Read more
Execute commands by sending JSON? Learn how unsafe deserialization vulnerabilities work in Ruby projects
Can an attacker execute arbitrary commands on a remote server just by sending JSON? Yes, if the running code contains unsafe deserialization vulnerabilities. But how is that possible? In this blog post, we’ll describe how unsafe deserialization vulnerabilities work and how you can detect them in Ruby projects.
The post [Execute c … ⌘ Read more
Growing Living Neurons to Play…Doom? | Part 2! ⌘ Read more
La justice sociale n’existe pas
Disons les choses franchement : la justice sociale, c’est de la foutaise, et en plus, elle est impossible à réaliser. Et pour comprendre qu’elle n’existe pas, il n’y a pas besoin de rentrer dans un long débat de définition même si, c’est vrai, ces notions sont si fluides et mal définies qu’elles s’adaptent fort commodément aux […] ⌘ Read more
Impunité, laxisme, corruption : la justice française ne ressemble plus à rien
Avril 2021, alors que des procès en laxisme au sujet de la Justice française fusent dans l’actualité, le nouveau garde des Sceaux, Dupond-Moretti, monte au créneau et exprime sa stupéfaction dans un entretien accordé au Monde : pour lui, c’est un gros malentendu, un problème de communication entre les magistrats et les Français qui ne font […] ⌘ Read more