Forwarded from Hacker News
Our memory is better than experts thought (Score: 100+ in 14 hours)
Link: https://readhacker.news/s/4MnBn
Comments: https://readhacker.news/c/4MnBn
Link: https://readhacker.news/s/4MnBn
Comments: https://readhacker.news/c/4MnBn
Scientific American
Our Memory Is Even Better Than Experts Thought
In some respects, memory is poor. In others, it is astonishingly good
Forwarded from Hacker News
RPG-CLI – your filesystem as a dungeon (Score: 101+ in 6 hours)
Link: https://readhacker.news/s/4MpF9
Comments: https://readhacker.news/c/4MpF9
Link: https://readhacker.news/s/4MpF9
Comments: https://readhacker.news/c/4MpF9
GitHub
GitHub - facundoolano/rpg-cli: Your filesystem as a dungeon!
Your filesystem as a dungeon! Contribute to facundoolano/rpg-cli development by creating an account on GitHub.
Forwarded from Hacker News
A New Algorithm for Graph Crossings, Hiding in Plain Sight (Score: 102+ in 4 hours)
Link: https://readhacker.news/s/4MrA3
Comments: https://readhacker.news/c/4MrA3
Link: https://readhacker.news/s/4MrA3
Comments: https://readhacker.news/c/4MrA3
Quanta Magazine
A New Algorithm for Graph Crossings, Hiding in Plain Sight
Two computer scientists found — in the unlikeliest of places — just the idea they needed to make a big leap in graph theory.
Forwarded from Hacker News
E-Prime – English without the verb “to be” (Score: 100+ in 14 hours)
Link: https://readhacker.news/s/4Mqh7
Comments: https://readhacker.news/c/4Mqh7
Link: https://readhacker.news/s/4Mqh7
Comments: https://readhacker.news/c/4Mqh7
Wikipedia
E-Prime
A modified form of English that eliminates all forms of the word "to be" in order to prevent the passive voice and force the writer or speaker to name the agent of a statement.
Forwarded from Hacker News
Should we rebrand REST? (Score: 100+ in 23 hours)
Link: https://readhacker.news/s/4Mp6y
Comments: https://readhacker.news/c/4Mp6y
Link: https://readhacker.news/s/4Mp6y
Comments: https://readhacker.news/c/4Mp6y
Kieranpotts
Should we rebrand REST?
In this blogpost I argue the case for consigning the term REST API to history. In its place we should adopt the terms HTTP API and hypermedia API.
Forwarded from Hacker News
Microsoft president: Orwell’s 1984 could happen in 2024 (Score: 103+ in 2 hours)
Link: https://readhacker.news/s/4MsSy
Comments: https://readhacker.news/c/4MsSy
Link: https://readhacker.news/s/4MsSy
Comments: https://readhacker.news/c/4MsSy
BBC News
Microsoft president: Orwell’s 1984 could happen in 2024
Tech executives warned that democracy has to win the AI arms race, in a new BBC Panorama.
Forwarded from Hacker News
Build a RISC-V CPU from scratch (Score: 101+ in 23 hours)
Link: https://readhacker.news/s/4MpVp
Comments: https://readhacker.news/c/4MpVp
Link: https://readhacker.news/s/4MpVp
Comments: https://readhacker.news/c/4MpVp
IEEE Spectrum
Build a RISC-V CPU From Scratch
Use discrete logic chips to build a surprisingly capable CPU with the hottest new architecture
Forwarded from Selling Sharzy by the Pound
Gist
30-hour clock is good, so display it on your i3bar
30-hour clock is good, so display it on your i3bar - trigesimal.py
Forwarded from Solidot
Comcast 用户在下载 Ubuntu 之后收到 DMCA 侵权通知
2021-05-28 15:56 #Ubuntu
美国电信公司 Comcast 的一位用户在 Reddit/linux 频道上透露,他通过 BT 下载了 Ubuntu 的 ISO 镜像之后收到 DMCA 侵权通知。在 DMCA 通知中,反盗版组织列举的侵权文件的哈希值为 4ba4fbf7231a3a660e86892707d25c135533a16a,而它正是 Canonical 官方 ISO 镜像 64 位 Ubuntu 20.04.2.0 LTS 的值。通过 BT 下载 Ubuntu 与侵权显然毫无关系。这起事件再 次凸显了反盗版组织滥用 DMCA 通知的问题。
2021-05-28 15:56 #Ubuntu
美国电信公司 Comcast 的一位用户在 Reddit/linux 频道上透露,他通过 BT 下载了 Ubuntu 的 ISO 镜像之后收到 DMCA 侵权通知。在 DMCA 通知中,反盗版组织列举的侵权文件的哈希值为 4ba4fbf7231a3a660e86892707d25c135533a16a,而它正是 Canonical 官方 ISO 镜像 64 位 Ubuntu 20.04.2.0 LTS 的值。通过 BT 下载 Ubuntu 与侵权显然毫无关系。这起事件再 次凸显了反盗版组织滥用 DMCA 通知的问题。
Forwarded from 药丸邮报
【全球抗疫“神话破灭” 台湾疫情怎么走到今天这地步】
台湾政府一直到多种新冠疫苗陆续受到欧美国家的批准认证之后才开始向厂商洽购,而这个时候大多数的头几批的生产量早已经被其他国家预订一空,而这些国家在疫苗研发期间可能早就已经投资研发经费,因此台湾拿到的疫苗数量非常少。
https://www.bbc.com/zhongwen/simp/57187804
台湾政府一直到多种新冠疫苗陆续受到欧美国家的批准认证之后才开始向厂商洽购,而这个时候大多数的头几批的生产量早已经被其他国家预订一空,而这些国家在疫苗研发期间可能早就已经投资研发经费,因此台湾拿到的疫苗数量非常少。
https://www.bbc.com/zhongwen/simp/57187804
BBC News 中文
台湾疫情:“神话破灭”背后的四个看点
防治新冠疫情,台湾曾经被誉为全球典范,为什么会突然爆发多起本土社区感染?曾让台湾人引以为傲的新冠疫情防治措施又为什么出现破口?
Forwarded from Rust 视界
Rust binary search PR 导致 Polkadot 线上事故的缘由
知名公链波卡 (Polkadot) 5 月 24 号某个节点发生了一次比较大的线上事故(Out Of Memory),是因为 Rust 标准库 binary search 一个优化 PR 导致的。
该PR 跑了将近一周时间的 crater 测试,也没有发现对线上 5 万多个 crate 有什么大影响。Rust 1.52 发布之后,没想到依然有人中招了,而且还是价值几十亿美金的项目。
@brson 特意发了 issue 说到这件事,但是 Rust 社区的人都认为这件事跟这个 PR 没有关系,因为 binary search 碰到多个重复的元素的时候确实是返回任意一个,文档上也说得很清楚了(所以这种情况下不会保证两个版本返回的位置一致,这也是 Polkadot 出现线上事故的原因)。
该 PR 作者(Folyd)说 :
> 不管怎样,这件事给我的触动还是蛮大的。软件开发是复杂的,其本质原因在于现实生活就是复杂的。软件工程师只能尽可能规避发生这种情况的风险,但是没有办法做到万无一失吧。就像这位工程师说的我这是中了 Hyrum 定律(Google 一个叫 Hyrum 的工程师提的定律,可以理解为 API 领域的墨菲定律)。
Polkadot 的事故后复盘:https://polkadot.network/a-polkadot-postmortem-24-05-2021/
@brson 的 issue: https://github.com/rust-lang/rust/issues/85773
binary search优化 PR:https://github.com/rust-lang/rust/pull/74024
关于 PR 的文章:https://zhuanlan.zhihu.com/p/371460665
Hyrum 定律:https://www.hyrumslaw.com/
知名公链波卡 (Polkadot) 5 月 24 号某个节点发生了一次比较大的线上事故(Out Of Memory),是因为 Rust 标准库 binary search 一个优化 PR 导致的。
该PR 跑了将近一周时间的 crater 测试,也没有发现对线上 5 万多个 crate 有什么大影响。Rust 1.52 发布之后,没想到依然有人中招了,而且还是价值几十亿美金的项目。
@brson 特意发了 issue 说到这件事,但是 Rust 社区的人都认为这件事跟这个 PR 没有关系,因为 binary search 碰到多个重复的元素的时候确实是返回任意一个,文档上也说得很清楚了(所以这种情况下不会保证两个版本返回的位置一致,这也是 Polkadot 出现线上事故的原因)。
该 PR 作者(Folyd)说 :
> 不管怎样,这件事给我的触动还是蛮大的。软件开发是复杂的,其本质原因在于现实生活就是复杂的。软件工程师只能尽可能规避发生这种情况的风险,但是没有办法做到万无一失吧。就像这位工程师说的我这是中了 Hyrum 定律(Google 一个叫 Hyrum 的工程师提的定律,可以理解为 API 领域的墨菲定律)。
Polkadot 的事故后复盘:https://polkadot.network/a-polkadot-postmortem-24-05-2021/
@brson 的 issue: https://github.com/rust-lang/rust/issues/85773
binary search优化 PR:https://github.com/rust-lang/rust/pull/74024
关于 PR 的文章:https://zhuanlan.zhihu.com/p/371460665
Hyrum 定律:https://www.hyrumslaw.com/
Polkadot Network
A Polkadot Postmortem - 24.05.2021
On 24 May 2021, Polkadot nodes failed with an out of memory (OOM) error on block 5,202,216. This block contained an on-chain solution to the validator election, which is normally computed off-chain and only takes place on-chain if no off-chain solution is…
Forwarded from Hacker News
An Intuition for Lisp Syntax (Score: 101+ in 10 hours)
Link: https://readhacker.news/s/4MvHW
Comments: https://readhacker.news/c/4MvHW
Link: https://readhacker.news/s/4MvHW
Comments: https://readhacker.news/c/4MvHW
Stepan Parunashvili
An Intuition for Lisp Syntax
Every lisp hacker I ever met, myself included, thought that all those brackets in Lisp were off-putting and weird. At first, of course. Soon after we all came to the same epiphany: lisp’s power lie...
Forwarded from Hacker News
Elliptic Curve Cryptography Explained (2019) (Score: 103+ in 1 day)
Link: https://readhacker.news/s/4MtTv
Comments: https://readhacker.news/c/4MtTv
Link: https://readhacker.news/s/4MtTv
Comments: https://readhacker.news/c/4MtTv
Fang-Pen's coding note
Elliptic Curve Cryptography Explained
Fang-Pen Lin's blog about programming
Forwarded from 每日沙雕墙 (ZAMMER)
This media is not supported in your browser
VIEW IN TELEGRAM
Forwarded from Hacker News
The phrase “welcome back” on a page causes Safari to autofill a password (🔥 Score: 104+ in 59 minutes)
Link: https://readhacker.news/s/4MxBe
Comments: https://readhacker.news/c/4MxBe
Link: https://readhacker.news/s/4MxBe
Comments: https://readhacker.news/c/4MxBe
GitHub
Safari tries to fill username · Issue #25 · livewire-ui/spotlight