HN user

oscarcp

101 karma

Just another programmer

Posts4
Comments34
View on HN

I don't know your use case... we use only dedicated root servers (from the auction) and the cost is stupidly low, we run 6 x 64GB RAM, 6TB HDDs Xeons and each of them (with the price increase) cost us like 40 euro/month, which is redoncolus (ridiculous). The only "inconvenience" is that we have to do the infra ourselves instead of having a button to click but wow, the cost savings alone are insane. A 4GB RAM/20GB disk/1vCPU in DigitalOcean costs 7 euros/month with a horrid I/O that can't even run a static site (we tried to migrate)

shame I cant recover my original account. When they sold to spotify I hadn't accessed my account for a good while so they just moved everything over and deleted it. It was a shame, I'm one of the OGs that signed up when it still was audioscrobbler, 23 years of historic listening data through the drain. Shame. (did i mention it is a shame? XD)

4% seems reasonable, it's pretty much standard across the board in Europe (median sits around 6% if I recall correctly), not many companies can pull 10% profit. For example in Spain, major conglomerates like INDITEX have a 11%, Iberdrola has a 10%. We also don't use the same metrics and parameters as the US for profit, so the values are skewed.

That said, certain sectors like software (as in custom enterprise grade software dev) pull revenues that are much much higher sitting around 35%, but it's not that common.

Two things, one is a container control plane inspired in the efforts of the Nextcloud AIO people called LOOM (yeah, like the Lucas Arts game), the other is a full blow NixOS deployment system (from the USB or network directly) for my company so we can deploy the computers for each colleague faster.

Neural Boids 5 months ago

Huh, this just gave me an idea (provided a few modifications and enhancements to the noids) to create a god game with true emergent behaviour (yes, that's not very gamey like, I know, it can collapse for no reason). Let's see if I'm smart enough to pull it off (note: I'm waaaay over my head in this)

I must say, I find the experience curious to say the least. It prompted me to write something, and I immediately got frustrated that my text was gone, followed by a feeling of "well, it was ephemeral anyway" and then finding the reader mode and say "hmmm, does that take away from the experience?". In any case, I might come back to this every now and then, nice work.

It was a "compound" error you can say.

The first mistake was management not wanting to pay for Neo4J, so we were working in production with the free edition (no backups, only one database, lots of limitations).

The second error was that none of us had production level experience with Neo4J apart from what you just said, tinkering in toy projects at home or very low stakes services, so in the end, the schema that was created was a bit of a mess, you would look at it and say "well, it makes sense..." but in reality we were treating Neo4J as a twisted NoSQL/SQL interpretation.

The third mistake was treating Neo4J as a database meant to handle realtime requests from thousands of users doing filtering and depending on huge responses from external systems (VERY OLD systems, we're talking IBM AS400 old) while in an environment where each response depended on at least 2 or 3 microservices. We had one cypher query to handle almost all use cases, you can imagine what a behemoth that was.

In the end as I said, compound error between lack of experience, not analyzing correctly our needs and a "just go with it attitude" that to this day I'm pretty sure it cost quite a bit to the company. Eventually the backend team managed to move to MySQL (by that time I had moved to Ops) and the difference was abysmal.

We would have saved so many wasted hours in the last company I worked for if we had this... you have no idea, to give you a sense, the decision to move from a Neo4J db to MySQL (the service was failing, the DB was failing, it was a bad architecture decision) took 6 months, when it should have been at most a couple days discussion.

Nurture this, it will become a great tool in the belt for a lot of people

I built a time tracking app and control panel for ourselves at our company out of frustration (it was very basic, for compliance with spanish law) and eventually we just fixed so much stuff and added so many features that we just released it as a product https://workstamp.eu

We need to reduce the entry barrier (it's meant for companies so it needs explicit registration) so anyone can use it as a proper SaaS but so far we already have a couple clients :D

How I Left YouTube 7 months ago

I'm writing this without reading the comments first but oh boy, I wanted to punch a stone wall while I was reading this. I don't tolerate any company that has more than 3 interviews for a position, it's an automatic "no, sorry, I have better things to do with my life", and I tried, believe me, Red Hat had 6, Creative Assembly burnt me with 2 personal and 3 technical, all on-site on different dates (edit for peace of mind: these interviews were 13 years ago, it's fine...)

Maybe it's my own personal working culture, but when I get into a company I'm not thinking about levels, growth, stock options... I go there with a salary, a position and a willingness to help in whatever I can, once I'm not needed anymore (it's usually a combination of managerial direction changes, new hires, new objectives) that's my cue to help somewhere else where I may be needed or wanted. Am I that weird? I honestly don't understand this culture of quarter finance agent, half developer, quarter manager aspirant :/

I'm working on a simple IoT visualizer. I built my own domotic system at home (which i hope to turn into a product at some point) and I had the need to visualize the sensor data per room and per floor.

