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
Pinellas County - Recovery: 3.03 miles, 00:09:07 average pace, 00:27:36 duration
this felt really easy today which was surprising since yesterdays run hurt (knee). curious if the S&C beforehand helped things out a bit. it was hot and humid, but there was a nice breeze for some of it so i didn’t feel the heat until the last mile.
#running
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
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
L’Union Européenne contre le reste du monde
De la même façon que s’asseoir sur un tabouret suppose d’avoir peut-être besoin, un jour, de se relever, le fait d’être en France suppose d’avoir peut-être besoin, un jour, d’envoyer des troupes armées en Ukraine afin de combattre la Russie. Mais si, c’est évident voyons. Pour les autres Européens, cette évidence est encore assez peu […] ⌘ Read more
Use an iPad as an HDMI Display with Orion & a USB-C Capture Card
You can turn your iPad into a portable HDMI display with the help of a neat app named Orion, plus a USB-C Capture Card. How this works is really straight forward; you connect the USB-C Capture Card dongle to the iPad Pro USB-C port, then you connect your device to that dongle via HDMI, that … Read More ⌘ Read more
USB Hub & External Monitors Not Working After MacOS Sonoma 14.4 Update for Some Mac Users
Some Mac users are discovering that USB-C hubs and external monitors are no longer working with their Mac after updating to macOS Sonoma 14.4. This issue can apparently impact anything connected to the USB Hub as well, leaving the USB hub devices undetected by the Mac, including keyboards, mice, external displays, SD card readers, cameras, … [Read More] … ⌘ Read more
Digital Markets Act : comme prévu, c’est un échec et ça va s’aggraver
On apprend via X.com que, suite à l’introduction discrète mais pas anodine d’une nouvelle “taxe CNM”, Spotify va devoir augmenter assez sensiblement le prix de ses abonnements pour ses clients français : la surprise est totale. Oh, voilà qui est surprenant ! Au départ, le législateur avait une idée aussi simple qu’idiote : puisqu’il fallait trouver des ressources […] ⌘ Read more
STM32MP2 MPU Series Enhances Performance with 64-bit Architecture and 1.35 TOPS NPU
Last week, STMicroelectronics unveiled the STM32MP2 series, its second-generation line of 64-bit industrial microprocessors. Designed for intelligent edge computing, this new series is tailored for a broad range of applications, including smart factories, healthcare, buildings, and infrastructure. These are ST’s first MPUs to contain a 64-bit central processing unit (CPU). In c … ⌘ Read more
France, 2024 : Bruno Le Maire découvre l’économie pour la première fois
Bruno Le Maire n’est pas n’importe qui : c’est le ministre des Finances et de l’Économie de la République Française, monsieur, ce qui veut dire que c’est du sérieux, du solide, du réfléchi, et ça veut aussi dire que lorsqu’il faut prendre des décisions importantes, on sait qu’il sera au rendez-vous, scrogneugneu. Et pour être au […] ⌘ Read more
PEP 743: Add Py_COMPAT_API_VERSION to the Python C API
Add Py_COMPAT_API_VERSION and Py_COMPAT_API_VERSION_MAX macros to opt-in for planned incompatible C API changes in a C extension. Maintainers can decide when they make their C extension compatible and also decide which future Python version they want to be compatible with. ⌘ Read more
The Great Tech Industry Survey of 2024
Are religious people more likely to use Tabs or Spaces? Are Rust programmers happier than C programmers? Do you know the answers to those questions? Do you *want to*? Help us find the answers. Take the survey: https://forms.gle/4rQboPtXcFkigZNQ8 More Information: ⌘ Read more
Armed robbers force victim to drive to Virginia, then abandon him in Maryland
D.C. police are looking for at least three suspects connected to an armed kidnapping that spanned across the DMV this weekend. According to the Metropolitan Police Department, around 12:30 a.m. on Sunday, Feb. 25, a man arranged to meet up with someone via social media to sell some items. The victim and suspect agreed to meet at 25th Street and L … ⌘ Read more
Bowser unveils $400M plan to revitalize Downton DC
Mayor Muriel Bowser unveiled a $400 million plan Monday she hopes will help revitalize Downtown D.C. FOX 5’s Bob Barnard has the story. ⌘ Read more
Unexploded WW2 Bomb Removed From Back Yard in Plymouth
More than 100 British Army and Royal Navy personnel assisted in the removal of an unexploded 500 kg bomb from the back yard of a home in Plymouth on Friday, February 23. Footage released by Devon and Cornwall Police shows cranes lifting the bomb from the soil onto the back of a truck to be driven out of the city. The bomb was discovered on February 20, the UK’s Ministry of Defence said, c … ⌘ Read more
Bolsonaro Supporters Flood Street in Sao Paulo
Former Brazilian president Jair Bolsonaro ridiculed accusations against him of orchestrating a failed coup in front of tens of thousands of his supporters gathered in Sao Paulo on Sunday, February 25. Police are investigating if Bolsonaro incited what amounted to a failed coup after losing the 2022 election, and say he edited a draft presidential decree that would have declared a state of emergency and c … ⌘ Read more
US airman sets himself on fire outside Israeli Embassy in Washington, D.C.: The Morning Rundown, Feb. 26, 2024
A U.S. Air Force member set himself on fire outside the Israeli Embassy in Washington D.C., protesting Israel’s operations in Gaza. ⌘ Read more
https://github.com/aalmkainzi/htmc a library for creating html document in c #clang
Golang 泛型入門指南
Go 語言中的泛型是指一種語言特性,允許創建可以處理不同類型的函數、數據結構和接口。換句話說,泛型使得可以創建不受特定類型或數據結構限制的代碼。如果我們此前有使用 Java 或者 C++ 的經驗,那麼會很好理解。在 Go 語言引入泛型之前,開發人員必須編寫多個函數來處理不同類型的數據。這種方法通常很繁瑣,並導致代碼重複。有了泛型,開發人員可以編寫更簡潔和可重用的代碼,可以處理不同類型的數據。Go ⌘ Read more
I finished my data structures classes with C++ and the next year they changed it out with Java. When i transferred up after my assoc degree it was C++ using the counter-strike source game engine.
Video: C Programming on System 6 - Carl Update, Test Suite, Malloc Tracing ⌘ Read more
@movq@www.uninformativ.de before this century. Back when colleges taught C++ instead of Java for CS degrees.
使用 Gin 框架中的 PureJSON 發送未轉義的 JSON
當我們使用 Go 的 Gin web 框架來構建 RESTful API 時,通常會遇到返回 JSON 響應的需求。Gin 框架提供了c.JSON方法來以 JSON 格式發送回覆,同時它會對特殊字符進行轉義,比如把 < 轉換爲 \u003c。但在某些情況下,我們需要發送未轉義的 JSON 數據,這時我們就可以使用 Gin 框架中的c.PureJSON方法。在 Gin 框架中,c.PureJSON方 ⌘ Read more
Forlinx Embedded FET-D9360-C SoM Accommodates D9-Pro Processor and Up to 16GB RAM
In partnership with SemiDrive, Forlinx Embedded has introduced the FET-D9360-C System on Module (SoM), featuring the D9-Pro high-performance industrial processor. This SoM is designed for industrial applications demanding multi-display capabilities with resolutions up to 2K@60Hz. The SoM utilizes the SemiDrive D9 Pro processor, which includes six ARM Cortex-A55 high-performance cor … ⌘ Read more
Fuck Gun Control et la joyeuse prolifération des armes à feu
C’était en juin 2023, et la nouvelle a été consciencieusement tenue discrète dans les médias qui n’évoqueront la question que très récemment : une arme, fabriquée avec une imprimante 3D, a été retrouvée sur les lieux d’un règlement de comptes à Marseille. On peut être surpris que la nouvelle n’ait pas fait plus de bruit il […] ⌘ Read more
Wasm on Go
本篇內容,是對極客兔兔: Go WebAssembly (Wasm) 簡明教程 [1] 的實踐與記錄,主體內容來自這篇博客,推薦閱讀原文。 是否需要搭建 wasm 環境? WebAssembly 上手 [2]如果是 C/C++,需要藉助 emcc,將 C 和 C++ 代碼編譯到 WebAssembly 和 JavaScript。在 Mac 上,brew install emscripten然後 ⌘ Read more
Golang 有必要實現 async-await 嗎?
前言 今天在某站上面看到一個大佬解釋 Golang 中的錯誤處理 err !=nil 時,直接用 Javascript 的 async/await 來解釋。async/await 語法糖在 C#, Python 和 Javascript 中是很常見的異步協程寫法,而在 Golang 中則是使用 goroutine 機制。這時習慣或者喜歡 async/await 語法糖的人可能就會有疑問:Gola ⌘ Read more
ebpf-go 初體驗
前言我們在《用 eBPF/XDP 來替代 LVS》系列、《一張圖感受真實的 TCP 狀態轉移》系列,以及《如何終結已存在的 TCP 連接?》系列文章中,均通過純 C 語言和 libbpf1 這個庫來運用 eBPF。但是很多的場景中(尤其是雲原生場景),我們出於避免重複造輪子、更快的迭代速度、運行時安全等原因,會選擇 go 語言來進行開發,ebpf-go2 這個庫就是當前最好的選擇。今天,我們就對 ⌘ Read more
No. The C++ Mascot is not a “diseased rat named Keith” drawn by RMS.
Lunduke’s Big Tech Show ⌘ Read more
原來可以這麼使用 Protobuf
*1. Protobuf 簡介1.1 Protobuf 是什麼Protocol Buffers (簡稱 Protobuf) 是 Google 公司開源的一種輕便高效的結構化數據存儲格式, 以及用於序列化和反序列化結構化數據的代碼生成器。它可以用於通訊協議和數據存儲等領域。Protobuf 是以 .proto 文件形式定義結構化數據的方式和格式。並且通過代碼生成器生成各平臺 (Java、C++、Py ⌘ Read more
PEP 741: Python Configuration C API
Add a C API to the limited C API to configure the Python preinitialization and initialization, and to get the current configuration. It can be used with the stable ABI. ⌘ Read more
Go 調用 C– 動態庫實現車牌識別
前言—–很久沒更新博客,這次正好趁着這次機會來更新一個稍微有點意思的內容,利用 C++ 中 Opencv、TensorRT 等庫編譯出動態庫供 Go 調用,再寫個簡單的 api 對上傳的車輛圖片進行車牌識別。究其原因,天下苦 Java 久矣,每次寫 JNI 去給公司 Java 後端服務調用,而我不喜歡 Java 那我每次寫好的模型動態庫就到此爲止了?白白浪費之前那麼多計算資源於心不忍,因此打 ⌘ Read more
Gouverner, c’est pleuvoir
Le précédent billet évoquait le fait, maintenant difficile à nier, que l’intelligence des politiciens s’est nettement effondrée ces dernières décennies et que ceci se traduit par un enchaînement de décisions stupides qui appauvrit les Français. Cependant, un autre effet de l’effondrement intellectuel de notre classe politique est celui d’une incapacité croissante à prévoir quoi que […] ⌘ Read more
沒想到,Go 語言垃圾回收是這樣工作的!
*1. 垃圾回收概述1.1 什麼是垃圾回收垃圾回收 (Garbage Collection,GC) 是一種自動內存管理的機制, 用於自動釋放那些不再被程序使用的內存。它的主要思想是程序在申請內存時不需要釋放, 而是由垃圾回收器在程序運行的過程中找出那些不再使用的內存並回收它們。這與 C/C++ 語言中的手動內存管理形成對比, C/C++ 程序員需要自己跟蹤內存的分配和釋放。而 Go 語言中內存的分 ⌘ Read more
Go 調用 C-C– 函數全攻略
*一、Go 語言調用 C/C++ 函數cgo 基礎及工作原理Go 語言通過 cgo 和 C 語言的 ABI(Application Binary Interface) 進行交互。cgo 會生成相應的 C 代碼, 與 Go 代碼一起編譯成可執行文件或動態庫。cgo 的工作流程主要分爲 3 步:(1) 預處理: 將 Go 源碼中的 C 代碼塊提取出來, 生成 .c 和 .h 文件(2) 編譯: 調用 ⌘ Read more
Cost-efficient $39.90 Travel Router with Dual GbE Ports and Flexible Storage Options
Recently, SeeedStudio introduced the LinkStar-H28K-0408, a compact, pocket-sized router that offers advanced connectivity options. This device is equipped with Dual Gigabit Ethernet ports for high-speed internet access and includes a versatile USB Type-C port with Power Delivery support, enhancing its usability and convenience for various applications. Differing from the LinkS … ⌘ Read more
Skee Mask releases new album C
A nice surprise from Skee Mask to start the year… Continue reading… ⌘ Read more
Bonne année 2024
2023 est morte, vive 2024. L’année 2023 s’est déroulée comme on pouvait s’y attendre, c’est-à-dire que le meilleur restant toujours à venir, le pire s’est étendu sans grande limite. Pour cette année 2024, souhaitons-la bonne et pour ce qui est des surprises, il est certain qu’il y en aura par paquets de douze : les élections […] ⌘ Read more
Comment l’Occident attaque les piliers de sa civilisation
L’année 2023 s’achève doucement et jamais il n’aura autant été évident qu’une petite clique de psychopathes s’acharne actuellement à attaquer chacun des piliers de la civilisation moderne. C’est en substance ce que Michael Shellenberger (connu pour avoir participé aux révélations des “Twitter files“) explique, à raison, dans un entretien qu’il a récemment accordé à Tucker […] ⌘ Read more
每個 Go 程序員必犯之錯
說起每個程序員必犯的錯誤,那還得是 “循環變量” 這個錯誤了,就連 Go 的開發者都犯過這個錯誤,這個錯誤在 Go 的 FAQ 中也有提到 What happens with closures running as goroutines?[1]:func main() { var wg sync.WaitGroup values := []string{“a”, ”b”, ”c”} ⌘ Read more
Ignite Realtime Blog: Smack 4.5.0-alpha2 released
We are happy to announce the release of the second alpha release of Smack’s upcoming 4.5 version.
This version fixes a nasty bug in Smack’s reactor, includes support for XMPP over WebSocket connections and much more. Even though Smack has a good test coverage, due its comprehensive unit test suite and integration test framework, we kindly ask you to test pre-releases and report feedback.
As always, [this Smack release is available via Maven C … ⌘ Read more
Go 語言控制協程 -goroutine- 的併發數量,有哪些好的解決方法
在使用協程併發處理某些任務時, 其併發數量往往因爲各種因素的限制不能無限的增大. 例如網絡請求、數據庫查詢等等。從運行效率角度考慮,在相關服務可以負載的前提下(限制最大併發數),儘可能高的併發。在 Go 語言中,可以使用一些方法來控制協程(goroutine)的併發數量,以防止併發過多導致資源耗盡或性能下降。以下是一些常見的方法:1. 使用信號量(Semaphore):可以使用 Go 語言中的 c ⌘ Read more
@eapl.me@eapl.me I have many fond memories of Turbo pascal and Turbo C(++). They really did have a great help system. And debug tools! Its rare for language docs to be as approachable. QBasic was great. As was PHP docs when I first came into web.
PEP 737: Unify type name formatting
Add new convenient APIs to format type names the same way in Python and in C. No longer format type names differently depending on how types are implemented. Also, put an end to truncating type names in C. The new C API is compatible with the limited C API. ⌘ Read more
Yesterday, I used a rental car to avoid problems with Deutsche Bahn. Today, trying to do another trip with DB, the train is 50 minutes delayed. Karma? 🙃 Or it’s the weather again, DB’s infrastructure isn’t working well at temperatures below 0 °C. 🤷♂️ ⌘ Read more
Go 語言 CSP 編程實戰:通道通信技術
*概述通信順序進程(Communicating Sequential Processes,CSP)是一種併發編程的形式化理論,由計算機科學家 Tony Hoare 於 1978 年提出。在 Go 語言中,CSP 被廣泛應用,通過通道(Channel)實現了簡單且強大的併發模型。本文將介紹 Go 語言中的 CSP 概念,通過詳細的示例代碼和註釋,理解 CSP 的運作原理和在 Go 中的實現。1. C ⌘ Read more
Apple Black Friday Deals from Amazon Available Now
Black Friday is here, and Amazon is offering fantastic deals on a broad range of Apple products. From AirPods, AirTags, Apple Watch, iPad models, MacBook Air, and MacBook Pro, there are fantastic deals, and even more, enjoy these Black Friday discounts. AirPods Deals, from $79 Save big the 2nd generation AirPods Pro with USB-C charging, … [Read More](https://osxdaily.com/2023/11/24/apple-black-friday-deals-from-amazon-available-now/ … ⌘ Read more
Apple Black Friday Deals from Amazon Available Now
Black Friday is here, and Amazon is offering fantastic deals on a broad range of Apple products. From AirPods, AirTags, Apple Watch, iPad models, MacBook Air, and MacBook Pro, there are fantastic deals, and even more, enjoy these Black Friday discounts. AirPods Deals, from $79 Save big the 2nd generation AirPods Pro with USB-C charging, … [Read More](https://osxdaily.com/2023/11/24/apple-black-friday-deals-from-amazon-available-now/ … ⌘ Read more