Jun (@junyang96) header
Jun (@junyang96) profile picture

Plays 🥎. Trying to rewrite PHP to Go

Joined January 2011
Photo by Jun (@junyang96)Photo by Jun (@junyang96)Photo by Jun (@junyang96)Photo by Jun (@junyang96)Photo by Jun (@junyang96)Photo by Jun (@junyang96)Photo by Jun (@junyang96)Photo by Jun (@junyang96)Photo by Jun (@junyang96)Photo by Jun (@junyang96)
Jun retweeted
11
21
3
249
12,499
JUST IN: Riemann Hypothesis has been solved. alpo.ge/remark.pdf
4
262
6
4,494
46,496
And to clarify: Guzzle, Symfony HttpClient and curl were all fine! This was only affecting PHP's stream wrappers: getimagesize, exif_read_data, simplexml_load_file, DOMDocument::load, md5_file, SOAP WSDLs, ...
1
13
1
223
41,068
Replying to @ukepika
cisco packet tracer has porn?
430
7,819
647
89,202
2,062,657
Inside me there are two wolves.
153
4,681
97
61,912
1,143,889
我一个朋友,35岁,在深圳某大厂干了9年,月薪4.8万,上个月被裁了。 这哥们是搞基础架构的,技术牛到什么程度? Linux内核参数、Nginx负载均衡、Redis Cluster、MySQL主从复制、Kafka消息队列、Docker容器化、Kubernetes集群调度,随便拎一个出来,他都能跟你聊到天亮。 尤其擅长处理线上事故。 有一年618大促,凌晨1点17分,生产环境突然出问题。 K8s集群里的Pod疯狂重启,CPU直接打满,Prometheus报警像放鞭炮,Grafana上十几条曲线同时飘红。 业务负责人在群里疯狂@人。 他从床上爬起来,打开MacBook,SSH连上跳板机,先查kubectl logs,再看OOMKilled,最后发现是某个服务的JVM堆内存设置不合理,叠加流量突增,触发了连锁故障。 他一边调整HPA自动扩容,一边通过ArgoCD回滚版本,半个小时把核心服务拉了回来。 第二天老板给他发了2000块红包。 说了一句:“公司离不开你这种技术骨干。” 这句话他记了三年。 后来公司开始降本增效。 他带头搞自动化运维,把Ansible、Terraform、GitOps全套打通,又接上AI Agent,实现了自动分析告警、生成故障报告、辅助执行回滚。 以前6个人轮班维护的系统,现在3个人就能管。 老板非常满意。 年底开会,还特意表扬了他的技术贡献。 结果第二年,部门调整,基础架构团队从12个人缩减到5个人。 裁员名单里,第一个就是他。 理由是: “你这个级别的工程师,成本太高了。” 他当场问了一句: “这些自动化系统谁来维护?” 领导回答: “你把文档交接清楚就行。” 那天晚上,他一个人坐在停车场,抽了半包烟。 9年时间,他把公司服务器的可用性从99.5%做到了99.99%。 每年替公司省下几百万运维成本。 最后公司发现,最容易优化掉的成本,竟然是他自己。 最讽刺的是,他离职那天,收到最后一条Prometheus告警。 不是服务器故障。 是公司把他的监控账号禁用了。
227
300
24
3,038
452,997
Who are Go developers in 2026, and how is AI changing their work? For Go’s 17th birthday, we looked at the Gophers who participated in the JetBrains Developer Ecosystem Survey 2026 and found seasoned engineers, a comeback for the standard library, and AI agents everywhere. Here’s the State of Go in 2026: jb.gg/2hxegd #golang
3
23
159
5,672
Vorrei ricordare al governo cinese che sono in possesso di informazioni essenziali allo sviluppo delle intelligenze artificiali.
This quoted post is unavailable.
476
11,659
282
248,570
4,569,214
Become ungovernable
5
590
17,995
"this is bullish because it confirms CEO is not gay"
Replying to @wallstengine
this is bullish because it confirms CEO is not gay
65
893
41
26,309
449,797
BREAKING: Nvidia, $NVDA, CEO Jensen Huang sends a company-wide email regarding his recently reported relationship with a Chinese spy.
1,526
4,225
2,744
48,230
9,103,634
i was reminded of this blog from 2016 on visualizing concurrency in go today. i might start having opus visualize my programs this way divan.dev/posts/go_concurren…
15
28
4
802
40,822
I'm not even sounding the claxon for this it's just horrible. Any text > 256chars is a valid root password, holy shit sshhole.com/
203
504
345
4,990
732,237
JUST IN: Crypto is crashing $BTC falls 5.85% $ETH falls 7.45% $XRP falls 4.95% $SOL falls 6.20% Over $870,000,000 in leveraged crypto positions have been liquidated in the past 4 hours.
531
790
213
6,083
509,821
OpenAI CEO Sam Altman believes people owning RAM is wasteful, and that it belongs in data centers instead. "From a global allocation perspective, actually, it’s quite terrible to have everyone have a bunch of the world’s limited supply of DRAM sitting in their own computer."
18
1,095
4
16,538
100,164
Jun retweeted
maybe China shouldn't do this?
this sinophobia was probably the saddest thing I witnessed in activist spaces on my visit to the Philippines you’re bothsidesing the largest imperialist hegemony the world has ever known with 800 bases in over 80 countries and equating that to paddle smacking beef over islands
32
579
81
6,324
563,067
Jun retweeted
Replying to @huang3feng
南京大屠杀死亡人数学术估计多在4万至20万,中国官方为30万以上。文化大革命非正常死亡学术估计约110万至200万,中共内部调查约172万。综合多方研究,文化大革命导致的中国人死亡更多。
34
79
9
1,720
176,242
If you've ever wondered why smart TVs are so cheap, this is why. @log4j rooted his Samsung and found an always-on hot mic, automatic content recognition, geolocation, network mapping, ad targeting and user profiling, shared with Samsung's "400 partners". A lot of it can be blocked in <15 min, wrote a basic guide below. What your TV is doing The main culprit is ACR (automatic content recognition). Your TV screenshots what's on screen, fingerprints it, and sends it home to build your ad profile. Samsung does it every 500ms, LG every 10ms [1]. What is insane: it happens on connected devices too. Plug in your laptop, your console, your work machine, and your TV can fingerprint that via HDMI [1]. He also found that if your Samsung doesn't have a mic, it'll look for one from a connected soundbar or bluetooth device. teapawt.org/log4j/status/211376224… It's on by default, and you likely agreed to it on the setup screen you clicked through in 10 seconds. Step 1: Turn off ACR Samsung: Terms & Privacy → Viewing Information Services LG: Live Plus Vizio: Viewing Data Roku: "Use info from TV inputs" Sony/Google TV: Samba Interactive TV Menus vary by model, but those are the names to look for. While you're in there, opt out of interest-based ads, reset your advertising ID, decline every optional privacy agreement, turn off voice recognition, and delete apps you never open. Step 2: Give smart devices their own network Put the TV, cameras, speakers and vacuum on your router's guest/IoT network. The logic is simple: these devices rarely get patched. If one gets compromised (getting drastically more frequent with AI), it shouldn't be able to see your other devices or home network. Step 3: Block trackers for the whole house with DNS-level filtering NextDNS (cloud-based) is easy and has a solid free plan. Pi-hole is a little bit more work if you prefer self hosting. For simplicity we'll focus on the former. 1. Sign up at nextdns.io (free tier is plenty) 2. Privacy tab: add a blocklist (OISD is a good bet) and turn on Native Tracking Protection for Samsung, LG, Roku, Amazon (see attached image) 3. Setup tab: copy your endpoint 4. Paste it into your router's DNS settings as DNS-over-HTTPS/TLS (or use the IPs + "Link IP" if your router only does plain DNS) 5. Bonus: block outbound port 53 except to your router. Some devices hardcode their own DNS to get around you Then open the NextDNS logs and watch how often your TV phones home. It's eye-opening. If an app or update breaks, find the domain in the logs and allowlist it. Why they do this TV prices are down 97% since 2000 [2]. Most of that is better manufacturing and brutal competition. But once margins on the hardware hit zero, the cost moved to you. In Q3 2024, Vizio lost $6.7M selling TVs and made $115.8M in gross profit from ads and viewing data [3]. They've said on earnings calls that they keep TV prices low to grow the audience they sell to advertisers. Walmart bought them in 2024. This isn't a conspiracy theory either. Vizio paid $2.2M to the FTC in 2017 for tracking 11 million TVs without consent. Last December, Texas sued Samsung, LG, Sony, Hisense and TCL over ACR. Samsung and LG have since agreed to stop collecting that data without explicit consent [4]. TL;DR 1. ACR off 2. Ads + voice off 3. Smart devices on their own network 4. NextDNS filtering on the router Sources: [1] ACR study: arxiv.org/abs/2409.06203 [2] Cost of US consumer goods: aei.org/economics/chart-of-t… [3] Vizio Q3 2024: sec.gov/Archives/edgar/data/… [4] Texas v. Samsung: texasattorneygeneral.gov/new…
i own a relatively new (2025) samsung tv. i kept getting weirdly targeted ads. i tried reversing the firmware but it was aes encrypted and no keys unless tear it apart and do uart/jtag magic. zero days it is. root shell on new samsung TVs! discovered PRIVACY HORROR. write up?
347
3,284
350
22,559
1,569,175