The ability to recognize sarcasm doesn’t seem to be particularly developed on
Lemmythe internet.
FTFY
The ability to recognize sarcasm doesn’t seem to be particularly developed on
Lemmythe internet.
FTFY
TypeScript is still built on JavaScript, all numbers are IEEE-754 doubles 🙃
Edit: Actually I lied, there are BigInts which are arbitrarily precise integers but I don’t think there’s a way to make them unsigned. There also might be a byte-array object that stores uint8 values but I’m not completely sure if I’m remembering that correctly.
The way I was taught was that you usually start off with only an interface and then implementing classes, and then once you have multiple similar implementations it could then make sense to move the common logic into an abstract class that doesn’t get exposed outside of the package
Alright screw it we’re full sending this, Outer Wilds is a roguelike now
Steve Jobs was bad enough that his daughter wrote a whole book about how bad of a person he was several years after he died…
Roblox is significantly older than Minecraft (2006 vs. 2009/2011 depending on where you start counting) so the optimistic part of me thinks people won’t talk about Roblox like that.
Bold of you to assume companies will release their AI detection tools
I think either works. Crazy how I was born on January 1, 1900 and I probably share an exact birthday with like half of the people here.
Fun fact: chromium has about 1.5 million more lines of code than the Linux kernel (about 32mil vs about 30.5mil), not including whitespace/docs/etc.
Ok I get that open source alternatives are better than Google’s proprietary stuff but why are y’all downvoting someone for posting a relevant news article and then not leaving any actual comments about it? Even if the app sucks this kind of seems like shooting the messenger when there could’ve been an actual discussion here.
I blame this partially on a lack of good video support
That article also mentions squashing merges though, which would lower the contribution count by a lot unless there’s a GitHub setting to have separate branch commits tracked that I’m missing out on.
I’m a programmer and spend way too much time typing, here’s my 2 cents on numpads
If I used a numpad it would probably have to be on the left side but honestly I’ll realistically move over to a split setup like the one in the other comment before I get a numpad. Until then, 65/75% keyboards ftw.
Apparently (from another comment on a thread about arm from a few weeks ago) consumer GPU bioses contain some x86 instructions that get run on the CPU, so getting full support for ARM isn’t as simple as swapping the cards over to a new motherboard. There are ways to hack around it (some people got AMD GPUs booting on a raspberry pi 5 using its PCIe lanes with a bunch of adapters) but it is pretty unreliable.
“React is a library” developers when a UI library they need doesn’t have a separate React extension
That’s fair. I was mostly commenting on my own experiences with JS/TS, I’ve never used PHP so I can’t say if it’s better or worse but a few people I know have said that modern PHP is actually pretty good for personal projects. I’m guessing it would have its own set of nightmares if it was scaled to an enterprise level though.
Funny you mention pillow salesmen: https://www.theguardian.com/us-news/2024/jan/15/mypillow-ceo-expand-lindell-tv-network-trump
That’s true but at the same time the fact that JavaScript equality is so broken that they needed a ===
operator is exactly the problem I’m talking about.
And those examples were low hanging fruit but there are a million other ways JavaScript just makes it easy to write buggy code that doesn’t scale because the JavaScript abstraction hides everything that’s actually going on.
For example, all of the list abstractions (map, filter, reduce, etc.) will copy the array to a new list every time you chain them. Doing something like .filter(condition).map(to new value)
will copy the list twice and iterate over each new list separately. In most other languages (Java, C#, Rust, Go, etc.) the list abstractions are done over some sort of iterator or stream before being converted back into a list so that the copy only has to be done once. This makes using list abstractions pretty slow in JavaScript, especially when you have to chain multiple of them.
Another simple but really annoying thing that I’ve seen cause a lot of bugs - Array.sort will convert everything into strings and then sort if you don’t give it a comparison function. Yes, even with a list of numbers. [ -2, -1, 1, 2, 10 ] will become [ -1, -2, 1, 10, 2 ] when you sort it unless you pass in a function. But if you’re looking over code you wrote to check it, seeing a list.sort()
won’t necessarily stand out to most people as looking incorrect, but the behavior doesn’t match what most people would assume.
All this is also without even getting started on the million JS frameworks and libraries which make it really easy to have vendor lock-in and version lock-in at the same time because upgrading or switching packages frequently requires a lot of changes unless you’re specifically isolating libraries to be useful (see any UI package x
, and then the additional version x-react
or x-angular
)
Tldr; Why can’t we have nice things JS?
Instructions unclear installed Alpine linux
25565 also gets a decent amount of malicious traffic because of Minecraft though. I’d recommend switching the port to something different at the very least. When I hosted a server for the first time on 25565 my router pretty immediately gave me warnings about attempted network traffic coming from Europe/Asia when I (and everyone I gave the IP to) live in the US.