Sergey Shandar

@functionalscript@techhub.social
24 Followers
86 Following
270 Posts
Sergey Shandar writes about FunctionalScript, Content-addressable Internet, and other subjects.
GitHubhttps://github.com/functionalscript/functionalscript
BlueSkyhttps://bsky.app/profile/sergey-shandar.bsky.social
I would like to say only one thing today: Thank you, Ukraine, for your fight and for protecting us! 💛💙
A little more about social networks and how they should be implemented in the ideal world. https://medium.com/@sergeyshandar/digital-space-how-it-should-be-done-4c2f3bd3cf9e?sk=0c5b54da5632a7feb65027ee77186f84
Digital Space. How it should be Done - Sergey Shandar - Medium

We live in the digital epoch, but we keep our data on centralized services, with vendor lock-ins and constant policy changes, where your data (including your contacts) can disappear at any time…

Medium
#JavaScript is a weird language; it has #bigint, but it doesn't have a function that returns a number of bits in the bigint. Neither it has #log2 function for the bigints. If you need a workaround for the problem, see the article https://medium.com/@sergeyshandar/improving-the-log2-algorithm-for-bigint-in-javascript-7e5692e7bf0b?sk=9ac18367f61b524704cc8d82707aed3d
Improving the Log2 Algorithm for BigInt in JavaScript

I usually use the bigint type in JavaScript and FunctionalScript as a vector of bits, and I often need to know how many bits are in a specific bigint instance. Every JavaScript engine that has a…

Medium
Being #blind is fun. Just encountered a visual captcha with no audio option. So I used JAWS Picture Smart to get AI to read me the text of the visual clue, which I typed in and got through. So basically I'm a human who needs a robot to prove to another robot that I am not a robot. Without my robot, the other robot would have thought I was a robot. Also I was trying to make a payment on my PAP machine, which really should in itself indicate that I am not a robot. #Disability #Disabled
While implementing #BNF, I realized that #XML is not context-free grammar, so machines also have a problem reading it. Such a "relief."🙃
Unpopular opinion: if a null pointer in high-level programming languages is a billion dollar mistake, then direct access to I/O (input-output) should be a trillion dollar mistake.
A list of AI agents and robots to block. https://github.com/ai-robots-txt/ai.robots.txt
GitHub - ai-robots-txt/ai.robots.txt: A list of AI agents and robots to block.

A list of AI agents and robots to block. Contribute to ai-robots-txt/ai.robots.txt development by creating an account on GitHub.

GitHub

Short survey: What languages do you use to compile to #WebAssembly?
https://docs.google.com/forms/d/e/1FAIpQLSd5rDVpwMsh0qtGHxvtAMGgc84sIoj9_H8_UBqbs6mH_2i1Vg/viewform?usp=dialog

I’ll publish the results on January 1 as a blog post here: https://2ality.com

 Boosts appreciated!

WebAssembly languages survey

Who should fill out this form? • You are interested in compiling to WebAssembly and may do so in the future. • You are already compiling to WebAssembly. I’ll publish the results on Mastodon on 1 January 2025: https://fosstodon.org/@rauschma

Google Docs
@Ric by default it does include prompt or suggestion collection but you can turn that off with one click by going to https://github.com/settings/copilot and deselect “allow GitHub to use my code snippets from the code you editor for product improvements.” This feature is NOT enabled for any Business/Enterprise account and Pro users have the option to turn it off during signup. https://docs.github.com/en/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/managing-copilot-policies-as-an-individual-subscriber#enabling-or-disabling-prompt-and-suggestion-collection
Build software better, together

GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.

GitHub
Modern ECMAScript WTF: Do you expect that `export const myObj = 42` is equal to `export default = { myObj: 42 }`? Wrong! `default` is a "special" namespace... #javascript #ecmascript #esm #module