1,581 karma · joined Oct 22, 2022 (4y ago) · 796 submissions
comment 4y ago · link · parent
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
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
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
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
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.
> 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
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
You mean like this?
comment 4y ago · link · parent
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
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".
comment 4y ago · link · parent
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
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
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
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
> 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
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
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
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
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
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
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
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
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%.