Apple Promotion Boosts iPhone Trade-In Values for a Limited Time
Apple today launched a limited-time promotion that increases the trade-in values for select iPhone models in the United States when customers buy a new iPhone.
The promotion lasts from today until June 3, and means anyone trading in their existing iPhone 11 or newer will get more money knocked off the price of a new iPhone. As you can see fro … ⌘ Read more
Announcing Flux 2.3 GA
Project post originally published on Flux’ blog by Stefan Prodan We are thrilled to announce the release of Flux v2.3.0! In this post, we will highlight some of the new features and improvements included in this release. General availability… ⌘ Read more
MacRumors Giveaway: Win an Apple Vision Pro From iMazing
For this week’s giveaway, we’ve teamed up with iMazing to offer MacRumors a chance to win an Apple Vision Pro headset. The giveaway celebrates the recent release of iMazing 3, a … ⌘ Read more
[47°09′27″S, 126°43′22″W] Raw reading: 0x6641BA71, offset +/-3
FedCM for IndieAuth
IndieWebCamp Düsseldorf took place this weekend, and I was inspired to work on a quick hack for demo day to show off a new feature I’ve been working on for IndieAuth. ⌘ Read more
The IBM PC110 (486 palmtop) hosting this website reached 3 years of uptime a couple weeks ago. Impressive! http://pc110.yyzkevin.com/
你管这破玩意叫指针?
内存,通常被严谨地画成下面这个样子,一个下方是低地址上方是高地址的格子楼。
但我今天换种画法,画成下面这个样子。
每个格子代表内存中的 1 个字节(8 位),格子上的数字就代表内存地址,我也直接用 10 进制来表示了,免得 16 进制又算不明白了。
目前内存是完全空的,格子里没有任何内容。
试想一下,如果你忘掉所有的语法规则和编程规范,你会如何描述对这些内存格子的操作呢?
一、类型系统
很简单,往格子 3 处放个数字 29,往格子 6 处放个数字 38,就这么简单直接地描述即可。
 today announced the debut of a new Matter 1.3 specification that’s available for device makers and platforms. Matter is a smart home protocol that allows smart devices to work across multiple platforms, including HomeKit.
