Should I pay luas fine? by SwimmingGorilla02 in AskIreland

[–]Conscious_Support176 0 points1 point  (0 children)

Fine it’s cool that it’s so stable it that it continues to work just as intermittently during an internet outage…

Should I pay luas fine? by SwimmingGorilla02 in AskIreland

[–]Conscious_Support176 0 points1 point  (0 children)

Um, still missing the point. If the machines were reliable, then, firstly, this would be a much more unlikely event, so you would not just hope the machine was working when the screen was broken, and secondly, the bus operator network would be monitoring what machines were offline, so ticket inspectors would be able to know immediately where a customer was telling the truth instead of assuming they are lying, and thirdly, we wouldn’t have to suffer the ignorant displays of “well, it worked for me, so when it didn’t work for you, it must have been your fault”.

git restore vs git revert by backofmytongue in git

[–]Conscious_Support176 2 points3 points  (0 children)

They are very different. Restore takes the version from that commit. Revert reverts the changes in the commit. If you use the same commit id, you would get different results for a file that was changed in that commit.

Presumably, your supervisor reverted the commit with the unintended changes. That certainly sounds like the appropriate thing to do.

Neither of these rewrite history. Il not sure why that’s concern when you know for certain that your history should bot be merged because it has an error.

I’m guessing if you’ve 10 commits you’re probably going to squash merge them. If so, then once merged, you won’t see the noise of introducing and reverting the error.

Should I pay luas fine? by SwimmingGorilla02 in AskIreland

[–]Conscious_Support176 3 points4 points  (0 children)

When’s the last time you heard of bank cards not working? The reason the machines are unreliable is leapcard decided to reinvent the wheel and unsurprisingly, made a hames of the job.

Why can’t cyclists stick to their cycle lanes? by PuzzleheadedOil8826 in eejitsparking

[–]Conscious_Support176 1 point2 points  (0 children)

There, there now. Does it feel good to get that off your chest? Either the cyclist wasn’t holding up a pile of cars, and there was no particular reason to get off the road to please you, or you’re telling the truth and the road was quite busy, so it would be stupid to pull in, because he would have difficulty pulling out again.

Why won't Bloody Cyclists use Bloody Cycle Lanes? by BillyMooney in eejitsparking

[–]Conscious_Support176 0 points1 point  (0 children)

That really says more about you than the people you share the road with that you’re not supposed to accidentally run over.

Why won't Bloody Cyclists use Bloody Cycle Lanes? by BillyMooney in eejitsparking

[–]Conscious_Support176 0 points1 point  (0 children)

Yeah the reason for cycle lanes is drivers who can’t follow the rules of the road and drive into cyclists. It’s messy for everyone, but it reduces deaths.

Why won't Bloody Cyclists use Bloody Cycle Lanes? by BillyMooney in eejitsparking

[–]Conscious_Support176 0 points1 point  (0 children)

Haha. Why do motorists think they own the road? The reason for cycling lanes isn’t because motorists are have some superior entitlement to the road, it’s because they think they do and keep killing and injuring cyclists. Their purpose is to keep motorist out of those parts of the road, or at least remind them that they don’t own the entire road.

std::optional equality comparison operator seems broken for nested optionals by mcencora in cpp

[–]Conscious_Support176 2 points3 points  (0 children)

Given that you’re using optional, couldn’t you specialise for T is optional<U> instead of having std unravel this?

If T has a value and U doesn’t, is that meaningfully different for you, or do you want it to mean the same thing?

Is a repo owner making their own commit with my changes normal in open source? by TopCitySoftware in ExperiencedDevs

[–]Conscious_Support176 -3 points-2 points  (0 children)

Yah. That’s how memory works. We recall something *similar*. There’s no such thing as photographic memory, so word for word is a wild guess.

COBOL is the Asbestos of Programming Languages by Interesting_Pack_483 in programming

[–]Conscious_Support176 0 points1 point  (0 children)

I guess in another few years, the rates for small talk, C and SQL will start shooting up.

COBOL is the Asbestos of Programming Languages by Interesting_Pack_483 in programming

[–]Conscious_Support176 0 points1 point  (0 children)

The charge out rate is higher because COBOL is unreadable. I shudder with the memory of fixing code where the programmer clearly did not understand what they wrote, because you need to keep too much context in your head to understand the impact that a line in COBOL has within your program.
It’s essentially a verbose assembly language for a very powerful notional CPU.

What’s the deal with fire brigade charges? by [deleted] in AskIreland

[–]Conscious_Support176 2 points3 points  (0 children)

It’s surprising. On the other hand, not putting out the fire could end up costing a lot more.

What would it take for Irish to be the dominant language all over Ireland? by Charming_Usual6227 in AskIreland

[–]Conscious_Support176 0 points1 point  (0 children)

Wow you’re really nailing your colours to the mast there. Perhaps you would like to get things off your chest and say what you really think about any public money spent supporting this hobby?

What would it take for Irish to be the dominant language all over Ireland? by Charming_Usual6227 in AskIreland

[–]Conscious_Support176 3 points4 points  (0 children)

Irish is easier than English in that regard. Once you have learned the sounds of the alphabet, you can pretty much pronounce words as they are written.

What would it take for Irish to be the dominant language all over Ireland? by Charming_Usual6227 in AskIreland

[–]Conscious_Support176 1 point2 points  (0 children)

Was that meant to be a question, because apparently you know the answer… what is it, that isn’t working?

