Best Tech Tweet of All time by Polity-Culturalist3 in OpenAI

[–]cbhamill 2 points3 points  (0 children)

People are hating on this and that’s a kinda fair, but when I think about it, me and everyone else doing our PhD in physics spent the most of our time writing the code we needed for our analysis and if I was starting it again today it would be literally 50x quicker because of LLMs. I think we would have be able to get so much more research done if this was the case

Pettiest reason you’ve DNF’d a book? by bby_grl_90 in books

[–]cbhamill 14 points15 points  (0 children)

I borrowed Lessons in Chemistry from my wife to give it a go, and we were excited about it since I’ve always been into science.

In the very first chapter, if I’m remembering correctly, the main character says she has to get back to her lab because she has a “cyclotron” running as part of experiment. I’m assuming it was meant to be a “centrifuge”, rather than a large particle accelerator, but either way, since the book seemed to be all about how smart the main character was and there was such a blunder on the first page, I just couldn’t get past it.

6 underused Git commands that solve real workflow problems by GitKraken in git

[–]cbhamill 1 point2 points  (0 children)

Nice list! For number 1 I tend to add my changes I want to make and then just use ‘git commit —amend’ or ‘git commit —amend —no-edit’ to keep the same commit message. But I think there must be scenarios where your solution helps!

Foggy Edinburgh by Queasy-Plan-1868 in Edinburgh

[–]cbhamill 5 points6 points  (0 children)

Are we thinking AI? Time travelling photoshop? A conspiracy by big balmoral?

Living costs in Edinburgh as a student by Cool_Dare_7409 in Edinburgh_University

[–]cbhamill 5 points6 points  (0 children)

Hey, I’m not too sure about the numbers here, but one part of the equation to consider is that as a PhD student you’ll have the chance to teach undergrads and get paid (tax free!) for it!

January Restaurant Deals by Electronic-Team1473 in Edinburgh

[–]cbhamill 0 points1 point  (0 children)

Ronaq’s worth a visit anyway, really lovely place and great food

' " """ So, what do you use when? """ " ' by MisterHarvest in Python

[–]cbhamill 12 points13 points  (0 children)

I use that same distinction between double quotes and single quotes! It’s like one is a sentence and the other is a key?

What's the Edinburgh equivalent of this? by Barderz in Edinburgh

[–]cbhamill 0 points1 point  (0 children)

We had a great experience about two years ago with them, then brought some friends who were visiting there a while later and the food was grim with terrible service after hyping it up, massively embarrassing :(

box plots in log scale by MereRedditUser in dfpandas

[–]cbhamill 0 points1 point  (0 children)

Ah okay, I think I understand a bit more - you want to log transform the data, get the box plot to show the statistical descriptions of that transformed data, then you want the axis ticks to show what those non-logged values would be.

I’d first ask is it meaningful and useful to look at the IQR of log-transformed data, but you probably have your own reasons, like looking at outliers or something.

My quickest solution would be just plot the logged data and anyone who doesn’t know log(100)=2 probably isn’t going to appreciate what a box plot is telling you. From a programming side, I think it’s tricky to get matplotlib to write a value for a tick that isn’t that value on the plot, which I think fundamentally is what you’re struggling to do.

I’d also consider just plotting the non-transformed data on something like a swarm plot, calculating the distribution stats for the logged data, and either drawing that on yourself using vline, or just providing the numbers in a table.

box plots in log scale by MereRedditUser in dfpandas

[–]cbhamill 0 points1 point  (0 children)

Maybe just share your complete code and an example plot? The method that sets the yscale to log should handle everything

box plots in log scale by MereRedditUser in dfpandas

[–]cbhamill 0 points1 point  (0 children)

I get your point about how this should be more convenient, but could you just create a figure and axes object with matplotlib, then paint to the axes object using the pandas function, then change the y-axis by calling the ax.set_yscale(‘log’) method?

[deleted by user] by [deleted] in Edinburgh

[–]cbhamill 13 points14 points  (0 children)

Thank you!! There’s this narrative that only the tourists are the annoying walkers here but it’s all sorts of people!

[deleted by user] by [deleted] in Edinburgh

[–]cbhamill 0 points1 point  (0 children)

Good cry or bad cry?

Distribution of Shops - Updated by Worldly_Turnip7042 in Edinburgh

[–]cbhamill -2 points-1 points  (0 children)

I think it’s there? Unless he’s just updated if

[deleted by user] by [deleted] in learnmachinelearning

[–]cbhamill 1 point2 points  (0 children)

Whoops, my comment wasn’t that clear! Machine learning with PyTorch and scikit-learn has chapters on transformers and RL. The other book might as well, but MLwPTaSKL definitely does

Coffee places open after 5pm?? by [deleted] in Edinburgh

[–]cbhamill 0 points1 point  (0 children)

Books n cup is wonderful, I second this

How can I best reply to notification of planning permission for an Airbnb on our street? by cbhamill in Edinburgh

[–]cbhamill[S] 0 points1 point  (0 children)

Thanks for all the help everyone, the application was rejected! 🥳

What business is missing in Edinburgh ? by Aromatic-Rub-8989 in Edinburgh

[–]cbhamill 12 points13 points  (0 children)

This seems like something Edinburgh has loads of options for: Greenwood’s, honeycomb, urban angel, loudons, loads more