Obviously you should use an exponential search, assuming you don’t know the age of the oldest human.
- 0 Posts
- 48 Comments
qjkxbmwvz@startrek.websiteto
Technology@lemmy.world•Wine 11 runs Windows apps in Linux and macOS better than everEnglish
21·19 days agoNot sure how serious your comment is, but I could certainly imagine Microsoft introducing new dependencies/hooks/all-executables-must-support-copilot, etc., that break compatibility faster than Wine can keep up. Glad to hear that’s not the case!
For old stuff though…yeah, I’d hope it’s not moving backwards :)
qjkxbmwvz@startrek.websiteto
Programmer Humor@programming.dev•Guys, what's the best Linux distro to install on my PC?
8·20 days agoTorvalds uses it too I believe, so you’re in good company (Debian for me, though my heart belongs to Slackware).
deleted by creator
qjkxbmwvz@startrek.websiteto
Technology@lemmy.world•Google Deploying Huge CO2 Battery Facilities with Company Energy DomeEnglish
2·1 month ago200MWh is about 1/100 of Little Boy, the atomic bomb dropped on Hiroshima.
Compressed air can get out all at once given the right circumstances.
Storing energy in a way that can go boom is something I’d be a little scared of, were I a nearby resident. I’m sure thermal batteries can have gnarly failure mechanisms but I would way rather live near one of those than a giant compressed air cylinder.
qjkxbmwvz@startrek.websiteto
Programmer Humor@programming.dev•You can pry pattern matching from my cold dead hands
81·2 months agoPer the Linux kernel coding style:
Tabs are 8 characters, and thus indentations are also 8 characters. There are heretic movements that try to make indentations 4 (or even 2!) characters deep, and that is akin to trying to define the value of PI to be 3.
I know right? What a poser!
/s
Oracle Free tier, amd64. Only use it because it’s free—limited bandwidth, but given I have slow upload at home it’s never really been a bottleneck. Hate to admit it given it’s Oracle, but I’ve been completely happy with it.
If I switch to a paid VPS I will probably go with racknerd (suggestions welcome though if you have thoughts).
Especially after adding in all the power draw of the automation requires…
What exactly is the incremental power draw for automation? My network gear and server (a little nuc) are sunk power costs as I self host other services.
Idling, my home uses around 100W with the fridge off. One 10W light is an additional 10% of my power budget, and I have a lot more than one light in my house. I also pay about $0.40/kWh.
I can be a bit neurotic about turning off lights when I leave a room, so Home Assistant was a nice way to free up brain space for me. A few motion sensors here and there + some simple automations, and the lights mostly handle themselves. Zigbee sensors and Zigbee or Matter-over-WiFi bulbs, so everything is local. A free VPS+WireGuard setup means I can access them remotely should I need to, with TailScale as a backup.
Cloud failures mean I can’t access remotely, but local control is unaffected—if my smart devices stop working it’s almost certainly my fault :)
qjkxbmwvz@startrek.websiteto
RetroGaming@lemmy.world•Which game would you erase from your memory, in order to experience it fresh once again?English
7·4 months agothe audio had glitched so I missed the voice over
This was not a triumph.
qjkxbmwvz@startrek.websiteto
Technology@lemmy.world•"Enshittification": Cory Doctorow on Why Big Tech Sucks, Keeps Getting Worse & What to Do About ItEnglish
5·4 months agoI’ve been really impressed with Immich, can’t recommend it enough.
qjkxbmwvz@startrek.websiteto
Technology@lemmy.world•"Enshittification": Cory Doctorow on Why Big Tech Sucks, Keeps Getting Worse & What to Do About ItEnglish
8·4 months agoI’d put substitute first, but yours sounds better :)
(I’m a big Immich fan, and I’m taking and sharing photos more than ever before, in part because Immich is awesome, self hosted, and open source [the other part is that I have kids now so I’m taking way more photos that grandparents want to see].)
qjkxbmwvz@startrek.websiteto
Technology@lemmy.world•The AI bubble is 17 times the size of the dot-com frenzy — and four times the subprime bubble, analyst saysEnglish
27·4 months agoNot sure I agree.
First, stocks tend to be highly correlated with “the market” (see financial “β”/“beta coefficient”). For example, look at, say, The Home Depot or Ford Motors. From January 2000 to January 2003 (spanning the dot com bubble) they each lost about a third of their value, yet these are not “dot com”-centric companies.
Second, the promise of AI is that it will help every company that has desk jobs. So every company has this expectation now priced into their stock, and if the bottom falls out, well…
Not an analyst/I don’t pick stocks, but just my 2¢.
https://en.m.wikipedia.org/wiki/ACID
Atomicity (something happens in its entirety or not at all), consistency (database is always in a valid state — if the database has constraints, they will always be honored), isolation (transactions don’t step on each other), durability (complete transaction is complete even if there’s a power failure).
Not a database expert, my parenthetical explanations may need work.
qjkxbmwvz@startrek.websiteto
Technology@lemmy.world•Computer Science, a popular college major, has one of the highest unemployment ratesEnglish
391·6 months ago…the San Francisco gold rush in 1949.
Classic CS major, making an off-by-one(hundred years) error ;)
I have some bad new for you about Linux…
It’s interesting that, with Python, the reference implementation is the implementation — yeah there’s Jython but really, Python means both the language and a particular interpreter.
Many compiled languages aren’t this way at all — C compilers come from Intel, Microsoft, GNU, LLVM, among others. And even some scripting languages have this diversity — there are multiple JavaScript implementations, for example, and JS is…weird, yes, but afaik can be faster than Python in many cases.
I don’t know what my point is exactly, but Python a) is sloooow, and b) doesn’t really have competition of interpreters. Which is interesting, at least, to me.
qjkxbmwvz@startrek.websiteto
Programmer Humor@programming.dev•Simple Optimization Trick
11·6 months agoDid the developer use any version control though? SCCS has been around since the early 70s, RCS and CVS since the 80s. The tools definitely existed.
Also, it was a single dev, which makes SCM significantly simpler!

I would probably add “transmit power” in there somewhere, but I guess if you’re assuming regulatory limits then it’s not a big variable.