HNHacker News
TopNewBestAskShowJobs

cjhanks

986 karma · joined May 14, 2015

submissionscomments
cjhanks··on Ask HN: Software Unionization
Well written (I laughed), thank you for that.
cjhanks··on Ask HN: Software Unionization
Perfect, thank you for sharing.
cjhanks··on Ask HN: Software Unionization
Unfortunately, you are probably right. But if we want software to stop being in various states of "broken" forever, we will need professionals not scared of losing their jobs for doing the right thing.

This sounds like syndicalism, and I think it's another great route to improving worker freedoms. I wish them well.

cjhanks··on Vitamin D Insufficiency is Prevalent in Severe Covid-19
Totally not a placebo. Vitamin-D fortified milk was a necessity (for me) in Portland to avoid depression.
cjhanks··on C++ coroutines: Initial implementation pushed to master
With bricks you can build a useless house with no doors, but bricks are pretty great.
cjhanks··on “We would like to apologize to the user for the error on our part this morning”
Feels like the silly focus on process buries the lead on the video (https://vm.tiktok.com/9hL3uY/)

That is brilliant awareness building.

cjhanks··on C++ 20: The Core Language
C++ has many audiences with disparate needs; ranging from firmware, to scientific computing, to application development.

Most of the industries using the language optimize their code for a target platform. And general non-optimized portable binaries are simply not cost effective, so standardizing installation has not been simple.

If you do care about portability, you functionally need to. - ensure you're not linking to anything but LIBC and the VDSO

- compile with no assembly language

- disable most optimizations, and select a sufficiently generic hardware target. For the most part, they succeed in features.

- directly compile all 3rd party source in your binary.

Then, your binary should last a long time.

That all said, I believe your needs are in the minority in the C++ community, and other languages likely better suit your needs.

cjhanks··on View leaked secrets in Git live
I personally believe secrets management is not done in software.

Systems should be fully constrained by networking logic.

If you need to hide certain authentications; create expiring DNS records derived from a secret hashing function, have the source of the secret algorithm pre-installed, and then delete after connecting.

Then disable inappropriate logging.

cjhanks··on A patent lawsuit against GNOME
He started BarPoint.com which at one point lost $3.53 mil on $23,185 revenue [1]. What a joke. [1] https://www.bizjournals.com/southflorida/stories/2002/08/12/...
cjhanks··on Show HN: Face Generator
As did I!
cjhanks··on IBM has released the Power Architecture instruction set to the Linux Foundation
And then China picks up the design and so.. profit?
cjhanks··on Show HN: Wave-based non-line-of-sight computational imaging in Julia
Soundwave SnR deteriorates much faster than lightwave. That said, there are companies uses sound for generating maps.
cjhanks··on Show HN: Wave-based non-line-of-sight computational imaging in Julia
When the light bounces off of the target surface it scatters. The light which bounces back to the sensor array has time offsets depending on the geometry of the scene, those can be modeled as curves.

Similar (in that it's the inverse case) to a bucket of water, if you drop something in it, it creates rippled waves. If you only observe the ripples in the bucket, you can reasonably derive where the thing was likely dropped.

cjhanks··on Giving up on Julia (2016)
These are some strange complaints. As a C++ developer optimizing numerical code, I have never once worried about any of the things mentioned here. I care about instruction folding, vectorization, loop reordering, and efficient instruction emission. If your optimized program is worried about startup latency of 100s of ms, you are doing something very very wrong.

I guess negativity gets clicks.

cjhanks··on AMD lands Google, Twitter as customers with newest server chip
Correct, if you partition a 256 core machine into 32 virtual 8-core machines partitioned by their NUMA architecture - you are relatively unaffected by core count (minus the consequence of some scheduling algorithms not tuned for N > 8).

Unsure what the percentage of VM's that use no time sharing or oversubscription is though.

cjhanks··on AMD lands Google, Twitter as customers with newest server chip
They are not linear unless all requests take an identical amount of time OR the system is not oversubscribed (common in many workloads) - and even then, the current linux CFS scheduler has a complexity of `O(log N)`.

When you have variable length requests, you will find cores will not always be balanced, it is simply a statistical reality. And in those cases, the kernel will have to migrate your process to a different core, and if you have 256 cores, that core might be really far away.

cjhanks··on AMD lands Google, Twitter as customers with newest server chip
Very few developers are prepared to write code that can efficiently use 256 threads / machine. At that level, cache coherency becomes a real and non-trivial problem.

In most cases, I suspect developers will see improved wall-clock times with substantively worse FLOPS/watt. Good for developers, bad for data-centers.

cjhanks··on Taleb is wrong about IQ
Apparently. Although, I have hung out at a lot of marinas and haven't seen that style yet. Must be because those people put their legs in the hoist gears and lose their leg (about 5 from the top).
cjhanks··on Taleb is wrong about IQ
I have read his books, they're good. It's just amusing.
cjhanks··on Taleb is wrong about IQ
I love in that article the complete non-sequitur about MENSA members wearing white socks with birkenstocks. It really demonstrates his disdain.
cjhanks··on Foreign purchases of American homes plunge as Chinese buyers flee the market
The U.S. economy is one of the most stable in the world, and certainly the most stable of any major world power. In fact, many economies are directly tied to the value of the dollar directly or indirectly. A lot of foreign investors are simply trying to put their money in US assets. Most conservatively in treasuries, least conservatively in the stock market. Housing falls somewhere in between.

To these investors, the fundamentals of the housing market don't apply as rigidly.

cjhanks··on Foreign purchases of American homes plunge as Chinese buyers flee the market
Chinese leverage is high and their economy is trending down. They have to contract into slightly more conservative positions. And afaik, they were the world wide cause of inflationary real-estate.

I would suspect that US markets are less to blame than foreign economies showing signs of contracting. In any case, it's good for American's.

It's insane to me that our ability to buy homes is so adversely affected by foreign investment.

cjhanks··on LA landlords rip out escalators, walls to attract tenants like Google, Netflix
Random guess, but I would assume the majority is Amazon. They are purchasing land in urban centers and repurposing them as shipping hubs. Both to expand their Network, and to improve their last mile delivery. The others afaik are simply buying office space in urban areas.
cjhanks··on C++ Patterns: The Badge
I had never seen this before, I cannot think of another way to do this. I suspect it has 1 byte overhead (on the stack) cost, but that's pretty cheap and may be optimized out.
cjhanks··on C++ Patterns: The Badge
It's bracket initialization of a struct, in this case the struct has no variables - the type is implicit from the method declaration.
cjhanks··on US Customs Database Of Traveler Photos Was Hacked And Stolen
The objective afaiu was to expedite entry into the country by creating a database of faces and personal identity information. And that's a great objective.

But often the risk of personal harm outweighs the benefits. And in the case of digital assets the question is when, not if this personal data will be exfiltrated. And when it is, that is often more inconvenient than any potential convenience benefits.

cjhanks··on US Customs Database Of Traveler Photos Was Hacked And Stolen
The only way to prevent hackers from getting access to databases that contain our names, picture, and license plate number - is to never create such a database.
cjhanks··on How do I delete bytes from the beginning of a file? (2010)
Kind of, a pipe has a limit of 16 pages which is usually 64kb.
cjhanks··on How do I delete bytes from the beginning of a file? (2010)
I can think of a cool case for this.

What if you have an append-only system which is making remote backups. One service is writing the activity log append only, a second service is reading that, check-pointing, and then truncating the head of the file when the check-point has been committed. No need to do the tricky file-swap trickery.

cjhanks··on Vim/Neovim Arbitrary Code Execution via Modelines
That was the proof-of-concept they used.
← PreviousPage 2 of 13Next →