Better HN
topnewbestaskshowjobs
Log inSign up

simplotek

1,581 karma · joined Oct 22, 2022 (4y ago) · 796 submissions

Submissions

comment 4y ago · link · parent

> I'm certainly not opening JIRA for it, so (...)

That's the universe telling you the TODO is useless noise that points to a workitem that no one, not even you, find it relevant enough to track or work on.

When that happens, do everyone around you a favour and leave out the TODO comment.

comment 4y ago · link · parent

> Presumably your integration will automatically create a ticket from the TODO.

Creating the ticket tracking a work item is known for creating the ticket that tracks work items.

The process is also the epitome of automation, because it requires zero automation to filter TODO items and only requires clicking on a button to create the ticket.

There is no salvageable excuse for this nonsense. Work items are created in tickets. TODO items just track copouts and noise.

comment 4y ago · link · parent

> What happens when the company decides to migrate from JIRA to something else?

Aren't you grasping at straws? How many times do you believe a project changes it's ticketing system? So far I saw that happening a grand total of zero times.

Meanwhile, I've repeatedly worked on legacy projects which have decades-old TODO/FIXIT items, which serve no purpose other than being noise and serving as topic in water-cooler shit chat.

comment 4y ago · link · parent

> If you don’t fix it… and the code is working… what is the problem?

Because most of the time your hack only works by accident, or doesn't handle expected corner cases, or leaves out important use cases, or is a ticking time bomb.

comment 4y ago · link · parent

> This is a good way to loose valuable knowledge.

It really isn't. If you have anything relevant to add regarding your hack, post it in the ticket. That's the first thing that will be read when someone picks it up. Otherwise you're just polluting the code with good intentions.

comment 4y ago · link · parent

Every country has its fair share of idiots, and Brazil having a population of around 214M can easily have tens of thousands of idiots who believe and defend all sorts of braindead ideas.

comment 4y ago · link · parent

This tweet is bullshit

To start off, the victimized fool was not suspended from Mastodon. The fool tried to join a specific Mastodon instance which is highly political.

Here's a link to the instance's about page.

https://octodon.social/about

> a feminist, anarchist, communist, cyberpunk culture and many trans and queer people, often with tech or scientific interests.

> "I'm not Twitter, I'll fuck up nazis, transphobes and bullies for fun".

Going into one of these instances publicly presenting yourself as a "capitalist" is a blatant and very transparent attempt at trolling regulars.

comment 4y ago · link · parent

> The very public reasons he initially tried to take over Twitter were disagreement with some of the political censorship decisions they made.

You're disingenuously glancing over the fact that Elon Musk repeatedly said and did different things. As the Twitter thread I linked early clearly shows, Elon Musk was repeatedly giving assurances to marketing execs behind closed doors that he would continue moderating hate speech and extremist content on Twitter just as before.

The marketing industry is not manned by fools, and once Elon Musk fired basically all content moderators then the industry called Elon Musk out on his bullshit and promptly yanked ad spending on Twitter, explaining quite clearly that cutting moderation was a major liability.

It's amusing how people like you prefer to resort to puerile convoluted conspiracy theories to explain why ad companies stopped paying for ads on Twitter when the people who made that decision already stated in no uncertain terms how Elon Musk's actions turned Twitter into a liability.

comment 4y ago · link · parent

> The Welsh language isn't part of the cultural identity of most English-speakers in Wales.

Do you understand what "protecting the culturage identity" means? From your comment, it looks like you didn't manage to connect the dots.

comment 4y ago · link · parent

> If a social media needs a tutorial for people to be able to sign up or use it, it has already failed.

You mean like this?

https://help.twitter.com/en/resources/twitter-guide

https://help.instagram.com/454502981253053

comment 4y ago · link · parent

> The media love twitter though. They hate it so much they can't stop talking about it

It's newsworthy. It's a leading social network which a billionaire was forced to purchase after trying to weasel himself out of the deal which he got into for dubious reasons, and now said billionaire is doing a corporate anihialation speedrun that threatens to evaporate 45 billion dollars.

Not to mention the impact on other notorious companies such as Tesla and SpaceX.

You require a massively disingenuous take on current events to come up to the conclusion that news coverage of Elon Musk's takeover of Twitter can only be explained in terms of irrational hate.

comment 4y ago · link · parent

> The calls for advertiser boycotts started as soon as the takeover was announced (...)

