cypherpunks

joined 4 years ago
MODERATOR OF
[–] cypherpunks@lemmy.ml 34 points 1 day ago (3 children)

screenshot looks fake (i don't know what renders quote tweets like that), but it is real

[–] cypherpunks@lemmy.ml 9 points 2 days ago (1 children)

Whoever implements~~ed this~~ agents ~~without proper oversight~~ needs to be fired.

[–] cypherpunks@lemmy.ml 5 points 2 days ago* (last edited 2 days ago) (1 children)

Idk it works for me.

I don't think there is any possible value for the sign variable which would make that if statement do anything other than raise a TypeError.

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 than > and == do, so it is first trying to bitwise AND "10:00:00" with sign (which i'm assuming would also be a string) and that will always raise a TypeError.

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 and operator is the right tool for the job, and since it is lower precedence it also wouldn't require that any parenthesis be added here.

[–] cypherpunks@lemmy.ml 1 points 3 days ago

don't trust anyone over ~~30~~ 0x30

later:

don't trust anyone over 30~20~

(that's vigesimal notation, btw)

[–] cypherpunks@lemmy.ml 22 points 3 days ago (4 children)

TypeError: unsupported operand type(s) for &: 'str' and 'str'

[–] cypherpunks@lemmy.ml 5 points 6 days ago

💯

hopefully a FOSS organization will hire the person who made this

[–] cypherpunks@lemmy.ml 8 points 1 week ago

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

[–] cypherpunks@lemmy.ml 6 points 1 week ago (2 children)

huh? mobile hotspot is double-bad

363
submitted 1 week ago* (last edited 1 week ago) by cypherpunks@lemmy.ml to c/memes@lemmy.ml
 
[–] cypherpunks@lemmy.ml 2 points 1 week ago (1 children)

I 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 (later XMLHttpRequest), 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.)

[–] cypherpunks@lemmy.ml 7 points 1 week ago (3 children)

Weird this article doesn't mention Hotmail and RocketMail, which both had email client web apps in 1996.

[–] cypherpunks@lemmy.ml 6 points 2 weeks ago* (last edited 2 weeks ago)

the suggestion that you should maybe write down an eight digit hex string "in case you need it" is just adding insult to injury. i guess anything less than a 32bit space for error codes would be insufficient

 

cross-posted from: https://lemmy.ml/post/40361231

sources for screenshots used in this meme:

view more: next ›