Francis Windram

Francis Windram

@franwin.co.uk

Postdoc, Computational ecologist interested in spiderwebs, biological traits, imaging, vector-borne disease and good solid R code. www.franwin.co.uk for more details. he/him. Views my own.

80 followers104 following111 posts

While AI can be really helpful for coding, I have seen a serious uptick in stupid UI fuckups in the last few years which I do strongly suspect is related. Today I found #1 an insurance form that just didn't work and didn't save quotes. #2 A "message us" button that does nothing. But best of all...

View full thread

Or...I suppose...they're facing such catastrophic cuts that the concepts of unit testing and basic QA are either completely ignored or are again replaced by AI that fundamentally gets it wrong. If my code simply doesn't work, my paper might get retracted or my package removed...

But companies who we pay real money to for real services seem to be completely ambivalent to actually providing functional support or websites.

While AI can be really helpful for coding, I have seen a serious uptick in stupid UI fuckups in the last few years which I do strongly suspect is related. Today I found #1 an insurance form that just didn't work and didn't save quotes. #2 A "message us" button that does nothing. But best of all...

#3 AN "ENTER YOUR BIRTHDAY" FIELD THAT LITERALLY STARTS TICKING DOWN WHEN YOU ENTER IT. YOU ENTER YOUR BIRTHDAY AND BY THE TIME YOU CLICK "CONFIRM" YOU ARE 4 YEARS OLDER! This is absolutely ludicrous. Either front-end devs are just getting worse, or they are being replaced by shit coding agents.

Francis Windram reposted

Replying to @adw.bsky.social

There seems to be evidence, at least from lucid dreams, that the experience is in real time because communication is possible with dreamers (I find this mindblowing). Some report that they hear the signals as coming from objects in the dream (a radio, say). www.sciencedirect.com/science/arti...

sciencedirect.comReal-time dialogue between experimenters and dreamers during REM sleepDreams take us to a different reality, a hallucinatory world that feels as real as any waking experience. These often-bizarre episodes are emblematic …

Francis Windram reposted

Francis Windram reposted

I made a filterlist for uBlock Origin to remove Generative AI features on websites. Includes blocks for * Google AI Summaries * YouTube Ask button & chat summaries * GitHub Copilot * Facebook AI chat * X's Grok buttons * Deviantart DreamUp * Booru AI images * And more github.com/Stevoisiak/S...

An #rstats question for package developers: If my package maintains a cache to minimise data downloads, is it sensible/preferred to put an automatic cache cleaner (delete anything older than x days) in .onLoad, or to just mostly leave cache maintenance to the user (with appropriate helpers)?

I struggle with this because on one side I don't like doing things under a user's nose, but on the other I really don't like the idea of just eating up space on a user's drive until they interact with the cache-maintenance helpers (which they may not find).

I could (and possibly will) make it so that any function that interacts with the outside world automatically cleans the cache, but I don't _really_ love that either as then a function that interfaces with one DB might clean the cache relating to another.

Francis Windram reposted

{ggview} can print plots to Viewer (Rstudio or Positron) with true scaling. Adjust plot settings and see the final proportions immediately. Save the plot once 👌 e.g.: ggplot(...) + ggview::canvas(width = 220, height = 220*2/3, units = "mm", dpi = 300) per @nrennie.bsky.social #datavis #rstats

Ethan Landes@ethanlandes.bsky.social

Now my favorite part of writing any paper: repeatedly recompiling ggplot graphs to get the text size right #rstats

Francis Windram reposted

This would very quickly become my favourite game I reckon. As a bonus it should very occasionally throw in a problem that seems easy and actually was a fiendish open question in computer science or mathematics for 50+ years.

Libby Heeren@libbyheeren.bsky.social

Share your coding dreams! I used to have nightmares where I was in the center of a dark, scary forest, and I had to code to escape, each coding success taking me closer to the edge and freedom. If I had an error, I'd appear back at the center and have to start over. I never got out. #rstats #databs

