Live data from Hacker News

Ask HN: What was your most humbling learning moment?

news.ycombinator.com

661–670 of 704 posts

Re: Ask HN: What was your most humbling learning moment?

#661
post #83

Learning that some folks can produce so much value with crappy code. I've seen entire teams burn so much money by overcomplicating projects. Bikesheding about how to implement DDD, Hexagonal Architecture, design patterns, complex queues that would maybe one day be required if the company scaled 1000x, unnecessary eventual consistency that required so much machinery and man hours to keep data integrity under control.…

I always find these discussions interesting. I've been working for the same company 10 years. When we built project A, I was surrounded by people who had built the same product for the past 20 years together. As a younger dev, I deferred to them as they were much older and had done this before. You would probably admire them. They pumped out code and delivered immense value. We had no over-engineering because there w…

Interesting.

I'd like to think that, most probably, your job exists and is funded because those folks (and you) "got shit done" for the last 20 years.

In my experience (around 2 decades also), when it comes to small/medium projects, spending a bit of effort separating business logic from UI/database/server code is wise up to a certain point.

If the effort doesn't add too much code and layers of indirection, then fine.

However, DDD/HexagonalArch consultants tend to add soo much boilerplate and layers of indirection between between an HTTP request and a response that it becomes detrimental to productivity.

For example take a look at this article:

https://herbertograca.com/2017/11/16/explicit-architecture-0...

Specially this part (but the entire article is a gem):

> This means that Dependency Injection and Dependency Inversion are not enough to decouple components, we will need some sort of architectural constructs. We might need events, a shared kernel, eventual consistency, and even a discovery service!

Respectfully I'd like to think that it is satire. But it isn't.

With events your code is no longer linear. Stuff happens with triggers (events) that are not clear at first glance unless you fully understand the entire stack.

Shared kernel is just a place to shove interfaces under the carpet and pretend code is no longer coupled because you added extra 2 layers of indirection (interfaces and kernel) between 2 lines of code. Congrats now it became much harder to understand what actual code will be executed when I call this method.

Eventual consistency... Is that a good thing? We spent 4 decades maturing ACID compliant transactional RDBMS only for someone to come and disregard all these gains?

Discovery service... Yeah your code became so complex that you need more code to discover code. Because we can't have one layer calling another directly. Nonono, that would be coupling. And coupling makes it hard to change frameworks in a distant but slightly possible future. I'd rather pay a very expensive insurance from now on to safeguard from that possibility. Even though the insurance itself is so expensive that it alone can suffocate the project.

Sorry for the rant.

Re: Ask HN: What was your most humbling learning moment?

#662

Being 15 and unable to grasp the concept of an array whilst wishing I could somehow use a variable to escape my at the time a1, a2, … a11 variable naming convention.

I remember at 15 being annoyed that I couldn't figure out a way to have a textbox which I could use to input and run any arbitrary code while my own code was running to debug it.

Like being able to type "println(x)" to get the value of x.

Took me a quite few years to discover the intricaties of the so-called debugger :D

Re: Ask HN: What was your most humbling learning moment?

#663
post #100

I was in my 20s before I realized even numbered houses are always on one side of the street and odd numbers on the other. Literally no excuse for not figuring that out.

I learned the numbering rule (in Brazil) at school - but have friends who didn't know it far into adulthood. The rule, ~if I remember correctly (and matches my experience)~ confirmed by Googling is: 1) distance in meters from the beginning of the street to the start of the terrain where the building is in; 2)rounded to even number on the lefthand side and to odd number on the righthand side of the street/road I guess…

That's quite neat actually! Had no idea :O

Re: Ask HN: What was your most humbling learning moment?

#664

In 1993 I was interviewed for an operating job in a power plant for a major airline, assigned to their data center. At my current job, I was working in a high rise office building with sixty-six floors. The operating system computer was a JC8520, which was running a version of MS-DOS. All commands had to be typed in correctly or nothing would happen. While operating the plant, several commands had to be entered every…

I work with Apache Airflow. But lead my sister to believe for a time that I had begun to transition to a career somehow related to HVAC and solving the problems associated with "patchy" airflow in certain places.

That's where Apache got its name; "a patchy" [web] server.

(It's since been backronym'd a bit.)

Re: Ask HN: What was your most humbling learning moment?

#665
post #78

In college, meeting someone that was better than me by every conceivable metric. You'd think that he beat me at one thing by neglecting another, but nope, the guy was excelling in every category. Perfect grades, involved in many communities, and generally pleasant to be around. There was no caveat, no excuse. Dude just straight up rocked. I have met more people like that while travelling. I felt badass riding my moto…

> I will never be a world champion at anything, so I might as well play for the love of the sport.

Dunno if this is a famous quote or one of your own, but I've put it in my list of things to remind myself of periodically. Thanks.

Re: Ask HN: What was your most humbling learning moment?

#666
I recently got into the trades and every single day is a humbling experience, seeing what my coworkers can do first hand is astounding I feel like a baby in terms of ability and using tools is awkward, diagnosing vehicles properly is very difficult, the whole experience is such a grinding humbling mess.

Re: Ask HN: What was your most humbling learning moment?

#668

Earlier quoted context omitted.

How about reconnecting the websocket from the client?

Sounds like polling. On an inactive connection, whatever it is, you have to always be polling to see if the connection is still alive.

What do you mean? The client knows when the websocket connection goes down and just reconnects. How is this polling?

Re: Ask HN: What was your most humbling learning moment?

#669

Earlier quoted context omitted.

It's a pretty important social custom in a lot of cultures. I feel for you as there are times when I really, really don't feel like dancing but also don't want to be the odd one out.

It doesn’t really seem like an important one in US culture anymore, thankfully, so much as one of the few remaining fronts on which it is oddly socially acceptable to pester people.

I dunno, maybe it's not as important as it used to be, but high school dances have some cultural heft, and dancing is a centerpiece of the American wedding tradition. Weddings are pretty universally important across cultures. Plus America is becoming more Latino which I understand values dancing pretty highly.

Re: Ask HN: What was your most humbling learning moment?

#670
post #418
post #363

Earlier quoted context omitted.

Maybe not in the U.S. but in Europe, Software Engineering is often a field of engineering where one can get licensed. i.e. in Austria many IT techs and devs are called (at the doctor's office or in formal settings) "Mr. Engineer" ("Herr Ingenieur") if they fulfill some formal criteria and get licensed. A further qualification is becoming a federally certified civil technician for IT (Ziviltechniker or Ingenieurskonsu…

Here's a story for you: I was born and raised in Switzerland, but I live in Germany now. When I first moved here, I was working as a freelancer and needed to register as a sole entrepreneur (Einzelunternehmen, one of the legal entity forms here). Now, there are several types of taxes you pay in Germany based on your income. One of them is the income tax, the other is called Gewerbesteuer (maybe best translated as "co…

[dead]
Post reply on HN