HNHacker News
TopNewBestAskShowJobs

Cyph0n

9,841 karma · joined July 2, 2011

Software engineer @ Google.

All views are my own, etc.

* Homepage: https://assil.me

* Github: https://github.com/aksiksi

* Twitter: https://twitter.com/aksiksi

[ my public key: https://keybase.io/aksiksi; my proof: https://keybase.io/aksiksi/sigs/PhsFUqf4TTQdHrQvnrRhLU4bgilyPjSZjo5DQFHM9QU ]

submissionscomments
Cyph0n··on KOReader
I have always found the adoption loophole to maintaining a family business hilariously smart.

I also understand why it’s not something common outside of Japan. Selling your family name in exchange for (maybe) keeping your business alive is distasteful at best.

Cyph0n··on KOReader
There is nothing inherently special about Japan or Japanese people. You can pull similar examples from many other countries.
Cyph0n··on Fil-C: Garbage In, Memory Safety Out [video]
I am assuming that Fil-C introduces orders of magnitude less overhead than ASAN or Valgrind.

Also, it’s probably fast enough for apps to be deployed in something like a staging environment for integration tests to run against them. Production deploy/release can then happen using a tagged version that gets compiled using vanilla GCC/Clang.

Cyph0n··on Fil-C: Garbage In, Memory Safety Out [video]
But the runtime cost of Fil-C means that - in most cases - your actual production application will be compiled with a standard C compiler. This applies not just to your code, but to all dependencies (due to ABI).

So I don’t see how Rust is at a huge disadvantage here when Fil-C is typically not going to be enforcing safety in production. I suppose the testing/fuzzing story becomes all the more important because you need to exercise runtime behavior for Fil-C to detect unsafe faults.

Don’t get me wrong: I think Fil-C is a smart idea and an excellent way to introduce memory safety to existing C codebases. But I don’t get this whole (usually implied) idea that Fil-C somehow makes Rust look bad or renders it obsolete.

Cyph0n··on Fil-C: Garbage In, Memory Safety Out [video]
How is Fil-C’s wrapper approach different from someone (not necessarily the Rust stdlib) implementing a safe wrapper around a particular syscall?

mmap is a bit of an outlier because it is not possible to implement a fully featured safe wrapper (MAP_SHARED) in Rust. So I would be curious to see what safety guarantees Fil-C claims to provide for mmap.

Cyph0n··on New era for Gibraltar with removal of border controls with Spain
“But Morocco didn’t exist!” - addressed in another reply, see sibling.

The UN argument boils down to Spain lobbying the UN early on (post-WW2) at a time when Morocco and other North African and West Asian states either did not exist yet or did not have the ability to represent themselves well at the UN.

Cyph0n··on New era for Gibraltar with removal of border controls with Spain
Yep, it’s always justified by the fact that Morocco never existed and therefore has no claim.

But applying this logic universally would change the world map, not to mention that this justification ignores the fact that the concept of a nation state is relatively new as a norm.

Regardless, I and many others will continue to ridicule Spain’s paradoxical position on Gibraltar. Hopefully a just resolution is realized for all parties at some point in the future.

Cyph0n··on New era for Gibraltar with removal of border controls with Spain
It would also be great if Ceuta and Melilla returned back to Morocco, and if Western Sahara in turn gained its independence from Morocco.

As an aside, I have always found it ironic how Spain continuously whines about Gibraltar while doing the exact same thing to Morocco. At the very least, Spain was smart/lucky enough to lobby the UN early on to not include Ceuta and Melilla in the decolonization list.

Cyph0n··on Syria's solar boom is redefining Middle East's energy model
Or intentionally repatriate colonial administrators who oversaw torture of misbehaving natives and place them in cushy government positions back in the metropole.

Or repeatedly elect ex-Irgun and Lehi terrorist leaders into the highest positions of government.

Or just Winston Churchill the hell out of it and be proud of your past crimes.

etc etc

Cyph0n··on How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)
The middle ground I go with is to structure the pool using datasets and zvols, and then periodically backup the critical ones using zfs send. For example, I can live without my movie collection, but I cannot afford to lose personal photos.
Cyph0n··on Why skilled workers come to Germany and then leave again
This is the case virtually everywhere thanks to FATCA, unless the country’s banking system is OK with getting punished. It applies not just to US citizens, but also to US permanent residents.
Cyph0n··on NixOS 26.05
Jovian is as close as you’ll get. Works like a charm and gives you a SteamOS-like experience on desktop.
Cyph0n··on Epidurals are a miracle technology
And the best of the best of medical students the world over compete to enter the US market. Being US board certified garners the highest pay even outside the US (eg GCC).

It’s kind of like our industry - the higher comp is a big reason behind how the US attracts talent from all over the world.

Cyph0n··on How to earn a billion dollars
Understood, but you're removing the moral aspect of the capitalist's exploitation of labor from a discussion on why the capitalist gets to make a billion dollars and the farmer doesn't.
Cyph0n··on How to Earn a Billion Dollars
> But it is precisely the same as the capitalist model

It’s only the same if you consider natural resources and human labor to be equivalent. To me, that sounds quite reductive.

Cyph0n··on Noise infusion banned from statistical products published by Census Bureau
And you seem to not realize that a census has a much wider impact than allocation of federal funds. It’s a nationwide survey done once every 10 years. No other survey compares in scale.

Now think about the data you could collect and the decisions you could make based on this data to ensure a better future for all in this country; in fact, this is a stated goal of the survey that you either didn’t know about or are willfully ignoring.

On the flip side, think about the repercussions of tainting this data and basically wasting such a valuable chance that won’t come around again for another 10 years.

Cyph0n··on Noise infusion banned from statistical products published by Census Bureau
It’s because people are significantly more likely to lie or omit some facts if you don’t guarantee their privacy, which means your census data ends up being worth less than a pile of shit.

The alternative is to water down the census questions, which also leads you down the same path (i.e. manure as data).

Cyph0n··on Pentagon raised threat of Israeli spying on U.S. to highest level, sources say
Hogwash? More like state-backed propaganda disseminated by so-called objective and professional media organizations in order to justify an offensive war against Iran; a war that has achieved virtually none of its stated aims.

I personally trust OSINT sources more than NGOs these days. I would wager that the security forces numbers are higher. I would also wager that the majority of the deaths were CIA and Mossad backed insurgents operating in the context of a wider, legitimate, civilian-led protest movement.

Cyph0n··on Pentagon raised threat of Israeli spying on U.S. to highest level, sources say
Ah, so now none of the protesters were gunned down in the streets? How convenient.

> As many as 30,000 people could have been killed in the streets of Iran on Jan. 8 and 9 alone, two senior officials of the country’s Ministry of Health told TIME—indicating a dramatic surge in the death toll.

https://time.com/7357635/more-than-30000-killed-in-iran-say-...

Imagine infiltrating the Iranian surveillance camera network and being unable to produce footage of 30k people massacred across two days.

I do not like Iran because of its actions in Syria and Yemen, but even with my bias, I could hear the bullshit Western elitist consent manufacturing engine starting up from miles away.

Cyph0n··on Pentagon raised threat of Israeli spying on U.S. to highest level, sources say
I would love to see an agreement on the supposed number of (unarmed) civilians killed. Over the course of the past few months, I have heard claims of thousands up to 50k.

You would think the traffic and surveillance cams hacked by the Israelis would’ve shown the extent of this bloodbath.

https://apnews.com/article/iran-war-security-cameras-surveil...

Cyph0n··on Pentagon raised threat of Israeli spying on U.S. to highest level, sources say
Do you blame them? If a global ring of elite pedophiles turned out to be true in spite of all the gaslighting and denial, then why couldn’t the moon landing also be a conspiracy?

Keep in mind that the elite class couldn’t give two shits what the peasant class thinks. In fact, having us believe in false conspiracies helps distract the masses from the true conspiracies :)

Cyph0n··on Pentagon raised threat of Israeli spying on U.S. to highest level, sources say
Astounding to watch the mental gymnastics at play.

It’s like how Israeli lobbying orgs state that “claiming Zionist orgs control the media is antisemitism”, and then the solution is literally “we should use our contacts & supporters in the media to stop this kind of rhetoric”. Beautiful.

Cyph0n··on CT scans of BYD car parts
Yes, more specifically IBM -> AMD -> spin off.
Cyph0n··on CT scans of BYD car parts
IBM no longer has fabs (spun off as Globalfoundries and later sold), and no longer manufactures PCs (sold to Lenovo?), but it does make mainframes I guess?
Cyph0n··on CT scans of BYD car parts
So BYD for cars and Samsung for phones and consumer electronics more generally (from fab upwards).

In fact, I believe Samsung is the only company on the planet that can design & build a state of the art smartphone from scratch - silicon/fabrication, SoC, battery, baseband, camera sensor, memory, and display.

What other high tech vertically integrated producers exist in this group?

Cyph0n··on Love systemd timers
I never had the opportunity to try out quadlets, but they seem powerful.

I maintain one of the competitors listed in that README (compose2nix), so I am a bit biased haha.

For now, I prefer the ability to interop with Compose.

Cyph0n··on Love systemd timers
Ugliness is subjective :)

But my question was around readability: were you able to understand what the snippet I shared is doing?

Re: build-time checks - but systemd hasn’t done it, and I am also unsure where exactly this verification would even take place given systemd’s configuration model. Unless you’re talking about some kind of language server or IDE integration.

Cyph0n··on Love systemd timers
I believe that probably won’t work unfortunately; the generated unit files have a bunch of hardcoded Nix store paths.
Cyph0n··on Love systemd timers
No. Is that not readable to you lol? I think anyone with even a passing familiarity with systemd would understand what that chunk of Nix is doing.

Compare it to the alternative of using plain systemd (including command(s) required to enable units).

Also, consider what build-time validation you get prior to starting the unit/timer. Hint: zero.

Cyph0n··on Love systemd timers
I define all units in Nix because:

a) It is way nicer and you get decent validation at build time

b) A LLM can port units over if the need arises; it’s a very light abstraction around systemd syntax

c) I personally don’t see how I would ever move to another distro :)

← PreviousPage 4 of 34Next →