Better HN
topnewbestaskshowjobs
Log inSign up

PartiallyTyped

2,940 karma · joined Oct 16, 2020 (6y ago) · 2,890 submissions

me [at] [$handle].dev

----------------------------------------------------

Submissions

comment 3y ago · link · parent

Getting interrupted mid-trip must be very annoying, or so I have heard.

comment 3y ago · link · parent

> The argument is that those projects prove large C programs/systems are maintainable. 'Survivorship bias' doesn't enter into it; they are large and have been well maintained.

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

The oxidizing of the Linux kernel has already begun, many of the core-tools have been rewritten in rust, large segments of firefox are written in rust, chromium is getting oxidized [1].

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

> It also turns out that if you remove all the fancy abstraction and write everything out, the code becomes very maintainable and easy to manage.

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

My grandparents yelled at me because computers won’t put food on the table.

comment 3y ago · link · parent

In the same vein, many people are hallucinating in their speech, Dunning Kruger and all that; plus every time we recall something, we alter the memory a bit.

Adding context and giving more information to models, eg RAG, actually works.

comment 3y ago · link · parent

It seems that I didn’t communicate my feelings properly.

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

It's unlikely that a FAANG company will arrange such a situation for me, and given our current deadlines, it is unlikely that my manager will agree.

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

It's funny, I had the same thought just a moment ago. I have decided that I will quit $BIGCORP and put my effort and mind into something actually useful for people. Maybe it's the place that i am, but given the evidence, I have updated my expectations over skill. I also don't have material needs, I might buy a cute top here and there, or a few books but that's it.

comment 3y ago · link · parent

Is it really wallowing in mediocrity?

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

There's something beautiful to just seeing and observing your surroundings changing while you sit and mechanically drive with little to no thoughts.

comment 3y ago · link · parent

One of my fondest memories is driving back home from the university at 3 am after a 16 hour code grind with friends for final project. Ahh, i miss that.

comment 3y ago · link · parent

Maybe https://github.com/BurntSushi/quickcheck too?

comment 3y ago · link · parent

The problem was caused by a forced deprecation of NodeJSFunction in cdk. Which basically made it impossible at the time to add any dependencies… there was nothing me or the more senior engineers could do to solve it.

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

He is. He is super atypical.

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

It seems that they are too good at it, to the point of outlawing new competitors and even hobbyists who simply can’t afford to deal with the paperwork; eg see the shit-show that security regulation around OSS.

https://hackaday.com/2023/04/21/the-cyber-resilience-act-thr...

comment 3y ago · link · parent

Which you can use to train a better model to detect AI content.

I wonder whether some models fit this - well, you could certainly call it generative, and obviously adversarial - framework of networks?

comment 3y ago · link · parent

I wouldn't really trust the numbers twitter is putting out.

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

> Besides, is 1.7 orders of magnitude (from one of your examples) even significantly different from 2.1 orders of magnitude enough to draw any conclusions at all?

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

And to add insult to the injury, u/spez was caught red handed lying about the conversation and what took place, and then when that surfaced, doubled down.

comment 3y ago · link · parent

No. I think that in the context, 600k likes is low engagement.

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

[2] https://www.youtube.com/watch?v=gK5PzV35UPA

[3] https://www.youtube.com/watch?v=xwbB7XkjwHw

comment 3y ago · link · parent

In real life, people who harass or assault get sued or otherwise. We have built spaces for XYZ set of people for thousands of years. If you can't behave with some civility, go live in the forest and away from society.

There's a lot of irony in expressing what you did in one of the most heavily moderated forums.

comment 3y ago · link · parent

> you have blinders on. Tucker Carlsens videos have tens of millions of views on Twitter.

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 agree.

r/ML had decent conversation at times, so did r/controltheory and r/RL and esp r/experienceddevs

Without apollo I … feel cured of my reddit addiction tbh.

comment 3y ago · link · parent

They will regulate everyone out, make new competitors impossible, and reap the benefits.

I think some German guy figured out what would happen of people couldn’t afford to live.

comment 3y ago · link · parent

> where you spend a bunch of your time arguing with the type systems

That’s the point. It’s a feature, not a bug.

The type system exists to reduce the space of unsound programs. The trade off is dev time for runtime errors.

comment 3y ago · link · parent

I do concede that isengard is pretty cool. I am looking forward to Peru as it will make dealing with dependencies a lot easier.

comment 3y ago · link · parent

I had to spend days trying to debug why a build that was working fine broke completely and NPMPM was unable to find the dependencies for the lambda.

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.

comment 3y ago · link · parent

AWS. We probably have the worst build systems :(
1
404142
97