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

Yeah is this webpage that spells out how to do it worth $7.5b

No-one ever got fired for using Jev

Jev: The Decider

What happens if you make a wanking motion


You hear fap-fap-fap...

Or it counts as a captcha for porn site access.


As long as you don't look at it or breathe too hard near it at any time

Source: me


Yeah I went through hell migrating everything from ADO to GH Actions a year or so ago and even after all this I'm not even slightly close to wanting to go back


Four is right out


> Once the number three, being the third number, be reached, then lobbest thou thy Holy LLM of Antioch towards thy task, who, being naughty in My sight, shall snuff it.


I don't know why, but when I saw the source of this particular headline it reminded me of the album title 26 Mixes for Cash


Ambient 0: Math for Airports


Probably worth drawing this thread's attention to the debate over whether ancient Hindu texts mention nuclear weapons and atomic war. Up to the beholder whether that makes those texts sci-fi or not, I guess.


Every great culture, over the millennia has imagined great weapons and unlimited godlike destructive power. You could, as you are doing now, retrofit our narrative on any of those if you wish. Make your own sci-fi fantasy. Those texts are not.

Example:

Gotham Chopra did that with what is now Virgin Comics: https://liquidcomics.com/

See the gorgeous Ramayan 3392 A.D. https://en.wikipedia.org/wiki/Ramayan_3392_A.D.

Also see the film Cargo, which turns mythological narrative into a rather watchable space opera https://en.wikipedia.org/wiki/Cargo_(2019_film)


I’d say that’s more fantasy than science fiction.


It's true that ancient Indians had some interesting insights into astronomy and natural sciences (recognizing the heliocentricity as early as the aitareya BrAhmaNa, and some ideas about electricity) and have some evidence about Indo-Aryan warfare being evolved with variety of weapons.

But it would sound like boomer uncles to claim that there is mention of space travel or nuclear weapons in our epics. The astra-s are simply figments of imagination.


And yet people do haha

I was just bringing up something I thought was tangentially related without expressing an opinion on it


Don't. Please.

> Eschew flamebait. Avoid generic tangents. Omit internet tropes.

https://news.ycombinator.com/newsguidelines.html

Your original comment checks all three boxes.


You need to be twice as smart to debug code as you need to be to write it. So if you write the smartest code you can, then you by definition are too dumb to debug it

Just write simple code


I hold KISS above most "Enterprise Patterns" with YAGNI as a close second. I think abstractions should be used to reduce complexity with code as opposed to making it harder to reason about. If a pattern increases complexity in understanding, then it should make sense in more cases than not.

I'm also a fan of feature-oriented project structures. I want the unit test file in or next to the code it's testing. For UI projects, similar with React it's about the component or feature not the type of thing. For APIs I will put request handlers with the feature along with models and other abstractions that go together based on what they fulfill, not the type of class they are.

I consider this practice more intuitively discoverable. You go into a directory for "Users" and you will see functionality related to users... this can be profile crud or the endpoint handlers. Security may or may not be a different feature depending on how you grow your app (Users, Roles, Permissions, etc). For that matter, I'd more often rather curate a single app that does what it needs vs. dozens of apps in a singular larger project. I've seen .Net web projects strewn across 60+ applications in two different solutions before. It took literally weeks to do what should take half a day at most.

All for one website/app to get published. WHY?!? I'm not opposed to smaller/micro services where they make sense either. But keep it all as simple as you possibly can. Try to make what you create/use/consume/produce as simple as you can too. Can you easily use/consume/interact with what you make from a system in $NewLanguage without too much headache? I don't like to have to rely on special libraries being available everywhere.


This resonates so much with my upbringing.

When I was a kid learning programming, I would skim through the whole book teaching Python and type the code using as much keywords as I learned each day, just to boast on my parents and my non-programmers peers about the obfuscated mess that came after.

As I grew I started to contribute to other open-source projects and I came across every kind of unmaitanable spaghetti code, so that I just gave up contribuiting on said project, that is when I gained the consciousness about being zealous on keeping the code as simple as possible so that the next person who comes after me to change the code don't have as much trouble understanding the code, even myself when I revisit the code later.

That altruistic mindset about caring how others read your code, you don't acquire easily unless you get experience how your previous peers did feel.


“Just” writing simple code is not well defined. Sometimes it’s about avoiding abstractions, sometimes it’s about creating the right abstractions.

I guess it’s best to take a look at the code once something works and then see if it can be simplified. A lot of people seem to skip that step.


Writing simple code is also much harder then writing complicated code. If you write some complicated code at the limit of your mental capabilities you can not debug it, but you might also not be smart enough to write the simple code.

I guess this means that one should solve the appropriate problems for a given skill level


My #1 belief about engineering, and one I harp on constantly, is that simplicity is harder than complexity.

I use it as a heuristic. If my work is getting more complex, it's a warning sign that I might be doing something wrong or using the wrong approach. If it's getting simpler it means I might be headed in the right direction.


Good ol' Kernighan strikes again [0]

[0] - https://www.laws-of-software.com/laws/kernighan/


This is not just about writing code, but designing systems. If you design the smartest (most complex) system you can, you won't be able to debug/fix/extend/maintain it.


Thank you, I will be using this.

Not sure if there is actually data for the assumption to be twice as smart to debug than to write code, but it sounds about right.

And also, if you write the smartest code you can, while you are at your peak, you also won't be able to read it, when you are just a bit tired.

So yes, yes, yes. Just write simple code.

(I also was also initially messed up a bit by teachers filling me up with the idea to aim for clever code)


what exactly is "the smartest code you can" :)


Actual quote:

Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it?


Known as Kernighan's Law.



In this case, it sounds like "The code that will most impress your parents"


Holy shit you don't get anything for _free_ as a result of adopting Kubernetes dude. The cost is in fact quite high in many cases - you adopt Kubernetes and all of the associated idiosyncrasies, which can be a lot more than what you left behind.


For free as in "don't have to do anything to make those features, they're included".

What costs are you talking about? Packaging your app in a container is already quite common so if you already do that all you need to do is replace your existing yaml with a slightly different yaml.

If you don't do that already, it's not really that difficult. Just copy-paste your your install script or rewrite your Ansible playbooks into a Dockerfile. Enjoy the free security boost as well.

What are the other costs? Maintaining something like Talos is actually less work than a normal Linux distro. You already hopefully have a git repo and CI for testing and QA, so adding a "build and push a container" step is a simple one-time change. What am I missing here?


Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: