Better HN
topnewbestaskshowjobs
Log inSign up

simplotek

1,581 karma · joined Oct 22, 2022 (4y ago) · 796 submissions

Submissions

comment 3y ago · link · parent

> so the article being an account of the guy's journey using C seems highly appropriate.

More importantly, it goes against the cargo cult narrative that the choice of programming language is the one and only factor determining memory safety, and consequently any use of languages such as C automatically leads to security issues.

It's not a coincidence that we have people in this discussion coping with that concept by spinning the use of frameworks focused on memory safety in C applications as somehow representing writing code in an entirely different programming language.

comment 3y ago · link · parent

Sure.

* https://www.theregister.com/2020/01/21/rust_actix_web_framew...

* https://news.ycombinator.com/item?id=33391344

comment 3y ago · link · parent

> Some over zealous Redditors doing Redditor things.

Except that this was not a Reddit problem, was it? This was a problem created by the Rust community that showcases exactly the "Rust Evangelism Strike Force" behavior we're talking here.

Would it made it a Mastodon problem if the Rust fundamentalists opted to use that to drive their relentless attacks? It wouldn't, would it?

I mean, it surely wasn't a GitHub problem when these Rust evangelists started harassing the maintainer through bug reports, which was the place where it all actually took place.

comment 3y ago · link · parent

> The article itself is basically this guys journey with C and the steps he takes to get something other languages now build in (...)

Not really. The author describes he put together a framework for C that implements memory safety features.

Isn't it intellectually dishonest to criticize the adoption of libraries that provide features that other languages may or may not have built in?

What's the end goal exactly? Use safety features to write safer software, or attack anyone that hasn't mindlessly jumped onto a particular bandwagon?

comment 3y ago · link · parent

I'm sure even the most militant of CCP members would agree that genocide is not a key factor in China's economic growth.

comment 3y ago · link · parent

> The "Rust Evangelism Strike Force" isn't actually a thing that exists. (...) It's not a core policy and basically all serious Rust users don't do any of the alleged activities claimed to happen.

If that was remotely true how do you explain the Actix episode?

comment 3y ago · link · parent

> Yeah, you can always ship a shitty SaaS or plug libraries you don't understand into each other and still make a lot of money.

What you're failing to understand is that the SaaS or plug libraries are not shitty. They might even be better than anything someone who reads SICP like the bible can possibly put together. Why? Because they focus on the right level of detail and abstraction instead of wasting time and effort on irrelevant and useless details. And they deliver it far faster.

I repeat: the StatsD daemon is written in Node.js. it's a >100MB Node.js application to receive, aggregate, and send UDP packages. The StatsD daemon is perhaps the most popular metrics sidecar out there, and no one cares it's not a 1MB C app.

> Statsd is like ~4000 lines of code, which is absolutely tiny; it's a trivial codebase.

Don't you get the point? It's a Node.js app that took a few lines of code to out together to handle UDP packages. Writing the same thing in C would not be hard and it would be far more efficient, but it would be entirely pointless because slapping together a Node.js application performance wise is already good enough. What does this say about the cargo cult beliefs of SICP fundamentalists ?

> You can't write fast JavaScript if you don't know how arrays are represented in memory.

Sure you can. You just hear that arrays are faster and use those not bothering with any irrelevant low-level detail. And who exactly advocates using JavaScript for a UDP server and mention performance needs with a straight face?

> You can't optimize SQL queries if you don't know how a database works.

Don't you get the point? The point is that you don't need to waste your time bothering with performance tuning if your goal is designing a working system. Bothering about irrelevant details like that is a waste of time. Decades ago someone smart already stated that premature optimization was the root of all evil. The first rule of software optimization is "Don't". And here you are trying to argue that being bothered about low level details is relevant for the sake of optimization? Don't.

comment 3y ago · link · parent

> The difference between trade schools and universities is in the depth of fundamentals.

It's definitely nonsense. You're failing to understand that today's "fundamentals" are not the parlour tricks you have in mind. You're in a better position to get ahead in providing software development services if you're able to put together a customized script that launches traefik, nginx, rabbitmq and a few nodejs services fully dockerized than if you're able to tell what opcodes your compiler generated out of C code.

comment 3y ago · link · parent

> I meant profit, not revenue

Honest mistake. Happens to the best of us.

Still, regarding profit, I'm not sure that firing people in profitable companies effectively contributes to higher profits. Sure, you pay fewer salaries. However, that comes at a cost, such as supposedly cutting programs the company deemed valuable and eroding the company's ability to conduct their business.