You're casually glancing over Elon Musk's reiterated announcements that he would eliminate Twitter's moderation, and you're completely ignoring marketing execs stating publicly and in no uncertain terms that Elon Musk's decision and actions were a liability in terms of "brand safety/suitability".

https://twitter.com/LouPas/status/1588599808587345921

comment 4y ago · link · parent

> I think Germans are more upset about how messy these things are than about the safety aspect. People just leave them wherever and occasionally some bored people do silly things with them like creating a huge pile of them or tossing them in canals, etc.

It's high time these so-called micro-mobility companies are held accountable for the abusive occupation of public space. Their business model is based on their ability to just go to a public area and dump a bunch of equipment on the ground. Street vendors are persecuted by municipal police for less eggregious occupations of public areas.

If locals have to pay for licenses to briefly occupy a couple of square meters of public areas to be able to do construction/renovation work, why are these companies allowed to throw around dozens of scooters at will?

comment 4y ago · link · parent

> 1) tfs: shelves are named and can be worked with independently; git: stashes (...)

I don't think your comparison makes sense. Git stash is a way to quickly get to a clean local workspace that can be reversed as you see fit. You use local branches to track independent work.

> tfs: can't commit unresolved merge conflicts; git: commits just fine

Again, this doesn't make sense. In git, users determine whether a conflict is resolved or not. If you commit a changeset originating from a merge conflict, you have to explicitly state that the conflict was resolved and your changes are good.

> Feature branches are advertised as a big fat killer feature of git, but I don't quite see the win here, you still have merge conflicts.

Honestly I didn't understood what point you tried to make. Merge conflicts happen because multiple sources of change touch the same document region in a way that can't be resolved automatically, thus needing human intervention. To the best of my knowledge, there is no cvs in the world that eliminates merge conflicts.

Regarding Git's support for feature branches, the fact that you don't understand the big win Git brought to the world with it's branching model is already a testament to how groundbreaking Git was at the time, and how everyone around was quick to roll out Git clones that follow the same approach. To see what I mean, spend a day working with a SVN repository trying to do work involving feature branches.

> git: if something happens to the branch label, the commits are gone.

Aren't you actually saying that if you delete a branch then the branch is deleted?

comment 4y ago · link · parent

> Maths, science.

But those are already taught as the central subjects, aren't they? They are far from being ignored or neglected.

Again, which subjects should be prioritized offer cultural identity?

comment 4y ago · link · parent

> Recent versions of git has started introducing commands with a more top-down design (e.g. git switch), but that's a very novel development

Isn't git switch syntactic sugar for git checkout? What's wrong with checking out a branch?

comment 4y ago · link · parent

> In a nutshell, git has an unintuitive and unfriendly CLI with bad defaults.

I see this claim often, but it never is accompanied by evidence or any concrete example.

I've been using Git for years and I never noticed any semblance of unintuitiveness or bad defaults. Everything in the happy path is straight-forward, and all obscure things are a quick googling away.

Do you actually have any concrete example to back your claims? What's the absolute best example you can come up with of said unintuitiveness and unfriendliness?

comment 4y ago · link · parent

> Making it compulsory up to the age of 16, to the detriment of other subjects (...)

Which subject do you believe should have a higher priority than defending the cultural identity of a nation?

comment 4y ago · link · parent

> It's just a simple web app. How many people can it really take to run the thing?

Except it isn't? Content filtering and ranking based on properties such as individual preferences and localized content is way harder than dumping a SELECT * FROM tweets, not to mention compliance requirements.

comment 4y ago · link · parent

> I still haven't seen evidence that he's a genius.

There's a wealth of evidence to make a case for the opposite, though.

comment 4y ago · link · parent

From the article:

> The point I am trying to make? If you dislike Twitter’s new direction, why don’t you quietly close your account and find a new home?

This is a small glimpse of the shamelessly apologetic white knighting that emanates from the article. A billionaire cannot do no harm or be held to scrutiny because, as the result of a major screwups, was forced by a court of law to purchase a company. Said billionaire cannot be scrutinized when he's speed running through the destruction of a service used by the whole world. Said billionaire cannot do any harm because another billionaire stated he bought other companies.

Does the validity of any criticism directed at Elon Musk change depending on the net worth of anyone criticized for making the exact same torrent of errors?

comment 4y ago · link · parent

> Same with the whole "serverless" thing heavily pushed by Amazon and co which conveniently offer "serveless services". These trends are always pushed by marketing departments at SAAS companies.

