Show newer

@hynek I don't know how much I hate reading paper books because I don't think I've read one in 12 years or so, but I was surprised at where this went. For me reading on a phone or tablet is not nearly as good as reading on a front-lit epaper device. Once the Kindle Paperwhite came out I was like, "Well, never need to read a physical book again I guess!"

@nedbat 💯

Just yesterday, because of including tests in coverage, I spotted an assert which wasn't being run...

And it masked not one but two bugs in the assert!

github.com/jazzband/prettytabl #Python #test #coverage

Fediverse, I need help locating something!

I remember seeing a website where I could split a map area into a grid, and track that I'm visiting each grid cell on it. I can't find it in my browser history and can't remember relevant keywords to locate it with search engines either.

Does anyone know what I'm talking about?

@fantazo@esperanto.masto.host Totally forgot about that one. Yeah, that is nice for language learners, it's always so hard to keep track of the huge number of overlapping metaphorical meanings of different prepositions, where prepositions used in each situation are very case-by-case.

I find it interesting in [this post](blogs.transparent.com/esperant) they seem to claim that the use of "en" for "in a given time period" has a clear meaning, but "je" is used for "at a specific time". I kinda feel like you either say that a specific spatial metaphors make sense about each phrase, or you should use "je" for both, since the preposition doesn't provide additional information.

For a specific day, you have "before", "after" and "around" where the meanings would be clear and would be made ambiguous if you swapped them around, but if you swapped out "at" or "in" for "on" with "this day", it would sound wrong, but the metaphor would be roughly the same.

These are just two of the affixes, by the way. I really liked the whole system of them, it makes it pretty easy to quickly build a big vocabulary, and it's very expressive: en.wikibooks.org/wiki/Esperant

-ul = person characterized by (juna = young, junulo = a youth)
-ej = place characterized by (lerni = to learn, lernejo = school)
-ilo = instrument (skribi = write, skribilo = writing implement)

They can also be used by themselves, like:

iĝi = to become
ulo = dude, chap
ilo = tool

Show thread

One thing I really like about is the infix -iĝ- which refers to becoming, it basically makes words intransitive, like:

So ruĝa = red, ruĝiĝi = to blush
naski = to give birth, naskiĝi = to be born
edzi = to marry, edziĝi = to get married

There is a similar (maybe annoyingly so) infix for "to make/cause", -ig-, which makes them transitive:

morti = to die, mortigi = to kill
riĉa = rich, riĉigi = to become rich, riĉigi = to enrich

Those and the question marker "ĉu" are features I often wish I had in other languages.

We are far too informal these days, which is why I'm taking a bold stand against the rampant use of Nicholasnames.

Thank you for coming to my THEODORE Talk.

@leaverou That said, I have heard that with the current generation of batteries, it's better to run them lower before charging them rather than having them hover around 100% all the time.

That said, battery life in a phone has almost never gotten so bad that I was bothered by it before something else dramatic happened to make me get a new phone, and the few times I've had to replace a battery it was pretty simple and/or cheap to do — even in the modern era where no phones have user-replaceable batteries (😭).

As an aside — up until around 4-5 years ago, I always had replaceable batteries, so I *also* often didn't use the USB port, I would charge the batteries by themselves and then swap them out when the one in the phone got too low.

@leaverou I was originally skeptical, but I really prefer wireless charging now, for the following reasons:

1. It's very easy to just have a pad at my desk(s) and on my nightstand and when I take my phone out of my pocket, I put it on there instead of on the table. The tiny decrease in friction makes it way more likely that I'm going to charge as I go.
2. I like being able to pick up the phone without any tether and put it right back.
3. I've had a few phones start to have problems with the USB port. Wireless charging avoids that problem and also reduces strain on the USB port throughout the life of the device.

I haven't noticed my phone charging particularly slower when charging wirelessly when compared to being plugged in, but even if that were the case I don't think it would matter much. The low-friction nature of the charging makes it so that my phone doesn't ever get terribly low in the first place, but even on days when I don't charge during the day, I always get a full charge overnight anyway (and even a dramatic difference like 2 hours vs 1 hours wouldn't matter in that case).

@brettcannon And PyPy's test suite seems to be pretty good at finding PEP 399 violations.

@cnx @webology Oh, weird. I don't think I configured that feed content thing at all, so that must be the default of whatever SSG I'm using for the blog...

@webology @cnx noticed that my Atom feed was broken and he seems like a discerning consumer of technologies, so he might have opinions...

@pbx Carefully removing the previous, low quality wooden fence before installing the chain link fence, clearly.

@webology One last thing on this is that as someone whose allocated OSS maintenance time has gone down a lot lately, I've become acutely aware of how aggressive the bitrot is in the Python ecosystem. CPython itself has a 5-year window after which old versions are EOL. There are deprecations and removals in every version. Pretty much every time I go to touch `dateutil` I spend the whole time fixing up the various parts of the CI that are now raising warnings or errors, then I run out of time to do any meaningful work, and the cycle repeats after a few months.

I think this is a similar set of incentives. People who value stability just literally stop upgrading everything and self-host. Maintainers have limited attention and don't want to allocate it to long-term support. As a result, you need to constantly be moving with the ecosystem.

@webology I will also note that Python 3.11 and 3.12 are getting faster, but the Python 3.x branch was notably slower than Python 2.7. I think at this point Python *itself* has good incentives to increase efficiency because industrial players like Microsoft, Bloomberg, etc, are heavily invested in it already and they can see meaningful reductions in their resource consumption by making improvements.

That said, part of the thing that has been a major sticking point for things like GIL removal is that there is some trade-off between single-threaded performance and multi-threaded performance. I could imagine a future regression (probably small, admittedly) in "older" workflows in favor of big improvements for newer multi-core performance.

@webology As much as I'd love it if people all believed that Apple was deliberately making their products worse, since hopefully that would mean people would stop buying Apple products, I think that something more like Hanlon's razor is way more likely to be at work. If for no other reason than when people complain about the companies they've worked for, I never hear them say stuff like, "My boss told me to make everything slower on older platforms", it's more like, "When I tried testing on the older platforms I was told that it was not a priority and I should focus on building an AI cat emoji for iMessage even if that makes iPhone 11 processors set on fire."

The high level folks making the decisions seem to just say, "Well, we'll lose market share to Google if they get the AI kitty first, and if it makes someone's iPhone 11 slow, I guess that sucks for them, but they're not going to stop using an iPhone over it..."

@webology I think I missed the context that the inciting event was a video about upgrading your laptop. The examples seem to all be other sources of decay like websites shipping several megabytes of JS and assets to display simple text.

That said, my baseline assumption is that even in the laptop upgrade case I suspect that deliberate policies of making old stuff worse are rare. It feels like the facts that developer time is very expensive, it takes time to make things fast and to even test against old platforms and switching costs are high is enough to explain what's happening.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.