Also, it seems Google's reaction to drops in profit was to fire 6% of their staff. Does that even register in Google's accounting? I mean, payroll is typically 20-30% of a healthy company's expenditure.

And would a hiring freeze not reach the same goal without causing any disruption? I mean, apparently Google is still hiring and has a large volume of job openings. If the amount of people in their payroll is too much as is then why are they hiring even more?

https://careers.google.com/jobs/results/

comment 3y ago · link · parent

> Interest rates go up, future revenue becomes less valuable (...)

I don't think this is true at all. Central banks hike interest rates to limit and reign in inflation. It's the exact opposite of what you claimed.

comment 3y ago · link · parent

If you get upset by people who state that genocide is bad, you're rooting for the bad guys.

comment 3y ago · link · parent

> This change is necessary because young people aren't interested in the fundamental abilities of computers, instead they're only interested in the applications.

I don't think it's fair to spin this on lack of interest. My take is that young people are smart and they are goal-oriented, and their goal is to actually provide value instead of wasting time with irrelevant low-level details that matter nothing and are practically meaningless.

And they do it just like the generation before them did. No one bothers with knowing how to put together opcodes once they got around to use compiled languages. Some people do quite well for themselves in the software engineering field without touching a compiled languages even once, and thus can't be bothered with subjects like linking, how to create and consume static lib, rpaths, finding symbols, etc. You can have high-paying careers in software engineering and never be bored with the difference between a stack and a heap. Popular tools like the StatsD daemon are written in Node.js, and no one can be bothered about it.

So why pretend that knowing how things work from the metal up is relevant to get an understanding of how things operate? I mean, most services don't even operate on metal, but on interpreters running on containers launched from virtualizations.

To each its own, but let's not fool ourselves into believing that in a world of countless layers of abstraction it's relevant to dive into the lowest of levels.

comment 3y ago · link · parent

> Excel at what? You need to build a strong foundation in order to innovate and to discover new stuff.

I agree. The problem is that you have a gross misconceptions about what "strong foundation" represents in this day and age.

I knew guys who fail to stop and think about "foundations" and instead use that as a scapegoat to shoehorn their gatekeeping logic and as a form of ladder-pulling. It's the kind of character who think that playing trivia games is a good way of asserting whether a candidate is a competent engineer.

comment 3y ago · link · parent

> You're decribing a "trade school", not MIT.

Nonsense. MIT engineers don't waste their time thinking about assembly instructions when they are tasked to design a distributed system. Competent engineers know how to switch to high-level concepts where they make sense.

comment 3y ago · link · parent

I think you're missing the point. Everyone is free to learn real analysis, and it's ok if it's a part of the standard curriculum.

But if you're aiming to provide the best education to future professionals so that they are able to excel at their field, you'd serve them far better if you taught them how to effectively use Wolfram Alpha.

The truth of the matter it that the bulk of the work in software development, and what makes more economic sense, lies in growing a system through accretion and adopting higher level components developed and maintained by third parties.

comment 3y ago · link · parent

> (...) there will be a HN avalanche of “yabut so-and-so didn’t do X” and allegations of survivorship bias.

Isn't it also survivorship bias to claim that scalability is overrated because a non-scalable system didn't broke in a particular case of a local deployment with residual demand?

Meanwhile hikes in demand hitting an unscalable system can and do break businesses, and when it happens is already too late to rearchitect things.

comment 3y ago · link · parent

> (...) scalability is often overrated. (...) focusing too much on scalability can actually hinder growth and creativity.

I find this blend of comment unproductive and intellectually dishonest. "Often" and "too much" are weasel words that remove any objective meaning from the verbs they qualify, to the point where stating the exact opposite is also valid.

The truth of the matter is that scalability is only not important when you don't need it, but it's already disastrously too late if you failed to scale when you need to.

comment 3y ago · link · parent

> This is the worst. I was at a startup one time that laid off people who had the right skillsets to fill the roles they were actively hiring for.

To me this sounds like these firing spirals have zero to do with results and revenue and the economy, and everything to do with conspiring against their own staff.

comment 3y ago · link · parent

> Now rates are up and the smart money is moving elsewhere.

That would only explain drops in future investments, but we're seeing profitable companies with astronomical revenues from their cash cows diving into a massive firing spiral.

More importantly, growing interest rates is not exactly the definition of a downturn.

comment 3y ago · link · parent

> Alphabet: 34% decline in revenue. Fourth consecutive quarter of declining revenues.

That does not sound factual at all. Where did you picked that up? According to Variety, Alphabet's revenue on Q4 2022 was $76.05 billion and up 1% in spite of a 8% ad revenue drop.

