Searching We.Love.Privacy.Club

Twts matching #c
Sort by: Newest, Oldest, Most Relevant

Nicolas, 35 ans, clashe du boomer
Un article à 4 mains écrit par h16 & Citronne Ah, voilà que se présente un week-end agréable pour Nicolas, 35 ans, marié et deux enfants (de 8 et 5 ans) : ses parents viennent lui rendre visite dans la maison nouvellement acquise ! C’est un samedi matin qui s’annonce guilleret mais alors que Nicolas est en […] ⌘ Read more

⤋ Read More

En France, les prisons sont solubles dans la politique
La prison, vraiment, c’est trop pénible ! Et puis, en France, les prisons sont trop pleines, comme une boîte qui déborde. Alors un gentil rapport explique que pour faire de la place, on devrait laisser sortir un peu plus tôt certains détenus, sauf bien sûr les méchants qui ont fait des choses très très graves. Et […] ⌘ Read more

⤋ Read More

Satechi X1 Slim
I bought a Satechi X1 Slim for dad’s iPad about a year ago. It’s a 60%
scissor switch Bluetooth keyboard that you can use wired (USB-C), too
(Fn + Eject). The feel is rather close to the Apple Magic Keyboard.
Yeah, not even mechanical! I know, I know.

For reasons dad’s not using this keyboard so when I recently visited I
brought it back with me. It’s decent enough but in the ISO version
some keys on the right side, close to the return key, are … ⌘ Read more

⤋ Read More

TCP 與 UDP 協議的 socket 通信
剛剛有同事問我,tcp 是怎麼進行 socket 通訊的,udp 能進行 socket 通信嘛,想想這些基礎的知識竟一下子語塞,不知道怎麼回答了,在此,我整理了一下相關知識點,以公衆號文章的形式發表一下,個人粗淺的理解,如有不當之處,請各位大佬多多指點修正。    現在進入正文,咱們先了解一下 socket, 說到 socket, 就得說到互聯網的一個架構,c/s 架構,c/s 是客戶端和服 ⌘ Read more

⤋ Read More

Un dernier quintile de plus en plus dangereux
C’est bien connu : sécuriser les champs Élysées, c’est vraiment compliqué. Une foule qui s’y rendrait de façon totalement inopinée deviendrait vite absolument ingérable, à moins de porter un gilet jaune auquel cas, la sécurisation des lieux ne serait finalement qu’une pure question de logistique et de nombre de balles disponibles dans les flashballs. Or, le […] ⌘ Read more

⤋ Read More

精通 SOLID 原則在 Go 中的應用:編寫乾淨且可維護的代碼
在軟件開發中,構建可維護、可擴展和健壯的代碼是最終目標。SOLID 原則由 Robert C. Martin(也稱爲 Uncle Bob)提出,爲實現這一目標提供了基礎。這些原則如何應用於 Go 語言呢?Go 以其簡潔和務實著稱,讓我們來探討 Go 的慣用風格如何與 SOLID 原則對齊,從而生成乾淨、高效的軟件。單一職責原則(SRP)———–“一個類應該只有一個改變的原因。”在 G ⌘ Read more

⤋ Read More

精通 SOLID 原則在 Go 中的應用:編寫乾淨且可維護的代碼
在軟件開發中,構建可維護、可擴展和健壯的代碼是最終目標。SOLID 原則由 Robert C. Martin(也稱爲 Uncle Bob)提出,爲實現這一目標提供了基礎。這些原則如何應用於 Go 語言呢?Go 以其簡潔和務實著稱,讓我們來探討 Go 的慣用風格如何與 SOLID 原則對齊,從而生成乾淨、高效的軟件。單一職責原則(SRP)———–“一個類應該只有一個改變的原因。”在 G ⌘ Read more

⤋ Read More

Arduino Uno Gets Upgraded with Integrated Ethernet and USB Type-C
The UnoNet is a microcontroller board based on the ATmega328PB, designed with the same form factor and pin layout as the Arduino Uno Rev 3. It integrates Ethernet via a W5500 controller and includes a USB Type-C port, RJ45 connector, DC barrel jack, ICSP header, and reset button. The ATmega328PB is clocked at 16 MHz […] ⌘ Read more

