- 6 Posts
- 247 Comments
Could’ve sworn I’ve had this issue before! Maybe not with python
The problem with this in the OP is the first ‘if’ checks if the object exists and the second gets a property of said object only if the original object exists.
I’m not saying the OP is good code, but chaining them like this would result in exceptions.
kernelle@0d.gsto Europe@feddit.org•Wuppertals "Schwebebahn" Suspended Railway, 1902 and 2015English3·20 days agoA friend of mine was very enthusiastic about this as well, he actually planned an entire trip around visiting the Schwebebahn. From his account it’s truly as wicked as it looks, and very stable as well.
kernelle@0d.gsto Mildly Infuriating@lemmy.world•I hate Samsung and their dumb software design choices, and this is one of them. Why do I need a SIM card to enable a hotspot whereas every other phone works without one?English4·21 days agoI’ll have to disagree on that one, WiFi extenders extend an existing network, keeping the same network and DHCP is done by the original access point.
A hotspot creates a new network, and DHCP is handled by the hotspot, not the network on the WAN side.
Poor Things was my recent favourite: crazy lenses, old school videography and the use of analog film.
It is the first feature film to be partially shot on Kodak’s 35mm Ektachrome color reversal motion picture film stock since its revival in 2018.
If you’re still interested, ‘Stukkie’ comes from ‘stuk’ which means broken. The -kie that is added is to infantilize the word, usually to refer to a smaller object you’d use -je instead, -kie is more of a dialect which is why you won’t find it in a dictionary. ‘Wukkie’ means as much as the ‘woopsie’ in ‘oopsie woopsie’, to make it sound even more infantile.
So a literal translation would be ‘The train is brokey wokey’
New copypasta just dropped! Jokes aside, I felt this comment.
kernelle@0d.gsto Showerthoughts@lemmy.world•Ironically, people making fun of the "Gnu/Linux" copypasta is probably one of the main ways people know what Gnu is1·29 days agoI’ve yet to meet someone not using it because of that meme
Thanks, those are awesome! I’ll be adding my own site to both
I’ve recently found the indieweb, from their website:
The IndieWeb is a people-focused alternative to the “corporate web”.
We are a community of independent and personal websites based on the principles of: owning your domain and using it as your primary online identity, publishing on your own site first (optionally elsewhere), and owning your content.
kernelle@0d.gsOPto Europe@feddit.org•Mark Rober's new Satellite was designed and built by Tyvak International in Milan, ItalyEnglish3·1 month agoWebsite was hugged the first 24 hours, but seems to be better now! According to their email:
The first batch of selfies should be returning mid-summer
kernelle@0d.gsto Selfhosted@lemmy.world•Your help needed: PhD research on why people choose to self-hostEnglish5·1 month agoThanks for the source, super interesting read! I would’ve guessed 1-5% as well.
kernelle@0d.gsto Selfhosted@lemmy.world•Your help needed: PhD research on why people choose to self-hostEnglish8·1 month agoQuestions in surveys like this are sometimes repeated with slight variations to get more accurate results.
kernelle@0d.gsto Lemmy Shitpost@lemmy.world•Low quality cropping will officially launch on Lemmy in 2025 after passing budget evaluation6·1 month agoIt’s to prevent you from becoming flying debris
Yeah that’s what I’m trying to avoid, using grep displays all of my options at once.
You can use regular strings! Can’t tell you how often* I use:
history | grep docker
history | grep <search>
I like seeing different usages
You’d be surprised how caked a charge port can be, you know you’ve cleaned it correctly when the plug goes in all the way and doesn’t stick out a bit.
When it still doesn’t connect correctly and/or you feel play in de cable/chargeport, it might just need replacing.
They each fuck with my window arrangement on virtual desktops when rebooting in their own special way. I’ve switched to Wayland but x11 did feel more polished.