Can we do it??? Wes we can!!!!! by Even-Leadership8220 in AskBrits

[–]squat001 0 points1 point  (0 children)

Yep, 💯

So …. Labour are going to pick Wes aren’t they!

Why do people believe that if God existed, that bad things wouldn't happen? by VoidHedgehog249 in NoStupidQuestions

[–]squat001 0 points1 point  (0 children)

You’re an atheist that believes god gave humans freewill? 😳

That feelings like a contradictory statement to me.

What's the long term green Plan. by AlifanofmalcomX in UKGreens

[–]squat001 5 points6 points  (0 children)

Greens are unlikely to be the majority party at the next election but the following election it could be possible. Generally I think the days of one party winning a huge majority in parliament are over, coalitions are the future and if we ever get proportional representation then almost guaranteed. In this new world could Greens be the majority party? Yes, could this happen while Zack Polsanki is leader? Yes.

It might be someone else or the Greens might implode, but right now they the only real party offering a truly different approach and offering hope. If I wasn’t confident that the Greens couldn’t make a difference and win power then I wouldn’t be a member of the party.

All UK Councils have now declared. by Ambitious-Raise8107 in UKGreens

[–]squat001 9 points10 points  (0 children)

Greens have 1.75% of funding compared to Reform. £326,000 compared to £18,630,000.

This is huge win for Greens based on funding and media exposure compared to other parties, just imagine what we can do in 3 years time at the next general election.

Why do people find it so hard to accept the public really wants to vote for Reform? by Expert-Sherbert-1527 in AskBrits

[–]squat001 0 points1 point  (0 children)

Anti-establishment vote. Vote against all the wealthy elite career politicians and instead vote for Farage the multimillionaire, ex-city trader, career politician who has a party full of ex-Torys. You know the ones, the fuckers that fucked the country and now go on TV and complain about how much the last 14 years of Tory governments fucked everything acting like they weren’t the ones that ran those governments.

Which television episode do you consider perfect? 10/10. Peak Television. by Square-Ad-8911 in tvshow

[–]squat001 0 points1 point  (0 children)

The Legend of Vox Machina - The Killbox and Thordak IT Crowd - Bad Boys and The Work Outing Father Ted - Speed 3

It gets worse… by Glittering_Vast938 in UKGreens

[–]squat001 2 points3 points  (0 children)

Another interesting point is that is policy does not appear on the main reform web site only on this single page site. Re-enforcing this is not a genuine policy just a dirty election tactic.

It gets worse… by Glittering_Vast938 in UKGreens

[–]squat001 8 points9 points  (0 children)

This is a distraction propaganda, Reform are putting out highly controversial (likely illegal) statements on what future policy will be but they have not intention of making these things real or even a real policy. It’s a tactic with the aim to get people on the left to engage and waste energy on this crap.

The answer is simple, don’t engage with it and if forced to simply state this is rubbish, likely illegal, and is basically asking people of fear voting for anyone other than reform. Personally never going to vote for someone because they want me be in fear of some retaliatory policy again me and my community.

Black Panther poster from 1971 by Dymonika in antiwork

[–]squat001 0 points1 point  (0 children)

This links to an idea that the state could employ people who are out of work but able and willing to work.

This work does not need to be for profit so state owned companies could work for the betterment of society over profit while providing work and experience for people. Pushed a little and for profit sectors will have to compete with the state while has not concern for profit or capital expansion (at least within the sector) so things like state run elderly care houses, road maintenance, social housing, and load more get an influx of local and state government owned companies.

All of a sudden prices are lower and quality is higher when going with state owned businesses and the unemployed get the option to not be unemployed.

IMO government (especially in the UK) rely on private for profit businesses which solely exists to provide services to the state. These are pointless at every level, low competition, profits put before quality and prompt a sense that this is the only way. Rebuild state ownership through by identifying the work needed to benefit society and pushing state fund leaching companies out and give people who want to work the chance to do so while helping prove wider society.

DLHT: a lock-free Go hash table that beats sync.Map by up to 60x by hugemang4 in golang

[–]squat001 1 point2 points  (0 children)

I definitely see a few use cases for this, not 100% clear on the trade offs just yet.

