Amazon Leaks New Mac Mini With M4 and M4 Pro Chips, Two Front USB-C Ports, Up to 64GB of RAM, and More
Amazon has seemingly leaked the rumored next-generation Mac mini ahead of Apple’s announcement this week, revealing several details.
According to a comparison chart on [Amazon’s product listing for the new iMac](https://buy.geni.us/Proxy.ashx?TSID=3088&GR_URL=https%3A%2F%2Fwww.amazon.com%2Fgp%2Faw%2Fd%2FB0DL76BQ5 … ⌘ Read more
m-a-x-c creates Monero churn timing tool
m-a-x-c1 has created Monero Churn Timer 2 - a Python script that generates randomized wait times for XMR transactions and can potentially help users increase their privacy by scheduling churns:
The way it works is as follows: after receiving Monero, you would use the Monero Churn Timer to generate a random wait time. You would then set a reminder to “churn” (i.e., send that transaction to yourself at a new address) after the specified … ⌘ Read more
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
18 New Things Your iPhone Can Do in iOS 18.1
Apple is expected to release iOS 18.1 on Monday, October 28, bringing the first set of Apple Intelligence features to iPhone 15 Pro and iPhone 16 models. This update marks the first significant step forward in Apple’s AI integration, offering a new Siri contextually-aware experience and a range of additional c … ⌘ Read more
UK Considers Adopting USB-C as Common Charging Standard
The UK government has launched a consultation to explore the possibility of mandating USB-C as the standard charging port for electronic devices, potentially aligning with similar regulations recently adopted by the European Union.
Th … ⌘ Read more
Apple Releases New AirPods Pro 2 Beta Firmware
Apple today released a new beta firmware update for the AirPods Pro 2, with the software available for both the Lightning and USB-C versions of the AirPods Pro. The firmware has a build number of 7B5013d, up from 7B5013c, and as it is a beta, it is only available for developers at the current time.
It is no … ⌘ Read more
The 10 Best Apple Deals Under $100 for Prime Day
As Prime Day continues today, we’re highlighting all of the best Apple deals you can get for under $100 on Amazon. This includes Apple Pencil, AirTags, iPhone cases, USB-C chargers, and more.
MacBook Pro With M4 Chip May Support Up to Two External Displays
Apple’s upcoming entry-level M4 14-inch MacBook Pro may be capable of supporting up to two external displays, up from one display supported in the current M3 model, if recent leaks are anything to go by.
Apple’s existing M3 14-inch MacBook Pro comes with two Thunderbolt 3 USB-C ports, not three Thunderbolt 4 … ⌘ 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
How, this is some funny easter egg: https://git.savannah.nongnu.org/cgit/man-db.git/commit/src/man.c?id=002a6339b1fe8f83f4808022a17e1aa379756d99
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
WhatsApp Rolls Out New Filters and Backgrounds for Video Calls
WhatsApp has announced it is rolling out new filters and backgrounds for users to personalize their video calls. The popular chat platform said the new effects are designed to make video conversations “more engaging” and give them a “more personal touch.”
 dropped from 4.4% to 4.25%, in line with the US Federal Reserve approving an aggressive rate c … ⌘ Read more
Apple Begins Selling Refurbished AirPods Pro 2 With USB-C Case in U.S.
Apple today began selling refurbished second-generation AirPods Pro with a USB-C charging case on its online store in the U.S. for $209, compared to $249 brand new.
Apple updated the AirPods Pro with a USB-C cha … ⌘ Read more
@aelaraji@aelaraji.com This is one of the reasons why yarnd has a couple of settings with some sensible/sane defaults:
I could already imagine a couple of extreme cases where, somewhere, in this peaceful world one’s exercise of freedom of speech could get them in Real trouble (if not danger) if found out, it wouldn’t necessarily have to involve something to do with Law or legal authorities. So, If someone asks, and maybe fearing fearing for… let’s just say ‘Their well being’, would it heart if a pod just purged their content if it’s serving it publicly (maybe relay the info to other pods) and call it a day? It doesn’t have to be about some law/convention somewhere … 🤷 I know! Too extreme, but I’ve seen news of people who’d gone to jail or got their lives ruined for as little as a silly joke. And it doesn’t even have to be about any of this.
There are two settings:
$ ./yarnd --help 2>&1 | grep max-cache
--max-cache-fetchers int set maximum numnber of fetchers to use for feed cache updates (default 10)
-I, --max-cache-items int maximum cache items (per feed source) of cached twts in memory (default 150)
-C, --max-cache-ttl duration maximum cache ttl (time-to-live) of cached twts in memory (default 336h0m0s)
So yarnd pods by default are designed to only keep Twts around publicly visible on either the anonymous Frontpage or Discover View or your Timeline or the feed’s Timeline for up to 2 weeks with a maximum of 150 items, whichever get exceeded first. Any Twts over this are considered “old” and drop off the active cache.
It’s a feature that my old man @off_grid_living@twtxt.net was very strongly in support of, as was I back in the day of yarnd’s design (nothing particularly to do with Twtxt per se) that I’ve to this day stuck by – Even though there are some 😉 that have different views on this 🤣
基於反射的輕量級 Go 依賴注入框架
在軟件開發領域,依賴注入(DI)是一種強大的設計模式,它可以幫助我們編寫鬆散耦合、易於測試和維護的代碼。雖然在 Go 語言中,依賴注入的使用不如其他語言(如 Java 或 C#)那麼普遍,但在構建大型、複雜的應用程序時,它仍然可以發揮重要作用。Parsley 就是爲此而生的。它是一個易於使用、基於反射的 Go 依賴注入包,可以無縫地集成到任何 Go 應用程序中。Parsley——-Pars ⌘ Read more
An alternate idea for supporting (properly) Twt Edits is to denoate as such and extend the meaning of a Twt Subject (which would need to be called something better?); For example, let’s say I produced the following Twt:
2024-09-18T23:08:00+10:00 Hllo World
And my feed’s URI is https://example.com/twtxt.txt. The hash for this Twt is therefore 229d24612a2:
$ echo -n "https://example.com/twtxt.txt\n2024-09-18T23:08:00+10:00\nHllo World" | sha1sum | head -c 11
229d24612a2
You wish to correct your mistake, so you make an amendment to that Twt like so:
2024-09-18T23:10:43+10:00 (edit:#229d24612a2) Hello World
Which would then have a new Twt hash value of 026d77e03fa:
$ echo -n "https://example.com/twtxt.txt\n2024-09-18T23:10:43+10:00\nHello World" | sha1sum | head -c 11
026d77e03fa
Clients would then take this edit:#229d24612a2 to mean, this Twt is an edit of 229d24612a2 and should be replaced in the client’s cache, or indicated as such to the user that this is the intended content.
@quark@ferengi.one My money is on a SHA1SUM hash encoding to keep things much simpler:
$ echo -n "https://twtxt.net/user/prologic/twtxt.txt\n2020-07-18T12:39:52Z\nHello World! 😊" | sha1sum | head -c 11
87fd9b0ae4e
@quark@ferengi.one Mine is a little overkill 😂 but I need to do something for practice:
#!/bin/bash
set -e
trap 'echo "!! Something went wrong...!!"' ERR
#============= Variables ==========#
# Source files
LOCAL_DIR=$HOME/twtxt
TWTXT=$LOCAL_DIR/twtxt.txt
HTML=$LOCAL_DIR/log.html
TEMPLATE=$LOCAL_DIR/template.tmpl
# Destination
REMOTE_HOST=remotHostName # Host already setup in ~/.ssh/config
WEB_DIR="path/to/html/content"
GOPHER_DIR="path/to/phlog/content"
GEMINI_DIR="path/to/gemini-capsule/content"
DIST_DIRS=("$WEB_DIR" "$GOPHER_DIR" "$GEMINI_DIR")
#============ Functions ===========#
# Building log.html:
build_page() {
twtxt2html -T $TEMPLATE $TWTXT > $HTML
}
# Bulk Copy files to their destinations:
copy_files() {
for DIR in "${DIST_DIRS[@]}"; do
# Copy both `txt` and `html` files to the Web server and only `txt`
# to gemini and gopher server content folders
if [ "$DIR" == "$WEB_DIR" ]; then
scp -C "$TWTXT" "$HTML" "$REMOTE_HOST:$DIR/"
else
scp -C "$TWTXT" "$REMOTE_HOST:$DIR/"
fi
done
}
#========== Call to functions ===========$
build_page && copy_files
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
20° temperature drop in just a hand full of days. Ooof. We went on a stroll at 10°C today. I could have used a beanie, my ears were very cold. The sun was out, but hardly any people. Very nice. Also, no wind.
It was nice to finally hear a few birds singing again, although it was still fairly silent. The sun gave us a nice show. In hindsight, we should have stayed at the summit a bit longer. In the forest, we missed the very best, crazy red sky. We could only see parts shimmering through the tree lines.
All iPhone 16 Models Support Up to 45W Fast Charging via USB-C
All iPhone 16 models support up to 45W of wired fast charging via the USB-C port, up from 29W on the iPhone 15, according to a new certification shared by leaker ShrimpApplePro.
Details submitted to the China Quality Certification Center (CQC) and [posted to Weibo](https://weib … ⌘ Read more
url field in the feed to define the URL for hashing. It should have been the last encountered one. Then, assuming append-style feeds, you could override the old URL with a new one from a certain point on:
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 ?
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
When we passed a few horses in the forest, there was really strong soup odor in the air. It didn’t smell like horse at all, but soup. Maybe they’ve been soup horses, chickens were out of stock.
29°C, zero wind, extremely humid, luckily the sun was behind the clouds. I’m soaking wet, sweat ran down in streams and dripped in my eyes, it burned a bit. The sky is getting a little dark, I hope the thunderstorm and rain are really arriving here later. Rain had always been finally cancelled the couple last days.
I’m gotta go cool off my fingers now, they’re swollen from the heat.
Ugreen Launches Qi2 iPhone Chargers With Emoji Faces
Ugreen today announced the launch of several new Apple-specific charging products that have a robot-style design with emoji faces. The Uno series includes a Qi2 charger, a wireless power bank, and a 100W USB-C charger.
According to Ugreen, the chargers were created with “Fast and Fun Charging” for Apple users in mind. Each o … ⌘ Read more
橋接 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.
35°C and rising … can haz winter?
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. :-/
@falsifian@www.falsifian.org @bender@twtxt.net I pushed an alternative implementation to the fetch-context branch. This integrates the whole thing into mutt/jenny.
You will want to configure a new mutt hotkey, similar to the “reply” hotkey:
macro index,pager <esc>C "\
<enter-command> set my_pipe_decode=\$pipe_decode nopipe_decode<Enter>\
<pipe-message> jenny -c<Enter>\
<enter-command> set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<Enter>" \
"Try to fetch context of current twt, like a missing root twt"
This pipes the mail to jenny -c. jenny will try to find the thread hash and the URL and then fetch it. (If there’s no URL or if the specific twt cannot be found in that particular feed, it could query a Yarn pod. That is not yet implemented, though.)
The whole thing looks like this:
https://movq.de/v/0d0e76a180/jenny.mp4
In other words, when there’s a missing root twt, you press a hotkey to fetch it, done.
I think I like this version better. 🤔
(This needs a lot of testing. 😆)
Go 程序如何實現優雅退出?來看看 K8s 是怎麼做的——上篇
在寫 Go 程序時,優雅退出是一個老生常談的問題,也是我們在微服務開發過程中的標配,本文就來介紹下工作中常見的幾種優雅退出場景,以及帶大家一起來看一下 K8s 中的優雅退出是怎麼實現的。優雅退出我們一般可以通過如下方式執行一個 Go 程序:$ go build -o main main.go$ ./main如果要停止正在運行的程序,通常可以這樣做:在正在運行程序的終端執行 Ctrl + C。 ⌘ Read more
Apple Releases New AirPods Pro 2 Beta Firmware With Support for iOS 18 Features
Apple today released a new firmware update for the AirPods Pro 2, including both the Lightning and USB-C versions. The firmware has a build number of 7A5290a, up from 7A5266c, and it is available to developers at the current time. This is the fourth firmware update that Apple has released since announcing new AirPods Pro 2 features in June.

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
Oh, the lovely smell of rain. Wonderful! 33°C today, yikes! And I can already hear the thunder rolling in.
iPhone Driver’s Licenses Now Available in Ohio
iPhone and Apple Watch users in Ohio are now able to add their digital IDs and driver’s licenses to the Wallet app on the iPhone, providing a convenient alternative to a physical card.
Ohio is the fifth state to add support for digital IDs in the Wallet app, following Arizona, Maryland, C … ⌘ 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
(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
Review: Ugreen Nexode 100W 20000mAh Power Bank Offers Ample Juice to Go
Popular accessory brand Ugreen has built up a veritable lineup of portable power banks and chargers in the last few years, with several options to serve the needs of gadget users on the road. It can be hard to work out what kind of unit will meet your particular requirements, but if you are looking for a compact USB-C/A bank that has enough juice to fully recharge your smartphone and laptop a … ⌘ 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
The 9 Best Apple Deals Under $100 for Prime Day
As Prime Day continues today, we’re highlighting all of the best Apple deals you can get for under $100 on Amazon. This includes AirPods, Apple Pencil 2, AirTags, iPhone cases, USB-C chargers, and more.
… ⌘ 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
The 26°C humidity was through the roof and we just barely escaped the thunderstorm on our stroll. Only the adjacent rain hit us hard. Black clouds caught up on us and we decided to take cover at a barn. Not even a minute later it started to rain cats and dogs for ten minutes straight. Holy crap, that was cool to watch. :-) Also, the smell of rain was just beautiful.
We then decided to continue our return in the light drizzle. But it then got much heavier again and we got completely soaked. With the wet t-shirt and the wind it actually felt rather cold. I anticipated to get rained on, so I left my camera at home. Plenty of paths turned into brook landscapes, several centimeter deep creeks ran down the hilly trails. Quite fascinating. :-)
The sunset a few minutes ago wasn’t too bad:
Refurbished USB-C Apple Pencil Now Available in U.S. and Canada
The USB-C Apple Pencil that was launched in November 2023 is now available from the Apple Refurbished Store in the United States and Canada at a discount. Refurbished USB-C Apple Pencil models are available for $69 in the U.S., which is $10 off of the standard $79 price. In Canada, the refurbished USB-C A … ⌘ Read more
聊聊 go 語言對於 socket 的抽象
寫在文章開頭——go語言對於網絡抽象做了非常通用且高性能的封裝,所以就從net包源碼入手介紹一下go語言對於socket的抽象。Hi,我是 sharkChili ,是個不斷在硬核技術上作死的 java coder ,是 CSDN 的博客專家 ,也是開源項目 Java Guide 的維護者之一,熟悉 Java 也會一點 Go ,偶爾也會在 C 源碼 邊緣徘徊。寫過很多有意思的技術博客,也還在 ⌘ Read more
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
Beats Solo Buds Unboxed, Available to Order Starting Next Week
Apple today shared a Beats Solo Buds unboxing video on YouTube, providing a closer look at the wireless earbuds before they launch next week.
Priced at $79.99, the Beats Solo Buds feature up to 18 hours of battery life, a USB-C carrying case, and Find My support on both iOS and Android. However, they lack … ⌘ 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
利用 Go 語言加速 Redis 操作:掌握 go-redis 包的高效應用技巧
一、golang 操作 redis 1、安裝初始化文件夾 c:\aaa mkdir testredisc:\aaa\testredis go mod init testredis安裝 go get github.com/go-redis/redis/v82、基本使用 package mainimport ( “context” “fmt” “github.com/go-r ⌘ Read more
La dissolution finale ?
Coup de tonnerre dans un ciel bleu : alors que les bulletins de l’élection européenne sont encore tout chaud sortis des urnes, Macron décide de dissoudre l’Assemblée nationale. Pour ceux qui ne se doutaient pas de cette manoeuvre politicienne du locataire de l’Élysée, c’est une vraie surprise ; Attal, le pantalon encore sur les chevilles, a donc […] ⌘ Read more
ThingPulse Pendrive S3: Versatile as Both a Lightweight Wi-Fi Disk and Rubber Ducky Device
The ThingPulse Pendrive S3 is a compact development board that incorporates a male USB-C connector and is based on the ESP32-S3 Mini module. It supports the user-friendly CircuitPython programming environment, making it accessible for those familiar with Python. This device boasts 128MB of flash memory, similar in accessibility to an SD card, enabling it to […] ⌘ Read more
Leasing social, véhicules électriques et panne étatique
Janvier 2024 : c’est officiel, les Français vont pouvoir échanger leur vieille automobile thermique qui tache contre un baril de voiture électrique qui lave plus blanc ! Le leasing social vient d’être mis en place et va permettre aux heureux citoyens qui répondent aux critères contraignants de l’opération gouvernementale de disposer d’un petit véhicule électrique, choisi dans […] ⌘ Read more
用 go 語言實現一個有界協程池
寫在文章開頭——本篇文章算是對go語言系列的一個收尾,通過 go 語言實現一個實現一個簡單的有界協程池。Hi,我是 sharkChili ,是個不斷在硬核技術上作死的 java coder ,是 CSDN 的博客專家 ,也是開源項目 Java Guide 的維護者之一,熟悉 Java 也會一點 Go ,偶爾也會在 C 源碼 邊緣徘徊。寫過很多有意思的技術博客,也還在研究並輸出技術的路上,希 ⌘ Read more
Macron : Une guerre pour cacher la déroute ?
Les sondages sont assez clairs : c’est la déroute pour le camp macronien. Ainsi, non seulement Mélusine Hayer ne parvient pas à décoller dans les intentions de vote au point qu’elle chatouille à nouveau ses plus bas niveaux depuis qu’elle est entrée en lice, mais en plus réussit-elle la performance de propulser Bardella, le concombre endimanché […] ⌘ Read more
L’impossible recyclage du plastique
Très régulièrement, à la faveur d’une campagne de propag… pardon de conscientisation par l’une ou l’autre organisation de lobbying non gouvernemental, on découvre que l’Humanité rejette une quantité ahurissante de plastique dans la nature, que c’est une catastrophe et que nous allons tous mourir, ce qui explique au passage les lois de plus en plus […] ⌘ Read more
探索 Go 語言數據庫查詢的終極指南:深入解析 GORM 的強大查詢功能
一、GORM 基本查詢1、基本查詢func (c UserController) UserSelect() { //1、查詢id=3的用戶 user := models.User{Id: 3} models.DB.Find(&user) //2、查詢所有數據 user := []models.User{} result := models.DB.Find(&user) //5 (統計 ⌘ Read more
C 語言竟可以調用 Go 語言函數,這是如何實現的?
大家好,我是飛哥!今天和大家聊一個問題,一門語言是否可以在同一個進程內調用另外一門語言實現的函數?例如 C 語言是否可以調用 Golang 實現的函數?注意我說的是同進程內調用,跨進程的 IPC、PRC 之類的技術不算。直接拋出這個問題的答案,同進程跨語言調用是可行的。在各種語言設計時,爲了複用其它語言生態中積累下來的大量的代碼資產,都會實現跨語言調用的機制。例如在 Golang 中,實現了 cg ⌘ Read more
go 語言是如何實現協程的
go語言的精華就在於協程的設計,只有理解協程的設計思想和工作機制,才能確保我們能夠完全的利用協程編寫強大的併發程序。Hi,我是 sharkChili ,是個不斷在硬核技術上作死的 java coder ,是 CSDN 的博客專家 ,也是開源項目 Java Guide 的維護者之一,熟悉 Java 也會一點 Go ,偶爾也會在 C 源碼 邊緣徘徊。寫過很多有意思的技術博客,也還在研究並輸出技術的路上 ⌘ Read more
聊聊 go 語言基於 epoll 的網絡併發實現
在之前的文章中我們已經介紹了 epoll 模型,而本文就從 go 語言源碼的角度來了解一下,go 語言是如何基於 epoll 模型完成高性能的網絡協程併發程序的。Hi,我是 sharkChili ,是個不斷在硬核技術上作死的 java coder ,是 CSDN 的博客專家 ,也是開源項目 Java Guide 的維護者之一,熟悉 Java 也會一點 Go ,偶爾也會在 C 源碼 邊緣徘徊。 ⌘ Read more
iPhone 16 Pro Max to Feature New 48MP Wide and Ultra Wide Cameras
Apple’s iPhone 16 Pro Max will boast a bigger main camera sensor while both iPhone 16 Pro models will feature a 48-megapixel Ultra Wide camera for the first time, claims a rumor coming out of Asia.
According to Weibo user OvO Baby Sauce OvO, the main camera of the iPhone 16 Pro Max will be based on an advanced c … ⌘ Read more
Europe : état des lieux, avant fermeture ?
Les élections européennes approchent péniblement et plusieurs signes laissent penser que les peuples européens vont faire savoir vertement aux politiciens qu’ils ne sont plus trop d’accord avec la direction générale prise par les institutions européennes. C’est dans ce contexte forcément un peu tendu qu’ont récemment eu lieu des “concertations” entre l’Allemagne et la France ou, […] ⌘ Read more
Golang 實現枚舉的多種方式及最佳實踐
枚舉提供了一種表示一組命名常量的方式。雖然 Go 語言沒有內置的枚舉類型,但開發者可以通過常量 / 自定義類型來模擬類似枚舉的行爲。枚舉在編程語言中扮演着至關重要的角色,提供了一種簡潔而富有表現力的方式來定義一組命名常量。雖然像 Java 或 C# 這樣的語言提供了對枚舉的內置支持,但 Go 採用了不同的方法。在 Go 中,枚舉並不是一種原生的語言特性,但開發者有幾種技術可供使用,以實現類似的功能 ⌘ Read more
Valérie Hayer est visiblement nulle.
C’est le 2 mai qu’avait choisi BFMTV pour nous asséner le premier débat entre Valérie Hayer et Jordan Bardella dans le cadre de la campagne électorale pour les prochaines élections européennes de juin. À cette occasion, la tête de liste des macronistes a affronté pendant deux longues (trop longues) heures son homologue du Rassemblement National […] ⌘ Read more
La réelle faisant défaut, l’administration française va tenter l’intelligence artificielle
Avec les développements récents de l’intelligence artificielle, il apparaît clair que cette technologie va, progressivement, tous nous toucher d’une façon ou d’une autre : comme le mentionnaient ces colonnes il y a quelques jours, l’intelligence artificielle s’adresse à tous, et c’est tellement vrai que, comprenant la tendance et l’importance de s’inscrir … ⌘ Read more
“Magic Clock” for Plan 9 (and p9p). http://a.9srv.net/src/img/magicclock-p9p.png http://a.9srv.net/src/magicclock.c (man and other info at http://a.9srv.net/src/).
Une idiocratie française
Ah, enfin, le gouvernement prend des mesures fortes en faveur des Français ! Alors que les impôts n’ont jamais été aussi hauts, que l’insécurité augmente, que l’économie du pays vacille et que l’inflation fait rage, Olivia Grégoire, la ministre déléguée au commerce a courageusement retroussé ses manches. C’est donc décidé : le 1er Juillet, des affichettes seront […] ⌘ Read more
Youpi, Macron veut faire le Mozart de la finance avec votre épargne !
Décidément, ce n’est pas simple à comprendre, la Macronie ! Plus on étudie ce qui se dit, ce qui se prépare, ce qui se promet et ce qui se discute, plus on observe en face ce qui se passe réellement, et moins les paroles se rapprochent des actes. Que c’est compliqué ! Ainsi, alors que la France […] ⌘ Read more
Pub Trivia
⌘ Read more
Selon la propagande, les jeunes Français veulent faire la guerre
Alors que les tensions au Moyen-Orient continuent de grimper de plusieurs niveaux et qu’on apprend en parallèle que les difficultés ukrainienne se multiplient, la Macronie pousse un soupir de soulagement : selon une étude, les jeunes Français sont majoritairement prêts à s’engager pour aller combattre les ennemis qu’on leur désignera… C’est en tout cas ce que […] ⌘ Read more