Finally I have implemented a kind of trash in GoBlog. When I delete a post, it is first marked as deleted and can be restored within 7 days. Unfortunately the integration with ActivityPub is not that easy. ActivityPub allows to Undo a Delete activity, but Mastodon doesn’t support that, just like Mastodon doesn’t support Updates. 🙄 ⌘ Read more
GinAdmin 后台管理模板
GinAdmin这个项目是以 Gin 框架为基础搭建的后台管理平台,虽然很多人都认为 go 是用来开发高性能服务端项目的,但是也难免有要做 web 管理端的需求,总不能再使用别的语言来开发吧。所以整合出了 GinAdmin 项目,请大家多提意见指正!欢迎 star ⭐⭐
依赖- golang > 1.8
- Gin
- BootStrap
- LayUi
- WebUpload
- [Light Year Admin Using Ifra … ⌘ Read more
Throat and Nasal Passages
⌘ Read more
Announcing the first LundukeFest - “Make Computers Fun Again”
The January 29th virtual conference will include “Linux Sucks 2022” and many other fun-filled presentations and breakout sessions. ⌘ Read more
Excelize 发布 2.5.0 版本,Go 语言 Excel 文档基础库
Excelize 是 Go 语言编写的用于操作 Office Excel 文档基础库,基于 ECMA-376,ISO/IEC 29500 国际标准。可以使用它来读取、写入由 Microsoft Excel™ 2007 及以上版本创建的电子表格文档。支持 XLSX / XLSM / XLTM 等多种文档格式,高度兼容带有样式、图片 … ⌘ Read more
[47°09′01″S, 126°43′07″W] Reading: 1.10 Sv
Nominally, my seen/read list for 2021, but I missed a lot of short readings. I may try to write more about these things this year. http://a.9srv.net/media/2021
go 语言位操作库 bitset
bitset库 实现了 bitsets 数据结构,这是一种正整数和布尔值映射关系的结构,它比 map[uint]bool 更高效
bitsets 基本思想是用一个 bit 位来标记某个元素对应的 Value,每一位表示一个数,1 表示存在,0 表示不存在
比如我要表示 1, 3, 7 这 3 个数
- 构造一个空白 bitsets:00000000
- 每位代表的值如下:76543210
- 想要表示的值标记 1:10001010
�� … ⌘ Read more
Lunduke’s Nerdy New Years Resolutions
My 2022 New Years Resolutions. Spoiler: They’re a bit nerdy. ⌘ Read more
GoCN 每日新闻 (2022-1-1)
- https://eli.thegreenplace.net/2021/go-https-servers-with-tls/ Go HTTPS servers with TLS
- https://eli.thegreenplace.net/2020/embedding-in-go-part-3-interfaces-in-structs/ interfaces in structs
- https://mp.weixin.qq.com/s/Ec1nuR5Q_QgaC3FqeX1gLg 最简单的服务响应时长优化方法
- [https: … ⌘ Read more
[47°09′34″S, 126°43′25″W] Reading: 1.51000 PPM
Compiling QuickBASIC’s Gorillas on Linux… surprisingly tricky
Even with QB64 and FreeBASIC, compiling the classic GORILLA.BAS is not easy… but it works! ⌘ Read more
Peter Saint-Andre: Monadnock Valley Press Annual Report 2021
Happy Public Domain Day!… ⌘ Read more
Neil deGrasse Tyson’s Top 10 StarTalk Explainers of 2021 ⌘ Read more
More than 8 hours until midnight and some people are already lighting firecrackers. And this although there is an extra ban on the sale of firecrackers and fireworks because of Corona. 🤦♂️ ⌘ Read more
喜报!GoFrame 开源项目获得,2021 年度开源中国最受欢迎开源项目奖!
喜报!GoFrame 开源项目获得,2021 年度开源中国最受欢迎开源项目奖!
感谢感谢所有社区团队小伙伴的辛勤付出!
… ⌘ Read moreMy 2021 in Review
The year has almost reached its 100% progress, so it’s time again to take a look back and see what happened especially for me personally so 2021. I have written a monthly review every month (already the second year in a row), so here are the highlights of the past 12 months: ⌘ Read more
I 3D Printed parts that burn like NASA’s Rocket Fuel ⌘ Read more
About Telegram’s new translation feature
Telegram is developing updates and new features like crazy, they just released the 12th major update this year. One of the new features is the translation of chat messages from a foreign language to your own. ⌘ Read more
How did the programmer escape from prison?
I give up. How *did* the programmer escape from prison? ⌘ Read more
** Star Wars, and a year in review **
I tried to write a“ year in review” kinda post, but it got wicked melodramatic pretty fast. This year has been a slog…it really fucking sucked.
Rather than reflect on it further, I thought I’d write about something vapid that I’ve been thinking a bit about lately instead: Star Wars.
Despite my best efforts, I’ve always loved Star Wars. As a child I spent hundreds of hours pouring over novels, and comics, and books of sch … ⌘ Read more
🙌 Liked: Stampadia, print and play roguelike ⌘ Read more
Formatting Meeting
⌘ Read more
2021 is over! Huzzah! Get Lunduke Journal yearly subscription for $15.
7 free eBooks: including a Choose Your Own Adventure, Nerdy Dad Jokes, & a Kids Book ⌘ Read more
Things You Thought You Knew - Bada Bing! with Neil deGrasse Tyson ⌘ Read more
Laptops Powered by AA Batteries (Seriously)
And some of them run an impressively long time on a single set of Double-A’s. ⌘ Read more
[47°09′25″S, 126°43′12″W] Reading: 1.22000 PPM
Git Overview - Computerphile ⌘ Read more
GoCN 每日新闻 (2021-12-30)
GoCN 每日新闻 (2021-12-30)
- 如何在 Go 中将 [] byte 转换为 io.Reader?https://mp.weixin.qq.com/s/nFkob92GOs6Gp75pxA5wCQ
- 彻底搞懂 Kubernetes 中的 Eventshttps://mp.weixin.qq.com/s/QRIck4M1-CJVrVDoJEsjQA
- 对比 Rust 和 Go 对二进制数据处理[https://medium.com/@protiumx/advent-of-code-rust-go-and-binary-operators-7dd03057c134](https://medium.com/@protiumx/advent-o … ⌘ Read more
“Consider SQLite”
I am convinced of SQLite. For many use cases where other databases like MySQL, MariaDB or PostgreSQL are often used, SQLite would suffice, given the right design and architecture. ⌘ Read more
The History of the Graphical User Interface – 1945 to 1980
A visual, historical tour of the early years of computer GUI’s… starting in 1945. ⌘ Read more
平凯星辰获评《金融电子化》2021 金融业新技术应用创新突出贡献奖
近日,《金融电子化》杂志社发布了 “2021 第十二届金融科技应用创新奖” 评选结果,平凯星辰(北京)科技有限公司(以下简称 “平凯星辰”)榜上有名,这是对平凯星辰在金融科技领域的创新成果与能力的充分肯定。
 has old-school looks… and it is gorgeous. ⌘ Read more
NFTs, Net Neutrality, & Emotional Reactions to Technology
A few years back I came under fire for expressing a viewpoint so controversial, so repugnant, so… so… evil that I received, quite literally, thousands of angry messages. That viewpoint: “Net Neutrality: Not that big of a deal” I didn’t advocate for, ⌘ Read more
My December ‘21 in Review
Today is not yet the last day of December, but since I still plan to write a yearly review, the monthly review comes rather two days earlier. So December… ⌘ Read more
Enable Host I/O Cache on the Host…might be the most unknown Virtualbox tip on the planet !
Enable Host I/O Cache on the Host…might be the most unknown Virtualbox tip on the planet ! ⌘ Read more
[47°09′31″S, 126°43′02″W] Reading: 1.20000 PPM
Ntfy.sh
I subscribe to the Hacker News front page via RSS. There is a lot of stuff there that I just mark as read without taking a closer look. But sometimes something catches my eye and I take a closer look. Today “Show HN: A tool to send push notifications to your phone, written in Go” is one of them. ⌘ Read more
[47°09′46″S, 126°43′20″W] Reading: 0.54 Sv
Lunduke’s Dad Jokes About Computers, vol. 1
Comic strips. Containing dad jokes. Very, very nerdy dad jokes. ⌘ Read more
参加过 4 届 TiDB Hackathon 是一种什么体验? | TiDB Hackathon 选手访谈
TiDB Hackathon 2021 自 12 月 9 日开启报名至今,已经收到 259 名参赛者报名,组队 64 支,光是队名就脑洞大开,如:渡渡鸟复兴会、LET ETL ROCK、队长负责带饭、小母牛坐飞机、双呆、OneLastCode、TiDB 十年老粉等等,项目 idea 也充满各种奇思妙想。
目前�� … ⌘ Read more
GoCN 每日新闻(2021-12-29)
GoCN 每日新闻(2021-12-29)
- 用 Go 实现向手机推送工具https://github.com/binwiederhier/ntfy
- 基于 Go 实现 Mumble 和 Discord 之间的语音工具https://github.com/Stieneee/mumble-discord-bridge
- Go 中这么多创建 error 的方式,你真的了解它们各自的应用场景吗https://gocn.vip/topics/20911
- Go 依赖分析工具包[http … ⌘ Read more
[深圳] 百度 BFE 项目招聘 Go 研发工程师
团队简介百度智能负载均衡团队负责维护 BFE 开源项目,并研发负载均衡商业产品。
BFE 是基于 Go 语言的七层负载均衡系统,已经在百度内经过多年的研发,每天转发万亿级的请求。BFE 于 2019 年 7 月开源,2020 年 6 月成为 CNCF 官方项目。
除百度以外,BFE 已经被 360、用友网络、招商银行、央视网等公司或机构使用。
BFE 开源项目地址:
Go 中这么多创建 error 的方式,你真的了解它们各自的应用场景吗
大家好,我是渔夫子。今天从应用场景的角度来聊聊我对 error 的理解。
原文链接: https://mp.weixin.qq.com/s/ncEemMJ0kQayVPJrnF9aew
01 什么是 Error在 Go 中,error 是一种内建的数据类型。在 Go 中被定义为一个接口,定义如下:
<span class="c">// The error built-in interface type is the conventional interface for< ... ⌘ [Read more](https://gocn.vip/topics/20911)
🙌 Liked: Hempuli’s blog >> Snake nest ⌘ Read more
Moonfall
⌘ Read more
Peter Saint-Andre: 2021 Readings
As best I can reconstruct it, here are the books I read in 2021. Not included are scholarly papers, essays, and other short works. I’ve provided links to books that are available online at my monadnock.net website for works in the public domain…. ⌘ Read more
Make the Linux shell look like DOS.
Why would you want to make your Linux terminal look like DOS. Well. Why not? ⌘ Read more
[47°09′47″S, 126°43′48″W] Reading: 1.52000 PPM
GoCN 每日新闻 (2021-12-28)
GoCN 每日新闻 (2021-12-28)
- 使用 Go SDK 与 OCI 对象存储交互https://lucasjellema.medium.com/interacting-with-oci-object-storage-using-go-sdk-first-steps-f50682418488
- 深入理解 Go Json.Unmarshal 精度丢失之谜https://mp.weixin.qq.com/s/36CqC1U54LUd4-izt4iZ1g
- 基于 OpenTelemetry 和 ClickHouse 的分布式链路 … ⌘ Read more
Why is “Spaghetti Code” called “Spaghetti Code”?
The answer will shock you. ⌘ Read more
Neil deGrasse Tyson Explains Wind ⌘ Read more
GitHub’s top 10 blog posts of 2021
As the year winds down, we’re highlighting some of the incredible work from GitHub’s engineers, product teams, and security researchers. ⌘ Read more
First NFT sold for “Tux on Tour”? The Amiga one. Naturally.
%5 of every “Tux on Tour” transaction (sales and re-sales) is donated to Open Source projects. ⌘ Read more
web0?
With all the hype (or bullshit) about “web3”, it’s good to see a counter movement as well. Whether this site is really “web0” or just pre-“Web 2++” (my term for websites overloaded with frameworks, JavaScript and CSS) remains to be debated… ⌘ Read more
Trying to get down to Reading List Zero before I need to go back to work next year. The latest to be removed from the list because I read the thing: https://ngnghm.github.io/
[47°09′04″S, 126°43′21″W] Reading: 0.40 Sv
PingCAP x 亚马逊云科技,为 TiDB 云端体验 “加冕”
2021 年 9 月,TiDB 登陆亚马逊云科技 Marketplace(中国区),为数据库用户和 PingCAP 自身带来了多方面的成效。
为了帮助更多的数据库用户从云原生的架构中获益,PingCAP 决定与亚马逊云科技合作,并由亚马逊云科技核心咨询合作伙伴南京伊克罗德信息科技有限公司(以下简称 “伊克罗德”)提供相关技术支持服务,一同在云上在线事务与在线分析处理方面 … ⌘ Read more
“Operating System Not Found” - a nerdy Choose Your Own Adventure
The story of a man, his newly built PC, and… FroYo. ⌘ Read more
Tux on Tour - Raising money for Open Source projects using nerdy NFTs
A percentage of all sales (and re-sells) goes directly to Haiku and PCLinuxOS. ⌘ Read more
Not enough tests
GoBlog’s test coverage is increasing (currently about 41%), but I keep being reminded there is nothing like enough or even too many tests. I still find some stupid bugs that aren’t covered by automatic tests. ⌘ Read more
GoCN 每日新闻(2021-12-27)
GoCN 每日新闻(2021-12-27)
- ApacheCN Golang 译文集https://github.com/apachecn/apachecn-golang-zh
- Dubbo-go v3.0 正式发布 ——打造国内一流开源 Go 服务框架https://developer.aliyun.com/article/839884
- Go Quiz: 从 Go 面试题看 slice 的底层原理和注意事项https://juejin.cn/post/7045953087080497166
- 为什么 … ⌘ Read more
梦想总是要有的 - 工作 20 年程序员的 2021 年度总结
跌宕起伏的 2021 年快要过去了,今年对我来说经历的实在太多,提笔做个简单的总结吧。
去年的年终总结,我给自己立了两个 flag。
第一个虽然不可量化,不是一个好的目标,但我认为完成的还是不错的,go-zero 的工程效率已经得到了社区的广泛认可,感谢所有使用和� … ⌘ Read more
Confounding Variables
⌘ Read more
GoCN 每日新闻 (2021-12-26)
- Go 泛型的 facilitator 模式https://rakyll.org/generics-facilititators
- Go 1.18 泛型: 好的、坏的、丑的https://itnext.io/golang-1-18-generics-the-good-the-bad-the-ugly-5e9fa2520e76
- Go 调试器发布 Delve 1.8.0 版本,支持 1.18 泛型调试https://github.com/go-delve/delve/releases/tag/v1.8.0
4 … ⌘ Read more
可自搭建网盘并支持多家云存储的公有云文件系统 cloudreve
可自搭建网盘并支持多家云存储的公有云文件系统 cloudreve 什么是 cloudreve?Cloudreve 可以让您快速搭建起公私兼备的网盘系统。Cloudreve 在底层支持不同的云存储平台,用户在实际使用时无须关心物理存储方式。你可以使用 Cloudreve 搭建个人用网盘、文件分享系统,亦或是针对大小团体的公有云系统。
cloudreve 特性- ☁️ 支持本机、 … ⌘ Read more
Peter Saint-Andre: Meditations on Bach #9: Musical Monadology
In meditation #7 of this series, I took note of some similarities between the aesthetics of Aristotle and the music of Bach. Another intriguing influence might be the monadology of Gottfried Wilhelm Leibniz (1646-1716), who directly influenced philosophers and musical theorists in the Bach’s orbit: for instance, Bach’s student Lorenz Mizler (1711-1778) was a follower of the Leibniz scholar Christian Wolff (1679-1754). In chapter 5 of his book Music in the Culture of th … ⌘ Read more
[47°09′51″S, 126°43′47″W] Reading: 0.79 Sv
GoCN 每日新闻(2021-12-25)
- Python 在 Go 中的双向嵌入https://github.com/tliron/py4go
- golang 实的 xmpp 服务 jackal v0.55.0https://github.com/ortuman/jackal
- Go 有哪几种无法恢复的致命场景? https://mp.weixin.qq.com/s/gSfzrSKYbZTP8COz4lZKHQ
- 必看!6 步入门 Gohttps://mp.weixin.qq.com/s/DRpmh41dGAfzSOMsvwy8wA
- … ⌘ Read more
Christmas Demos of the 1980s (for C64, Atari, Apple II, DOS, & Amiga)
Christmas demos were a staple of 1980s computer culture. Here are some of the best. ⌘ Read more
Toi aussi, gère la page Facebook d’un parti belge - Médor ⌘ Read more
Merry Christmas! 🎄🎅 ⌘ Read more
[47°09′58″S, 126°43′56″W] Reading: 0.77000 PPM
DM 分库分表 DDL “乐观协调” 模式介绍丨 TiDB 工具分享
前言DM 支持在线执行分库分表的 DDL 语句(通称 Sharding DDL),先前的文章中,我们介绍了悲观模式,即当上游一个分表执行某一 DDL 后,这个分表的迁移会暂停,等待其他所有分表都执行了同样的 DDL 才在下游执行该 DDL 并继续数据迁移。
悲观协调模式的优点是可以保证迁移到下游的数据不会出错,并且能兼容大部分的 DDL 语句,缺点是会暂停� … ⌘ Read more
GoCN 每日新闻 (2021-12-24)
GoCN 每日新闻 (2021-12-24)
- ccgo 更新添加 macOS clang 支持https://pkg.go.dev/modernc.org/ccgo/v3
- 一个简单强大的 SSH 秘钥管理器https://golangexample.com/skm-a-simple-and-powerful-ssh-keys-manager/
- golang 会缓存 dns 吗[https://www.reddit.com/r/golang/comments/rn9b6d/is_golang_caching_dns/](https://www.reddit.com/r/golang/comments/rn9b6d/is_golang_ca … ⌘ Read more
December 25th Launch
⌘ Read more
Cosmic Queries – Living in a Simulation with Neil deGrasse Tyson and Nick Bostrom ⌘ Read more
🙌 Liked: Lisp in Life - Conway’s Game of Life ⌘ Read more
Docker’s Top 10 Most Popular Blogs in 2021
As 2021 comes to an end, it’s time to look back on our top 10 most-read blogs of the year. They cover a range of topics, from updates to our subscription pricing to product announcements to security threats. Here’s a quick summary, starting with the most popular, then ordered by topic. Updates and extensions to […]
The post Docker’s Top 10 Most Popular Blogs in 2021 … ⌘ Read more
Secure Docker Compose stacks with CrowdSec - The open-source & collaborative IPS
Testing this at the moment, quite happy with the results for one of my VPS running Funkwhale that came from a mix of Wordpress / Ampache, wordpress was being heavily probed for vulnerabilities, login attemps etc .. ⌘ Read more
GoCN 每日新闻(2021-12-23)
- 《真·简单》Golang 轻量级桌面程序 wails 库(圣诞节限定) https://gocn.vip/topics/20899
- Go 实战 | 一文带你搞懂从单队列到优先级队列的实现https://gocn.vip/topics/20897
- 什么时候在 Go 中使用泛型https://teivah.medium.com/when-to-use-generics-in-go-36d49c1aeda
- 深入研究 NSO 零点击 iMessage 漏洞:远� … ⌘ Read more
《真·简单》Golang 轻量级桌面程序 wails 库(圣诞节限定)
Golang 轻量级桌面程序 wails2 教学 推荐理由不依赖 cgo! 不依赖 cgo! 不依赖 cgo!真的不依赖 cgo,且跨平台,原生渲染 无嵌入式浏览器,轻量级,生成的文件很小,而且只有一个可执行文件就可运行。
功能介绍- 后端使用标准 Go
- 使用任意前端技术构建 UI 界面
- 快速为您的 Go 应用生成 Vue、Vuetify、React 前端代码
- 通过简 … ⌘ Read more
直播预告丨和我们一起过圣诞吧!Hackathon 创意攻略等你查收
叮叮当~ 叮叮当~ 圣诞节马上到啦~TiDB Hackathon 2021 的战队集结也接近尾声,已经报名的小伙伴是不是已经等不及啦?2022年1月8日- 9 日,各位小伙伴就要同台竞技啦!( 点击 链接 **,立即� … ⌘ Read more