Things that you as a data scientist can replace the term "artificial intelligence" with in stupid marketing text to stop your brain detonating E.g. "We will use advanced methods such as <BLANK> to track sewage spills." - Basic regression models - Interns - The CEO's best guess - An actual fish ...

View full thread

- Scattered pages of notes - Balls dropped from height onto pieces of paper - High school science demonstrations - Twitch chat messages - Numerology - The wikipedia game - Syncretic religious beliefs - Arcane and disturbing incantations - Ants - Foreign influence campaigns - Community shaming

- Lost scrolls - The missing works of Arthur Conan Doyle - Bullet holes in bombers that got back to base - Bayesian...stuff - Dream interpretation - Random fluctuations in atmospheric noise - The trajectory of the sun across the sky - Homeopathy - The kind of computer vision we've had for decades

Things that you as a data scientist can replace the term "artificial intelligence" with in stupid marketing text to stop your brain detonating E.g. "We will use advanced methods such as <BLANK> to track sewage spills." - Basic regression models - Interns - The CEO's best guess - An actual fish ...

- Reinforcement learning from the '50s - A dartboard in the break room - An octopus with some balls - Dice-based RNG - Reddit comments - The howls of the damned - Drunken antics - Hope and prayers - A pen and paper - Excel - The memory of a small boy from Manchester - A Commodore 64

I feel genuinely ashamed that this wooooshed me for a full two minutes before I realised they weren't serious. I need more coffee before reading exceptionally funny posts :)

Ben Harrap@bharrap.bsky.social

Introducing my new #rstats package {kitchensink} Not sure what the right model to fit is? Should you allow random intercepts, slopes, both? What do Bayesian methods say? Just call {kitchensink::throw} to fit every possible model and see how your results differ!

Right, with the advent of the recent government whitepaper "Restoring Control Over the Immigration System" (which already has some pretty loaded language in the title), it's worthwhile looking a bit at some of the detail of the student section. It's some "interesting" statistics presentation.

View full thread

In 100. the authors unintentionally spell out the reasoning for these increased visa numbers: uncapped master's degree tuition fees (see above). They also cynically fail to acknowledge the ~85% fall in dependants between 2023 and 2024. Point 101 is a nothingburger and I won't waste your time.

Right, with the advent of the recent government whitepaper "Restoring Control Over the Immigration System" (which already has some pretty loaded language in the title), it's worthwhile looking a bit at some of the detail of the student section. It's some "interesting" statistics presentation.

View full thread

This is very cynical, as it is purely the opinion of the authors that students are using the asylum system in this way, but they present it as fact. It's manipulative, dangerous anti-immigration rhetoric. Again the authors should be ashamed. If you are in policy, endeavour to do better than this.

Right I've got to get back to work, but points 106-110 are also pretty heinous. Remember to always read the source material, don't trust those looking to divide us, and push for properly and sustainably funded higher education.

Right, with the advent of the recent government whitepaper "Restoring Control Over the Immigration System" (which already has some pretty loaded language in the title), it's worthwhile looking a bit at some of the detail of the student section. It's some "interesting" statistics presentation.

View full thread

Additionally, graduate visas only commenced in their current form in January 2021, so this graph could be considered misleading as this point is not highlighted. Also when a government introduces a visa, it is expected that said visa will be used? You can't then use that as an argument against them.

103-105 are pretty dire. Specifically asylum is an internationally protected obligation of a state. There is little reason to claim asylum when you are already living legally in a country, that doesn't mean that you would be safe if you went back home then. Would you claim asylum if you had ILR?

Right, with the advent of the recent government whitepaper "Restoring Control Over the Immigration System" (which already has some pretty loaded language in the title), it's worthwhile looking a bit at some of the detail of the student section. It's some "interesting" statistics presentation.

View full thread

