Spyke

Replies

Comment on

Discussion: Programming conventions for On/Off functions. Singular or separate?

Correct answer - depends.

Option 1 if enabling led is action itself, not side effect. This would justify having enable/disable specific side effects in those functions. This is unlikely for given example. Enabling/disabling led likely side effect itself. You don’t want to put side effects into side effects.

Option 2 if it’s a side effect of bigger process. Option 2 makes harder to add side effects which will drive (but not guarantee) better separation of concerns.

Though, I’d go with option 1 anyway since I trust my self to not nest side effects even when code doesn’t hint me

Comment on

/pfed

Idea of not distributing registrations is dumb. Sounds like they didn’t even tried to find something better. This defeats purpose of federation. Everyone will land on one instance because hashtags don’t federate and people will start moving to big instances.

We don’t need corpo sso. We need federated auth providers and org which can fund instances which want to be on “trusted list”

memes

Comment on

All communities in one single community, but without putting them into one single community

I feel like people are complaining about wrong thing. At least for me it’s not a problem that there are different communities. To me problem is same posts. What would be great is to have same posts merged into one post with comments from all its duplicates. This way communities are independent, lemmings don’t get to scroll same copy-pasta and discussion of same thing is visible cross communities/instances. Question is how we define “same” is it carbon copy of post, or same content only? Alternative titles can be shown if content is same but not title.

Comment on

My enthusiasm for tech is basically gone.

I think those are symptoms of more general trend - IT is not a tool to make people’s lives easier or fun anymore. Until last 5 years all my projects were about making things possible or automating tedious manual tasks. Now, for almost all use cases there is some solution or components you (or AI) can slap together to build a solution. Today it’s all about cutting costs and increasing margins. There is nothing fun or creative in this job, all feedback you get is lower numbers on dashboard. Budgets are squeezed to make more profit, so there is no time to get bored and improve things around you.

Look, in my IT company, I have to track my time in 3 different system and no-one cares because there is no ROI in automating it. That should tell you in which state IT is

world

Comment on

Top Trump allies hold secret talks with Zelenskyy’s Ukrainian opponents

Seriously? With Tymoshenko? Trump is naive if he thinks she’ll accept any sort of deal. To me she is sorta fanatic and bit more on radical side. Let alone she was accused of dealing with money laundering and corruption. She ran for president 3 times and her best result was 25% in first round of 2010th. That won’t represent people’s will.

Also WTF is this interference. Accusing Zelenskyy campaigned for Dems when he visited factory at the same time plotting coup with Tymoshenko.

Comment on

Managers

Reply in thread

Honestly IDK why companies especially medium-big don’t do this. They could plug in RAG with internal/confidential data and have better results and security. I guess question is what is capital plus maintenance cost of running such infra for say 10k+ employees

europe

Comment on

What are your predictions for the EU separation efforts of the USA?

EU should fine shit out of US platforms to the point they leave. All these Xittors, facebooks and instagrams are hybrid war tools at this point. At the same time EU should spin up official EU Mastodon and Frendica instances with strict anti-eu-separatism and anti-political-interference policies. Some will say this is bad, make no mistake US platforms do same but targeting europe. With EU platform there is at least a chance to make our policy maker accountable

linux

Comment on

Is this how alphabetical order is supposed to be? Nemo file manager

What you expecting called natural sorting. Mac employed natural sorting back in 90s. What you get is legitimate Alphabetical sorting which used by Linux and Windows. Natural sorting parses tokens in the string and compares them. Alphabetical sorting compares two strings by comparing individual characters at same index (position). Alphabetical sorting is quite common as it simpler to implement (or rather harder to screw up) and yields predictable results

One of many libraries for Python which implements natural sorting https://github.com/SethMMorton/natsort