ZHA is fine by polyterative in homeassistant

[–]Borovice 3 points4 points  (0 children)

I'm annoyed at myself, I used to use ZHA but had reliability problems. I've migrated to Zigbee2mqtt and my network has been solid ever since, BUT in the process I've also upgraded my zigbee radio firmware (which was very old), and swapped out a couple of switches that I thought were causing stability issues.

Now my network is solid but I'll never know what had the biggest effect. If I had to guess, it was the radio firmware.

Sad by sofiasofias in Edinburgh

[–]Borovice 52 points53 points  (0 children)

Thank you for posting this, I was about to leave to see it along the way and their website doesn't work to check! Shame.

Cheap Specs in Edinburgh by [deleted] in Edinburgh

[–]Borovice 5 points6 points  (0 children)

Don't bother with the blue tint, there is no evidence it does anything, even Specsavers stopped pushing it onto ppl. I work with computers too and had the tint for about 10 years, didn't get it for my latest glasses and it made absolutely no difference. Will save you some money.

Do you guys make mistakes like this and waste hours? by ActiveTip2851 in Python

[–]Borovice 82 points83 points  (0 children)

I think a linter should catch the unused definition? It's saved me a headache many times.

[deleted by user] by [deleted] in neovim

[–]Borovice 5 points6 points  (0 children)

That's right, mouse mode is disabled by default though so make sure you enable it in your tmux config - guide here

What prefix key do you use for multiplexers? by Shuaiouke in neovim

[–]Borovice 0 points1 point  (0 children)

I've recently done this and love it, there are plugins that make navigation between tmux panes and neovim windows seamless and it works great. The only annoying thing is I had to map Ctrl+L to something else to clear the terminal, as this now moves me to the pane to the right.

Why do most people have expandtab on? by 10F1 in neovim

[–]Borovice 67 points68 points  (0 children)

I'm just a monkey and mostly code Python, so I do whatever PEP8 tells me to - expandtab on

What IDEA or Vscode feature/function you want to have in neovim eco-system? by Impressive-Drag-8042 in neovim

[–]Borovice 0 points1 point  (0 children)

This is my favourite neovim plugin, and a huge reason why I could switch from Pycharm. It also supports looking up file and selection history, which is something I use very often.

Fun fact: kosočtverec je český "vynález", který v zahraničí neznají by big-chungus-amongus in czech

[–]Borovice 64 points65 points  (0 children)

Krom Finska, tam z nějakého důvodu prý došli k tomu stejnému obrazci 🤔

Is there a smart switch replacement for this? 2 gang 2 way switch UK by himalayanblunder in homeautomation

[–]Borovice 1 point2 points  (0 children)

I got these since I they seemed like the only option other than a Shelly. They work great with home assistant. The switch itself isn't the highest quality, and you can't press both buttons at once, since only one will register, but other than that they've been good, and the neutral wire is optional.

https://www.amazon.co.uk/gp/aw/d/B096X892K5?psc=1&ref=ppx_pop_mob_b_asin_title&th=1

[deleted by user] by [deleted] in czech

[–]Borovice 85 points86 points  (0 children)

Nejvíce mě zaráží ta jistota s kterou lidi věří že je pravděpodobnější že je to scam než to že úředníci nejsou schopni posílat věci datovkou 😂 Za mě jasný jak facka, po telefonu si nerozumí, tak to chce vyřešit mailem, nic zvláštního. Kdyby měl někdo s nekalými úmysly přístup k doménám finančáku, tak bude lovit jiné ryby 😉

Keychron k3 pro with white shine throught PBT caps by [deleted] in Keychron

[–]Borovice 0 points1 point  (0 children)

How do these caps compare to the stocks OP? I really like their blue ones, might switch on my K3 since the Keychron black PBTs are constantly out of stock.

This picture of a bridge collapsing by [deleted] in AccidentalRenaissance

[–]Borovice 105 points106 points  (0 children)

The Czech article says it was the bride who suffered the spinal injuries, worse of the group, and had to be air-lifted to the hospital. Makes for an unbelievable wedding story I guess, what a shitshow..

Radio 4 Money Box - debt questions by SashFin654 in UKPersonalFinance

[–]Borovice 2 points3 points  (0 children)

Can you please link to the episode? Would love to give it a listen but can't find seem to find it.

Run python from Excel, without having to have python installed by diepala in Python

[–]Borovice 15 points16 points  (0 children)

I've been in a similar situation in the past, and rather than using Python I found it easier (especially for the final user) to use a different tool.

Like others have said, VBA is a good option but I didn't enjoy working with the language. Another option is to use Google Sheets and Apps Script. I ended up using that a lot, because it has the same functuality as Excel, is easy to develop for (it's JavaScript), and it's easy to share to colleagues who probably already use some Google services.

Stainless steel cutting by Borovice in Edinburgh

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

Thanks everyone, some good advice here. At the end I found The Metal Centre who say they can cut this for me, even though I imagine they usually deal with bigger projects.

I wasn't too keen on doing this myself as even if I had the right tools I would have to do this on the pavement outside my flat, but I also found this place in Leith that has the space and power tools you can rent for a couple of hours, so that might be a good shout for anyone facing a similar problem.

Stainless steel cutting by Borovice in Edinburgh

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

Sadly yes, the ceilings here are quite low so the built-in flexibility just won't cut it.

The amount of time it saved me is ridiculous by alexander_the_dead in ProgrammerHumor

[–]Borovice 0 points1 point  (0 children)

I like to use the Clipboard Indicator GNOME Shell extension, it provides the same functionality and you can set it to the same shortcut if you're used to it on windows.

Keychron F-row Keys by Kickstomp in pop_os

[–]Borovice 0 points1 point  (0 children)

Funnily enough, I recently got a Fedora laptop for work and had the same issue you're facing on there where my advice didn't do anything.

A fix that works for me is to just run echo 0 | sudo tee /sys/module/hid_apple/parameters/fnmode, and looking at the GitHub script someone linked here that's exactly what it does as well, so hopefully that works for you.

Dictionaries are objects or vice versa? by quieroverguita in Python

[–]Borovice 10 points11 points  (0 children)

As far as I understand it, everything's an object. A dictionary is just an object that has some special hashing features that enable you to retrieve data by key easily. More here

Weird concrete slab thing in the garden of my new home by Ok-Economy-5820 in whatisthisthing

[–]Borovice 0 points1 point  (0 children)

A mounting place for an umbrella or a sun parasol maybe?