HNHacker News
TopNewBestAskShowJobs

morbia

443 karma · joined March 23, 2021

submissionscomments
morbia··on Write shitty code
Story time!

At my previous place they had an ancient java application that powered their entire business. It had some reasonable parts, but some of it was a total mess from top to bottom. Leaky abstractions, multiple layers of incomprehensible inheritance, helper classes everywhere etc etc, the usual things you expect from a decade old java application.

A fair chunk of the code quite literally hadn't changed for a decade. There were classes written by the first few employees at the company and hadn't changed since that time. Indeed, no time was invested in fixing it because of the 'if it ain't broke, don't fix it' paradigm, which was correct for the first 10 years or so.

One day, there was a huge shift in the direction of the company. They wanted their java application to become multi-tenanted SaaS platform instead of single-tenanted system. I was put to work on the task, and found we had to touch virtually every part of the tech stack. It was an utter nightmare, and frankly we still had to cut corners because it would have taken another 10 years to do it properly.

My point is anyway assumptions are just that, assumptions. Assuming code is never going to change is as dangerous as assuming how could might change and planning for a thousand possibilities. In the case of my previous company, assuming multi-tenancy would be coming along would probably slowed them down significantly and was well beyond the scope of the company at the time. However, if they had spent a bit of time polishing the turds, and putting in place proper testing, it would have made life a hell of a lot easier when strange requests come along.

morbia··on Tech debt is not a burden, it's a strategic lever for success
To some degree you are right, but the sign of good quality code with low technical debt is the ability to change requirements quickly, not necessarily consider future requirements.

In my opinion, investing early on in CI/CD pays so much more than thinking about code quality, correct abstractions and future requirements. If I have a fast deployment strategy with automated testing I can trust, accommodating new features is a breeze regardless of the underlying code quality.

Of course though it's all a balancing act. I could spend a year building a solution using sophisticated tools like spinnaker, only to completely miss the market at a startup. Still, if there is a tradeoff to be made between code quality and CI/CD, I'd always side with CI/CD.

