- 0 Posts
- 248 Comments
lengau@midwest.socialto Technology@lemmy.world•Forced E-Waste PCs And The Case Of Windows 11’s Trusted PlatformEnglish5·2 months agoI’m grateful to Microsoft for Windows 11 providing me a bunch of free machines to stick in my basement and put Linux on.
lengau@midwest.socialto Technology@lemmy.world•Apple adds red exclamation mark warnings on EU App Store listings for apps using third-party payment systems, not Apple's “private and secure payment system”English92·2 months agoMy experience with Apple has been more like
lengau@midwest.socialto Technology@lemmy.world•Apple adds red exclamation mark warnings on EU App Store listings for apps using third-party payment systems, not Apple's “private and secure payment system”English42·2 months agoI credit Apple in many ways for their choice to design their business in a way that their profit motive often aligns with their users’ interests.
Their app store model for iOS is one of the strongest examples of them not doing that though.
lengau@midwest.socialto News@lemmy.world•Donald Trump defends gift of 747 jet from Qatar as new Air Force One8·2 months agoThe 747 doesn’t have that bad a safety record. I’m more interested in what random radio transmissions occur from it.
lengau@midwest.socialto News@lemmy.world•New Bill Would Make All Pornography a Federal Crime in the U.S.17·2 months agoThey’re already getting that illegally so that wouldn’t change.
lengau@midwest.socialto News@lemmy.world•Top virologists sound the alarm on bird flu and plead with world leaders to prepare for another pandemic38·2 months agoThis is not how probability works.
Yeah, Steam is pretty much a monopoly. But I haven’t seen what I’d call monopolistic practices from them. It’s just that everyone else appears to fall flat on their faces when trying to make a competing product.
I’m less mad at Steam and Google because there are clear, simple ways to avoid their cuts.
I have no basis to say whether they’re providing a service worth the 30% charge. I’m also less mad at Steam than at Google because they’re being less shady about trying to push people into their store too.
lengau@midwest.socialto News@lemmy.world•American doctor receives email from immigration officials telling her to leave the country immediately17·3 months agoThis also happened to a practicing immigration lawyer: https://bsky.app/profile/nicolemicheroni.bsky.social/post/3lmpvej6vn22t
lengau@midwest.socialto Technology@lemmy.world•Python Performance: Why 'if not list' is 2x Faster Than Using len()English9·3 months agoI think a better analogy would be that you’re tuning your bike for better performance because the trade-offs of switching to a car are worse than keeping the bike.
lengau@midwest.socialto Technology@lemmy.world•Python Performance: Why 'if not list' is 2x Faster Than Using len()English54·3 months agoIt’s all about trade-offs. Here are a few reasons why one might care about performance in their Python code:
- Performance is often more tied to the code than to the interpreter - an O(n³) algorithm in blazing fast C won’t necessarily perform any better than an O(nlogn) algorithm in Python.
- Just because this particular Python code isn’t particularly performance constrained doesn’t mean you’re okay with it taking twice as long.
- Rewriting a large code base can be very expensive and error-prone. Converting small, very performance-sensitive parts of the code to a compiled language while keeping the bulk of the business logic in Python is often a much better value proposition.
These are also performance benefits one can get essentially for free with linter rules.
Anecdotally: in my final year of university I took a computational physics class. Many of my classmates wrote their simulations in C or C++. I would rotate between Matlab, Octave and Python. During one of our labs where we wrote particle simulations, I wrote and ran Octave and Python simulations in the time it took my classmates to write their C/C++ versions, and the two fastest simulations in the class were my Octave and Python ones, respectively. (The professor’s own sim came in third place). The overhead my classmates had dealing with poorly optimised code that caused constant cache misses was far greater than the interpreter overhead in my code (though at the time I don’t think I could have explained why their code was so slow compared to mine).
A fourth digit? Is such a thing even possible?
lengau@midwest.socialto News@lemmy.world•Trump privately indicates Musk to step back from administration after government employee status expires: Sources4·3 months agoAs a South African: we don’t want him back.
I use almost exclusively FOSS and I have monthly/annual contributions set up for various projects.
lengau@midwest.socialto Technology@lemmy.world•OpenWrt Two will be a higher-performance router with 10 Gigabit LAN and WiFi 7 support - LiliputingEnglish81·4 months agoThis takes me back to my childhood… My dad would take me to the fair and get me a deep fried router on a stick and a roll of cat5.
lengau@midwest.socialto News@lemmy.world•Trump says he is not joking about third presidential term3·4 months agoI’m okay trading legitimacy for a tangible gain, but there is none.
Obviously they need to make
exit
’s repr method raise aSystemExit