Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2022-08-23 Hot Posts #17

Open
github-actions bot opened this issue Aug 24, 2022 · 0 comments
Open

2022-08-23 Hot Posts #17

github-actions bot opened this issue Aug 24, 2022 · 0 comments
Labels

Comments

@github-actions
Copy link

Hacker News

Stable Diffusion Public Release

570 points by flimsythoughts at 02:08:23 | 338 comments

Application submitted for US molten salt research reactor

367 points by PaulHoule at 00:18:24 | 131 comments

Stripe down for 4 hours (and counting) for all those with Stripe Tax enabled

242 points by whyleym at 06:39:26 | 133 comments

“10% error rate is okay“ – Leaked EU Commission document regarding Chat Control

235 points by monort at 17:15:07 | 199 comments

Risk Everything (2007)

196 points by sutro at 12:27:13 | 101 comments

Republishing a fork of the sanctioned Tornado Cash repositories

186 points by Andrew_nenakhov at 06:19:19 | 150 comments

Using the power of the sun to roast green chile

154 points by bookofjoe at 04:08:17 | 84 comments

Show HN: Crawlee – The web scraping and browser automation library for Node.js

144 points by jancurn at 14:25:39 | 40 comments

A general overview of what happens before main() (2019)

142 points by xept at 03:27:14 | 22 comments

Ex-Twitter exec blows the whistle, alleging reckless cybersecurity policies

136 points by razin at 18:36:53 | 78 comments

France is now offering a €4k e-bike subsidy to people who trade in their car

111 points by taubek at 17:45:55 | 95 comments

An odd discovery on Spotify

110 points by breathenow at 08:30:52 | 51 comments

Parsing SQL

104 points by teleforce at 10:58:29 | 69 comments

Reflections on my time in Y Combinator

102 points by chrisfrantz at 02:49:17 | 60 comments

A bike tour of Dresden, the heart of Germany’s semiconductor industry

101 points by giuliomagnifico at 02:51:03 | 43 comments

Why Apple Will Switch to ARM-Based Macs (2014)

80 points by ctippett at 09:03:52 | 41 comments

The messages that survived civilisation's collapse

71 points by Caiero at 12:17:11 | 19 comments

Should Your Notes Be End-to-End Encrypted?

60 points by fastball at 16:48:44 | 44 comments

Debugging Win32 Binaries in Ghidra via Wine

51 points by todsacerdoti at 14:26:06 | 6 comments

Collapse of emergency healthcare in England may be costing 500 lives every week

49 points by buro9 at 17:48:53 | 45 comments

Isaac Solar Ice Maker

49 points by abrax3141 at 12:44:31 | 14 comments

Cloudflare Pressured to Drop Kiwi Farms After Latest Doxing Effort

39 points by IfOnlyYouKnew at 05:58:25 | 19 comments

The best and worst of 1994 and predictions for '95

33 points by miniatureape at 09:08:29 | 11 comments

Nvidia Hopper Architecture In-Depth

33 points by mariuz at 05:31:28 | 4 comments

.gov/anime

29 points by tosh at 02:50:36 | 7 comments