In 100. the authors unintentionally spell out the reasoning for these increased visa numbers: uncapped master's degree tuition fees (see above). They also cynically fail to acknowledge the ~85% fall in dependants between 2023 and 2024. Point 101 is a nothingburger and I won't waste your time.

Point 102 misses a fundamental lag component of this data. Undergraduate degrees in the UK are usually 3 years long, Master's degrees are usually 1 year. Thus the 2024 data is a lagged combination of 2023 and 2021 visa entries. We will not see the effects of changes made for another few years.

Right, with the advent of the recent government whitepaper "Restoring Control Over the Immigration System" (which already has some pretty loaded language in the title), it's worthwhile looking a bit at some of the detail of the student section. It's some "interesting" statistics presentation.

In 98, the government deliberately and specifically fails to mention the distinct fall in student visas issued in 2024 (down by 100,000 from the peak in 2023). Also this graph commits the sin of having two y axes in different units at different scales. Whoever created this plot should be ashamed.

In 99. the government fails to address the underlying drive of the International Education Strategy, which was to try to prop up a reduction in real-terms spending on higher education by the government with uncapped fees paid by international students. This is highlighted further in point 100.

The report released today by the Tony Blair institute is one of the most cynical, least scientific, and most poorly-written reports I have ever seen about climate change. I'm not exactly surprised that there is no climate scientist willing to put their name on it anywhere, but I am disappointed.

View full thread

Not a single interview by the BBC (for example) with a leading climate scientist. Not a single assertion of the established and tested fact of climate change and its drivers. This is dire reporting on top of the report being atrocious. Laughable "policy" being reported by laughable "journalism".

I am astounded by the level of incompetence and sheer bias show here. (Also I am not linking purely as I don't want to drive more traffic towards the institute and their terrible climate takes)

The report released today by the Tony Blair institute is one of the most cynical, least scientific, and most poorly-written reports I have ever seen about climate change. I'm not exactly surprised that there is no climate scientist willing to put their name on it anywhere, but I am disappointed.

View full thread

It is chock full of the latest buzzwords and thin on any real rigour (gotta tell people to use AI to optimise energy systems [somehow], but we won't address the carbon cost inherent in using AI). There are only 35 citations for the whole thing, of which only 2 are relevant papers.

This is truly poor and cynical policy riding the coattails of right wing climate scepticism to try and shift climate discussion in the UK away from science and towards neoliberal economic principles. I am aghast not only with the report but also with the levels of journalism in reporting on it.

The report released today by the Tony Blair institute is one of the most cynical, least scientific, and most poorly-written reports I have ever seen about climate change. I'm not exactly surprised that there is no climate scientist willing to put their name on it anywhere, but I am disappointed.

For one thing, the author/s grasp of the basics of resisting #climate #change through natural carbon storage using plant growth is elementary and they attempt only the most basic of arguments against these. Also don't get me started on the poor level of citation (and choice of works to cite).

Francis Windram reposted

Francis Windram reposted

"Mean daily temperatures predict the thermal limits of malaria transmission better than hourly rate summation" new paper now out in NatComm, led by @martashocket.bsky.social doi.org/10.1038/s414...

Dr. Courtney Murdock@ecodynvplab.bsky.social

New paper out! A common computational approach to predict organismal fitness and distributions in the field could vastly overpredict the potential range of thermal suitability for malaria transmission relative to performance characterized at constant temperatures: www.nature.com/articles/s41...

Francis Windram reposted

Francis Windram reposted

#Tidyverse Tip: If you find yourself writing the same mutation (i.e., #dplyr::mutate()) for several columns, there’s a better way! dplyr::across() allows you to apply a function to multiple columns easily. For example, to scale all numeric columns: df %>% mutate(across(where(is.numeric), scale))

Francis Windram reposted

Why I love OneDrive, part 78. My local folder is called /Users/koren/OneDrive\ -\ Central\ European\ University\ \(CEU\ GmbH\ Hungarian\ Branch\ Office\)/ Luckily, I can symlink.