While I was working on the tablet interface (in Godot Engine) I put Claude to work on what after two minutes became a full product on its own with a new file format as well. Tell me what you think! (so far the response is meh...)

https://habitatview.app

Oh boy. I just set up my company a few months back, unfortunately I never had to go into email too much, so I didn't set up DKIM/SPF/DMARC. Then I started receiving emails from my own domain, I panicked because spoooofingg (read with spooky voice) and set up all three. I was bashed for an entire week with reports from all major email services with DMARC reports.

Fortunately I still only have a couple clients so no one was the wiser.

UPDATE: It ended up in a simple scare, nothing was affected and I'm not in any list that I know of, in case you're wondering

I have issues as well, each implementation (SDL/Jack/Pulse) is completely different, in some the shaders break completely, some don't respond to shortcuts or don't show the menus... it's a mess and the funny thing is that these are the same issues I had 10 years ago. The first thing that they have to fix is that each client works the same way.

You're completely right but I am "flipping the tortilla" on this one and thinking, it's great that they're just spitballing stuff, it's bound to eventually find something truly interesting and/or useful! (in n+1 time but I don't mind!)

I'm quite familiar with that, unfortunately, and for me it didn't only span days, I spent months unable to be productive (you can guess what happened) and the last 3 years struggling to keep up (as a reference, I was one of those so-called 10x performers).

Of course each one of us is a different universe, but let me tell you what helped me (I repeat, this is a personal experience, I'm not a doctor):

* First, do not get anxious about it, otherwise you will feed it and it will amplify.

* Second, force yourself to 5-10 minute work, and I mean force yourself, pick a task, any task, push your brain until you are able to do 5 minutes of work, if you are able it's a good sign

* Third, question your physical health, are you ok? Do you have enough vitamins, etc? A blood check doesn't do any harm. I've found iron deficiency is a big part of not being able to work.

* Fourth, question your mental health, your brain is the most idiotic organ ever, it doesn't know when it's ok or not, do you feel anxiety, stress, impostor syndrome, is there something missing in your life that was previously there? Repeat this until you get clear answers.

* Fifth, process those answers, really process them, they will give you clarity that will lift the mist.

* Sixth, check with a psycologist, my recommendation is that it's specialized in cognitive behavioural therapy.

All of this being said, after points 1-5 I was still struggling, on and off (mostly off) for a while until I did point 6 and this helped me move forward slowly with a lot of "homework". I can't tell you exactly what my issue is because I have many and they're quite intertwined, let's just say that I was brought back from the brink (at the time I did number 6 I started already with anxiety and panic attacks)

You make quite the point here. That is the advantage I see for DDD; you have dependency on service that may change, DDD will make your life easier when switching, otherwise there will be weeks of rewriting code. And what happens during transition times (thinking about CRM for example) where you have to keep connected to both systems?.

This said, in my situation it's like trying to kill flies with a muon cannon (fyi. this gun is fictional and it's exaggerated to drive the point), it's cool'n's*it but the same could have been done with a newspaper or your hand. To maintain the muon cannon you need the entire Fermilab team, your hand... well, it's your hand.

Apologies for the exaggeration, can't avoid it :D

Your story sounds like they implemented a "technical DDD top-level architecture" (TM), whatever that may be. (I'd assume layers of abstractions coupled with logic spread all over the place, without any added benefit.)

Exactly :)

Python, FastAPI... so you can imagine how something as simple as a CRUD becomes quickly impossible to manage as soon as you ignore everything and start creating repositories, queries, use cases, etc. for a single endpoint.

I agree with you that a minimal implementation should handle it but... someone had wet dreams with DDD and everything has to be DDD now :)

At the moment, there's no way out, plannign stipulates that all our microservices must be rewritten to accomodate this super abstract DDD design (and youy're right, it was an engineer who created our current layout)

We use DDD at the current company I work in and to be honest, I detest it so much that sometimes it makes me wonder if I even want to continue in the programming space (been at it for 20 years).

Don't get me wrong, DDD has meaning and purpose, but some companies are applying it as a badge to be obtained instead of pondering the question, do you really need to rewrite everything following DDD?

In our case, simple CRUD APIs that in "regular programming" might take a couple 200 line files have turned into unmanageable nightmares in DDD that take you at least a couple of days of really intensive investigation to understand, because it have been divided in more that 25 files that hold 3 or 4 lines of code at most, with so many abstraction layers that it's impossible for the best of us to follow in one go.

Now, you could make the argument "You Are Doing It Wrong(tm)" but since I'm just a drone in this specific scheme and there's no wiggle room for anything (the team is quite inflexible on this) I have to follow it to the letter.

Just giving my two cents, again, not depreciating DDD, it has its purpose but in my opinion, it's for very specific projects.