Hacker Newsnew | past | comments | ask | show | jobs | submit | bboygravity's commentslogin

It's really not that complicated: do you prefer to work at a tiny desk or a huge desk?

Same with monitors.

Either you stack huge piles of papers and work through the piles (with everything in the way all the time) or you spread them out in front of you.


SpaceX is doing fine woth that approach?


Great example.

But when Musk took that approach to DOGE, chaos.

And some of the approach hasn’t always gone well at Tesla either.

https://www.irishtimes.com/world/us/2025/06/01/elon-musk-wan...

https://www.politico.com/news/magazine/2024/12/24/elon-musk-...


Rapid prototyping works well in engineering, because you can test for faults quickly.

But transferring engineering practices into politics - which is not really new, "social engineering" has emerged again and again since the Enlightement Era - is usually a disaster.

In social contexts, people often cannot agree on what even constitutes a "fault" and how to measure outcomes. Individuals will adjust their behavior (unlike, say, a valve in a rocket engine, which can't consciously decide to sabotage the flight) and the systems tend to have long feedback loops.


This is a great example, an object lesson in something that is deeply misunderstood.

Running a company and running a government are fundamentally disparate things to the point of one set of skills being antithetical to the other, even though there is overlap in orthogonal skillsets

A company operates to extract value from employees (labor,automation,process, knowledge ) and concentrate and deliver that value to a minority set of individuals. Debts are costs to be paid. Cash surplus is power to act.

A government operates to -deliver- value to its constituents through redistribution of resources towards goals that are inherently cost centres. Debts are confidence in future economic growth and are not really ever paid in any real sense of the term, the monopoly game set doesn’t get richer or poorer when you move money around or print more bills. It only gets richer or poorer when you add or take away players, burn or draw in more properties or utilities, or melt or 3d print more houses and hotels. Cash surplus is useless and counterproductive.

The idea that business leaders will be effective political leaders is catastrophic. There is no more hopeless place to live than a country operated as an efficient and well planned business. At least in the chaos of Mogadishu or Haiti you can find the fetid seeds of opportunity to make something worthwhile, chaos creates pockets of opportunity and ad-hoc fiefdoms. Chaos is a ladder. A well oiled machine is a stifling factory farm, but for people.

Obviously you don’t want Mogadishu or Bechtel as your governance model, but the sweet spot is closer to Mogadishu, at least insofar as mandatory structures determining your life trajectory goes. Mogadishu is closer to a democracy than Bechtel. At least in Mogadishu it’s not a centralised power that threatens your life, liberty, and pursuit of happiness, just your neighbours. It’s at least conceptually transcendable.


Kinda like photoshop 2 decades or so ago.


This comment is harmfully lazy. Is your position that a three word prompt is equivalent to armchair trolls goi g through the funnel - finding a way to obtain DRM-controlled software, learning that software to sufficient levels to understand the tools required of how to perform something akin to a deep fake, and then somehow gaining the art talent and experience required to put it into practice? Did I just get baited?


Setup a business where people give you photos of children, and you doctor the photo to make them naked. See what happens to you.


Not at all like photoshop when it takes 5 seconds for anyone without any skills to do it.


its either okay or not


The answer is that it's not okay and never was. Do you really think you're pulling a gotcha here?

Photoshopping nudes of your coworkers was always seen poorly and would get you fired if the right people heard about it. It's just that most people don't have the skill to do it so it never became a common enough issue for the zeitgeist to care.


I am not trying to pull a gotcha and I made no claim that it is okay or not okay. Don't suggest otherwise. I also wasn't talking about coworkers or any other particular group.

My argument is that it is either okay or not, regardless of the tools used.


No, you are missing the aspect of distribution.


I'm not missing anything. An act is either immoral or not.


Creating CSAM or non-consensual sexually explicit images of others in photoshop is immoral. If you can’t see that then you need to take an ethics course.


I made no claim that it is okay or not okay. Don't suggest otherwise. My argument is that it is either okay or not, regardless of the tools used.


The reason it's not recommended for all ages is money. Not safety concerns.

Same reason you can't get Shingrix under a certain age.


I think the main reason it isn't recommended for all ages is that it wears off. If you get it before 50, when your immune system starts declining, you might end up getting shingles when you're 60 or 70.

Insurance companies used to only pay for the vaccine at 60. They've reduced it to 50 now because people (like me) were getting it in their 50's. I got it in my left eye and because my immune system is kinda shit, I still have it, though it doesn't give me too much grief now. But it did trash my cornea in that eye, so it's messed my vision up pretty good. And since there's still an active infection (after 8 years), I can't get a cornea transplant.

https://www.health.harvard.edu/staying-healthy/two-dose-shin...


My PCP actually recommended holding off until later in the 50s for this reason. There's not currently a booster so his suggestion was to play the odds & delay a bit in order to get longer protection in my elderly years.


You are betting:

(1) a booster won't be invented in next say 20 years and

(2) you will live next 20 years (likely if you are healthy and have a healthy lifestyle)


Beg for forgiveness, don't ask permission. I got Shingrix when I was under the age of 40, and at no cost to myself even, simply by scheduling a Shingrix vaccine at CVS. It wasn't until I went back for the booster shot months later that the nurse was like "Wait, aren't you too young for this?", but they nevertheless gave me the second dose to complete the vaccine course. You can just so things.


I was unable to get a first dose just by asking the pharmacy -- they were happy to enforce the arbitrary 50 year age rule. But my PCP was happy to just prescribe it off-label. Do it; shingles is terrible and there's no reason to suffer it under 50.


If by “money” you mean “spending limited health dollars on treatments where the benefit justifies the amount spent” then you’d be correct.


I would happily pay for Shingrix.


Prepare your happy for a very profit-laden high three-figure bill.


You can get it in the UK, unsubsidised from a profit driven private company, for a mid-three figure amount.

https://www.boots.com/online/pharmacy-services/shingles-vacc...

> Price per dose:£230

> Full course (2 doses):£460


Medium 3-figure at most. $400-600 for the full two-dose series.


Worth it.


I think my insurance covered it, even though I was 33. But yes, I would have happily paid $400-600.


Luckily, I can afford $999 to avoid experiencing Shingles.


Your average HN reader can absolutely afford paying a few hundred bucks to avoid getting a potentially life-changing disease, and should. I know multiple young adults who got messed up by shingles.


Why is "no early returns" not a good rule?

I do early returns in code I write, but ONLY because everybody seems to do it. I prefer stuff to be in predictable places: variables at the top, return at the end. Simpler? Delphi/Pascal style.


Early returns makes the code more linear, reduces conditional/indent depth, and in some cases makes the code faster. In short, it often makes code simpler. The “no early returns” is a soft version of “no gotos”. There are cases where it is not possible to produce good code while following those heuristics. A software engineer should strive to produce the best possible code, not rigidly follow heuristics even when they don’t make sense.

There is an element of taste. Don’t create random early returns if it doesn’t improve the code. But there are many, many cases where it makes the code much more readable and maintainable.


The "no early returns" rule came about because was a good rule in context, specifically C and FORTRAN code before roughly 1990. It was part of "structured programming", contemporary to "Go To Statement Considered Harmful", Dijkstra, 1968. And it became received wisdom - i.e. a rule that people follow without close examination.

For example of the rule, a function might allocate, do something and then de-allocate again at the end of the block. A second exit point makes it easy to miss that de-allocation, and so introduce memory leaks that only happen sometimes. The code is harder to reason about and the bugs harder to find.

source:

> A problem with early exit is that cleanup statements might not be executed. ... Cleanup must be done at each return site, which is brittle and can easily result in bugs.

https://en.wikipedia.org/wiki/Structured_programming#Early_r...

About 90% of us will now be thinking "but that issue doesn't apply to me at all in $ModernLang. We have GC, using (x) {} blocks, try-finally, or we have deterministic finalisation, etc."

And they're correct. In most modern languages it's fine. The "no early returns" rule does not apply to Java, TypeScript, C#, Rust, Python, etc. Because these languages specifically made early return habitable.

The meta-rule is that some rules persist past the point when they were useful. Understand what a rule is for and then you can say when it applies at all. Rules without reasons make this harder. Some rules have lasted: we typically don't use goto at all any more, just structured wrappers of it such as if-else and foreach


> And they're correct. In most modern languages it's fine. The "no early returns" rule does not apply to Java, TypeScript, C#, Rust, Python, etc. Because these languages specifically made early return habitable.

Early return is perfectly manageable in C as long as you aren't paranoid about function inlining. You just have a wrapper that does unconditional setup, passes the acquired resources to a worker, and unconditionally cleans up. Then the worker can return whenever it likes, and you don't need any gotos either.


> In C, you just have a wrapper that does unconditional setup, passes the acquired resources to a worker, and unconditionally cleans up. Then the worker can return whenever it like

Right, so you allow early return only in functions that do not have any setup and clean-up - where it's safe. Something like "pure" functions. And you describe a way to extract such functions from others.


I remember having this argument with my professor at the school, who insisted that a function should have only one "return" clause at the very end. Even as I tried, I could not get him to explain why this would be valuable and how does this produce better code, so I'm interested on hearing your take on this?


It helps prevent bugs with state. The apple login bypass bug comes to mind.

Basically, you have code in an "if" statement, and if you return early in that if statement, you might have code that you needed to run, but didnt.

Forcing devs to only "return once" encourages the dev to think through any stateful code that may be left in an intermediate state.

In practice, at my shop, we permit early returns for trivial things at the top of a function, otherwise only one return at the bottom. That seems to be the best of both worlds for this particular rule.


> The apple login bypass bug comes to mind.

I think you're talking about this "goto fail" bug?

https://teamscale.com/blog/en/news/blog/gotofail

> In practice, at my shop, we permit early returns for trivial things

Are you also writing C or similar? If so, then this rule is relevant.

In modern languages, there are language constructs to aid the cleanup on exit, such as using(resource) {} or try {} finally {} It really does depend on if these conveniences are available or not.

For the rest of us, the opposite of "no early return" is to choose early return only sometime - in cases where results in better code, e.g. shorter, less indented and unlikely to cause issues due to failure to cleanup on exit. And avoid it where it might be problematic. In other words, to taste.

> Kent Beck, Martin Fowler, and co-authors have argued in their refactoring books that nested conditionals may be harder to understand than a certain type of flatter structure using multiple exits predicated by guard clauses. Their 2009 book flatly states that "one exit point is really not a useful rule. Clarity is the key principle: If the method is clearer with one exit point, use one exit point; otherwise don’t".

https://en.wikipedia.org/wiki/Structured_programming#Early_e...

this thinking is quite different to say, 25 years earlier than that, and IMHO the programming language constructs available play a big role.


The rule of thumb I use is to only have one return after modifying state that will persist outside the function call.


Thank you!


For me it's mostly about indentation / scope depth. So I prefer to have some early exits with precondition checks at the beginning, these are things I don't have to worry about afterwards and I can start with the rest at indentation level "0". The "real" result is at the end.


> Why is "no early returns" not a good rule?

It might be a good guideline.

Its not a good rule because slavishly following results in harder to follow code written to adhere to it.


Because good code checks pre conditions and returns early if they are not met.


I've been in towns in Mexico where the kids ONLY speak a Mayan language. No Spanish or English.

I asked for directions and just got blank stares until someone who spoke Spanish in the village explained, lol.


Where for example? I'm curious!


Meaningless. You can replace socialist by capitalist and it would be equally meaningless.

The correct word is democracy. The people (or "workers") having a say or not has nothing to do with socialism or capitalism IMO.


Those who hold the money hold the power. Is rule by billionaires really democratic? Have you seen how easily they are wiping their asses with our democracy now that it’s convenient?


Are you ignoring the fact that they actually have the support of people?


That’s a stretch. The billionaires weren’t democratically elected to anything, not even by our system where money buys influence and propaganda. No, they’re just rich.


No I am saying that the people wiping their asses with democracy have the support of the people and billionaires which suggests its not just billionaires overriding what people want. People have chosen this.


Roughly one third of eligible voters voted for Trump, one third for Harris, and one third abstained, presumably because they felt neither candidate represented them. In a government where money buys power that’s not a totally unreasonable take. Democrats for their part have blamed voters for their supposed stupidity - not themselves for failing to field an appealing candidate. They could have won on a left populist platform to counter Trump’s right populism (left wing populism has proven itself popular), but leftwing populism doesn’t sit well with Democrat financiers. Oligarchs like rightwing populism though. Populism (left and right) is itself an expression of the growing distrust people have toward their institutions and the sense people have of being squeezed economically. The ultra-wealthy are successfully capitalizing on this by using rightwing populism to dismantle democracy and consolidate power.


I dont see how you could blame anyone except the voters. No sane person can look at both platforms and struggle to make a choice.


The wealthy wouldn’t spend their riches on propaganda if it weren’t effective. Trumpism appeals to primal emotions around family, religion, pride, safety, belonging.

Social media is tribalism and echo chambers. The “other side” appears ‘insane’ to each side when there’s no empathy.


Well he did try out, how should I say that, a different, bigger type of democracy.


I don't understand the downvotes - parent's right. All regimes today like to trumpet themselves as (exceedingly!!) democratic, the question is: are they? In my estimation, overall, communist countries have done significantly worse in this department. And yes, rule by the many people is the definition of democracy.


"rule by the many people is the definition of democracy"

Well with elections we have a "rule by a few".

Wondering if elections could not be replaced by an app.


AI progress has slowed down?! By what metric?

Quite the statement for anybody who follows developments (without excluding xAI).


"make speculative statements"

isn't this 99 percent of modern infotainment "journalism" though? making speculative statements, omitting and lying..


What are the chances that Signal is an op ran by the NSA?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: