And the other answers are worthless (and those who posted them equally worthless) because they tried to help without paying anal attention to the exact amount of water in the glass. /s
When I first started my Linux journey about 23 years ago, I only ran it in text mode, since my computer didn’t have the disk space for X. I remember using Vim, and whenever I wanted to close it I would hit Alt-F4, which of course performed a VT switch.
When I inevitably launched Vim again on VT4 and wanted to close it, I obviously coudn’t, but I got the idea that Alt-F5 was a more powerful Alt-F4, so I used that.
After that I figured I was stuck and rebooted the machine.
Also, could Oracle/Sun ever get around to not changing the numbering system on a product midway through a product life. I mean, Java 1.21 is great and all, but you know…
I assumed, at first, that it was somehow falling through the infinite loop and accidentally runnning the unreachable function, but it clearly explicitly runs it in the assembler generated…
edit: ah, it’s called from __start, which suggests that main is being elided entirely by the optimiser, and somehow ‘unreachable’ is simply becoming a defacto ‘main’
why does everyone want to own the libs
as an open source developer i own multiple libs
i would happily pay people to take them from me
you do not want to own libs. its so much work
Maybe one day these Twitter links will be replaced by Mastodon cross-posts
I don’t really get the point of this. Of course the function will accept the value as a string if you specifically tell it to treat it as such (which wouldn’t even be possible without casting it to unknown first)?
I guess the point is, it’s not strongly typed during runtime. In other strongly typed languages, that cast would fail, since the underlying memory layout of some random class does not fit to that of a string.
But yeah, as soon as you break out as, you’re telling the type system to fuck off. So, while it does look freaky to me, too, it doesn’t dispell that TypeScript is strongly typed…
Yeah, I do agree that it’s a bit weird with TS. It’s fully understandable though, since it just transpiles to JS, which doesn’t have any type information during runtime. I think as far as webdev goes though, TS makes it at least somewhat bearable.
programmerhumor
Newest
This magazine is from a federated server and may be incomplete. Browse more on the original instance.