with fzf you get better grep with fuzzy search
I’m a staff software engineer at Sunrun, the USA’s largest residential solar installer.
I mostly work with kotlin, but also java, python, ruby, javascript, typescript. My hobby is picking up new hobbies. Currently bird photography and camping.
- 2 Posts
- 169 Comments
works in fish shell as well.
I struggled with WinApps as well. wasn’t ever able to get gpu passthrough working either, and trying to do so really destabilized my computer. I pretty much gave up. That’s not to say that WinApps doesn’t work. It does, it’s just not near native for me. There’s definitely slowness, at least with Lightroom, I haven’t tested with PS yet, though I have installed it.
snowe@programming.devto
Linux@programming.dev•Linux is now 34 years old. Happy Birthday!
2·4 months agoYeah defining an announcement of something as its birthday is weird. I’m also biased on this, cause it came out on my birthday.
snowe@programming.devto
Fediverse@lemmy.world•Decentralised social media offers an alternative to big tech platforms like X and Meta. How does it work? PodcastEnglish
31·10 months agoas an instance admin I will let you know that lemmy (the software) runs very very poorly.
snowe@programming.devMto
Programming@programming.dev•Is Python's tooling incredibly difficult, or am I just stupid?
2·1 year agowhen the official docs are telling you to use it, then it’s used. You can have no expectation of people to think the tooling isn’t shit when it’s literally the official recommendation.
snowe@programming.devMto
Programming@programming.dev•What is your preferred API error response and why?
12·1 year agoAnything but the last one. Don’t duplicate the http code in the body, else you’re now maintaining something you don’t need to maintain.
I’m not a fan of codes that repeat information in the body either, but I think if you had used a different example like “INVALID_BLAH” or something then the message covered what was invalid, then it would be fine. Like someone else said, the error data should be in an object as well, so that you don’t have to use polymorphism to figure out whether it’s an error or not. That also allows partially complete responses, e.g. data returns, along with an error.
it does if the other ones have edible seeds, seeds without arsenic, or fewer seeds… your analogy makes no sense.
Also, writing memory safe code honestly isn’t that hard. It just requires a different approach to problem solving, that just like any other design pattern, once you learn and get used to it, is easy.
the CVE list would disagree with you.
https://en.wikipedia.org/wiki/The_Power_of_10%3A_Rules_for_Developing_Safety-Critical_Code
and their 40 page coding standard document. https://ntrs.nasa.gov/api/citations/20080039927/downloads/20080039927.pdf https://ntrs.nasa.gov/citations/20080039927
and their software safety handbook. https://standards.nasa.gov/standard/nasa/nasa-gb-871913
all 389 pages of it https://standards.nasa.gov/sites/default/files/standards/NASA/Baseline/0/nasa-gb-871913.pdf
It’s also just a huge fallacy. He’s saying that people just choose to not write memory safe code, not that writing memory safe code in C/C++ is almost impossible. Just look at NASA’s manual for writing safe C++ code. It’s insanity. No one except them can write code that’s safe and they’ve stripped out half the language to do so. No matter how hard you try, you’re going to let memory bugs through with C/C++, while Rust and other memory safe languages have all but nullified a lot of that.
snowe@programming.devMto
Web Development@programming.dev•Static site generator (SSG) alternative to Squarespace?
3·2 years agoIt doesn’t sound like you want a static site generator. You want a Squarespace alternative. One option I use is Ghost. You can host it yourself for free. But it’s not a static site. Static site means static. That means no backend, no forms, none of that. You won’t get a CMS, you won’t get drag and drop components. That’s not what static site generators do.
I am of no help here, but your post made me think of this. https://youtu.be/tbazGVrbN-g
snowe@programming.devMto
Programming@programming.dev•As a python developer, what language is the easiest and closest when it comes to building mobile apps?
1·2 years agoYou can write cross platform mobile (and desktop and even browser) apps with Kotlin.
snowe@programming.devMto
Programming@programming.dev•The Unreasonable Effectiveness of Simple Websites
2·2 years agostill, people are clearly confused by the button. I’m just gonna make it an animation and prefers-color-scheme since that’s so widely supported now.
snowe@programming.devMto
Programming@programming.dev•The Unreasonable Effectiveness of Simple Websites
6·2 years agoI’ve wondered what this problem was for years but never cared to figure it out, because it always resolved after the first button press (just refresh the page and it all works properly). turns out it is something wrong with my use of local storage to save your theme state. if you don’t have the key in local storage then it does what you mentioned. I just need to switch this to prefers-color-scheme anyway.
snowe@programming.devMto
Programming@programming.dev•The Unreasonable Effectiveness of Simple Websites
4·2 years agothat post is about toggle buttons, not switches. e.g. a play pause button, when pressed, does it show play, or does it show pause?






all they need to do is get you to install a sketchy browser extension and then anytime you generate a password on ddg they’ve captured it. No man in the middle necessary. Unlike generating a pw with your pw manager, then inserting it with your pw manager or just typing it into the field (which shouldn’t be accessible to extensions on any appropriately coded site).