⤋ Read More

Nicolas, 35 ans, veut s’acheter une maison
Un article à 4 mains écrit par h16 & Citronne Il faut se résoudre à l’évidence : Nicolas, 35 ans, marié, et père de deux enfants (de 5 et 8 ans) manque de place dans l’appartement qu’il loue depuis 7 ans. C’est donc décidé : la famille va enfin réaliser l’achat d’une maison. Après quelques années passées […] ⌘ Read more

⤋ Read More

Ce n’est pas de la censure, c’est juste une calibration vigoureuse de la vérité
Il n’y a plus aucun doute, c’est sûr à présent : nous sommes attaqués de toutes parts ! La propagande, déchaînée, est maintenant déversée par pleins barils sur tous nos réseaux sociaux, et bientôt, plus personne ne comprendra rien à ce qui se passe dans le pays et en Europe, et ne saura faire la distinction entre […] ⌘ Read more

⤋ Read More

Trinity Desktop Environment R14.1.4 released
The Trinity Desktop Environment, the modern-day continuation of the KDE 3.x series, has released version R14.1.4. This maintenance release brings new vector wallpapers and colour schemes, support for Unicode surrogate characters and planes above zero (for emoji, among other things), tabs in kpdf, transparency and other new visual effects for Dekorator, and much more. TDE R14.1.4 is already available for a variety of Linux distributions, and c … ⌘ Read more

⤋ Read More

RetrOS-32: a 32bit hobby operating system with graphics, multitasking, and more
RetrOS-32 is a 32bit operating system written from scratch, with graphics, multitasking and networking capabilities. The kernel is written in C and assembly, while the userspace applications are written in C++, using Make for compilation, all licensed under the MIT license. It runs on Qemu, of course, but a variety of real hardware is also supported, which is pretty cool and r … ⌘ Read more

⤋ Read More
In-reply-to » Can you beat me at the circle game? 😂 https://neal.fun/perfect-circle/

Can you automate the drawing with a script? On X11, you can:

#!/bin/sh

# Position the pointer at the center of the dot, then run this script.

sleep 1

start=$(xdotool getmouselocation --shell)
eval $start

r=400
steps=100
down=0

for step in $(seq $((steps + 1)) )
do
    # pi = 4 * atan(1)
    new_x=$(printf '%s + %s * c(%s / %s * 2 * (4 * a(1)))\n' $X $r $step $steps | bc -l)
    new_y=$(printf '%s + %s * s(%s / %s * 2 * (4 * a(1)))\n' $Y $r $step $steps | bc -l)

    xte "mousemove ${new_x%%.*} ${new_y%%.*}"
    if ! (( down ))
    then
        xte 'mousedown 1'
        down=1
    fi
done

xte 'mouseup 1'
xte "mousemove $X $Y"

Interestingly, you can abuse the scoring system (not manually, only with a script). Since the mouse jumps to the locations along the circle, you can just use very few steps and still get a great score because every step you make is very accurate – but the result looks funny:

🥴

⤋ Read More

TacOS: an x86_64 UNIX-like OS from scratch
TacOS is a UNIX-like kernel which is able to run DOOM, among various other smaller userspace programs. It has things like a VFS, scheduler, TempFS, devices, context switching, virtual memory management, physical page frame allocation, and a port of Doom. It runs both on real hardware (tested on my laptop) and in the Qemu emulator. ↫ TacOS GitHub page TacOS – great name – is written in C, and explicitly a hobby and toy project. The code’s licensed … ⌘ Read more

⤋ Read More

10 Hoaxes That Purported to Prove the Bible
Christian Bible inerrantists and literalists look to archaeology to back up scriptural narratives. Many discoveries have indeed proven that many things the Bible says are accurate. However, disturbing evidence, or in some cases, non-evidence, has also come to light. For instance, archaeology can find no proof that patriarchs like Abraham existed, no indication that a […]