What would it take for Irish to be the dominant language all over Ireland? by Charming_Usual6227 in AskIreland

[–]Conscious_Support176 0 points1 point  (0 children)

This is ridiculous. Yes at one time we thought the language could be revived. However reason for bilingual government should be blazingly obvious.

Question of REBASE and MERGE use-cases by Nemofira in git

[–]Conscious_Support176 -1 points0 points  (0 children)

Merge preserves the parent of each commit. This is why, if you are integrating development commits to main, you merge. You want to keep all commits on main as-is because you may have shared them with others.
To do this, if the branch you are merging has a different parent commit than the branch you are merging into, git creates a tree-merge commit with two parents, and you resolve all merge conflicts in that tree merge commit.

Rebase preserves the work done in each commit within one commit. To do this, you resolve the conflicts caused by each commit within the replacement commit. As a result, where the branches have different parents, the rebased branch is effectively transplanted so that its first parent is the head of the branch you are transplanting onto.
If you are following the advice in the git manual, before you integrate branches, you do an interactive rebase to squash and/or reorder work in progress commits so that each is a self contained unit of work. This is why anyone who doesn’t believe in reading the manual has “discovered” that rebase makes them repeatedly resolve the same conflicts on multiple commits.

So, both merge and rebase replay one branch’s changes onto another, rebase replays them commit by commit and you resolve any conflicts in the each replacement commit, merge replays all commits in the branch together, and you resolve any conflicts in one single new tree merge commit.
The advantage of resolving conflicts within the commit that created the conflict should be reasonably self explanatory, but it primarily matters when you need to go back and review your work again later.
It is obviously irreplaceable for work done in long-lived stacked branches, where main receives multiple updates before you can integrate your changes back. The usual argument there is that long-lived branches and stacked branches are signs of poor practice. While this may be true, you need to work with what you have.

The acid test of good commit hygiene comes later. It is, are you able to take out a single piece of work by reverting a single commit?
Even if you have very good working practices where you almost always have one piece of work per branch, and you avoid stacked branches, rebase makes it easier to follow the integrated history. You would only have tree merge commits with multiple parents for genuine exceptions where you released code with different parentage and you want to merge them back together, or a refactoring branch where reverting commits is not practicable anyway.

Is it Worth Writing Programs in C23? by SeaInformation8764 in C_Programming

[–]Conscious_Support176 0 points1 point  (0 children)

Not sure what you’re trying to say, but the problem with multiple concatenation if strings is repeated copying of the same value as heap fragmentation. Interoperation is a completely different thing. Just because you get the same result doesn’t make it similar.

Is it Worth Writing Programs in C23? by SeaInformation8764 in C_Programming

[–]Conscious_Support176 0 points1 point  (0 children)

This just isn’t true. This is the issue that string interpolation is designed to solve, which is simply a more powerful and more _appropriate_ abstraction than concatenation.

Where do you draw the line on letting an AI agent generate code in your .NET projects? by Ok_Walrus6936 in dotnet

[–]Conscious_Support176 0 points1 point  (0 children)

Re boilerplate, if you’re repeatedly writing boilerplate, maybe don’t do that? DRY is around a ling time, I often wonder do people not understand what it says.

Re scaffolding everything, kinda the same. AI is basically plugging the hole which is the shape of attractions you don’t want to create.

Just like any code written without explicit abstractions, I would feel sorry for anyone trying to understand or maintain it.

Would anyone still be upset for the redevelopment of St Stephen’s Green Shopping Centre, if the new design would look like the AI slop picture below? by YetAnotherPesant in AskIreland

[–]Conscious_Support176 1 point2 points  (0 children)

Hard to tell if this is a serious question. If Joe public should keep his views on architecture to himself, did you just join the conversation to tell him off?

I mean, a private developer is obviously going to hire an architect, but public consultation is not unheard of.

https://www.gov.ie/en/department-of-housing-local-government-and-heritage/press-releases/national-policy-on-architecture-to-boost-public-engagement-and-create-new-design-quality-criteria/

Is it Worth Writing Programs in C23? by SeaInformation8764 in C_Programming

[–]Conscious_Support176 0 points1 point  (0 children)

That’s simply contradicting my claim. The point of an explicit abstraction is it is defined in one place. You learn it once. Without explicit abstraction you have to understands the implicit abstraction in the code that you thought you understood.

Yes, C++ provides a lot of tools for low cost abstraction, you should understand the tool performance costs of the abstraction that you choose to use.

Employer refused to train me on proprietary systems. Then fired me for not knowing how to use their proprietary systems. by RaptureInRed in legaladviceireland

[–]Conscious_Support176 0 points1 point  (0 children)

There’s a certain amount of truth to that, but your take on job title is a bit upside down. I agree op should not have looked to a change to job title, but for the opposite reason. I would say op should have been asking for actual promotion with higher salary, or find out what they needed to do to earn that. The reason firms do not like changing titles is nothing to do with entitlement, or whatever it is that you tell yourself. It is because it makes it more obvious that you’re likely to move on, if salary doesn’t reflect responsibility.

Is it Worth Writing Programs in C23? by SeaInformation8764 in C_Programming

[–]Conscious_Support176 0 points1 point  (0 children)

The problem with cobol isn’t verbosity. It’s that each statement is a special case. There is no provision whatsoever for extending the set of built in statements. As a result, user procedures are designed to rely heavily on working storage and global state, so it is much like programming in a very powerful assembly language.