My black body story (it's physics)

26 points by winkywooster at 08:53:35 | 3 comments

A 12-Year-Old Died on an E-Bike. Is the Manufacturer to Blame?

19 points by c0nsumer at 18:55:14 | 39 comments

Microsoft is putting more ads in Outlook on iOS and Android

18 points by CharlesW at 04:14:12 | 8 comments

Young firms, old capital

16 points by Bostonian at 08:14:39 | 1 comments

Java in the Browser

15 points by krisgenre at 19:12:43 | 12 comments

Tip-flation has some restaurants asking for up to 30% in tips

15 points by pseudolus at 06:19:46 | 13 comments

Group of Apple employees pushes back against return-to-office order

14 points by mgh2 at 02:49:52 | 17 comments

Ask HN: Is there a globe with the exact shape of the Earth?

12 points by soneca at 04:13:42 | 15 comments

C# 11 preview: generic math, required members, and more

11 points by mikece at 01:43:38 | 2 comments

They built their businesses on Instagram. Then the platform changed

10 points by elorant at 01:30:58 | 3 comments

Hackers steal crypto from Bitcoin ATMs by exploiting Zero-Day bug

10 points by modinfo at 00:39:45 | 0 comments

Show HN: Awesome-Cosmopolitan

9 points by grimgrin at 01:16:37 | 2 comments

The American Dream

8 points by wseqyrku at 19:21:58 | 3 comments

UK inflation to top% in early 2023, Citi warns

7 points by davidbarker at 00:58:34 | 1 comments

Help Star Trek’s Lieutenant Uhura Overcome Astronomical Odds

7 points by digital55 at 03:58:14 | 2 comments

Comparing U.S. Federal Spending in 2021 with Revenue

6 points by gmays at 05:30:26 | 0 comments

Gitlab 15.3 released with tasks for managing your work and free GitOps features

6 points by mikece at 00:28:21 | 0 comments

Cracking a $2M Crypto Wallet

5 points by Tomte at 14:33:49 | 1 comments

VisionFive 2 – High-performance RISC-V dev board with an integrated 3D GPU

5 points by kfihihc at 14:27:30 | 2 comments

Mary Kenneth Keller – First Person to Receive Computer Science PhD in US

5 points by fortran77 at 11:09:35 | 0 comments

Clip Studio Paint announces subscription plan, angering the artist community

4 points by ognarb at 03:57:12 | 0 comments

'Vanity' Product Management Analyses?

4 points by btmerzi at 04:03:53 | 3 comments

Chinese GPU claiming to be faster than Nvidia A100

3 points by moggi at 19:09:43 | 0 comments

Replit (YC W18) Is Hiring ML engineers

1 points by amasad at 05:00:53 | comments

V2EX

最近老是和老婆吵架,她老是觉得结婚我占大便宜了

结婚的时候,婚房用的对象首套名额,房子首付是我全出,房子写女方名字(目前每月 1 万多房贷也是我还),装修家电材料都是我买的,她爸是搞装修的算出了个人力。彩礼我没给,他也没有带任何嫁妆。二线城市,婚礼教堂租了场地 3000 ,婚宴 3500 一桌。三金对戒 4000 多,项链 2000 多,手表 2000 多,另外她想拍短视频,就买了相机 5000 ,她研究生不想要家里钱,学费我出的 2 万左右。我每月给她 2000 零花钱,家里水电,出去吃饭。。。都是我在出钱。前几天说拍写真 2000 多,我给了 1500 ,又看上一件衣服 1000 多,感觉想让我出钱。我有点不乐意,然后就吵架了。他总觉得我不给她花钱,就不爱她。我自己本身比较节俭,买 4,5 百的东西,就要考虑好久,或打折才买,她花钱有时候不看性价比,乱花钱。差不多一个月吵架一次,好烦。

164 comments by enzo26 at 10:33:39 in 问与答

分享一下自己做的 monospace 字体,已开源

Maple Mono

只有基础拉丁文(英数+符号) 以及 制表符 (目前够用了)

项目地址

  • 圆角,主要是没找到有圆角的等宽字体才去自己做的
  • 参考了 Source Code Pro, Fira Code, ubuntu mono, operator mono, sarasa mono sc nerd 等优秀字体
  • 修改了@ # $ % &的形状
  • 有连字
  • 花体的斜体
  • 中英文间距 2:1

基础

连字

React

Java

Python

Maple Mono SC NF

Maple Mono + 中英文 2:1 + Nerd Font 控制台字体 目前我的 IDE + Terminal 字体都是这个

https://ibb.co/1dJ3B2j

143 comments by subframe75361 at 09:36:41 in 分享创造

看《近来全球高温…》帖子,想做一个网站,列出生活中的碳🏭消耗

举例

1. 爬 3 层楼梯,碳排放 2g 。60kg*9.8N/kg*10m = 6000J = 2g CO2
  1. 坐 3 层电梯,碳排放 40g 。1200kg9.8N10m = 120000J = 40g CO2

  2. 开车出门采购,行程 10km ,碳排放总计 2500g 。
    其中烧汽油,10km ,1L 汽油,碳排放 2000g 。汽车损耗,由于生产一辆车需要碳排放 20000000g ,开车 10km 损耗整车寿命的 1/100000 ,则汽车损耗对应碳排放 200g 。汽油生产过程,每生产 1L 汽油,碳排放?g 。

  3. 买了一大瓶碳酸饮料,碳排放总计 125g 。
    其中饮料生产过程碳排放 20g ,运输过程碳排放 100g ,碳酸气体碳排放 5g 。

上面的数据,第 1 、2 、3 项仅做了一些粗略的考察和计算,第 4 项随便写的。仅供参考。

普通人的低碳

受帖子 https://v2ex.com/t/874495 的启发,想到普通人可以为低碳做的事情。在那个帖子中我回复道「普通人可以做的很少」,但后来想到,普通人是消费的主体,如果普通人有选择低碳产品的倾向,那么也会反过来影响生产的过程。

可是主要的问题是,普通人很难知道,日常生活中哪些活动或产品是低碳的,而哪些碳消耗高,具体高多少。也不清楚对于日常的必需品,有哪些低碳的替代品。

「省碳」省在刀刃上

所以想到建一个网站,列举出普通人的生活场景中,哪些地方会排放多少的碳。比如买衣服、乘电梯、坐车、上网等等。另外还有,日常消费的碳中,有哪些可以用更为绿色的方案替代。比如衣服的选择、出行方式的选择等。

最上面例子的数据,可以直观展现每项活动的碳排放。比如开车一次,顶爬楼 1000 次,顶坐电梯 100 次。

用户想要低碳时,参照数据,可以把「省碳」省在刀刃上。


~~ 大家觉得怎么样?

101 comments by sillydaddy at 09:45:05 in 奇思妙想

怎么防止同事用 Evil.js 的代码投毒

怎么防止同事用 Evil.js 的代码投毒-视频版 B 站

最近Evil.js被讨论的很多,项目介绍如下

2022-08-22-16-17-24.png

项目被发布到 npm 上后,引起了激烈的讨论,最终因为安全问题被 npm 官方移除,代码也闭源了

作为一个前端老司机,我肯定是反对这种行为,泄私愤有很多种方式,代码里下毒会被 git log 查到,万一违法了,还不如离职的时候给老板一个大逼兜来的解恨

今天我们来讨论一下,如果你作为项目的负责人,如何甄别这种代码下毒

  1. 检测函数的 toString
  2. iframe
  3. node 的 vm
  4. ShadowRealm api
  5. Object.freeze
  6. 备份检测

怎么防止同事用 Evil.js 的代码投毒-视频版 B 站

怎么防止同事用 Evil.js 的代码投毒-完整代码

77 comments by woniuppp at 09:40:24 in 程序员

手机在保修期内,被小米拒保了。 首先声明,这事没怪小米,只是宝宝心里苦,想吐槽一下。

上个月,想选个比较有性价比的手机,在京东上看了一圈小米最新款,发现拍拍 99 新二手,要比官方便宜 400 ~ 500 元。想着以前自用手机都没坏过,铤而走险下单了。

到手后,会偶尔重启,但是能用。还来 V2 发帖说 OLED 费眼睛,没想到一个月就翻车了,彻底黑屏无法开机。

由于前机主手机激活不到一年,还在保修期,开开心心去官方售后,结果被告知螺丝被动过,只能付费维修,价格是 1470 元,还只保修三个月。感叹花这点钱,都可以换一个 LCD 屏新手机了。

我猜螺丝应该是前任机主去官方检测过,没检测出来问题,就干脆卖了。就变成我接盘了,我没法证明螺丝的问题,只能无奈接受拒保着个结局。

感谢陪伴我一个月的小米 99 新手机,重新换回 LCD 。

76 comments by tool2d at 12:18:32 in 随想

64T 硬盘已扫完,求一个馒头的💊 玩过几个小站奈何盘小没认真玩,这次直接到位

d2F4aWVieTEyQGdtYWlsLmNvbQ==

感谢感谢

74 comments by fanxasy at 12:00:55 in 宽带症候群

国内上架安卓 APP 怎么这么麻烦?!

Visual Studio 2022 正式版可以创建 MAUI 程序了,想用 MAUI 写个安卓 APP ,然后上架应用商店体验下这个流程。

应用商店首先想到酷安,想上架 APP 首先需要实名+身份证手持进行开发者认证,认证就认证吧咱也不在乎这些。

然而认证完之后看到这个:

1 、请通过应用提供互联网信息服务类的 APP开发者,在 5 月 20 日前尽快补充相应ICP 备案号及截图资料,逾期将做下架处理。

2 、请在应用启动时提供用户协议及隐私协议,告知用户应用需要获取权限的用途,同时提供同意和不同意选项(隐私协议规范可参考华为、应用宝等商店要求)。

3 、无软件著作权登记证书的应用不予上架。

4 、建议开发者在酷安 APP 中创建同名话题和用户交流。

5 、如对相关资质要求及流程不清楚的,可以到小米、华为等应用商店上架熟悉流程。

同时我也去小米开发平台看了看,直接连个人开发者认证都没有了!!!

啥时候开始上架 APP 这么麻烦啊,怎么还要软著的🙄。

73 comments by Bronya at 13:43:35 in Android

想问问大家,有没有提高技术的捷径?

61 comments by fang23 at 08:00:38 in 问与答

一个新的博客主题,各位大佬给点意见

Demo 地址: https://hugo-ladder.pages.dev/

repository 地址: https://github.com/guangzhengli/hugo-theme-ladder

在文字的排版上做了很多的优化,集成了一些 giscus 等常用的功能。欢迎各位大佬提意见~

Snipaste_2022-08-20_18-55-46

60 comments by ligz at 09:28:10 in 程序员

iOS 16 感觉没更新什么新功能啊?

上周更新了 iOS16 的测试版,体验是就时钟的字体变粗了,其它都是修修补的小功能。

你觉得 iOS 16 有什么亮点功能吗?

56 comments by v2ka at 09:20:30 in iOS

拿 C 被劝退了。。。 中流 985 非科班,毕业 2 年,第二份工作,尽力了,不想写代码了,转行换什么岗好点呢

44 comments by mrtungleung at 14:37:00 in 职场话题

@github-actions github-actions bot added the posts label Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants