Arthur Besse
cultural reviewer and dabbler in stylistic premonitions
- 145 Posts
- 186 Comments
Arthur Besse@lemmy.mlto
World News@lemmy.ml•Russia is providing Iran intelligence to target U.S. forces, officials say 🎻
15·8 days agothis post links to an article in (checks notes) The Washington Post


Arthur Besse@lemmy.mlOPto
World News@lemmy.ml•Tehran vows to strike European countries if they join Iran warEnglish
26·11 days ago
Arthur Besse@lemmy.mlto
Political Discussion and Commentary@lemmy.world•I remember the bible saying something about thisEnglish
2·19 days agothere is a lot of competition for that title. eg
Arthur Besse@lemmy.mlto
Programmer Humor@programming.dev•Well. That escalated quicklyEnglish
6·28 days agoIdk it works for me.
I don’t think there is any possible value for the
signvariable which would make that if statement do anything other than raise aTypeError.Also
"8:00:00" > "10:00:00"but
"08:00:00" < "10:00:00". comparing timestamps as strings is weird but actually works, as long as the hour is zero-padded :)the problem with this code is that
&(bitwise AND) has higher operator precedence thanand==do, so it is first trying to bitwise AND"10:00:00"withsign(which i’m assuming would also be a string) and that will always raise aTypeError.to do what the author appears to have intended to do, they would either need use parenthesis around both comparisons to actually bitwise AND their results, or (better) to use the boolean AND operator (
and) instead of&.The boolean
andoperator is the right tool for the job, and since it is lower precedence it also wouldn’t require that any parenthesis be added here.
don’t trust anyone over
300x30
Arthur Besse@lemmy.mlto
Programmer Humor@programming.dev•Well. That escalated quicklyEnglish
261·29 days agoTypeError: unsupported operand type(s) for &: 'str' and 'str'
a wifi access point that gets online via a cellular network is called a mobile hotspot, regardless of if it’s running on a phone or a dedicated router device
huh? mobile hotspot is double-bad
Arthur Besse@lemmy.mlto
Technology@beehaw.org•A History of DHTML and Web Applications - The History of the WebEnglish
2·1 month agoI don’t think anyone called those “web apps” though. I sure didn’t.
As I recall, the phrase didn’t enter common usage until the advent of AJAX, which allowed for dynamically loading data without loading or re-loading a whole page. Early webmail sites simply loaded a new page every time you clicked a link. They didn’t even need JavaScript.
The term “web app” hadn’t been coined yet but, even without AJAX I think in retrospect it’s reasonable to call things like the early versions of Hotmail and RocketMail applications - they were functional replacements for a native application, on the web, even though they did require a new page load for every click (or at least every click that required network interaction).
At some point, though, I’m pretty sure that some clicks didn’t require server connections, and those didn’t require another page load (at least if js was enabled): this is what “DHTML” originally meant: using JavaScript to modify the DOM client-side, in the era before sans-page-reload network connections were technically possible.
The term DHTML definitely predates AJAX and the existence of
XMLHTTP(laterXMLHttpRequest), so it’s also odd that this article writes a lot about the former while not mentioning the latter. (The article actually incorrectly defines DHTML as making possible “websites that could refresh interactive data without the need for a page reload” - that was AJAX, not DHTML.)
Arthur Besse@lemmy.mlto
Technology@beehaw.org•A History of DHTML and Web Applications - The History of the WebEnglish
7·1 month agoWeird this article doesn’t mention Hotmail and RocketMail, which both had email client web apps in 1996.
Arthur Besse@lemmy.mlto
News@lemmy.world•Musk Busted Pleading to Visit Pedo Island in Epstein Files for ‘Wildest Party’English
5·1 month agoThe “girls FTW” mail in that bluesky post is indeed fake, but the daily beast article linked by this post does not include that one.
It is noteworthy how the existence of a fake thing which can be debunked can cause people to assume that similar-but-real things are also fake 😭
Arthur Besse@lemmy.mlto
News@lemmy.world•Musk Busted Pleading to Visit Pedo Island in Epstein Files for ‘Wildest Party’English
3·1 month agothat screenshot is almost[1] definitely fake; unlike the ones in the dailybeast article, phrases from it do not find anything in the search.
i say only almost because there have been some documents removed from previous batches after they were released, but there are no credible reports about the one in your comment ↩︎

























(version 2.0 could triple your RAM)