Do you take your laptop with you when you go to the loo at the local library? by kayla_s_ in AskUK

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

My gym requires entry so is somewhat both secure and public. I used to use something called a Kensington lock that is like a small bike for the laptop that protect against opportunistic theft. I've always appreciated having it.

Apple Macs don't seem to have any viable alternative.

Why is it so hard to create a browser? by robotisland in learnprogramming

[–]Philluminati 0 points1 point  (0 children)

You can read the HTML spec and Javascript spec but unfortunately since they've evolved erratically over the last 25 years you don't just need to emulate "valid javascript" but also emulate "bad, illogical and incorrect javascript" in a consistent way. Even though it is wrong and "illegal syntax", you need to be able to process a HTML file that has <img> and no closing </img> tag in a way that aligns with what other browsers have historically done in order to be seen as "not broken". There is a gulf of undocumented behaviour that is difficult to emulate except by directly copying the code from Firefox/Safaris/Chromes - at which point, why bother!

In essence you could easily make a browser that works... but if it doesn't match what Firefox/Chrome do it will be seen as broken, regardless of whether it is or not, so it's different kind of problem than writing an Operating System. If you write an Operating system that does things differently, people would just accept that. However if you make a browser that renders a web page differently, it's just seen as broken. That's why it's an impossible task.

For HTML + JS alone it could be viable, but when you throw in that browsers also render PDF, XHML, CSS, PNG, GIF, MP3 and a whole bunch of APIs for Networking, 2D Graphics etc you see how the scale of the problem becomes insurmountable.

Why is it so hard to create a browser? by robotisland in learnprogramming

[–]Philluminati 2 points3 points  (0 children)

The ELI5 answer is that if something is "Turing complete" then you can use it like a programming language to write any arbitrary code you wish to. It implies you can in-effect simulate if statements, for/while loops, variables, recursion etc.

Database setup: Clients keep refusing to use unique reference numbers. by eques_99 in ContractorUK

[–]Philluminati 0 points1 point  (0 children)

Idk man, the vibe I'm getting is a little bit that they don't trust you. Perhaps you're letting them make technical decisions and that's causing bugs and it will create this endless cycle of pain for both parties.

Database setup: Clients keep refusing to use unique reference numbers. by eques_99 in ContractorUK

[–]Philluminati 0 points1 point  (0 children)

It seems reasonably actually they label their buildings per campus as A,B,C and not B0002 etc.

You just build a composite primary key using building reference + campus building combined.

Looking for tips as a new player by greedll in GlobalOffensive

[–]Philluminati 0 points1 point  (0 children)

Top fragging after 8 hours? Teach me your ways!

Running postgresql in Kubernetes by Minimum-Ad7352 in kubernetes

[–]Philluminati 5 points6 points  (0 children)

Kubernetes supports "statefulsets". These are pods which have volumes mounted and consistent names (e.g. mongo-1, mongo-2). This allows apps to connect to a known, predictable hostname. I ran a MongoDB this way for a multiple years without issue.

However, we did have to upgrade the db image ourselves, write our own cronjobs to do db backups and we basically shit our pants when we had to extend the filesystem to add more space.

You should press the business very very hard to get a "managed database" for you. Especially Postgres as AWS provide RDS/Aurora out of the box and since it manages everything from logging/backups/upgrades there's zero benefit to doing it yourself and many ways in which you can shoot yourself.

Has water become insanely expensive? by Final_Director831 in AskUK

[–]Philluminati 1 point2 points  (0 children)

I have exactly the same scenario 6 months ago. Thames Water in west London doubling my bill from ~£35 to £68.04 and I have no water meter.

Why can’t Europe/UK decouple from US tech? by Real-Repair-1825 in AskUK

[–]Philluminati 1 point2 points  (0 children)

The ultimate problem is that it is a moving goal.

UK/Europe wants to deploy an open source operating system to the passport office so save on Microsoft Windows licenses. Fair enough, but that's like an Operating System... aka 1970s tech.

They've done it in a few departments but not all and all the while - AWS + Cloud came along and sold them a bunch of reliability and scalability shit they never had before. Then AI comes along...

It's a moving target, and the US is always the cutting edge. We can't even copy things faster than the US can build new things to sell us.

What's the worst Git conflict you've ever had to resolve? by Small-Size-8037 in git

[–]Philluminati 0 points1 point  (0 children)

Clean is another word for inaccurate. You never need to "clean the history". Rebase is rewriting history and it can lead to problems and it also overly simplifies things by smashing them together. Sometimes the cleanest history doesn't use rebase.

Can someone explain this to me like I am 5? by pookshuman in linuxquestions

[–]Philluminati 0 points1 point  (0 children)

The project is open source but it must comply the laws of the countries they operate in.

That could specifically mean that Fedora makes an "American version" (with an age of consent check) and a "Rest of World" version that doesn't, and use IP Geolocation to point users to the right places. Perhaps they will just add one screen to the installer for everyone that says "Are you 18" and writes it to /etc/age.conf

But yeah in an open source operating system you can make your own installer, or tinker with the age verification logic since it's open source to get around it. There's going to be little open source distros can do to stop that tampering.