morbia··on Grindr €6.5M fined for not collecting users’ valid consent for sharing data
Arguing that guys shouldn't use grindr because it puts them in danger and then saying they should chat people up in real life seems bizarre to me. Even in my fairly liberal western country assuming a random guy in a normal bar is gay could put me at risk. Why take that chance when apps full of gay guys exist?
morbia··on Grindr €6.5M fined for not collecting users’ valid consent for sharing data
With respect, that is easy to say when ~50% of the population is a potential partner and is easily determinable. When you are gay and the majority of guys are straight, finding partners organically is near impossible (unless you're in a gay bar or something).

I'm not condoning Grindr's actions or that people shouldn't use it with care, but it really has become a key part of LGBT networking in the modern era.

morbia··on Linux Has Grown into a Viable PC Gaming Platform and the Steam Stats Prove It
I am a subscriber and I will admit I hate so many things about the app, I genuinely don't know how a company the size of MS can make the UX mistakes it does.

Anecdotally though, I haven't seen the issue you mentioned with the download speeds. It always maxes my 150Mbit connection (probably pitiful for some parts of the world admittedly) so I've never felt a need to backup games because I can re-download them whenever. I'd be interested in hearing about this 'changing home computer' limit too, I've got my game pass running on 3 computers right now so I'm curious if I've hit the limit.

As I mentioned in another post, I am a daily linux user and want to see it become a wonderful gaming platform. That said, even with the UX issues of game pass, it's hard to argue on the price point. For a none techy who doesn't care about OS choice or brand loyality, I think it's going to win in the long run.

morbia··on Linux Has Grown into a Viable PC Gaming Platform and the Steam Stats Prove It
Well, without the hard numbers on subscribers it's going to be hard to quantify one way or another if microsoft are 'struggling on pc' or not. Needless to say though, their catalogue of games on offer for a small monthly fee is absolutely insane. From various twitch streamers/youtubers in the gaming industry people I've only heard praise for its value for money for the customer (anecdotally of course). Clearly microsoft are throwing money at the market right now for growth, how long it lasts I don't know.

Don't get me wrong, I have been a linux user for 16 years and would love to use it for my gaming needs, I think we just have to be realistic here. MS are pumping money into the gaming industry, through the game pass and buying studios. They are not going to let linux become the dominant gaming platform without a fight.

morbia··on Linux Has Grown into a Viable PC Gaming Platform and the Steam Stats Prove It
> Valve already had fears about Windows 10, luckily their store and Windows platform wasn't successful in the end.

A few years ago I'd have agreed with you, however the xbox game pass has been hugely successful for Microsoft to push their store and platform. I think a lot of PC gamers would struggle to switch to linux because of that alone. Looking at steam stats alone is selection bias and doesn't tell the full picture.

morbia··on Bitcoin's growing e-waste problem
On those lines, a company I'm very much been keeping an eye on is framework

https://frame.work/

I've wanted something like this for years, a laptop that is actually repairable but isn't awful in specs or ergonomics. When they start selling in my region I'll be all over it.

If you care about these problems then vote with your wallet.

morbia··on Under the skin of OnlyFans
I wholeheartedly agree with you, but unfortunately onlyfans is certainly not unique when it comes to whales. Mobile gaming is the classic example, and that is arguably worse in that it often targets children.

It is really a symptom of a wider problem where years of sophisticated A/B testing and social manipulation in businesses has been honed to such an extent that small pockets of the population find it impossible to resist the dopamine hit, be that some porn or an item in a game.

I really don't know what the solution is, regulation I guess? I'm not sure in what form that would look like though.

morbia··on Useful and useless code comments
Developers and code reviewers make mistakes. If a change involves looking at code numerous trivial comments, the probability that both the developer and the reviewers misses at least one increases.

This is particularly problematic for this sort of issue because it's impossible for a static analysis tool to pick up.

morbia··on Useful and useless code comments
The problem with this approach comes down to when the functionality of the code changes.

Consider the scenario that a second developer has to change your code in the future, for example the decision is made that a vertical scrollbar isn't required anymore and a horizontal one is required instead. It is very possible you end up a comment that completely contradicts what the code is actually doing.

  // Add a vertical scroll bar
  hScrollBar = new JScrollBar(JScrollBar.HORIZTONAL);
  add(hScrollBar, BorderLayout.EAST);
Which suddenly ends up being far worse than having no comment at all. You could say that the second developer should be diligent and ensure they fix these, but given they don't have to change them to meet the requirements you are inviting the possibility that it could happen.
morbia··on HIV mRNA Vaccines-Progress and Future Paths
I presume this is in the US? In the UK for example the HPV vaccine for gay men is free on the NHS. I'm sure the same is true for many other countries too.
morbia··on Once on the brink of eradication, syphilis is raging again
I'll be honest I've not seen the first two series so I'll avoid speculating. I'm sure you are absolutely right.

In the case of Game of Thrones, a lot of the more 'liberal' sexual encounters were really put in for shock value or an excuse for nudity, for example Oberyn's orgy scenes. I never really got the feeling it was trying to normalise these things, but that was just my interpretation.

Similarly for Friends my interpretation was characters like Joey were to be the punchline of a joke, not to say his behaviour was normal. It felt more to laugh AT him, not to normalise it.

My experiences of mainstream media seems to largely focus on the young bachelor(ette) who has casual sex as a 'phase', or the monogamous faithful couple who've grown up and matured. Despite this narrative, I really don't believe monogamy works for a fair percentage of the population. This leads to either two states:-

1. They never form close romantic relationships, leading to more casual sex and probably larger risk of spreading STDs.

2. They do engage in a monogamous relationship, only for it to turn sour because of the tensions it causes. In some cases this leads to a party cheating on the other. These people almost never go to STI clinics to get tested for fear it will ruin their relationships.

How about instead the mainstream media embraced the idea of wanting to have multiple sexual partners is fine regardless of your stage of your life or your relationship status? That way, we can have make sure that everyone is informed of the risks and getting the medical treatment they need to keep themselves and others safe (particularly regular testing). As soon as you start demonising it and saying you shouldn't feel that way, people will do it anyway and just hide it instead.

morbia··on Once on the brink of eradication, syphilis is raging again
Gay man here, on prep in a long term open relationship.

To date I have yet to come across anything in mainstream media that comes close to 'glorifying' the type of relationship I have with my partner, or non-monogamy in general. Can you give any examples of this?

I'd also argue I'm in a committed relationship, but I'm not going argue semantics.

morbia··on Result from LHCb experiment challenges the Standard Model
Indeed, there have been 3sigma deviations before (e.g. the diphoton resonance) which attracted a lot of attention and turned out to be nothing.

I'd encourage people to read up on the Look-elsewhere Effect when you see something like this:

https://en.wikipedia.org/wiki/Look-elsewhere_effect

I'm not saying this isn't potentially an interesting result, but 3sigma deviations when your parameter space is so large is actually not a big deal.

← PreviousPage 3 of 3