The post [10 Hoaxes That Purported to Prove the Bible](https://listverse.c … ⌘ Read more

⤋ Read More

Atomic DTU LoRaWAN Base Modules Offer Programmable Wireless Communication for US, EU, and CN Bands
The Atomic DTU LoRaWAN Base is a compact, programmable unit for low-power, long-range IoT communication. Based on the STM32WLE5CC chip, it supports LoRaWAN Class A, B, and C modes and comes in US915, EU868, and CN470 variants to meet regional frequency standards. Each module supports both LoRaWAN and LoRa P2P modes, allowing for deployment either [… … ⌘ Read more

⤋ Read More

用 Go 語言打造高併發 MCP 服務器:理論、實戰與 AI 應用全景探索
在這個 AI 與大數據時代,構建一個高性能、可擴展的 MCP(Modular/Model Context Protocol)服務器已成爲打通應用與 AI 模型之間數據孤島的重要橋樑。本文將帶你深入瞭解 MCP 協議的設計理念、使用 Go 語言實現 MCP 服務器的詳細流程,以及 MCP 如何爲 AI 應用提供類似 USB-C 接口般的統一連接能力。 “MCP 提供統一的數據交換框架,幫助企業實 ⌘ Read more

⤋ Read More

@lyse@lyse.isobeef.org I walked under 25°C during my lunch hour today, but with a sunshine that could fry an egg if dropped on the asphalt. I told a friend in Manila about it, and she told me that 25°C is Winter/Christmas temperatures for them. I felt cooler right away. :-)

⤋ Read More

The subjective charms of Objective-C
To argue that Objective-C resembles a metaphysically divine language, or even a good language, is like saying Shakespeare is best appreciated in pig latin. Objective-C is, at best, polarizing. Ridiculed for its unrelenting verbosity and peculiar square brackets, it is used only for building Mac and iPhone apps and would have faded into obscurity in the early 1990s had it not been for an unlikely quirk of history. Nevertheless, in my time working as a softwar … ⌘ Read more

⤋ Read More

Quelques jours de vacances
Voilà, c’est dit : les prochains jours ne verront aucun billet paraître dans ces colonnes. Je serai en vacances. Je sais que, pour certains lecteurs, ce sevrage sera à la fois cruel et brutal. J’en suis désolé mais le libéral égoïste que je suis assume. Et pendant que certains noieront leur manque dans l’alcool ou les […] ⌘ Read more

⤋ Read More

Not updated in 7 years, IIS is still a default part of Windows, apparently
This month’s security updates for Windows 11 create a new empty folder on drive C. It is called “inetpub,” and it does not contain any extra folders or files. Its properties window shows 0 bytes in size and that it was created by the system itself. Neowin checked a bunch of Windows 11 PCs with the April 2025 security updates installed, and all of them had inetpub on drive C. ↫ Taras Bu … ⌘ Read more

⤋ Read More

Go 語言新版的迭代器是怎麼個事
很多流行的編程語言中都以某種方式提供迭代器,其中包括 C++、Java、Javascript、Python 和 Rust。Go 語言現在也加入了迭代器。iter 包是 Go 1.23 新增的標準庫,提供了迭代器的基本定義和相關操作。爲什麼需要迭代器——–在 Go 1.18 引入泛型之後,便可以很方便的定義一些泛型容器類型來提升編碼效率。例如我們可以基於 map 類型定義了一個集合類型—— ⌘ Read more

⤋ Read More

golang 每日一庫之高性能無鎖隊列 bruceshao-lockfree
bruceshao/lockfree 是一個基於 Go 語言實現的高性能無鎖隊列庫,旨在通過無鎖(Lock-Free)算法提升多線程環境下的併發性能。其設計靈感來源於 Java 的 Disruptor 框架,但針對 Go 語言的特性進行了優化,適用於高吞吐量、低延遲的場景,如實時數據處理、高頻交易系統等。以下是該庫的核心特性、實現原理、性能對比及使用場景的詳細分析:核心特性無鎖設計基於 CAS(C ⌘ Read more

⤋ Read More