2,940 karma · joined Oct 16, 2020 (6y ago) · 2,890 submissions
----------------------------------------------------
comment 3y ago · link · parent
It shows that large C programs / systems can be maintainable. My claim is that the projects became maintainable out of necessity, that is, despite C, not because of C.
Had C been opinioned around certain things and enforced maintainability out of the box to some degree, then and only then you could claim that C is maintainable, because this speaks for the general case.
On the other hand, C is not opinionated about things, so you must enforce maintainability and high standards to get around all the footguns. This is what makes it unwieldy and why Rust is so loved.
This plays greatly into the survivorship bias. You claim that C is maintainable because of all the large C projects that were forced to become maintainable. Had they not been maintainable they would not be as large or survive the test of time, and thus you wouldn't be able to cite them as evidence to your claim.
In contrast, the oxidification of a lot of software, and the rise of "better C"s that have picked up steam shows that there are languages that are more maintainable and arguably better approaches for most software as they avoid all the footguns.
NASA has strict requirements to make it maintainable, e.g. no heap alloc, so when you force yourself to not use language features, it appears that those features make things worse for you.
Edit:
Anyone care to inform me how my response falls into "low standards" for HN, and so much so that I got flagged and can not comment ?
comment 3y ago · link · parent
I don't think this is a sound argument because of survivorship bias.
[1] https://security.googleblog.com/2023/01/supporting-use-of-ru...
comment 3y ago · link · parent
I was with you on everything until this part. I just don't see how reducing soundness via a weaker type system, and needing to explicitly manage memory vs e.g. Rust, uniq_ptr, shared_ptr, and so on makes things easier to maintain. I also don't see how absence of generics helps here either.
comment 3y ago · link · parent
I enjoy documenting and reading code. I also enjoy reading design documents that are very technical in nature and actually motivate the decisions and direction. I even read research papers on my free time. I also enjoy writing such documents and respective code.
My issue is that I spent 4-5 days writing a darn excellent document on the proof of concept that I had built for a service we are supposed to launch this fall with a code freeze on September 1st.
And today I had to spend all day writing yet another document summarizing what I had written in the first one so that I can have a discussion with other principals to get their comments (I got great comments from 2 in the presentation and follow up discussions), just to get an approval and the go ahead to productionise what I had already built that was shown to work. No other approach exists, no other poc exists, and most of my time is now fragmented because of the meetings.
No other engineer working on this had an approach that could actually work for reasons I explained in yet another document, the more seniors had claimed they’d need a month to get the poc done. I did it in far less time, and had it all well documented. That was the most fun I have had in a while.
Upper management (2-skip manager) gave me lots of praise and blew off another meeting he had to stay on for the additional questions and discussion, and scheduled another full on 1h meeting with me alone to discuss it further.
comment 3y ago · link · parent
I just want to write code. I hate the days when all I do is sit in meetings for pre meetings for pre meetings or write docs about docs about docs.
edit: clarified on docs and meetings a bit.
comment 3y ago · link · parent
comment 3y ago · link · parent
I mean, I don't see my work as work, I see it as working in interesting and new tech, getting to play with interesting stuff and solve complex problems; and I do it for fun. When the fun stops because I am forced into crud or boring stuff, I'll just leave.
comment 3y ago · link · parent
comment 3y ago · link · parent
I figured a work around that involved having a separate manifest for the deps and packing them manually. It worked… I also tried the lambda without any dependencies and they the lambda’s dependencies were available in the instance even though they were not listed anywhere.
The needlessly convoluted part is getting a NodeJS function into prod, the forced change caused something to break even though I was already on 18_x
But I will not lie, bats was super useful when debugging another engineer’s build, and avoiding the whole push to debug is so so so so helpful.
For the pipeline thing, idk why it was setup as such; but it certainly broke everything once a push to mainline was done, kinda like a runtime error when it should have been a compiler error. Though it was certainly on us.
CDK is fine too. Tbh I kinda love CDK and don’t want to go to anything else when it comes to cloud deployment.
In retrospect, perhaps that one sour experience had just too much of an impact.
I want a better way to manage external dependencies mostly. Afaict for scala I will need to pull the package into Brazil to get it to work. An analogue to NPMPM would be great but I can see why there isn’t one yet. A colleague had issues getting python dependencies to work so yeah.
Here’s to hoping Peru would fix those.
comment 3y ago · link · parent
Personally, I am drained by meetings and am in my happy place in front of an editor working on a grand project, one that I find interesting.
The moment work stops being interesting, eg due to lack of complexity, I leave.
Chaos and complexity energise me.
comment 3y ago · link · parent
https://hackaday.com/2023/04/21/the-cyber-resilience-act-thr...
comment 3y ago · link · parent
They have no obligation to any shareholders not to lie.
Can you, in good conscience, accept that 1 in 8 people saw this tweet [1]?
http://web.archive.org/web/20230616134055/https://twitter.co...
comment 3y ago · link · parent
10^(2.1) / 10^1.7 gives us about 2.5x lower engagement in Carlson's video over some unknown guy's 40 minute long video on House Md.
comment 3y ago · link · parent
We are speaking about 2-3 orders of magnitude difference.
For comparison, MKBHD video [1], 1.2 orders of magnitude difference between views and likes; Adam's video [2], 1.4 orders; 40 minute long video essay on House Md [3] (1.5M views with subscriber count of 0.15M) , 1.7 orders of magnitude.
Carlson's engagement has 2.17 orders of magnitude difference, while being as long as [1], longer than [2], and far shorter than [3].
All of the videos above are supposed to be far less "entertaining" and are expected to have far less engagement value, yet outperformed Carlson's thing.
[1] https://www.youtube.com/watch?v=kvN5_GXlg2Y
comment 3y ago · link · parent
There's a lot of irony in expressing what you did in one of the most heavily moderated forums.
comment 3y ago · link · parent
Twitter misrepresents views and impressions. The "views" you see under the video are impressions. Presumably reached 24ish M views, 110ish M impressions on first episode.
Episode 3 has, presumably, 90M impressions and < .6M likes, < 0.170M retweets etc. The metrics (likes and retweets) are not particularly good for a supposedly high engagement video, are they?
comment 3y ago · link · parent
I disliked how needlessly convoluted the pipelines are, and how some person pushing on accident to mainline can break everything.
So many things seem to be done the hard way.