Matt … ⌘ Read more
DietPi April 2024 News (Version 9.3) & Open Beta Version 9.4.0
DietPi recently released version 9.3, followed by Open Beta v9.4.0, with both updates introducing new features, enhancements, and bug fixes to the lightweight Linux distribution. DietPi: DietPi is a lightweight and optimized OS based on Linux, specifically designed for single-board computers and small-scale devices. It aims to provide a minimal and efficient environment for running […] ⌘ Read more
Well, that’s good. Now I know 3 Android clients for gophers.
Started writing something from scratch yesterday using thread(3) and wow do I miss writing in Limbo instead. :-/ #plan9
CodeQL zero to hero part 3: Security research with CodeQL
Learn how to use CodeQL for security research and improve your security research workflow.
The post CodeQL zero to hero part 3: Security research with CodeQL appeared first on The GitHub Blog. ⌘ Read more
Google 孵化了 3 個 Go 安全庫,推薦使用!
大家好,我是煎魚。Google 作爲一家用戶體量很大的企業,有非常多的產品,經常會被黑客攻擊或被拿來練手。因此其設計的產品、編程語言、工具庫等都會要求考慮安全性相關的內容。例如:各種供應鏈攻擊、CWE 等安全的查缺補漏等。我們作爲用戶(使用者),可以 “白嫖” 這些功能實現。直接複用在自家的業務上就可以了。這樣每年在護網上都能省不少勁。三個 Go 安全庫———本次 Google 輸出了 ⌘ Read more
Golang 高效的切片拼接和 Go1-22 中新的拼接方法
在 Go 中,切片拼接是一種常見操作,但如果處理不當,可能會導致性能問題或意外的副作用。本文將詳細介紹幾種切片拼接的高效方法,討論它們的優缺點以及適當的使用場景。 基本的方法和其限制使用 append 函數最直接的方法是使用 append 函數,它將一個切片的元素添加到另一個切片的末尾。slice1 := []int{1, 2}slice2 := []int{3, 4}result := app ⌘ Read more
Go 語言將 PDF 轉爲 Word ,代碼怎麼實現?
將 PDF 轉換爲 Word 這是一個很常見的功能了,用 Go 語言實現,可以通過以下步驟完成:1 安裝 PDF 轉換工具庫:首先需要使用 Go 語言中的 PDF 轉換庫,比如 pdftoword 或 pdfcpu。你可以使用 Go 的包管理工具(如 go get)來安裝這些庫。2 導入依賴庫:在 Go 項目中導入你選擇的 PDF 轉換庫,並確保正確地導入了所有需要的依賴項。3 加載 PDF 文件 ⌘ Read more
On my blog: Free Culture Book Club — Noir & Blanc, part 3 https://john.colagioia.net/blog/2024/04/27/noir-blanc-3.html #freeculture #bookclub
使用 GitHub Actions 構建 Golang PGO
今年 2 月,我宣佈 Dolt 版本現已構建爲配置文件引導優化 (pgo) 二進制文件,利用 Golang 1.20 的強大功能將 Dolt 的讀取性能提高 5.3%。在我宣佈這一消息之前,我們的一位常駐 Golang 專家 Zach 試驗並測試了 Golang 的 pgo 功能,並寫下了他在使用 Dolt 構建後觀察到的性能提升,該配置文件首先針對 Dolt 運行我們的 Sysbench 基準測 ⌘ Read more
Beta 3 of iOS 17.5, macOS Sonoma 14.5, iPadOS 17.5, Available for Testing
Apple has issued the third beta versions of iOS 17.5, macOS Sonoma 14.5, iPadOS 17.5, watchOS 10.5, visionOS 1.2, and tvOS 17.5, to all users participating in the beta testing programs for Apple system software. The new beta builds are available to both developer beta and public beta testers on any actively enrolled device, though … [Read More](https://osxdaily.com/2024/04/24/beta-3-of-ios- … ⌘ Read more
How to Use the Latest GPT 4 & DALL-E 3 Free on iPhone & iPad with Copilot
GPT 4 is an extremely advanced large language model with immense AI capabilities, and DALL-E 3 is a wildly impressive AI image generator that creates pictures from text descriptions. Both of these tools are incredibly powerful and impressive, and while you can access them for a fee through the parent company who developed the models, … [Read More](https://osxdaily.com/2024/04/19/how-use-gpt-4-dall-e-3-f … ⌘ Read more
为什么我的猫看我吃螺蛳粉会以为我在吃“屎”,但我吃进去却不觉得?
因为引起螺蛳粉的臭味物质和便便的臭味物质并不是同一个。而猫对诸如螺蛳粉、榴莲等有特殊气味的食物出于嫌弃,可能会有“埋屎”行为,并不一定是认为你在吃屎。
便便的臭味是由粪臭素(3-甲基吲哚)引起的,存在于哺乳动物的粪便中,为色氨酸在消化系统中的产物。
而螺蛳粉的臭味是其中的配料酸笋发出的,近两年对广西酸笋挥发性成分的研究中发现:
1、酸笋的主要气味成分大致有10多种,主要气味特征是酸味、酸臭味和刺激性气味以及发酵香味;
2、对甲苯酚和乙酸是主要的气味成分。
3、酸笋主要香气属性酸臭味主要与对甲苯酚(窖泥臭)、苯乙醇的浓度呈较好的相关性。酸味及刺激性气味与对乙基愈创木酚、3-辛醇具有较好的相关性。而发酵香味与3-辛醇、壬醛、反-2- … ⌘ Read more
如何看待北京十三号线西二旗站地铁里的拳击赛?
大家好,我是罡风,今天我决定入驻知乎了,这是我在知乎的第一篇文章,希望我的文章能帮助更多普通人在面对一些极端情况时更好的保护自己。
本篇将教会大家在搭乘地铁、公交、火车等公共交通工具时,与他人发生了矛盾,遇到了一个无礼的家伙向你抡起了拳头,本篇会教你如何在乘警出现之前,打烂他的脸。
以地铁为例,中国地铁车厢的长度一般在25米内,宽2.5-3.0米不等,这就严重限制了打斗的空间,再加上椅子、扶手等内置设施的阻隔,想来上一场酣畅淋漓的恶战,看来是有些束手束脚。
火爆外網。該挑戰賽要求開發者編寫一個 Java 程序,從一個包含十億行信息的文本文件中檢索溫度測量值,並計算每個氣象站的最小、平均值和最高溫度。“十億行挑戰” 的目標是爲這項任務創建最快的實現,同時探索現代 Java 的優勢。這項挑戰聽起來很簡單。但十億行代碼實際是一項龐大的工程,如果以每個數字 3 ⌘ Read more
My first week with a safety razor 🪒
I’ve tried a few shaving methods since I started growing a beard in puberty. I started with a Gillette Mach 3, various no-name shavers because the cartridges are cheaper, and two electric shavers. ⌘ Read more
My first week with a safety razor 🪒
I’ve tried a few shaving methods since I started growing a beard in puberty. I started with a Gillette Mach 3, various no-name shavers because the cartridges are cheaper, and two electric shavers. ⌘ Read more
slog 終極指南
在本文中,我們將探討 Go 中的結構化日誌記錄,並特別關注最近推出的 log/slog[1] 軟件包, 這個軟件包旨在爲 Go 帶來高性能、結構化和分級的日誌記錄標準庫。該軟件包起源於由 Jonathan Amsterdam 發起的 GitHub 討論 [2], 後來專門建立了一個提案 [3] 細化設計。一旦定稿,它在 Go v1.21 版本中發佈。在以下各節中,我將全面呈現 slog 的功能, ⌘ Read more
hewwo :3 I love gemini protocol. gemini://gemlog.blue/users/546pvp/1709922234.gmi
Ontem estive na CNN como representante da @d3 a comentar as desventuras da Worldcoin; é a partir da 1:04:00
https://cnnportugal.iol.pt/videos/cnn-fim-de-tarde-6-de-marco-de-2024/65e8f0ad0cf2c4edbc0d4bc1
GitHub Enterprise Server 3.12 is now generally available
With this version, customers can choose how to best scale their security strategy, gain more control over deployments, and so much more.
The post GitHub Enterprise Server 3.12 is now generally available appeared first on The GitHub Blog. ⌘ Read more
On my blog: Free Culture Book Club — WNV Universe — Woethief 3 https://john.colagioia.net/blog/2024/03/02/wnv-universe-3.html #freeculture #bookclub
Analog Discovery Pro ADP2230: New Mixed Signal Oscilloscope from Digilent
The Analog Discovery Pro ADP2230 is a mixed signal oscilloscope designed for a range of professional engineering applications. It integrates multiple functions typically found in various test and measurement devices into a single unit. Key components and capabilities include: For digital signal processing, the device includes 16 digital input/output channels, compatible with 3.3 V CMOS […] ⌘ Read more
Collabora’s Recent Advances in Open Source Boot Chains and Vulkan Drivers
This month, Collabora has announced two significant advancements in open-source technology. Firstly, the integration of the NVK project, an open-source Vulkan driver for NVIDIA GPUs, into Mesa 24.1 marks a major development in graphics driver technology. Secondly, Collabora has improved the boot process for Rockchip’s RK3588 by including an open-source BL31 (Boot Loader stage 3.1) […] ⌘ Read more
ProcessOne: ejabberd 23.01
Almost three months after the previous release, ejabberd 23.01 includes many bug fixes, several improvements and some new features.
A new module, mod_mqtt_bridge, can be used to replicate changes to MQTT topics between local and remote servers.
A more detailed explanation of those topics and other features:
Erlang/OTP 19.3 discouragedRemember that support for Erlang/OTP 19.3 is discouraged, and will b … ⌘ Read more
ProcessOne: ejabberd 23.04
This new ejabberd 23.04 release includes many improvements and bug fixes, as well as some new features.
- Many SQL database improvements
mod_mamsupport for XEP-0425: Message Moderation
- New
mod_muc_rtbl, Real-Time Block List for MUC rooms
- Binaries useErlang/OTP 25.3, and changes in containers
A more detailed explanatio … ⌘ Read more
Arduino Debuts Nano 33 BLE Rev2 with Dual IMUs and MicroPython Support
The recently introduced Arduino Nano 33 BLE Rev2 builds on the success of its predecessor, the Nano 33 BLE, by retaining the compact size and 3.3-V compatibility, while enhancing its features and capabilities. This board is well-suited for a diverse range of projects, including wearable technology to advanced robotics. This device incorporates the u-blox NINA-B306, […] ⌘ Read more
別再手寫配置了!動態配置管理實踐指南
*一、分佈式配置的意義1.1 什麼是分佈式配置分佈式配置管理是指在分佈式系統中,對不同節點上的配置文件進行集中式、動態化管理。與傳統通過修改配置文件進行配置相比,分佈式配置管理系統具有以下優點:(1) 中心化管理: 配置集中放在配置服務器上, 方便管理和控制。(2) 動態更新: 支持在線動態修改配置, 服務端會主動推送配置文件更新到客戶端。(3) 高可用 & 數據一致性: 配置服務器會構建集羣防止 ⌘ Read more
Minneapolis robbery spree: 3 teens arrested
Police arrested three teens after a robbery spree in Minneapolis on Sunday with 14 people victimized. ⌘ Read more
Bird-feed loaf and a date: What children eat in Gaza
Hunger stalks the entire Gaza Strip, the tiny enclave where 2.3 million people have been living under Israel’s bombardment since Oct. 7 as it battles Hamas militants. In central Gaza, three young brothers had run away in secret to take refuge with their aunt in her tent in Deir al-Balah because there was nothing to eat in Gaza City. Just north of Deir al-Balah, Warda Mattar, a displaced mother … ⌘ Read more
Thousands of academic workers at York University go on strike
Some students at Toronto’s York University are worried about falling behind on their school work after a union representing 3,000 academic workers said the university didn’t meet their demand to “address the affordability crisis” and the workers went on strike. Dozens of union members including contract faculty, teaching and graduate assistants, research assistants and part-tim … ⌘ Read more
Man wanted after stealing car with child inside
Police are searching for a man who stole a car in Detroit that had a child inside. The 3-year-old girl and car were both later found, but the suspect is still on the run after the crime on the city’s west side over the weekend. ⌘ Read more
Ben Stokes brushes off suggestion that England were not ruthless against India
Ben Stokes dismissed suggestions England lack a ruthless edge and expressed pride at how his team have fared in Indian conditions after not being given a “chance in hell” of success. England succumbed to a first Test series defeat under the leadership of captain Stokes and head coach Brendon McCullum, as India moved into an unassailable 3-1 lea … ⌘ Read more
Granny trying out VR goggles has hilarious reaction
A woman in Apex, North Carolina, had a hilarious reaction while trying out the Apple Vision Pro virtual reality headset for the first time on February 3. ⌘ Read more
Sponsored Video – Collection 3
Sponsored Video - Collection 3 ⌘ Read more
[47°09′56″S, 126°43′12″W] Raw reading: 0x65D4DA91, offset +/-3
3 Ways to Unblock YouTube & Watch Blocked Videos from Any Device
Many networks will block YouTube for any number of reasons; maybe you’re in a region or country where YouTube is not allowed, maybe you’re at a school or institution where YouTube is blocked, maybe censorship is blocking YouTube content, maybe your current network blocks YouTube, or maybe a particular YouTube video is region restricted. Whatever … [Read More](https://osxdaily.com/2024/02/18/3-ways-to-unblock-youtube-w … ⌘ Read more
Sad to see moc removed from the official arch linux repos, but also cool to learn the debian project has been quietly patching it and keeping it up to date in recent years. Long live the music on console player. (And debian!) :-)
I finally found the NASM assembler.
I had heard that name before, many times, but somehow never looked into it. Weird. 🤨🤔
This is the kind of program I was looking for.
- It is free software. Especially in the DOS ecosystem, free/libre software is a very scarce resource.
- It’s a small command line program, not a huge behemoth.
- Documentation appears to be well written.
- It can even cross-compile DOS binaries from Linux.
Descobri há pouco a estranha guerra entre os fãs de Sonic que dizem “Hydro City” e os que dizem “Hydrocity” e man, adoro a internet
Beta 3 of macOS Sonoma 14.4, iOS 17.4, iPadOS 17.4, Available for Testing
The third beta version of macOS Sonoma 14.4, iOS 17.4, iPadOS 17.4, and watchOS 10.4, has been released to users enrolled in the beta testing programs for Apple system software. Additionally, beta 2 of VisionOS 1.1 is available for users beta testing software on the Apple Vision Pro. Downloading Beta 3 of iOS 17.3/iPadOS 17.3, … [Read More](https://osxdaily.com/2024/02/13/beta-3-of-macos-so … ⌘ Read more
How to Watch Super Bowl 58 Free from iPhone, Apple TV, Mac, iPad, Web
Super Bowl 58 (or Super Bowl LVIII) is set to begin on February 11 at 3:30PM PT / 6:30PM ET, where the San Francisco 49ers will face the Kansas City Chiefs at Allegiant Stadium in Las Vegas, Nevada. The game is being aired on CBS live, but if you don’t have a TV with an … Read More ⌘ Read more
Safari 17.3.1 Update for MacOS Ventura & Monterey Fixes Overlapping Text Bug
Apple has released Safari 17.3.1 as a software update for macOS Monterey and macOS Ventura. The small Safari update appears to resolve the same overlapping text bug that was patched with macOS Sonoma 14.3.1, iOS 17.3.1, iPadOS 17.3.1, and watchOS 10.3.1. When users experience this bug, it can look like text is either disappearing (even … [Read More](https://osxdaily.com/2024/02/10/safari-17-3-1-up … ⌘ Read more
MacOS Sonoma 14.3.1 Update Fixes Text Overlap Bug on Macs
iOS 17.3.1 and iPadOS 17.3.1, which fixes the same bug on iPhone and iPad, and watchOS 10.3.1, which resolves the bug on Apple Watch. How to Download & Install MacOS Sonoma 14.3.1 Update Be sure you backup the Mac to Time Machine before beginning any software update. Go to the Apple menu Choose “System … Read More ⌘ Read more
I’ve been enjoying my Fairphone 3 since January 2020. Not planning to change to a newer phone soon.
iOS 17.3.1 Update Released to Fix Overlapping Text Bug on iPhone & iPad
Apple has released iOS 17.3.1 as an update for iPhone, along with iPadOS 17.3.1 for iPad. The small software update includes a bug fix for an issue where text may duplicate or overlap while typing. There do not appear to be any other changes or security fixes in this update. Separately, macOS Sonoma 14.3.1 and … [Read More](https://osxdaily.com/2024/02/08/ios-17-3-1-update-released-to-fix … ⌘ Read more
OKdo ROCK 5 AIO Edge Media Board with 3 TOPs NPU and Pre-integrated AI Stack
The OKdo ROCK 5 AIO Edge AI Media Board, belonging to the ROCK Series, features a 3 TOPS NPU. It incorporates an AI stack designed for compatibility with GStreamer and OpenCV, suitable for custom computer vision projects. The ROCK 5 AIO is powered by the reliable Rockchip RK1808 System-on-Chip (SoC), which features a dual-core ARM […] ⌘ Read more
使用 Go 打造百億級文件系統的實踐之旅
JuiceFS 企業版是一款爲雲環境設計的分佈式文件系統,單命名空間內可穩定管理高達百億級數量的文件。構建這個大規模、高性能的文件系統面臨衆多複雜性挑戰,其中最爲關鍵的環節之一就是元數據引擎的設計。JuiceFS 企業版於 2017 年上線,經過幾年的不斷迭代和優化,在單個元數據服務進程使用 30 GiB 內存的情況下,能夠管理約 3 億個文件,並將元數據請求的平均處理時間維持在 100 微秒量級 ⌘ Read more
RIP Phill Niblock. <3
DFRobot Coin-Sized ESP32-C6 Board with RISC-V Core, Priced at $4.90
The Beetle ESP32-C6 is a compact and versatile IoT development board by DFRobot, designed for Arduino enthusiasts and developers looking to explore low-power IoT solutions. This tiny gizmo offers up to 16x I/Os and an array of communication protocols including Wi-Fi 6, Bluetooth 5, Zigbee 3.0, and Thread 1.3. This device utilizes the same Espressif […] ⌘ Read more
MacOS Ventura 13.6.4 & MacOS Monterey 12.7.3 Released with Security Fixes
Apple has released MacOS Ventura 13.6.4 and macOS Monterey 12.7.3, each containing important security fixes, for Mac users who are not yet running macOS Sonoma. The security updates correspond with the macOS Sonoma 14.3 update that was issued for Sonoma users. It’s not unusual for many Mac users to continue to run older versions of … [Read More](https://osxdaily.com/2024/01/23/macos-v … ⌘ Read more
iOS 16.7.5 & iPadOS 16.7.5 Security Updates for Older iPhone & iPad Released
Apple has released iOS 16.7.5 and iPadOS 16.7.5 as updates for older model iPhone and iPad devices that are not running iOS 17.3. These updates are available for iPhone 8, iPhone 8 Plus, iPhone X, iPad 5th generation, iPad Pro 9.7-inch, and iPad Pro 12.9-inch 1st generation, whereas newer devices will find iOS 17.3 and … Read More ⌘ Read more
iOS 17.3 Update for iPhone Available to Download Now
iOS 17.3 for iPhone has been released by Apple, along with iPadOS 17.3 for iPad. The software updates include some minor new features, as well as security enhancements and bug fixes, and are therefore recommended for all iPhone and iPad users to install onto their devices. The most notable new feature to arrive with iOS … Read More ⌘ Read more
MacOS Sonoma 14.3 Update Available to Download Now for Mac
macOS Sonoma 14.3 is now available for Mac users running the Sonoma operating system on their computer. The software update includes bug fixes, security enhancements, and adds a few very minor new features, like the ability to collaborate on playlists with Apple Music and use Emoji reactions there. The full release notes for macOS Sonoma … [Read More](https://osxdaily.com/2024/01/22/macos-sonoma-14-3-update-available … ⌘ Read more
DietPi January 2024 news (version 9.0)
DietPi’s latest release, version 9.0, rolled out today, marks a significant update for the lightweight Linux OS, renowned for its efficiency on single-board computers. This release phases out support for the older Debian Buster version, introduces compatibility with the new 1.5 GB Orange Pi Zero 3, and brings several enhancements and bug fixes across the […] ⌘ Read more
Jetway Unveils 3.5” SBC with Dual 2.5GbE Ports and Triple 4K@60Hz Display Support
Jetway unveiled this week the JF35-ADN1 which is a 3.5” SubCompact single-board computer powered by the Intel Processor N97 CPU. This new embedded device aims at the field of industrial robotics payment systems, machine vision and beyond with its DDR5 memory support and extensive I/O interfaces. The product announcement highlights that the JF35-ADN1 is configurable […] ⌘ Read more
O álbum, ou neste caso banda sonora, que mais fez por definir o meu gosto musical foi a BSO do Sonic CD (1993), e quero estrear-me na nova cardiqueta musical da Ciberlândia – #musicol – para vos descrever brevemente a paixão que lhe tenho.
Ainda me lembro muito bem do momento em que, em casa de um amigo que tinha Mega CD, fui arrebatadíssimo por aquele “wuu” do início do jogo (dá pra ouvir na faixa anexa). Até à altura, a música dos videojogos era na base de chips áudio com pouca capacidade pra samples. De repente aparece-nos áudio qualidade CD, vozes, samples longos, que magia que foi.
E não era só a qualidade do som. As malhas soavam tão à frente, techno nipónico a ir buscar ligações a beats latinos, jazz, pop, synthwave, sci-fi, rave e sei lá mais o quê, de acordo com o ambiente do nível.
Outro pormenor inédito (?) era haver vários remixes do mesmo tema de acordo com o período no tempo em que estamos (presente, passado ameno, futuro distópico).
E era quê, 1994-5? Só muitos anos mais tarde consegui obter a colectânea no Soulseek, e ainda hoje me enche de ouvir estas vibes. Alguém por cá também já regalou os ouvidos com isto?
(obrigado @RuteRadio pela cardiqueta que me animou pra finalmente alinhar este toot)
Release Candidates for iOS 17.3, iPadOS 17.3, macOS Sonoma 14.3, Available for Testing
Apple has issued Release Candidate builds for iOS 17.3, iPadOS 17.3, macOS Sonoma 14.3, watchOS 10.3, and tvOS 17.3, for users involved in the beta testing programs. Release Candidate (RC) builds are typically the final version of a beta release cycle before the update becomes broadly available to all users. Occasionally, a second (or even … [Read More](https://os … ⌘ Read more
[LIVE] Programming DNA circuits | Learn Real Genetic Engineering - Part 3 ⌘ Read more
[LIVE] Programming DNA circuits | Learn Real Genetic Engineering - Part 3 ⌘ Read more
Go 1-18 泛型全面講解:一篇講清泛型的全部
序2022 年 3 月 15 日,爭議非常大但同時也備受期待的泛型終於伴隨着 Go1.18 發佈了。可是因爲 Go 對泛型的支持時間跨度太大,有非常多的以 “泛型” 爲關鍵字的文章都是在介紹 Go1.18 之前的舊泛型提案或者設計,而很多設計最終在 Go1.18 中被廢棄或發生了更改。並且很多介紹 Go1.18 泛型的文章 (包括官方的) 都過於簡單,並沒對 Go 的泛型做完整的介紹,也沒讓大家意 ⌘ Read more
[47°09′55″S, 126°43′40″W] Raw reading: 0x65A41311, offset +/-3
[47°09′30″S, 126°43′47″W] Raw reading: 0x65A39481, offset +/-3
FireBeetle 2 Upgraded with RISC-V Based ESP32-C6 SoC Featuring Zigbee 3.0 and Thread 1.3 Connectivity
DFRobot has announced the launch of the updated FireBeetle 2, now incorporating the latest ESP32-C6 System-on-Chip from Espressif Systems. This enhanced development board integrates standard I/Os, includes comprehensive battery support, and offers advanced connectivity options with Zigbee 3.0 and Thread 1.3. Unlike the FireBeetle 2 (ESP32-S3) … ⌘ Read more
Beta 3 of macOS Sonoma 14.3, iOS 17.3, iPadOS 17.3, Available for Testing
Apple has released the third beta versions of iOS 17.3, iPadOS 17.3, and macOS Sonoma 14.3 to users participating in the beta testing programs. There’s also a new tvOS beta version for those interested in that. iOS 17.3 includes an intriguing new feature called Stolen Device Protection which aims to make it harder for thieves … [Read More](https://osxdaily.com/2024/01/10/beta-3-of-macos-son … ⌘ 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
一個例子,給你講透典型的 Go 併發控制
Go 中可以使用一個go關鍵字讓程序異步執行一個比較常見的場景:逐個異步調用多個函數,或者循環中異步調用func main() { go do1() go do2() go do3()}// 或者func main() { for i := range []int{1,2,3}{ go do(i) }}如果瞭解 Go 併發機制,就知道main在其他 goroutine 運行完成之前就已經結束了, ⌘ Read more
** A scrappy fiddle **
I’ve had fun playing at implementing a very basic visual programming system over the last few days. I like the direction I’ve s … ⌘ Read more
假如沒有 go install,編譯會多痛苦?
*1. go install 命令簡介go install 命令是 Go 語言的標準命令, 用於編譯和安裝 Go 語言程序。1.1 命令作用及基本原理go install 命令的主要作用是編譯和安裝 Go 語言的可執行文件或庫文件。它的基本原理是: 1. 按照包依賴關係編譯傳遞進來的 main 包及其所有依賴的包 2. 鏈接必要的包生成可執行文件 3. 將生成的可執行文件拷貝到 ⌘ Read more
@lyse@lyse.isobeef.org not normal, last time there was this much was 10 years ago. Highway got shut down back then, with people stuck, remember a colleague of mine who got stuck on his way home after work and was still stuck the next morning on highway.
The amount of snow we got this time was a bit shocking, schools has been closed for 3 days (but open tomorrow), all public transport got shut down yesterday (but running again now).
Beta 2 of iOS 17.3, iPadOS 17.3, macOS Sonoma 14.3 Available for Testing
Apple has issued the second beta versions of iPadOS 17.3 for iPad, iOS 17.3 for iPhone (which has since been pulled), and macOS Sonoma 14.3. The new betas are available to download now for any user actively enrolled in the appropriate beta testing program. Update: Just kidding, iOS 17.3 beta 2 has been pulled because … [Read More](https://osxdaily.com/2024/01/03/beta-2-of-ios-17-3-ipados-17- … ⌘ Read more
Go 測試的 20 個實用建議
2023 年 11 月初,Go 語言技術負責人 Russ Cox 在 GopherCon Australia 2023[1] 大會上進行了題爲 “Go Testing By Example”[2] 的演講:12 月初 Russ Cox 重新錄製了該演講內容的視頻,並在個人網站 [3] 上放了出來。這個演講視頻是關於如何編寫好的 Go 測試的,Russ Cox 介紹了 20 個實用建議,非常值得 G ⌘ Read more
[47°09′03″S, 126°43′13″W] Raw reading: 0x658C5811, offset +/-3
Deals: M2 MacBook Air 15″ for $999! ($300 Off!!)
Amazon is offering a whopper of a deal on the M2 MacBook Air 15″ base model in Silverlight color, taking $300 off the MSRP of $1299, and bringing the price of the 8GB / 256GB model to just $999. The M2 MacBook Air 15″ features the speedy and efficient M2 processor, a 15.3-inch Liquid Retina … Read More ⌘ Read more
將 go 代碼打包成 docker 鏡像
概述–在本教程中,你將生成一個容器映像。該映像包括運行應用程序所需的一切:編譯的應用程序二進制文件、運行時、庫以及應用程序所需的所有其他資源。前置條件—-若要完成本教程,需要滿足以下條件:golang 1.19+ 本地安裝了 docker Git 客戶端 程序–該應用程序提供兩個 HTTP endpoint:/ 返回符號 < 3 /health 返回 {“Statu ⌘ Read more