I have some bad new for you about Linux…
- 0 Posts
- 33 Comments
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 Trick11·14 days 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!
qjkxbmwvz@startrek.websiteto Technology@lemmy.world•Physicists Create First-Ever Antimatter Qubit, Making the Quantum World Even WeirderEnglish2·25 days agoYour numbers seem reasonable — more intuitive for me to work in terms of pressure. Atmosphere is (roughly) 1e3 Torr, good UHV can be around 1e-10, so that’s 13 orders of magnitude, which is (roughly) the same difference that you calculated.
qjkxbmwvz@startrek.websiteto Technology@lemmy.world•Physicists Create First-Ever Antimatter Qubit, Making the Quantum World Even WeirderEnglish33·25 days agoAluminum foil is very common in physics labs. And a main use for it is “baking”! To get ultra high vacuum (UHV)* you generally need to “bake out” your chamber while you pump down. Foil is used same as with baking food — keep the heat in and evenly distributed on the chamber.
Sadly, it’s usually not food grade aluminum foil, as that can contain oils, and oils and vacuum are generally a big no-no.
*Just how good is UHV? Roughly: I live in San Francisco, which is ~7 miles by ~7 miles (~11km). Imagine you raise that by another 7 miles to make a cube. Now, evacuate every last molecule of gas out of it. Now take a family sedan’s trunk, fill it with 1 atmosphere of gas, and release that into the 7 mile cube. That’s roughly UHV pressure.
qjkxbmwvz@startrek.websiteto Technology@lemmy.world•Two major AI coding tools wiped out user data after making cascading mistakesEnglish42·27 days agoFrom TFA:
“I have failed you completely and catastrophically,” Gemini CLI output stated. “My review of the commands confirms my gross incompetence.”
qjkxbmwvz@startrek.websiteto Selfhosted@lemmy.world•My reason for wanting HomeAssistant and a locked down VLAN...English6·2 months agoZigBee router thing:
I’ve been happy with the SMLIGHT SLZB-06M. You can easily flash firmware, and it has PoE which was important for me. I believe it also supports Thread, but I haven’t tried this yet (and I’m not sure if it supports it at the same time as Zigbee).
Zigbee smart plugs from Third Reality have been pretty solid in my experience, and they report power usage.
For circuit breaker level monitoring, I have an Emporia Vue2. I have it running esphome, completely local — unfortunately this requires some simple soldering and flashing, so it’s not turnkey. But it’s been rock solid ever since flashing it. (Process is well documented online.)
I’ve had decent luck with cheap wifi Matter bulbs, but provisioning them is finicky, and sometimes they just crap out and need to be power cycled; Zigbee bulbs (e.g., Ikea) have generally been reliable, though sometimes I’ve had difficulty pairing them initially. After power cycling a Matter WiFi bulb, it takes a while for it to respond to Home Assistant; Zigbee bulbs generally respond as soon as you power them on.
I have a wired smart light switch from TP-Link/Kasa (KS205), and it’s been completely hassle free (and totally local — Matter over wifi). The Kasa smart switch dongles I have work flawlessly but need proprietary pairing, and I’m afraid to update firmware in case they lose local support.
Good luck! Fun adventure :)
qjkxbmwvz@startrek.websiteto Linux Gaming@lemmy.ml•Native version of Unreal Tournament 20041·2 months agoMy recollection is that the DVD included that library, but it’s been a while…
Cadence definitely the right place to start, since it shouldn’t break the bank.
I’d do some research on cadence if you haven’t already — you mentioned getting up hills in a higher gear to be faster while also keeping HR down. That’s definitely an option, but it can come at the expense of your legs (and worst case, knees).
Conventional wisdom today (as I understand) is that if you thrash your cardio, it’ll recover fast; thrash your legs, they’ll recover more slowly. So there tends to be a bias towards higher cadence (80-100rpm or so) for performance, with lower cadence useful for strength training.
Good luck! Cycling is a wonderful sport. Focus on the numbers and gadgets if you like, but at the end of the day remember to have fun :)
Nice! If you want a more quantitative way of comparing performance, a power meter is a great way. Average speed is affected by the route, the weather, etc., whereas power is much less influenced by these things (not entirely of course — I put out more power on hills, and temperature has an effect, etc.).
The only downside is they are really expensive, and for MTB I’m not sure what the options are.
For reference, ~800kcal in ~2hours should mean roughly 110-120W average power, but without a power meter that’s pretty much just a guess.
qjkxbmwvz@startrek.websiteto Fuck Cars@lemmy.world•Toronto is considering raising parking fees and lowering transit fares during concerts and sports games to encourage people to take public transit rather than their carEnglish11·2 months agoIn San Francisco, a ticket for any event at the big arena (Chase Center — home of the Warriors) gives you free Muni transportation: https://www.sfmta.com/fares/your-chase-center-event-ticket-your-muni-fare
It’s a start.
qjkxbmwvz@startrek.websiteto Fuck Cars@lemmy.world•If you want to build apartments and homes in Nashville, you are required to build parking for cars. Otherwise, the city council will kill your project. English12·2 months agoOn the one hand, that sucks, on the other…well, what really sucks is that it’s probably necessary given the state of public transit and bikeability. (Haven’t been to Nashville, so I can’t comment on public transportation there.)
qjkxbmwvz@startrek.websiteto Fuck Cars@lemmy.world•If you want to build apartments and homes in Nashville, you are required to build parking for cars. Otherwise, the city council will kill your project. English12·2 months agoAny city in the US
I don’t think that’s correct, for example, San Francisco:
On December 11, 2018, the Board of Supervisors passed an ordinance (the “Ordinance”) eliminating required parking minimums citywide for all uses.
This does exist in major US cities, especially the older (by US standards) ones. I’m in San Francisco, in a “good” neighborhood, and restaurants, groceries, bars, and multiple forms of public transit are all a short walk away. This is very different in car centric suburbs/cities though.
qjkxbmwvz@startrek.websiteto Selfhosted@lemmy.world•Friendly reminder that Tailscale is VC-funded and driving towards IPOEnglish12·2 months agoI think a lot of companies view their free plan as recruiting/advertising — if you use TailScale personally and have a great experience then you’ll bring in business by advocating for it at work.
Of course it could go either way, and I don’t rely on TailScale (it’s my “backup” VPN to my home network)… we’ll see, I guess.
…are Turing Complete, so what you can do with them is exactly equal.
But they’re only equal in the Turing complete sense, which (iirc) says nothing about performance or timing.
qjkxbmwvz@startrek.websiteto Technology@lemmy.world•The plan for nationwide fiber internet might be upended for StarlinkEnglish3·3 months agoYep, you’re right — I was just responding to parent’s comment about fiber being best because nothing is faster than light :)
qjkxbmwvz@startrek.websiteto Technology@lemmy.world•The plan for nationwide fiber internet might be upended for StarlinkEnglish152·3 months agoThat’s…not really a cogent argument.
Satellites connect to ground using radio/microwave (or even laser), all of which are electromagnetic radiation and travel at the speed of light (in vacuum).
Light in a fiber travels much more slowly than in vacuum — light in fiber travels at around 67% the speed of light in vacuum (depends on the fiber). In contrast, signals through cat7 twisted pair (Ethernet) can be north of 75%, and coaxial cable can be north of 80% (even higher for air dielectric). Note that these are all carrying electromagnetic waves, they’re just a) not in free space and b) generally not optical frequency, so we don’t call them light, but they are still governed by the same equations and limitations.
If you want to get signals from point A to point B fastest (lowest latency), you don’t use fiber, you probably use microwaves: https://arstechnica.com/information-technology/2016/11/private-microwave-networks-financial-hft/
Finally, the reason fiber is so good is complicated, but has to do with the fact that “physics bandwidth” tends to care about fractional bandwidth (“delta frequency divided by frequency”), whereas “information bandwidth” cares about absolute bandwidth (“delta frequency”), all else being equal (looking at you, SNR). Fiber uses optical frequencies, which can be hundreds of THz — so a tiny fractional bandwidth is a huge absolute bandwidth.
qjkxbmwvz@startrek.websiteto Technology@lemmy.world•The plan for nationwide fiber internet might be upended for StarlinkEnglish61·3 months ago80% of the USA lives within urban areas (source). Urban “fiberization” is absolutely within reach.
Agree that running fiber out to very remote areas is tricky, but even then it’s probably not prohibitive for all but the most remote locations.
Classic CS major, making an off-by-one(hundred years) error ;)