Some Israeli hostages have attempted suicide, Islamic Jihad armed wing says ⌘ Read more
UK’s Labour Is Winning the Meme War, but Young Voters Think It’s All Incredibly Embarrassing
“Although conversation provoking, it reads as infantilizing,” says one young voter about the meme campaigns waged by the Labour and Conservative parties in the UK. “They’re trivializing a very serious event.” ⌘ Read more
The Best Electric Kick Scooters (2024)
These WIRED-tested two-wheelers will help you scoot scoot scoot around town. ⌘ Read more
Moving from intellij to vim ⌘ Read more
To save spotted owls, US officials plan to kill hundreds of thousands of another owl species
To save the imperiled spotted owl from potential extinction, U.S. wildlife officials are embracing a contentious plan to deploy trained shooters into dense West Coast forests to kill almost a half-million barred owls that are crowding out their smaller cousins. ⌘ Read more
The 14 Best Bluetooth Speakers Our Testers Have Jammed With in 2024
These are our favorite portable speakers of all shapes and sizes, from clip-ons to a massive boom box. ⌘ Read more
Belarus is building up its military on Ukraine’s border and bragging about the ‘high combat readiness’ of its troops ⌘ Read more
Apple’s M4 iPad Pro vs. Samsung’s Galaxy Tab S9 Ultra
With the introduction of OLED displays, a thinner design, and more in the M4 iPad Pro, we thought it was worth taking another look at Samsung’s flagship OLED tablet, the Galaxy Tab S9 Ultra, to see how the two compare and which one might be the better purchase for you.
_Subscribe to the MacRumors YouTube channel for more videos._
Both … ⌘ Read more
AI-Driven Fake News Network from Russia Impersonates US Local Media to Influence Elections ⌘ Read more
Everything You Need to Know About USB Ports and Speeds (2024)
USB-C was supposed to make everything simple. Instead, it’s more complicated than ever. So let’s clear up the confusion. ⌘ Read more
How to Get a Real ID License Before the Deadline
A new type of driver’s license will be required to board flights in the United States next year. Here’s how to update your license to the new Real ID standard before it’s too late. ⌘ Read more
AI Is Rewriting Meme History
TikTok’s latest trend involves videos of people traveling back in time to interrupt the viral memes of yore. The results are uncanny. ⌘ Read more
Inside a16z’s Boot Camp for Crypto Startups
Andreessen Horowitz is betting the house on crypto. (Yes, really.) This spring, the VC firm schooled a new batch of founders that it hopes can prove the technology is good for more than scams and speculation. ⌘ Read more
徹底理解字符串匹配 KMP 算法
大家好,我是小風哥,今天簡單聊聊字符串匹配 kmp 算法。字符串匹配是計算機科學中非常基礎的操作,給定兩個字符串 a 和 b,我們需要判斷字符串 a 是否包含字符串 b。像你我這樣的普通程序員能想到的最簡單方法是這樣的,用字符串 b 不斷去匹配每個主串中的子串。 假設給定這樣兩個字符串:首先從主串的第一個位置和子串的第一個位置去匹配,我們發現 A 和 B 不相同:因此主串指針後移一位,子串重新從 ⌘ Read more
特效炸裂:Vue3+TypeScript 實現王者榮耀圖鑑,已開源!!!
主要技術棧—–Vue3.4 Typescript Vite4 Pinia Vue-Router Less 主要插件—-Axios 網絡請求庫 mitt 事件總線 dayjs 時間處理工具 vue-i18n 國際化 lodash 實用工具庫 js-base64 Base64 加密解密工具 localforage Ind ⌘ Read more
ARP 工作層次和原理解析
概述-- ARP(Address Resolution Protocol,地址解析協議)是用來將 IP 地址解析爲 MAC 地址的協議。主機 (客戶端) 和三層網絡設備 (例如路由器,三層交換機) 上會維護一張 ARP 表,用於存儲 IP 地址和 MAC 地址的映射關係,每一個表項表示一個 IP 地址到 MAC 地址的轉換關係。工作層次第一種看法ARP 屬於二層協議,工作在數據鏈路層,因爲 AR ⌘ Read more
冪等性:構建穩健分佈式系統的關鍵
爲什麼冪等性是關鍵?在現代分佈式系統中,可用性是關鍵因素,這意味着你需要構建重試機制和處理失敗及恢復的方法。這也意味着你可能會在系統中重複處理相同的操作,但如果你的應用程序不瞭解這一點,並將其視爲一個全新的請求,它將產生不可預期的結果。如果是處理支付或管理電子商務訂單的應用程序,這會導致巨大的財務損失和不可挽回的損害。 那麼,我們該怎麼做才能保證多次執行操作的結果與僅執行一次的結果相同呢? 讓 ⌘ Read more
French left and centrist parties unite to block far-right National Rally from gaining power ⌘ Read more
【內存管理】內存佈局介紹
ARM32 位系統的內存佈局圖—————32 位操作系統的內存佈局很經典,很多書籍都是以 32 位系統爲例子去講解的。32 位的系統可訪問的地址空間爲 4GB,用戶空間爲 1GB ~ 3GB,內核空間爲 3GB ~ 4GB。爲什麼要劃分爲用戶空間和內核空間呢?一般處理器會把運行模式分爲好幾個,比如 x86 分爲 rang0 ~ rang3 級別。ARMv7 架構中,又分爲好幾個 ⌘ Read more
Go 語言的 CI-CD 實踐
CI/CD 是現代軟件開發流程中的關鍵實踐,它代表着持續集成(Continuous Integration)和持續部署(Continuous Deployment)或持續交付(Continuous Delivery)的組合。這些實踐旨在幫助軟件開發團隊更快、更頻繁地交付高質量的軟件產品。持續集成(CI): 持續集成是一種軟件開發實踐,開發團隊成員經常將他們的代碼變更集成到共享的代碼倉庫中。這通常每 ⌘ Read more
aconfig:Go 語言中簡潔高效的配置加載庫
在軟件開發過程中,合理處理配置項對於確保代碼的靈活性和可維護性至關重要。對於 Go 語言開發者們來說,aconfig庫提供了一個簡潔明瞭的解決方案來加載配置。本文將深入探討aconfig庫的特性和使用方法,向您展示如何高效地在 Go 項目中使用這個強大的配置加載工具。aconfig 的理念與特點————–aconfig是由開源社區提供的一個配置加載庫,它的設計理念基於實現配置加載 ⌘ Read more
使用 Go 提供的 Cookie 庫簡化 Cookie 操作
在 Web 開發中,Cookie 是一種非常常見的數據存儲形式。它可以幫助我們在客戶端和服務器之間保存一些狀態,如用戶的登錄狀態、偏好設置等。在 Go 語言中,操作 Cookie 有很多種方式,今天我們重點介紹一個名爲 cookie 的庫——這是一個可以使用結構體操作 Cookie 的庫。文章將詳細介紹 cookie 庫的使用方法、實際場景中的應用以及提供豐富的示例代碼。希望通過這篇文章,你能夠更 ⌘ Read more
沒有思考過 Embedding,不足以談 AI
在當今的人工智能(AI)領域,Embedding 是一個不可或缺的概念。如果你沒有深入理解過 Embedding,那麼就無法真正掌握 AI 的精髓。接下來,我們將深入探討 Embedding 的基本概念。Embedding 的基本概念 1.1 什麼是 Embedding Embedding 是一種將高維數據映射到低維空間的技術。簡單來說,它就是把複雜的、難以處理的數據轉換成便於計算的形式。 ⌘ Read more
Proton Is Launching Encrypted Documents to Take On Google Docs
Proton is adding an end-to-end encrypted documents editor to its privacy tools, boosting its competition with Google’s suite of productivity apps. ⌘ Read more
VIM gui for macos ⌘ Read more
God Save Us From This Dishonorable Court
Ruth Marcus, Columnist - Reader Supported News / The Washington Post
_Stephan: The Federalist Society, Leonard Leo, criminal Trump, and the christofascist Republicans in the Senate, after years of effort, have achieved what they have wanted: a Supreme Court that is not a court based on justice and laws, but a court dominated by a corrupt political cabal. In one decision that cabal has transformed the United States from a democracy into a qu … ⌘ Read more
Trump Amplifies Calls to Jail Top Elected Officials, Invokes Military Tribunals
, - DNYUZ
_Stephan: Since we are now reduced to being a semi-kingdom, potentially ruled by a rapist and crook, if Americans elect Trump as king I think this is what we should prepare ourselves for: Military tribunals, and the persecution of anyone who has offended the monarch. Look at what has happened to people like Stormy Daniels who behaved as citizens should, … ⌘ Read more
South Carolina implements one of US’s most restrictive public school book bans
Olivia Empson, Staff Writer - The Guardian (U.K.)
_Stephan: The christofascists have achieved yet another win in gutting public school libraries. South Carolina, a Republican Red State, of course, has now made it possible for the christofascists to make sure that school children can only read what they approve. As a result, an already rather poorly educated state wil … ⌘ Read more
Monster 310-mile automated cargo conveyor will replace 25,000 trucks
Loz Blain, Staff Writer - New Atlas / The Japan News (Japan)
Stephan: Here is a fascinating bit of good news from Japan. The country’s engineers, scientists, and, leadership have come up with a technology to get freight-hauling trucks off their highways.
_The Tokyo-Osaka automated logistics system, pictured usi … ⌘ Read more
Pregnant fish can also get ‘baby brain,’ but not the way that mammals do
New research reveals that pregnancy-related brain impairment is present in live-bearing fish, but instead of affecting learning and memory as expected from similar research on mammals, it appears to have a stronger impact on decision-making and sensory reception. ⌘ Read more
Social media is a likely cause of confusion in modern mate selection
A recent sociological study finds that most young adults surveyed reported feeling confused about their options when it comes to dating decisions. Preliminary analysis suggests that more than half of young people experience confusion about choosing life-partners, with women appearing to be more likely to report partner selection confusion than men. ⌘ Read more
Exploring bird breeding behavior and microbiomes in the radioactive Chornobyl Exclusion Zone
New research finds surprising differences in the diets and gut microbiomes of songbirds living in the radiation-contaminated areas of the Chornobyl Exclusion Zone, Ukraine. This study is also the first to examine the breeding behavior and early life of birds growing up in radiologically contaminated habitats. ⌘ Read more
Discovering new anti-aging secrets from the world’s longest-living vertebrate
New experimental research shows that muscle metabolic activity may be an important factor in the incredible longevity of the world’s oldest living vertebrate species—the Greenland shark. These findings may have applications for conservation of this vulnerable species against climate change or even for human cardiovascular health. ⌘ Read more
Team plans 3D modeling project for France’s natural history collections
France’s natural history collections contain nearly 6% of the world’s total natural specimens across multiple institutions, and the e-COL+ project aims to capture and reconstruct these specimens in 3D for easy access and 3D printing around the world. ⌘ Read more
Artificial light is a deadly siren song for young fish
New research finds that artificial light at night (ALAN) attracts larval fish away from naturally lit habitats while dramatically lowering their chances of survival in an “ecological trap,” with serious consequences for fish conservation and fishing stock management. ⌘ Read more
Shark hatching success drops from 82% to 11% in climate change scenario
New experimental research shows that the combined effects of ocean warming and acidification could lead to a catastrophic decrease in embryonic shark survival by the year 2100. This research is also the first to demonstrate that monthly temperature variation plays a prominent role in shark embryo mortality. ⌘ Read more
Sierra Leone bans child marriage with new bill ⌘ Read more
vim operations recorder. how can i regenerator this gif? this is a easymotions plugin. ⌘ Read more
R9OS: Plan 9 in Rust
R9 is a work-in-progress effort to build a Plan 9 kernel to Rust. It was started a couple years back by the maintainers of the Harvey OS distribution of Plan 9, who threw in the towel after “loss of traction”. R9 is a reimplementation of the plan9 kernel in Rust. It is not only inspired by but in many ways derived from the original Plan 9 source code. ↫ R9OS GitHub page For now, the project is obviously mostly focused on running in virtual machines, specifically Qemu, in which it can be run … ⌘ Read more
The UK’s NHS Going Digital Would Be Equivalent to Hiring Thousands of New Doctors
More than 30 million Brits have the NHS app. This represents an opportunity to transform the health service, which shadow health secretary Wes Streeting calls “an analog system in a digital age.” ⌘ Read more
China Can End Russia’s War in Ukraine With One Phone Call, Finland Says ⌘ Read more
Britain’s Brewing Battle Over Data Centers
The Labour Party, which is leading in UK election polls, has proposed making it easier for companies to build new server farms across the country—risking a new type of conflict in communities across the country. ⌘ Read more
(#ze7cu6q) @johanbove To be fair htmx is about 10 years old already and Hypermedia systems over 30 🤣
@johanbove @johanbove.info To be fair htmx is about 10 years old already and Hypermedia systems over 30 🤣 ⌘ Read more
Six dead as floods inundate vast swath of India, Bangladesh
Six people have been killed in floods precipitated by torrential rains across northeast India and neighboring Bangladesh that inundated the homes of more than a million others, officials said Wednesday. ⌘ Read more
白話 “多態”:探索 Rust 的多態理念
多態(Polymorphism),英文單詞來源自希臘語,”poly” 意爲 “多”,”morph” 意爲 “形態”,也就是 “多形態” 的意思,翻譯爲 “多態” 也比較貼切。遙想當年初學 Java 時,那時的我對 Polymorphism 還是相當困惑,爲何是多種形態?到底是什麼意思,因爲中文語境裏面並不存在 “多態” 這個詞。我打算以我的理解方式,白話一下 “多態” 一詞。函數(方法)尋址— ⌘ Read more
Golang 發起 http 請求:GET 帶參數、POST 發送 Form 和 JSON 數據
1、發起 GET 請求———–使用net/http 可以很容易發起 get 請求package mainimport ( ”fmt” ”io” ”net/http”)func main() { resp, := http.Get(”https://httpbin.org/get”) defer resp.Body.Close() body, : ⌘ Read more