This take is pure nonsense. It's highly disappointing to see this blend of ignorant and uninformed take in HN of all places.

Amazon's serverless offerings are the ideal tool for many use cases, specially internal services. Instead of being forced to write, deploy, operate and maintain a dedicated service to handle events, just write the event handlers you need, get it to run in someone else's computer, and forget about it.

Internally, things like AWS Lambda saves a lot on wasted allocated capacity. You don't need to waste allocating a whole box to run a handler each time, say, someone uploads a file to S3.

comment 4y ago · link · parent

> For example "uncle bob" delivers a lot of his advice as gospel, but has he actually successfully delivered any software that's used at scale?

I fail to the the point in this cheap ad-hominem.

Uncle Bob is arguably best known by his seminal books: Clean Code, and Clean Architecture.

Clean Code talks about principles such as "you should name your variables well". Why do you believe scale is any relevant?

Clean Architecture talks about a general principle to organize software projects which has traits that are highly benefitial to maintenance, refactoring, and even re extensability. It's a nuanced take on the tried and true layered architecture. Why do you believe scale is remotely relevant?

I know personally Principal Engineers of a couple of FANGS who are great at selling ideas but are outright awful at writing code. One even famously handed POCs to SDE1s to have them rewrite and refactor his code to get some quality in it. Do you really believe in this appeal to authority fallacy to the point where the number of customers hitting a server are the measuring stick for competence and the quality of implementations?

comment 4y ago · link · parent

> Throwing things on a blockchain is a mile backwards for most use cases.

But the buzzwords. Think about the buzzwords.

comment 4y ago · link · parent

> As a regular code reviewer, I’ve grown to dislike extension methods quite a bit as it violates the principle of least surprise.

I disagree. The common use case for extension methods in ASP.Net Core apps is to extend the builder to apply configurations like all other projects. This pattern is so pervasive that the surprising outcome would be if a member function was not an extension method.

comment 4y ago · link · parent

> It vastly reduces the complexity of things like dependencies, testing, CI/CD, versioning.

Did it, though?

The only conceivable advantage is version pinning. I makes absolutely no difference in terms of test coverage whether you use a monorepo or not. Dependencies-wise, the only thing that a monorepo saves is releasing individual components, which ultimately is not an advantage but a drawback and a liability.

So exactly what's the upside, if any?

comment 4y ago · link · parent

> If you put microservices in a monorepo (...)

What exactly do you gain with this approach, other than pinning versions of all microservices?

Any competent team working on services does not suffer from "versioning hell" because APIs are stable and tracked with integration tests and smoke tests, and you version the API and not the code.

comment 4y ago · link · parent

> This always seemed strange to me. If your team can't be trusted not to make spaghetti in a monolith, what stops them from making distributed spaghetti in microservices?

It's far harder to update multiple services to handle requests they should not handle, let alone update a deployment to allow those requests to happen.

Walls make great neighbors, just like multiple services make teams great at complying with an architecture constraint.

comment 4y ago · link · parent

This phenomenon is not limited to the US. Real estate prices in some European countries skyrocketed in the past couple of years to the point where middle class families with two sources of income are unable to afford a two-bedroom apartment in a medium-sized city, and can barely afford renting it too.

Good luck getting a bank loan for around half a million dollars to buy a three bedroom apartment in a country where the average income before taxes is well below €50k/year.

Something happened to the world economy after mid-2010s where demand for real estate grew like crazy as a kind of store of value/hoarding investment. The scapegoat keeps on shifting, from Airbnb to work-from-home to whatever lame excuse, but it's the same phenomenon everywhere.

comment 4y ago · link · parent

> This issue is asking Odin to move away from Visual Studio (by which I assume they just mean the MSVC toolset), which is by far a highly preferred environment for C++ programming on "[0].

Your source does not support your claim at all.

Even though vscose and Visual Studio are reported as popular IDEs, you're not talking about IDEs. You're discussing compilers and compiler toolchains, which is not the same thing as a IDE. Microsoft's msvc compiler is not the same as Microsoft's Visual Studio. Visual Studio is an IDE which, among other things, uses msbuild and msvc compiler.

The poll you quoted states that 78% use GCC regularly, followed by clang being used regularly by 43%. Microsoft's msvc compiler is in 3rd place at 30%. The same poll also points out that 55% uses cake and 36% use Makefiles regularly, and Visual Studio projects showing up in 3rd place with 31%.

1
222324
27