Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rfoo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
64 ms
·
841.
▲
by
rfoo
5y ago
Unpopular opinion: I disable auto-update and for every piece of software I use, I go over it at least casually, or wait some days depending on how popular it is and the "trust level" in my mind, before first load and before update
842.
▲
by
rfoo
5y ago
What I mean is you put your library and all services using it in a single repo.
843.
▲
by
rfoo
5y ago
I'd argue that libgcc is safe to statically link though. The only downside of statically linking libgcc, as long as you keep your symbol visibility sane, i.e. not re-exporting everything which is unfortunately the default :(, is C++ ex
844.
▲
by
rfoo
5y ago
> monorepo lets you magically do atomic API migrations I'd argue that there are many more APIs which just don't go over network. With monorepo you can do cross-component refactor very easily, this is especially handy when you a
845.
▲
by
rfoo
5y ago
> Why should the end-user care about developers fees? Because it's actually the end-user (sometimes unknowingly) paying this 30% fee?
846.
▲
by
rfoo
5y ago
You may be surprised by this, then: https://mail.python.org/archives/list/python-dev@python.org/...
847.
▲
by
rfoo
5y ago
Try to convince those "Data Scientists" to learn Julia/Rust or spend another ten years for learning how to write non-crashy C++ then. Also, IMO Python is the right tool for glueing optimized C++ implementation of various lina
848.
▲
by
rfoo
5y ago
Previous GIL removal attempts hurts single thread performance and it isn't that scalable, so people are usually by default dismissive. Most of Python codes depend on subtle details of CPython internal. For example sometimes it is just
849.
▲
by
rfoo
5y ago
> Let Python excel at its core competencies Python is notably very popular in two communities: web developer and scientific computing. The former usually yell loudly every time someone propose to remove GIL. Meanwhile everyone in the sci
850.
▲
by
rfoo
5y ago
> Multiple processes are more robust to failure and easier to reason about Yeah of course, except when you use multiprocessing to do some CPU-intensive work and one of the subprocess get OOMKilled. Now your main process just hang forever
851.
▲
by
rfoo
5y ago
I'd say this is beyond paranoid (as it seems targeted), I can understand given that your handle is ngcc_HK though. FWIW, Ventoy is FOSS [1], so, the same rule holds: you can inspect the source and build it yourself. [1] https:/&#
852.
▲
by
rfoo
5y ago
> they gave up That's a good thing, as there are still people trying to play the catch up (e.g. SMIC), without subsidize.
853.
▲
by
rfoo
5y ago
At least they don't push snake-oil ads to your grandparents.
854.
▲
by
rfoo
5y ago
I don't think so. OTOH what GP described (reseller earn money by batch unlocking phone and pre-installing not uninstall-able apps/malwares before selling to consumers) is very common some time ago. China is wild.
855.
▲
by
rfoo
5y ago
> There's no magical security behind NAT That's exactly the point. Yes, I know the "security" NAPTv4 provides is just a side effect. But it is what was widely deployed in the field. If you want to push IPv6, you MUST
856.
▲
by
rfoo
5y ago
Prepare a rootfs for ARM64 system. chroot into it and emulate every binary with qemu-user. Now replace gcc etc with one configured as cross-compiler, but still point its sysroot to the usual path (/usr/...). This is equivalent to
857.
▲
by
rfoo
5y ago
Stable does not mean perfect. It means putting a version number on it, don't fucking change it pointlessly, and decouple it from the other parts of the kernel.
858.
▲
by
rfoo
5y ago
> any exploit that gets only gets you memory read/write but not kernelspace code execution That's an odd assumption. There are still a lot of universal tricks for turning a truly arbitrary R/W primitive into code execution
859.
▲
by
rfoo
5y ago
"Normal" working hours (i.e. 40-hours a week), according to the Labor Law? China, as a country ruled by communist, do have a Labor Law favoring employees. They just don't enforce it strictly before. For example, you may refus
860.
▲
by
rfoo
5y ago
Real "security experts" do know that a security feature had to be usable :)
861.
▲
by
rfoo
5y ago
A data point: I was raised up in a tier 2/3 city in northern China, finished high school at about 2013. I'm not exposed to calculus or linear algebra at all while in high school. OTOH, friends of same age who were in Shanghai did
862.
▲
by
rfoo
5y ago
That's because the database fail with no changes made, and they retry the whole HTTP request with all business logic in the application re-run against primary instance. So, nothing to do with database-level stuff. The idea is basically
863.
▲
by
rfoo
5y ago
Sure, and all the foundations was also already in Vine. /s By the way, Toutiao was a thing way before ByteDance acquiring Musical.ly.
864.
▲
by
rfoo
5y ago
This is a big factor, but poor rural areas usually just blatantly ignore child number limits anyway. So, unlikely to be the sole reason.
865.
▲
by
rfoo
5y ago
Web search is not very profitable ever since the so-called "mobile age". A large percentage of mobile-only users have stopped relying on search, they reach to WeChat or just 100 different specific apps instead. Baidu was in desper
866.
▲
by
rfoo
5y ago
Chinese politician talk is as empty as you may see elsewhere, just in a different way (wording being more "communism" and harder to decipher)
867.
▲
by
rfoo
5y ago
I think it meant uppercase .C instead of lowercase .c as a C++ extension. Indeed it's pretty rare. That being said, there are indeed projects using lowercase .c extension for their "C++" file: gdb [1][2] [1] https:/
868.
▲
by
rfoo
5y ago
> performance hit is definitely noticeable Could you please name which application, and how do you notice it?
869.
▲
by
rfoo
6y ago
The Twitter thread you linked said exactly opposite thing. Take a look at this one: https://twitter.com/DoveyWan/status/1382955030995554304 The Chinese text in this screenshot basically says: "Some ISP datace
870.
▲
by
rfoo
6y ago
No. I'm a native Chinese and from my understanding (read between lines and talking to local friends), the situation is: 1. Coal mine accidents. 2. Someone said "stop mining, make sure all the mine pass security check". Of cou
More ›