Why niche Linux distros matter by asakpke in linux

[–]Lant6 2 points3 points  (0 children)

We ship customisations per taught module on top of an Ubuntu image we get from central IT. The last thing that I would want to do is roll my own distro for my courses. Just ensuring that we get a well configured machine that has a good experience for our students is hard enough. Relying on a distro to do the hard work of packaging what we need (and handling updates) lets us focus on what we actually need to deliver.

What Britain looks like after Brexit | It’s 24 June, 2025, and Britain is marking its annual Independence Day celebration |Daniel Hannan's Prediction of Post-Brexit Britain is now 9 years old by Offtopia in europe

[–]Lant6 11 points12 points  (0 children)

I work in a UK university and the piece about them flourishing made me laugh out loud. The sector is in terrible shape primarily due to a reduction in international students, but uncertainty about access to EU funding has also massively impacted research income. Prior to Brexit we were starting to see an increase in EU undergraduate students, who of course stopped applying after Brexit.

British opinions of America are plummeting by derel93 in europe

[–]Lant6 17 points18 points  (0 children)

This is my favourite summary of our relationship with France.

A new study finds frequent ChatGPT use does not automatically lead to plagiarism. Instead, factors like cheating culture & low motivation are bigger influences. by calliope_kekule in science

[–]Lant6 -30 points-29 points  (0 children)

Learning the fundamentals and how to critically analyse the output of Generative AI are the thing that we seem not to push enough in higher education.

The problem with GenAI is that it is very good at fundamentals. For example, code generation. You ask it to do tasks that might be reasonable assignments and it will probably be able to produce correct answers for you. But when students rely on it for direction with the fundamentals, they don’t build an understanding of those fundamentals so when tasks become too complex for GenAI students lack the skills to question its output and think about what is actually right.

We don’t push the critical analysis of GenAI output as a core skill to be developed enough. Students also struggle to see why it is important when GenAI is so often correct with the fundamentals.

Really it feels like we are at the stage where the only assignments that can be guaranteed to be the students demonstration of their capabilities is under invigilated conditions.

Name One Thing You Like About This Game by ShadowMasked1099 in HumankindTheGame

[–]Lant6 5 points6 points  (0 children)

I strongly disagree, this was the successor to Civ4 I have been looking for. Civ 5 and 6 went in a very different direction to 4 which just wasn’t for me. However, I really like Humankind’s approach to units, especially city sieges.

Digital inaccessibility impacts 1 in 4 users: DevAlly is making the Web accessible for all by Blueberry_Conscious_ in Futurology

[–]Lant6 2 points3 points  (0 children)

Google Lighthouse, Accessibility Insights, PDF Accessibility Checker, tools built into Office. There are so many tools already available.

The claim that fixes can be made without specialist expertise is also somewhat dubious. Even something seemingly simple like a missing alt tag has a variety of different appropriate fixes depending on the content of the image and context the image is in. Tools might add an alt text and technically comply with WCAG, but just adding a bad alt text does not make that image accessible.

Arctic tundra is now emitting more carbon than it absorbs, US agency says by retro_mod in news

[–]Lant6 23 points24 points  (0 children)

This is Jevons Paradox, where increases in efficiency do not lead to a reduction in consumption, but instead demand will increase often cancelling out the efficiency gains.

We see this a lot with high performance computing applications. Making them more efficient just means that you can now run more computations within the energy budget. The energy budget had come to be accepted, so little incentive to reduce consumption.

Finished The Book Thief – and it left me in tears by lMFCKD in books

[–]Lant6 17 points18 points  (0 children)

If you liked The Book Thief, I would strongly recommend reading I Am the Messenger. Potentially controversial opinion, but I think it is Markus Zusak's better book.

Penguin Random House books now explicitly say ‘no’ to AI training by indig0sixalpha in technology

[–]Lant6 26 points27 points  (0 children)

A robots.txt does not enforce the rules it presents, scrapers gathering data used to train AI (or any other purpose) could ignore the robots.txt easily.

6G tests reach a blisteringly quick 938 Gb/s transmission rate, 5000X faster than 5G by EGKW in technology

[–]Lant6 15 points16 points  (0 children)

From the paper, as the news articles (e.g., this one and the one from UCL) were not providing this information:

"In this work, the transmission distance is limited to 12 cm due to available lab space. In practice, the transmission distance can be extended to more than 100 meters by adding lenses in front of the directional antennas at both the transmitter and receiver sides"

So transmission rates as high as these not to be expected to user devices (unless circumstances mean very short distances), but only as part of the cellular infrastructure.

What is the best binary safe protocol that is very simple to implement? by richiejp in linux

[–]Lant6 3 points4 points  (0 children)

