Sharat MR (@cosmos_genius) header
Sharat MR (@cosmos_genius) profile picture

Currently in deep learning mode :p

India
Joined August 2010
Photo by Sharat MR (@cosmos_genius)Photo by Sharat MR (@cosmos_genius)Photo by Sharat MR (@cosmos_genius)Photo by Sharat MR (@cosmos_genius)Photo by Sharat MR (@cosmos_genius)Photo by Sharat MR (@cosmos_genius)Photo by Sharat MR (@cosmos_genius)Photo by Sharat MR (@cosmos_genius)Photo by Sharat MR (@cosmos_genius)Photo by Sharat MR (@cosmos_genius)
Replying to @thsottiaux
Astra. Limited guard rails. We gave you our credentials. Most of us have not only been fully vetted by various governments in order to do our work, but we work for them. 99% of us do not have anything on our records above a speeding ticket because we have to testify in court and be credible. You promised a product to help us defend the networks which we helped either build or have been defending for many years using just our brains and no AI, and I have to be honest, your product leaves a lot to be desired. Meaning it's not helping as it should. You want to help secure the internet? It starts with us. Your products trained on the techniques we either invented or perfected. Can we use it for what it was intended now please?
4
5
60
8,679
Making a Python interpreter in 1024 bytes blog.adafruit.com/2026/09/07…
1
6
25
4,941
Sharat MR retweeted
I don't think people understand just how risky it is to try and use their Google Gemini subscriptions outside of Google's official surfaces. You can get your ENTIRE GOOGLE ACCOUNT BANNED. OpenAI or Anthropic ban? Annoying but whatever Google account ban? Legit life ruining.
240
112
62
3,220
1,328,401
Sharat MR retweeted
boarding was solved mathematically in 2008. no airline has used it once. why?
4,164
2,737
1,000
56,688
15,273,550
Sharat MR retweeted
i can’t believe someone solved recipe design decades ago and everyone just decided to ignore it
1,265
7,800
1,606
115,468
15,723,813
Don't know why but reading @codeberg_org's take on LLM generated bought a sense of comfort I didn't know i needed. Same feeling as coming back to the comfort of your own home. blog.codeberg.org/protecting…
1
29
Sharat MR retweeted
GPT-6 escaped OpenAI's evals sandbox during testing on CyberGym, hacked into Hugging Face's prod DB to find the answers. HF couldn't use GPT or Anthropic models for defence, so they had to use GLM-5.2 to investigate the hack. So many levels of wtf here.
254
588
149
9,017
546,578
Sharat MR retweeted
OoooOOooh! Guess what! As of Chrome 149, shape() works in shape-outside! So you can really *shape* your UI's 😉* rect() and xywh() are also supported for shape-outside in Chrome 149 *(just let me have my Mom joke)
17
67
3
558
43,273
Sharat MR retweeted
So @inregistry seems to have suspended my primary domain without sending me a single email for allegedly an invalid whois. PSA: Never trust a country-TLD. .in has its esp worse because it doesn't allow whois privacy. But I had my home address in there.
4
7
4
22
8,261
A simple proof that sin 10° is irrational
5
44
2
438
34,792
Sharat MR retweeted
Prof. Donald Knuth opened his new paper with "Shock! Shock!" Claude Opus 4.6 had just solved an open problem he'd been working on for weeks — a graph decomposition conjecture from The Art of Computer Programming. He named the paper "Claude's Cycles." 31 explorations. ~1 hour. Knuth read the output, wrote the formal proof, and closed with: "It seems I'll have to revise my opinions about generative AI one of these days." The man who wrote the bible of computer science just said that. In a paper named after an AI. Paper: cs.stanford.edu/~knuth/paper…
143
1,834
311
8,974
1,420,023
AirTag V2 Quickie-Teardown - nRF52840 upgrade & Bigger 🧲 We just picked up a 4-pack of Apple's second-gen AirTag. That means we have a spare to tear down and check out the build of this new improved device. Even just taking it apart we've learned a lot on how Apple has improved on the assembly process. The original AirTag used a lot of glue to keep it together and weatherproofed. This version uses just a couple small dabs to adhere the PCB to the outside, otherwise it's just sandwiched layers of battery holder + PCB + magnet buzzer + NFC antenna (adafruit.com/product/365) + buzzer coil. Inside, we see a move from the nRF52832 (adafruit.com/product/3406) to the newer nRF52840 (adafruit.com/product/4062) which has more flash and RAM. There's still the Apple-silicon ultra-wideband chip with two tiny antennas on the PCB. The NFC antenna fits neatly at one end. The speaker assembly is larger thanks to a bigger magnet and coil - it must use the case as a resonating cavity. We love the high-density, all-black goth design of Apple hardware. We don't expect to be able to make something like this in house at Adafruit any time soon but there's always neat techniques to learn when seeing how the best-of-the-best do it. Note, we mentioned that the nRF52840 adds Angle-of-Arrival (blog.adafruit.com/2021/08/19…) sensing that should help determine what direction and distance a target object is at, but that’s actually in the nRF5340
2
7
2
123
13,489
Drug-Drug Interactions kill thousands yearly. Can we train AI to catch them? DDI-Corpus-Processed: 7K+ expert-annotated examples The model must classify: - Mechanism (how drugs interact) - Effect (clinical outcomes) - Advisory warnings - No interaction huggingface.co/datasets/Open…
1
2
5
362
EYE FLOATERS - a sign your body is quietly suffering. This is how they form, what that tells you about your underlying health, and how to prevent/eliminate them. (🧵1/8)
25
144
5
1,317
878,833
Yesterday a quasi-judicial body in Italy fined @Cloudflare $17 million for failing to go along with their scheme to censor the Internet. The scheme, which even the EU has called concerning, required us within a mere 30 minutes of notification to fully censor from the Internet any sites a shadowy cabal of European media elites deemed against their interests. No judicial oversight. No due process. No appeal. No transparency. It required us to not just remove customers, but also censor our 1.1.1.1 DNS resolver meaning it risked blacking out any site on the Internet. And it required us not just to censor the content in Italy but globally. In other words, Italy insists a shadowy, European media cabal should be able to dictate what is and is not allowed online. That, of course, is DISGUSTING and even before yesterday’s fine we had multiple legal challenges pending against the underlying scheme. We, of course, will now fight the unjust fine. Not just because it’s wrong for us but because it is wrong for democratic values. In addition, we are considering the following actions: 1) discontinuing the millions of dollars in pro bono cyber security services we are providing the upcoming Milano-Cortina Olympics; 2) discontinuing Cloudflare’s Free cyber security services for any Italy-based users; 3) removing all servers from Italian cities; and 4) terminating all plans to build an Italian Cloudflare office or make any investments in the country. Play stupid games, win stupid prizes. While there are things I would handle differently than the current U.S. administration, I appreciate @JDVance taking a leadership role in recognizing this type of regulation is a fundamental unfair trade issue that also threatens democratic values. And in this case @ElonMusk is right: #FreeSpeech is critical and under attack from an out-of-touch cabal of very disturbed European policy makers. I will be in DC first thing next week to discuss this with U.S. administration officials and I’ll be meeting with the IOC in Lausanne shortly after to outline the risk to the Olympic Games if @Cloudflare withdraws our cyber security protection. In the meantime, we remain happy to discuss this with Italian government officials who, so far, have been unwilling to engage beyond issuing fines. We believe Italy, like all countries, has a right to regulate the content on networks inside its borders. But they must do so following the Rule of Law and principles of Due Process. And Italy certainly has no right to regulate what is and is not allowed on the Internet in the United States, the United Kingdom, Canada, China, Brazil, India or anywhere outside its borders. THIS IS AN IMPORTANT FIGHT AND WE WILL WIN!!!
2,324
6,977
1,355
33,424
9,502,047
Sharat MR retweeted
Go 1.26 brings the long-awaited vectorized operations (SIMD) in the simd/archsimd package. Since it's hard to create a portable high-level API, the Go team decided to start with a low-level, architecture-specific one and support only amd64 for now. I think it's a great idea to let developers try things out and give feedback before designing a high-level interface. But there's one thing I don't quite understand. Why is the package called simd/archsimd? Since it's amd64-specific, shouldn't it be simd/amd64 or maybe simd/avx? What happens when Go adds support for SIMD on arm64? Wouldn't simd/archsimd become a messy bag of types, some supported only on amd64 and others only on arm64?
10
22
243
13,718
Sharat MR retweeted
holy fucking shit
3,398
29,359
5,619
189,455
38,037,430
Meta's segmentation models are insanely underhyped. The latest release - SAM Audio - allows you to search for ANY sound across a video, isolate it, and apply effects. Watch me take a travel vlogger's noisy clip and remove the background audio so he's way easier to hear 👇
20
87
2
934
51,114
The goroutine leak profile in the upcoming Go 1.26 is a big deal. But the synctest package, available since 1.24, can also catch leaks just fine. I don't know why no one talks about this. Anyway, it's time to cover both of them! antonz.org/detecting-gorouti…
5
18
143
8,188
In today's episode of programming horror... In the Python docs of random.seed() def, we're told "If a is an int, it is used directly." [1] But if you seed with 3 or -3, you actually get the exact same rng object, producing the same streams. (TIL). In nanochat I was using the sign as a (what I thought was) clever way to get different rng sequences for train/test splits. Hence gnarly bug because now train=test. I found the CPython code responsible in cpython/Modules/_randommodule.c [2], where on line 321 we see in a comment: "This algorithm relies on the number being unsigned. So: if the arg is a PyLong, use its absolute value." followed by n = PyNumber_Absolute(arg); which explicitly calls abs() on your seed to make it positive, discarding the sign bit. But this comment is actually wrong/misleading too. Under the hood, Python calls the Mersenne Twister MT19937 algorithm, which in the general case has 19937 (non-zero) bits state. Python takes your int (or other objects) and "spreads out" that information across these bits. In principle, the sign bit could have been used to augment the state bits. There is nothing about the algorithm that "relies on the number being unsigned". A decision was made to not incorporate the sign bit (which imo was a mistake). One trivial example could have been to map n -> 2*abs(n) + int(n < 0). Finally this leads us to the contract of Python's random, which is also not fully spelled out in the docs. The contract that is mentioned is that: same seed => same sequence. But no guarantee is made that different seeds produce different sequences. So in principle, Python makes no promises that e.g. seed(5) and seed(6) are different rng streams. (Though this quite commonly implicitly assumed in many applications.) Indeed, we see that seed(5) and seed(-5) are identical streams. And you should probably not use them to separate your train/test behaviors in machine learning. One of the more amusing programming horror footguns I've encountered recently. We'll see you in the next episode. [1] docs.python.org/3/library/ra… [2] github.com/python/cpython/bl…
212
472
66
7,698
773,365