https://variety.com/2023/digital/news/alphabet-google-q4-202...

Are 1% increases in a massive revenue of $76.05 billion now passed off as bad results?

comment 3y ago · link · parent

> Maybe they overhired and used the downturn as a reason to correct?

What downturn?

I understand Amazon is reporting poor results, but they seem to be mostly due to reporting losses from past investments that didn't panned out yet, like Rivian.

But it's not like each and every tech turn in the world has invested in Rivian.

comment 3y ago · link · parent

> This is an irrelevant distinction to be made for reddit in 2023.

Not really. Trying to conflate the role of a subreddit moderator with a company employee does not make any sense. I've became a subreddit moderator automatically when I created subreddits, and I assigned the role of subreddit moderator to other users because I could. I'd be surprised if anyone argued that reddit owed me something.

comment 3y ago · link · parent

> (...) you would have to work in office between 8:30 to 5 and (...)

It was my understanding that was the bare minimum, corresponding to times when workload was low.

Crunch time would naturally go way beyond that.

Not what I describe decent working conditions.

comment 3y ago · link · parent

> So you can get crap delivered faster?

I don't know what your personal tastes are, but personally I prefer buying good things. If instead you prefer to look for crap and order crap then why are you complaining you search for and ordered and bought crap?

I mean, you have a say in what things you pick for yourself, don't you? Why are you complaining you buy crap when you intended to buy crap?

It boggles the mind how some people try to pin on a store their personal responsibility of deciding what stuff they purchase.

comment 3y ago · link · parent

> I think if you took a poll of AWS workers you'd find that most enjoy it.

Isn't the average tenure at Amazon less than 3 years? "Most" of the people who you'd ask would be fresh from the interview rounds and with only one or two performance review rounds under their belt.

comment 3y ago · link · parent

> Some neighborhoods (where opinion-makers live) are getting fast shipping, for the rest of us Amazon seems to have the worst logistics network

I'm not sure that's a reasonable take, and it reads like a gratuitous putdown.

Where you live matters, and an urban center next to a local distribution center will always have better service than a rural area where barely anyone lives. It is absurd to use areas with bad coverage to complain that the whole service is bad, specially when you add the regrettably conspiratorial excuse that only influencers get a reasonable service.

The truth of the matter, that even your comment with an axe to grind admits, is that Amazon does indeed provide fast shipping services in some areas. These areas are naturally urban centers where a lot of people live per square meter, which means large numbers of people in that area benefit from fast delivery services. It's like economies of scale apply. In some other regions with small markets and residual demand, Amazon even falls back to standard postal service. Is this supposed to mean that the company provides a poor service. Well, no.

The truth of the matter is that Amazon has been growing it's distribution network, and it shows in it's quality of service. Those of us who live in urban centers that benefitted from these investments are privileged to have access to overnight delivery and some times even same-day delivery. Others who might be stuck living in an area with poor coverage don't. Nevertheless, this does not mean that the service got worse.

comment 3y ago · link · parent

> Amazon makes it harder and harder to do this, de-emphasising the seller in listings.

You make me suspect I might be using Amazon wrong. Amazon's search is notoriously bad, but if you know what you want them you can go there and buy it. Just don't do stupid things like buying a 20 dollar item whose cost is 1 dollar price with a 19 dollar shipping fee, or buying weird things from shady sellers who just dropped by out of nowhere.

But that's just me. Perhaps I'm using it wrong. Who knows.

comment 3y ago · link · parent

> How?

Stick with official stores from reputable brands. Don't order shit from sellers like GoldenRandomBrand24723. Don't buy shit from shady stores with 10 reviews. Don't buy shit from stores whose pricing model is based on charging high shipping fees and low prices. Don't buy shit you can't return.

Basically, don't do deals where you know upfront the odds you'll be screwed without any recourse is high.

Online stores sell products, but you need to get your head sorted out and do the thinking.

comment 3y ago · link · parent

> Well, they don't need to spend money to schedule my Lambda, but they did already spend a bunch of money building out the datacenter so they can pick up my 100th of a nickel when they do schedule it.

A projected revenue drop is not the same as a loss though. You already bought that computer.

Less so if it's your own company who was using their stuff.

Worst case scenario: they have stuff idling and more headroom to accommodate demand.

Heck, why waste more money building yet another data center if the ones already in place have already plenty of cycles rand bandwidth to spare?

It's all an accounting trick. You don't waste more power. You don't have to but more hardware. Turning off your lambda saves nothing.

1
141516
27