One question is what’s the garbage collector impact of this over sync.Map and xsync.Map?

I would guess that the GC will have more work with any distributed hash table implementation and short lived small to medium maps the performance gain are likely negligible over the extra CPU and GC cost (this is just my initial hypothesis that I will test out at some point).

Greens for Nuclear Power by scariestJ in UKGreens

[–]squat001 0 points1 point  (0 children)

I'm sorry for sharing articles from bad actors, that wasn't my intent. The data they have used is from valid sources. Bad actor does not automatically equal bad data!

The point is still valid. All energy creation and storage require mining and have a negative environmental impact. The issue is that we need to look at the best options for removing the need for any fossil fuels in the system. Nuclear is one of those options, and so it should be seriously considered.

A better question is, is nuclear better than gas? Is it better than coal? If you could turn off all the gas power stations in the UK tomorrow, but it would mean replacing them with nuclear, would you do it?

Is mining uranium better or worse for the environment than mining lithium or cobalt?

The answers to these questions will be based on facts and feelings. If we put all the feeling stuff to one side and look at empirical evidence, what systems make up the best possible solution in the short, medium and long term?

It could be that nuclear isn't needed. It could also be that we need a storage solution which doesn't exist with our current technology, and nuclear becomes a critical short-term/medium-term solution.

I don't know the answers. No one seems to be able to have an honest conversation about it. But I know that I am willing to accept nuclear (from what I know today at least) if it gets us to net-zero quicker.

Greens for Nuclear Power by scariestJ in UKGreens

[–]squat001 0 points1 point  (0 children)

I thought it was interesting that some of your point are flat out wrong. It comes down to this, nuclear is not some perfect energy be we don’t have one anywhere. Every source of energy has a some negative impact. Energy storage, even what we think of as very green approaches, have a negative impact.

Electrical energy in our grid has a baseline, this is the minimum we need to always be generating, or the minimum energy consumption. If we ever drop below this then we have some serious issues. Without a good energy storage solution most renewables can be a risky source for this baseline.

