- 24 Posts
- 172 Comments
solrize@lemmy.mlto
Programmer Humor@programming.dev•Blog post where someone used Python quirks to evaluate false == true
2·6 months agoThey are constants, like None, which has always been around.
solrize@lemmy.mlto
Asklemmy@lemmy.ml•Secretive situationship with a guy who has history with my friend - please help me out friends!
2·6 months agoI know I’m old but I kept expecting someone to be called a poopoo-head in this saga. If you want to date that guy, what is stopping you? Will either of you get arrested? Can you work out some kind of agreement about what to do after the
drugsnovelty wears off? If yes, then it’s ok to live in the present.
solrize@lemmy.mlto
Programmer Humor@programming.dev•Blog post where someone used Python quirks to evaluate false == true
5·6 months agoTrue is False gives false in Python 2.7.18 as well as 3.x. But, in 2.x, they aren’t keywords, so you can say True=False=5 and then they are both the same object.
solrize@lemmy.mlto
Programmer Humor@programming.dev•Blog post where someone used Python quirks to evaluate false == true
5·6 months agoI just checked and they aren’t.
solrize@lemmy.mlto
Programmer Humor@programming.dev•Blog post where someone used Python quirks to evaluate false == true
8·6 months agoThe builtin names are True and False and they became keywords a while back. true and false are just ordinary variables that you can set to whatever you want.
Meanwhile, in Forth:
: 2 3 ; \ define 2 as 3 2 2 + . 6 ok \ shows that 2+2 is now 6
I couldn’t tell whether this post was supposed to be sarcasm or what. Firefox is great, except you have to install all those extensions and add-ons and make manual configuration changes through a nerd-only UI in order to get a basic measure of privacy? Um no, Firefox is deeply unsatisfying for those exact reasons you list, though people use it anyway under the circumstances.
solrize@lemmy.mlto
Technology@lemmy.ml•CATL announces sodium batteries that cost as little as $10/kWh, a massive price reduction compared to the current average of $115/kWh for lithium-ion batteries.
5·6 months agoNot commenting on geopolitics but just logistics, this stuff will be made in China so if you’re somewhere else, it will have to be brought to you, and 100kwh (the amount in a car) weighs around 1000 kg. So the transportation cost all by itself will probably be above $10 per kwh.
Anyway you won’t see retail products at that price, just like you don’t see LFP for $50 a kwh now. You have to buy at the scale of EV manufacturers or electric utilities.
solrize@lemmy.mlto
Technology@lemmy.ml•CATL announces sodium batteries that cost as little as $10/kWh, a massive price reduction compared to the current average of $115/kWh for lithium-ion batteries.
1·6 months agoThis is mostly interesting for grid scale imho, but nice if it happens. We’ll see how it works out for EV’s. Their electronics will need major redesign because sodium battery voltages drop a lot more than lithium does during the discharge cycle.
https://undecidedmf.com/how-catl-made-batteries-90-cheaper-and-what-happens-next/
Large LFP auctions seem to be running US$50 to US$60 a kwh as of a month ago:
solrize@lemmy.mlto
Asklemmy@lemmy.ml•Is it important/possible to separate the art from the artist?
11·6 months agoIt depends what kind of art, I guess.
I took some French classes and picked up some Italian by spending some time in Italy. I wouldn’t say either language is easier, but I’d say Italians are (at least back in my day) incredibly patient with non-Itlalian speakers flipping through a dictionary in order to talk to them. Anyway, French and Italian are related (both Romance languages) and speaking either one will make the other easier.
I find spoken Quebec French almost unintelligible even though I can somewhat understand French from France. Even French people have some trouble with Quebec French, especially as you go further east and the dialect gets stronger. It’s a bigger difference than the difference between regional accents in the US. But, written French is mostly the same between France and Quebec, so at least you’ll be able to read the signs.
I also once had the idea of improving my French by spending some time in Quebec, but then realized I’d end up speaking the Quebec dialect, which apparently is comparable to hillbilly English in how it sounds to French people.
Added: You don’t mention what part of the US you are in. I’m in California and the most useful language here other than English is probably Spanish, then maybe Chinese. If you want a Romance language, maybe consider Spanish? It is pretty close to Italian, enough that I once managed to confuse the two.
solrize@lemmy.mlto
Linux@lemmy.ml•Debian 13 burning 10W playing 4K YouTube video on a Framework with max brightness 🫨
57·6 months agoIs that good or bad? What cpu? How big is the screen? What encoding?
solrize@lemmy.mlto
Asklemmy@lemmy.ml•Did your school classrooms have a landline telephone for the teacher to use?
5·6 months agoNo there was usually a two-way PA system that the teacher could call the school office with (an assistant principal would usually answer), but I don’t remember ever seeing an actual phone in a classroom.
sensorwatch.net is the only one I’d want. Note it doesn’t have any data communications to speak of. It’s an old fashioned digital watch with some cool features including software thermocompensation for accuracy within a few seconds per year. And it runs on a regular coin cell for a year or so, not a stupid nightly recharge like it thinks it’s a phone.
GNU Jami, when I can get it to work and not jank up the sound too much. https://jami.net/
For running a public-facing business where your customer leads have to come from online, I don’t have a good answer, except maybe to take an attitude that it’s your company rather than you who is using the social media. I did a similar thing when I had to do some windows development for a client. I don’t run windows on my own computers, but the client supplied a windows laptop that I did the work on, so it was their computer rather than mine, ok fine. I realize it’s possible to overstretch that concept but it’s a matter of your personal comfort level.
As an ordinary working stiff working privately for companies or clients but not seeking public exposure, I haven’t had significant problems despite not using the big social media including linkedin and github. Just respond to advertisements and stuff like that to get jobs, and self-host a public code repo if you want one. Once someone commented on it but it still wasn’t an issue.
solrize@lemmy.mlto
Science@lemmy.ml•Archaeologists Keep Finding Massive Shoes at an Ancient Roman Fort—and They Have No Idea Why They're So Big
6·7 months agoBig shoes => big feet.
You might like Purescript (purescript.org) though I thing it may have slowed down since Typescript took over.
solrize@lemmy.mlto
Asklemmy@lemmy.ml•What are the current best ways to learn languages online?
10·7 months agoI wouldn’t attempt that. Try to get some in-person practice with native speakers, either wherever you are now, or (better) by travelling to the countries of interest. If neither of those works for you, take a class with a human instructor. We are all wired for that, and not for learning languages from computer screens.
solrize@lemmy.mlto
Asklemmy@lemmy.ml•What is something you never understood the hype for?
3·7 months agoPretty much everything.




















If you’re using consumer HDD’s or SSD’s then they themselves can get corrupted in power failures, so the software almost doesn’t matter. Better use a UPS.