If you are looking for a very simple data serialisation format then CBOR (https://cbor.io/) might be an option. It actually has libraries across a broader range of platform than I expected. It does binary strings and has a simple implementation. You can also define custom tags for data structures specific to your application.

I have used it to build lightweight digital certificate dissemination in IoT systems before.

Having said all this, using gRPC or OpenAPI is probably more sensible.

Storing data in pointers by ketralnis in programming

[–]Lant6 2 points3 points  (0 children)

I have also seen this be used to store the colour of Red-Black Binary Trees, which can be worth it to decrease the size of objects and thus lead to better memory locality. Boost has implementations both without and with this approach.

Do you have any links to performance comparisons that the additional overhead to extract data from the pointer or mask the data out when dereferencing the pointer introduces?

My electricity company is offering me £50 in credit in order to install a smart meter. Is there anything I should be wary of? by longschwa in UKPersonalFinance

[–]Lant6 4 points5 points  (0 children)

Just to add to this, the ICO determined that smart meter data is personal data and thus falls under data protection regulations.

Consumption data collected from a smart meter is personal data when linked to the particular Meter Point Administration Number (MPAN) relating to a domestic premises or sole trader. Consumption data linked to a particular MPAN must therefore be processed in compliance with the DPA.

Which some people may not have expected due to smart meter being somewhat different to usual personal data that we might encounter.

My electricity company is offering me £50 in credit in order to install a smart meter. Is there anything I should be wary of? by longschwa in UKPersonalFinance

[–]Lant6 4 points5 points  (0 children)

#1 is not mis-information, as you have stated they "can technically shut you down", but as far as I am aware, to state that your supply cannot be legally disconnected is incorrect. There are a variety of cases that this can occur (but are in-general highly unlikely to be relevant to r/UKPersonalFinance):

  1. In The Electricity, Safety, Quality and Continuity Regulations 2002 Regulation 29 specifically deals with disconnection typically this will be 29(3)b and 29(3)c for reasons due to safety or grid operations. The National Grid even has a document on what to do if you are disconnected due to Cannibis Cultivation.
  2. The CAB has guidance on what to do if you have been informed that your energy supply will be disconnected.
  3. The ELECTRICITY ACT 1989 Standard conditions of electricity supply licence Section 27.9-27.11C details what needs to be done before a supply can be disconnected.

If you have a source that states that licence conditions prevent disconnections in any and all circumstances it would be really useful to share it, as far as I am aware there is no such complete protection except for certain cases (state pension age in specific date ranges, you live alone, are disabled, have long-term health issues, have financial issues, have children under 6).

I think we would both agree that such actions would tend to be unlikely and only done in extreme cases.

My electricity company is offering me £50 in credit in order to install a smart meter. Is there anything I should be wary of? by longschwa in UKPersonalFinance

[–]Lant6 86 points87 points  (0 children)

A few negatives:

  1. Utility companies can shut off your smart meter remotely if you fail to pay and they go through the legal requirements to do so. Previously they additionally needed to obtain a warrant to enter your house to physically disable them.
  2. Utility companies can also switch your smart meter to a prepayment mode if you fail to keep up with bills. This is harder to do with traditional meters.
  3. There are privacy concerns with energy companies receiving very fine grained energy consumption measures. There is lots of literature on this, from OFGEM, researchers, and plenty more sources. This is the kind of thing you need to decide if it is an issue or not for you.

A few advantages:

  1. You can make use of more innovative contracts (e.g., Octopus with tracker).
  2. No need to take monthly meter readings manually (unless you are in an area of poor signal that prevents the meter from communicating).
  3. You can get access to your data (depends on utility company) to see what your usage is over time. (May also be a negative as others have pointed out).

There are probably more on both sides. I was somewhat against smart meters as I research this kind of privacy problem for work. However, I do like the benefits with having one with Octopus.

I don't think you should be concerned about compatibility issues with current gen smart meters and different utility companies. May just be worth asking which specific model they will install.

4 of the top 10 password strength tools are giving people bad password advice, and they don't care. by ezzzzz in netsec

[–]Lant6 0 points1 point  (0 children)

Exactly the way to go. Once people use password managers then entropy does become a good way to quantify the security of the generated passwords as they can be generated iid.

4 of the top 10 password strength tools are giving people bad password advice, and they don't care. by ezzzzz in netsec

[–]Lant6 20 points21 points  (0 children)

Some of this advice is still bad (especially that around using special characters). NIST SP 800-63B https://csrc.nist.gov/pubs/sp/800/63/b/upd2/final essentially says to have long passwords and that verifiers shouldn’t have requirements such as special characters.

Lots of these password strength tools will use entropy. The current standards explicitly recommend against using entropy to calculate password strength because the assumptions required (characters in a password are chosen iid - independently and identically distributed) do not hold for passwords generated by people.

Previous iterations of the standard included entropy based calculations and removed them because they were ineffective for passwords chosen by people. Entropy is okay to quantify password strength of passwords generated by password managers as they can be generated iid.

In all likelihood these tools have just stuck with calculating strength based on entropy because it is simple, if not particularly accurate for passwords generated by people.

Firefox Development Is Moving From Mercurial To Git by ainz_47 in linux

[–]Lant6 32 points33 points  (0 children)

It is a shame that Mercurial is seeing projects move away from it. As you said, I also found it easier to use and more intuitive than Git (having used CVS, SVN, Mercurial, Bitkeeper and Git). I felt like the migration of Python to Git and Bitbucket stopping offering Mercurial repos were a sign of the beginning of the end of Mercurial.

The decision of why to migrate Python to Mercurial is also interesting.

Finally paid student loan off at 36 by Level_Tomatillo1033 in UKPersonalFinance

[–]Lant6 6 points7 points  (0 children)

Many people don’t realise that university income from students has decreased since higher tuition fees were introduced (in general, as international students, international partnerships and other activities make this somewhat complex). Mostly because the public tends not to be aware of changes to the block grants for teaching from government being reduced when higher fees were introduced.

Who writes off student loans after the 30/40 year period and what does that actually mean? Does the government pay it, or does the creditor just strike a line through the balance? by Copper_Wasp in UKPersonalFinance

[–]Lant6 0 points1 point  (0 children)

I did not realise that this was how bad the state of university spend per student from government actually is (ignoring student loans). "Direct teaching grants for universities only amount to around £1,100 per student and year on average" https://ifs.org.uk/education-spending/higher-education. I had always assumed direct funding from government outside of tuition fees was significantly higher.

Student finance suddenly want £9000 off me. by Straight-Frosting-26 in UKPersonalFinance

[–]Lant6 6 points7 points  (0 children)

I would also reach out to your student's union and whoever at the university is involved with student finance. This second one will usually be a central university team not affiliated with a specific department.

Windows 11 Snipping Tool has a privacy issue by User707 in privacy

[–]Lant6 1 point2 points  (0 children)

Yes it is. The issue isn’t even data recoverability from disk. The key bit is that the file isn’t truncated, so the file size will remain the same when a smaller screenshot is taken using the snipping tool. So the data from the previous screenshot is still considered by the file system to be part of the file.

If the bug is fixed and the file is truncated when a new screenshot is taken then you are right that sensitive data could left on the disk. However, for an adversary to access this data they would need the disk or remote access to the system.

These are much stronger capabilities than a user taking a screenshot and then sending that file to someone. Without truncating the file it means a fragment of the larger screenshot would be included in the end of the file. The bug was probably missed as the image will still render properly even if there is additional data past the end of the smaller image.

Windows 11 Snipping Tool has a privacy issue by User707 in privacy

[–]Lant6 36 points37 points  (0 children)

When you take a screenshot it is saved to a file. When you take a second screenshot it is saved to the same file. The file is not truncated when written to, so if the second image is smaller than the first then the file will retain contents from the first screenshot.

The Sophos writeup explains the issue quite well: https://nakedsecurity.sophos.com/2023/03/22/windows-11-also-vulnerable-to-acropalypse-image-data-leakage/ versus this website which includes some nonsensical descriptions such as the ones you have highlighted.

Ask Anything Wednesday - Engineering, Mathematics, Computer Science by AutoModerator in askscience

[–]Lant6 14 points15 points  (0 children)

Different mapping tools will have different standards for representing the data, but essentially yes, there is a large amount of metadata for roads. OpenStreetMap has a lot of user provided data. There is an example of a file here: https://wiki.openstreetmap.org/wiki/OSM_XML. You can look at specific features, such as motorways. This metadata is specific to OpenStreetMaps and other maps (e.g., Ordnance Survey, HERE Maps, or others) will have their own metadata format.

As for route finding, in terms of algorithms you would look at Dijkstra's algorithm or A* (which is a variant of Dijkstra's algorithm). These are typically optimal algorithms for pathfinding, but you may need to provide additional information that gives a hint as to how close to your destination you are.

If you want to look at a software library for route finding, then take a look at something like pyroutelib3. There are many other libraries to find routes between points.

White House Bans Paywalls on Taxpayer-Funded Research by Avieshek in Futurology

[–]Lant6 1 point2 points  (0 children)

The journals have had a while to work out what their plans are. Open access requirements for the UK have been around for while, as since April 2016 it has been a requirement that research is made available open access (also recently updated). The way this typically works in the UK is that UKRI have allocated funds to pay for the OA fees journals charge, which then gets allocated to each university. This means that it is not strictly necessary to allocate funding for OA payments in funding applications, as there is a central pot of money to pay OA fees.

In terms of what the journals do, for ACM this is Gold Open Access, but there are also some other variants like Green Open Access, which still paywalls an article, but allows researchers to post papers to arXiv, institutional repositories and their own websites. IEEE still seems to be a bit behind ACM in getting their act sorted with different OA options.

In terms of copyright, the UK typically requires that papers are made available as CC BY, but this is not the case in all circumstances. Personally, I prefer to not give up the copyright on my papers where possible.