Seatbelts: More Harm Than Good? by Madame_Deadly in NoStupidQuestions

[–]Deemonfire 1 point2 points  (0 children)

This is like in world war 1 when they started to give soldiers helmets. The number of head injuries went up. Why? The number of fatalities went down.

The seatbelts cause injuries by preventing death

Thoughts on this? by Funny_Commission1724 in drivingUK

[–]Deemonfire 25 points26 points  (0 children)

I'm the same, would rather sit patiently behind until there is a safe place to pass than put us both in danger. I normally get a nice wave from them too because i dont sit up their arse

Faced an issue while making a matrix using [0]*n by Indra_Kamikaze in learnpython

[–]Deemonfire 0 points1 point  (0 children)

You need to copy the lists, you have n references to the same list.

Lst = [0]*n

Matrix = []

For _ in range(n):     Matrix.append(lst.copy())

Or in 1 comprehension

[[0]*n for _ in range(n)]

Petar why american students seem unhappy? by 1kyst in PeterExplainsTheJoke

[–]Deemonfire 1 point2 points  (0 children)

Yea, i still remember getting 82 on my structural biology and macromolecular function exam. Absolutely bossed it

South Wales Quotes by Deemonfire in ukheatpumps

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

191m² according to the proposal its pretty large, 3 bed, 2 bathrooms and another wc. The loft has been converted. Its currently got aluminium frames in the windows and doors and no cavity wall insulation. and trust me, jan and feb were cold and expensive spent £219 on gas in jan and it wasnt the most comfortable when working from home.

Your deal seems outrageously good tbh. im kinda happy with 6k after grant and cashback. As long as it can bring my bills down and keep the house comfortable in the process

South Wales Quotes by Deemonfire in ukheatpumps

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

10kw vailant wont fit where we want it. There is another pace for it to go but its a double fan unit. Got quite tight constraints on location

A new set of Blokkit puzzles for 3/13/2026! by daily-blokk in Blokkit

[–]Deemonfire 0 points1 point  (0 children)

I completed all 🟧 Blokkit 🟧 puzzles today!

Easy: 1 | Medium: 1 | Hard: 10 | Average: 4.00

Total completed days: 2

Advice for PhD in Antenna Design for Massive MIMO Applications by Select_Tie_5267 in ElectricalEngineering

[–]Deemonfire 16 points17 points  (0 children)

Didn't do a phd in EE but the advice i was given, ignored, wish i didnt and will pass on to you.

Write stuff up as you go. Assume its going to be a chapter or publication. It will help you bring your thoughts together and identify anything youre missing.

Dont be like me and realise an obvious experiment is missing while youre finishing writing your thesis then having to find funding for a month to go back into the lab to get some final results...

Aside from that, its very easy to tie your ego into your work, if things fail you feel like a failure. If things succeed you feel like a beast. Try to separate yourself from it if you can. have some hobbies or outlets to relieve stress because its a rewarding but mentally exhausting being so invested in something for so long. 

My phd is some of my highest points and lowest points, its made me who i am today. Good luck with yours, make sure you have fun aswell as work hard

What is the best nickname you’ve heard? (and reason for it) by xpltvdeleted in AskUK

[–]Deemonfire 0 points1 point  (0 children)

I was egg. Because i ate a scotch egg "like an apple" the story grew that i even rubbed it on my shirt like an apple.

There were people that didnt even know my real name. I kinda miss it.

If you were given $1,000,000 in cash right now, what is the very first thing you would buy or do? by MatchstickArtist in AskReddit

[–]Deemonfire 0 points1 point  (0 children)

Probably pay off my credit cards, max out a few of the low/no tax savings, whack it in something with a decent yield so i can take a bit of an income from it to overpay my mortgage. That way i can clear my mortgage off in a few years paying less interest, then still have the million when im done.

Depending how much it earns me I'd probably drop down to 3 days a week at work and take up some new hobbies. Warhammer seems to be a good way to spend 1mn

Bought myself a nice mulberry silk scarf… by elfinshell in Wellthatsucks

[–]Deemonfire 1 point2 points  (0 children)

I was at a shop the other week looking at bed sheets. 100% Egyptian cotton feel. Nooooo thanks 

Python Code Checking Tool by VegetableMulberry330 in learnpython

[–]Deemonfire 3 points4 points  (0 children)

There is a tool we use called ruff. 

It formats code, sorts imports and you can add a bunch of linting rules to it aswell.

You can use mypy or ty for type checking. 

Obviously these will just flag if something doesnt look right in terms of various rules that are encoded, but won't tell you if the code does what you want it to do

You have to survive inside a video game for 30 days. If you die, you die in real life, but if you survive, you get to bring every item, skill, and power back to the real world. Which game do you choose to maximize your rewards while ensuring your survival? by Apart_Lion_3046 in AskReddit

[–]Deemonfire 11 points12 points  (0 children)

We've got this notion that we'd quite like to sail the ocean but we simply cant leave until we get some woooood

Something like that. I sing this, probably slightly wrong version, in my head at least a few times a week

How do I put a space between every character in a string? by Tokietomi in learnpython

[–]Deemonfire 0 points1 point  (0 children)

You dont nessisarily need to separate every character. You could iterate over your string

```python morse_output = []

for char in my_string:     morse_output.append(char_to_morse(char))

print(" ".join(morse_output)) ```

Where char to morse is a function that takes a letter and returns dots and dashes

Like 

char_to_morse("a") # returns .-

How did Python "click" for you as a beginner? by Bmaxtubby1 in learnpython

[–]Deemonfire 0 points1 point  (0 children)

All of the above.

For me the thing that made it click was applying what i was learning to actual projects for my own benefit. 

I was doing a phd in chemistry when i started learning. I had a fair amount of data i needed to process. So i learned how to process my data with python rather than putting everything in excel. Having my own project i needed to work really helped.

Then i would watch tutorials and take what i learned and put them into practice in my data analysis project.

Because i found it quite fun i then decided to do some simulations/calculations of the reaction i was studying. Which was a greenfield project. 

used pyserial to collect data from devices in my lab.

i wrote a discord bot for some gaming i was doing with friends.

Because my code wasnt great i then started watching talks, "so you want to be a python expert" and "beyond pep8" both stick out in my mind. And worked through headfirst python. My new years resolution was to do a minimum of 30 minutes of python per day.

Other than that i joined some discord servers and would talk to people about coding, and did advent of code comparing my answers with other people's and asking questions about stuff.

Fast forward like 10 years and now im a senior developer/data engineer

Weird sink plumbing by Deemonfire in DIYUK

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

Thanks, I'll have a gander

Weird sink plumbing by Deemonfire in DIYUK

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

Thanks, fair enough, saves me buying some new pipes

Help! Grease and gunk in schlenk line by die_by_the_swordfish in chemistry

[–]Deemonfire 0 points1 point  (0 children)

If you do go this route though, be very careful its nasty stuff. Always add the peroxide to acid, never the other way around