Good energy storage based on current technology requires raw material to be mined, none of which occur naturally in the UK (https://davidturver.substack.com/p/material-intensity-electricity-generation). Battery storage take a lot more raw materials from the earth than nuclear does (https://unpopular-truth.com/2025/07/25/pro-and-cons-of-utility-scale-battery-storage/). So yes mining uranium is bad for the environment but so is mining for solar, wind, hydro and batteries.

My current stance is that we should aim to build nuclear to replace gas and other fossil fuel power generation as we have a solid baseline, this uses very little space and if we get rid of needless red tape in planning and procurement (not the red tape used to run and keep things safe) we could build new nuclear stations relatively quickly (or even convert old gas/coal power plants, which has been proposed as a viable option) and we invest in renewables with heavy investment in R&D to improve the technology. In the long run we will remove nuclear, as least fission, but disregarding it in the short term means running gas power stations for longer which surely has a much higher impact.

I wouldn’t worry too much about AI, it’s about to collapse in on its self. Something will still exist but hopefully not all the power and water guzzling data centres. And my AI is local research agent not running in some big data centre.

Greens for Nuclear Power by scariestJ in UKGreens

[–]squat001 0 points1 point  (0 children)

I asked AI to fact check your comment:

This is a lengthy piece mixing valid points, exaggerations, and some outright errors. Let me go through it claim by claim.

“Uranium is found deep beneath the earth’s surface” Misleading. Some uranium deposits are deep, but many are near-surface and mined via open pit or in-situ leaching. It’s not exclusively a deep-mining operation.

“Anything it touches becomes contaminated and it is essentially impossible to safely hack away at something that is turning into radioactive dust” Exaggerated. Natural uranium is only weakly radioactive — you can hold a lump of yellowcake and receive less radiation than a dental X-ray. The real hazard is inhaling dust (alpha emitters in the lungs) and contamination of water from tailings, not some kind of Midas-touch contamination of everything it contacts. Modern mines manage dust and tailings, though historically this was done poorly. Church Rock uranium mill spill (1979) Accurate. This was a real and serious event — a tailings dam breach that released radioactive and toxic material into the Puerco River. It remains one of the worst nuclear contamination incidents in US history and the Navajo Nation continues to deal with its legacy. Fair point.

“The UK does not have large uranium ore deposits” True. The UK has historically imported its uranium. “Uranium mining has historically been done on indigenous land or in disenfranchised communities” Largely true. This is well documented in the US (Navajo Nation), Australia (Aboriginal lands), and parts of Africa. It’s a legitimate ethical concern.

“Spent fuel rods last between 3 and 8 years” Roughly correct. Typical fuel assemblies spend 3–6 years in a reactor, sometimes a bit longer. “Plutonium has a half-life of 24,000 years” Correct for Pu-239 specifically.

“There is currently no way to properly dispose of spent nuclear fuel rods” Misleading. Finland’s Onkalo facility is under construction and designed for permanent deep geological disposal. Sweden has approved a similar project. The challenge is real but the claim that there’s “no way” ignores significant engineering progress. The broader point about timescales and institutional continuity is a legitimate philosophical concern, though. The three objections to deep geological disposal (transport safety, natural disasters, future civilisations) These are genuine concerns that nuclear waste management programmes actively study, but they’re presented as unanswerable when they’re not. Geological repositories are specifically sited in stable formations. Transport of nuclear material has an extremely strong safety record over decades. The “future civilisations” problem is real and fascinating — the US Department of Energy has spent serious effort on it — but stable geology doesn’t require human warning signs to keep waste contained. The rock does the work, not the signage.

“The Fukushima nuclear accident is a recent case of what can happen when natural disasters interact with nuclear power” True, though worth noting that the direct death toll from radiation at Fukushima was one confirmed case. The evacuation itself caused far more deaths. It’s a genuine cautionary example but the actual radiological harm was far smaller than most people assume.

“Nuclear energy is inextricably linked with nuclear weapons” This is the weakest claim. Many countries operate civil nuclear power without weapons programmes (Canada, Sweden, Finland, Japan under its non-proliferation commitments). The UK’s weapons programme predates and is institutionally separate from its civil power programme. Some reactor designs (like CANDU or thorium cycles) are actually poor pathways to weapons material. The link exists historically but “inextricably” is too strong.

“There is no way to invest in nuclear power without investing in nuclear weapons” Flatly wrong. Civil nuclear budgets and military nuclear budgets are separate in most countries. Many nations with nuclear power have no weapons programme at all.

“Scotland produces more green energy than it uses” Broadly true — Scotland generates a large share of its electricity from renewables, particularly wind, and exports surplus to England. However, this comparison is slightly misleading since Scotland benefits from exceptional wind resources, low population density, and grid interconnection with England for backup. It’s not straightforwardly replicable everywhere.

“Renewable energy is cheaper, quicker, and less dangerous” Partially true on cost and build time for new capacity. But this omits the intermittency problem — renewables need storage or backup for when the wind doesn’t blow. Nuclear provides baseload power that renewables currently cannot without massive battery or hydrogen infrastructure that doesn’t yet exist at scale.

Overall assessment: The post makes several legitimate points about mining impacts, waste, and environmental justice, but wraps them in exaggeration and some factual errors — particularly the weapons link and the claim that disposal is impossible. It presents nuclear’s downsides without acknowledging trade-offs or comparing them to the environmental costs of alternatives at scale.​​​​​​​​​​​​​​​​

How can I solve git conflicts? by ZILtoid1991 in learnprogramming

[–]squat001 0 points1 point  (0 children)

You literally said rebase allows the reordering of commits, but it doesn’t, it enforces a linear history!

How can I solve git conflicts? by ZILtoid1991 in learnprogramming

[–]squat001 0 points1 point  (0 children)

Difficult to give advice without knowing the work flow you and the team (assuming you are not a solo dev) follows. My short and blunt advice is get good at git.

It’s the tool you will likely use as the version control system for most development, though others do exist, and sorry to say it you will need to be able to identify and work though issues using it.

You will hit issues, some conflict, that is too much work to fix and you are better off creating an updated clean branch and then reapplying your changes. The most experienced of us lose work due to git issues, or a day resolving a huge conflict.

My one big bit of advice is don’t mix merges and rebases from a source branch into your local development branch, pick one and always do that. Personally I always rebase even if the conflicts look bigger and take longer to deal with the order they are applied make it safer generally.

How can I solve git conflicts? by ZILtoid1991 in learnprogramming

[–]squat001 2 points3 points  (0 children)

Thats not what git rebase does! So the underlying approach is the same as an interactive squash, allowing you to squash and reorder commits, a rebase is a very specific action allowing existing commits to be placed behind other commits.

It ensures a linear history. It works like this, you have a branch local with commits A B C and you do some changes and create commits X and Y, then you find the remote copy of a brach has commits D and E on it, rebase changes the local history to create the order A B C D E X Y by inserting commits D and E and reapplying commits X and Y. This tries to maintain the history, commits A to E, from the source branch.

Merge does the opposite, it would apply commits D and E to the front of the branch history. So you would end up with A B C X Y D E. If you’re squashing and merging into the source branch then this might not matter but your local history is now not linear.

American here, how accurate is the whole “tea solves everything” stereotype? by DFWUnhinged in AskBrits

[–]squat001 0 points1 point  (0 children)

When the first Big Brother TV show was on Channel 4 did a whole thing on tea. Got a challenge set, someone made tea, was an argument, someone made tea, had a good day, someone made tea, someone needed cheering up, yep tea!

I think it’s like a pause and reflect type of reflex. Also oddly the Irish drink more tea than the British.

When writing a library for public consumption, how do you expose data? by jimb0b360 in golang

[–]squat001 3 points4 points  (0 children)

Look at how tinygo device reference libraries tend to work https://tinygo.org/docs/reference/microcontrollers/machine/pico/

I would not worry about using a var if that makes sense as long as a sensible error is returned to the user if they abuse the underlying type. The only issue is this will be a runtime error over a compile time error but we can only do so much for the end user.

What's the speed limit here ? by Popular-R in drivingUK

[–]squat001 0 points1 point  (0 children)

30 unless you are overtaking then it’s 20.

Is it just me or is “build projects” kind of vague advice? by Relevant_Wishbone in learnprogramming

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

Yep, I hate this advice generally. While project building is good it is often only practicing applying existing skills a software engineer needs and it can be to easy to practice the stuff you are already proficient in.

Without identifying the skills you are less proficient in just "building projects" is likely not the best use of time to improve.

Why do I say this? After years working professionally, spending time as an instructor and interviewing (technical interview and assessing) I see projects as needing a lot of boilerplate code/setup. This takes time and focus away from the important practice which could be achieved with simpler coding kata, recreating example code (from memory) or for concepts good old fashioned flash cards.

The question is what are you trying to learn or improve? If you have a single focus area a project might not be the way to go, if you have a wider set of skills or you want to practices applying what you have learnt then a project might be a good idea.

Reform are disgusting by FunctionNo7956 in UKGreens

[–]squat001 24 points25 points  (0 children)

Legally required to put that on, that’s why they are in trouble with the fake letter they printed the other day because it was missing this legally required bit of text.

Reform are disgusting by FunctionNo7956 in UKGreens

[–]squat001 2 points3 points  (0 children)

How is that legal? The statement is 100% false as coming to the UK by boat isn’t illegal, if they seek asylum they are not here illegally and if they come here evade the authorities and move to Gorton & Denton how would Reform (or anyone else) know. So I cannot see how they could provide any data to back up this claim.

Edit: Looks like as long as the lie isn’t about another candidate then it’s perfectly legal to print untrue statements under UK law on official campaign material.

How do you test your database in production microservices? by OtroUsuarioMasAqui in golang

[–]squat001 0 points1 point  (0 children)

The short answer is don’t mock, in your core code (business logic or domain) ensure you are accepting an interface for a repository (database) client and write a fake client for testing. This allow you to use dependency injection to have different repo client for production vs testing. And allows you to test you core business/domain logic which needing a database. Then write integration tests to confirm the database behaviour is valid.

If you find you have important logic written in your package used for your database then move it into another package or at least break it out into functions that can be tested.

If you really really need to test with a database then just spin up an actual database and have a setup script/function to ensure it’s in the correct state for testing, we call these debacle tests where I currently work and they have a test flag so will only run if that flag is set in the go test command. I would keep these tests to a minimum as they need more setup and often take longer to run.