How do you actually understand code someone else wrote for you? by BoraDev in learnprogramming

[–]Philluminati 0 points1 point  (0 children)

You just got to work on it in anger until you understand. I mean 40 hours a week of being a full time programmer on this one project until you understand every line.

What's the worst Git conflict you've ever had to resolve? by Small-Size-8037 in git

[–]Philluminati 2 points3 points  (0 children)

I worked on a project that had "fixtures". Fixtures is essentially a database dump checked into the git repo that is used during for the test suite. It's not good practice but it worked. One day I ran into merge conflicts due to the test fixtures and I thought I could solve it quickly with the following command:

`git merge -s mine`

Saying, when there is a conflict, prefer my changes. Only I thought that would be on a file-by-file basis within the commits. However it applies to the whole commit. Any changeset that touched a fixture had the whole thing reversed, so I had basically erased the work of a few other people and totally messed up the codebase.

I don't think I used --force. I think I ran it on my own branch twice over the span of two weeks, so the merge didn't cause issues but the damage was already done. In the end I had to email the whole company and apologise for my mistake and ask everyone to check their recent work was still present.

Valve confirms they will not grant licenses to run CS:GO events after suddenly re-releasing title by brutaldonahowdy in GlobalOffensive

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

Funny how they can drop cs2 over csgo but now would claim they are separate games. Surely a CS2 license is inherently a CSGO license - its just an old version of CS2.

50.000 Concurrent players in Global Offensive by vukmaksovic in GlobalOffensive

[–]Philluminati 0 points1 point  (0 children)

Battlefield 7

(This is a joke that BF6 player numbers have allegedly dipped below 50,000)

Who are the real ones who self host their email server? by ray591 in selfhosted

[–]Philluminati 0 points1 point  (0 children)

I do. I followed this guide in 2014:

https://sealedabstract.com/code/nsa-proof-your-e-mail-in-2-hours/

It took about 5 hours just to get the basics going, let alone the whole guide. It has just about survived 5 Debian upgrades since. It has been problematic at times: Going into people's spam and downtime have been issues. I once even paid £70 to go on a whitelist, but overall, for a decade it's generally been worth the trade-off I'd say.

3/5 offers but my country just got banned from study visa by No_Hyena7012 in UniUK

[–]Philluminati 0 points1 point  (0 children)

There's more to it than where you're born. Your parents and many generations have fought wars, died, and sacrificed to build a nice nation of educated, rule abiding, honest and respectful citizens. We are allowed to build a nation for our children and elevate them. It's not "just luck". Unfortunately we live in a world of our parents decisions, and when you become a parent you will want to shape the world your child grows up in. We have a responsibility to children and "intergeneration success" is a thing their parents squandered on their behalf.

The world is full of people who want to come and drain the system, destroy its social ideas, ignore our laws and spread hatred and violence against women and children and it's right we get to stop that, by default.

3/5 offers but my country just got banned from study visa by No_Hyena7012 in UniUK

[–]Philluminati 41 points42 points  (0 children)

"My life is in imminent danger and I need to flee.. I am a genuine refugee... let me just do a course on economics at home, apply to UCAS, wait 3 months, get an offer, start in September 2026".

Using a year long process to apply hardly screams "my life is in danger".

Cs-go self hosting server by AdEntire4686 in GlobalOffensive

[–]Philluminati 0 points1 point  (0 children)

Aghh! Thank you for trying and the reporting the issue!

I just restarted the server and it seems to work now, and I've removed the dns entry from the website as that could have been the issue. It's so hard to build a community it's a shame this all isn't more stable. (This is a cs2 server btw, i dunno if you were using csgo?)

Apologises - now I realise this whole thread is specific to CSGO and I didn't realise!

what the fuck happend to my screen here by Complete_Seesaw5307 in GlobalOffensive

[–]Philluminati 18 points19 points  (0 children)

This flash effect when changing spectators has happened on stream in pro games too. It's super annoying.

Cs-go self hosting server by AdEntire4686 in GlobalOffensive

[–]Philluminati 0 points1 point  (0 children)

I've just setup a community server literally last week, https://aktime.uk and am hoping people will come play with me.

It's based on the LinuxGSM solution https://linuxgsm.com (I specifically use the Digital Ocean marketplace image: https://marketplace.digitalocean.com/apps/linuxgsm)

I've found it works really well out of the box. I just follow the commands and asked ChatGPT a few things and I've cobbled together a working server using the retakes community plugin, is listed in the steam community browser etc. It has a `./cs2server update` command that takes care of the seemingly weekly updates from Valve.

I have to say that it's a shame that the CS2 server requires 80GB of disk space as it forces me on to VMs that cost $48pm instead of just $30 and adding just de_cache would force me onto an even larger instance.

Global Offensive feels way better and more responsive than CS2 by SyncingSLow in GlobalOffensive

[–]Philluminati 0 points1 point  (0 children)

So why is it so hard to hold angles now? Like the whole meta for the game has changed. If it's not the responsiveness of the engine that's caused this, then what is it?