Since it needs to be compiled to JavaScript in order to be used, I kind of consider it a different language. Yes, it’s a strict superset of JavaScript, but that makes it different.
- 0 Posts
- 9 Comments
It’s much better to make your own function that uses bitwise operations to do addition.
function add(a, b) { while (b !== 0) { // Calculate carry let carry = a & b; // Sum without carry a = a ^ b; // Shift carry to the left b = carry << 1; } return a; }
(For certain definitions of better.)
Quibblekrust@thelemmy.clubto Technology@lemmy.world•Meta and Yandex are de-anonymizing Android users’ web browsing identifiers - Ars TechnicaEnglish5·30 days agoI feel like that’s all you need. You don’t have their apps installed, so the problem is already solved. If you use uBlock Origin to block their trackers, the problem is solved. So you’ve solved it twice.
Quibblekrust@thelemmy.clubto Technology@lemmy.world•Researchers Scrape 2 Billion Discord Messages and Publish Them OnlineEnglish5·1 month agoThere’s literally no difference. Each Discord server is like a tiny chunk of Reddit. If anyone expected any privacy on these servers, they’re nuts.
Quibblekrust@thelemmy.clubto Technology@lemmy.world•We did the math on AI’s energy footprint. Here’s the story you haven’t heard.English4·1 month agoI definitely did! I guess maybe you can see why I was so exasperated. 😳
Quibblekrust@thelemmy.clubto Technology@lemmy.world•Stack overflow is almost deadEnglish6·1 month agoQuestion closed as off-topic.
Removed as duplicate of #264826376: “Question closed as duplicate.”
Sometimes my jokes need explaining...
I’m pointing out that questions on SO too often get closed as duplicates of adjacent (but distinctly different) questions, and I did so in the most confusing, recursive way possible.
Quibblekrust@thelemmy.clubto Technology@lemmy.world•Stack overflow is almost deadEnglish3·1 month agoThat’s why I only post questions for bleeding-edge languages and code libraries. I have to answer them myself.
Quibblekrust@thelemmy.clubto Technology@lemmy.world•We did the math on AI’s energy footprint. Here’s the story you haven’t heard.English115·1 month agolemmy is just gobbling it up every day. It’s so tiring.
Are you fucking serious? All I ever see on Lemmy is prople saying “AI slop” over and over and over and over again… in like every comment section of every post. It could be a picture that was actually hand-drawn, or a photograph that was definitely not AI, or articles written by someone “sounding like AI”. The AI hate on Lemmy is WAY overpowering any support.
For real, though, what is it?