Advertisement · 728 × 90

Posts by Jasvir Nagra

Preview
CSSemgrep – Grep but CSS This really is an April Fools experiment. I built it for my Dad's 80th birthday.

Slightly late for April Fools - it's marinated a while.
A while back I joked with @isaacevans.bsky.social and Daghan about a terrible idea: structural code search, but with CSS?

Unfortunately I built it.

CSSemgrep: www.linkedin.com/pulse/cssemg...

A cursed tiny tribute to Semgrep.

5 days ago 0 0 0 0
Preview
People would rather be electrically shocked than left alone with their thoughts Human mind may be wired to find inner reflection unbearable

I keep waiting for someone to dispute this result and keep going back to reread it even though it bugs me so much....

... before realizing I'm confirming the result.

www.science.org/content/arti...

2 weeks ago 0 0 0 0
Preview
Gödel, Escher, Me — Part 1: The Coffeehouse I Tried to Host I had this romantic idea of university. The version in my head looked like a Vienna coffeehouse — the late 19th-century “Vienna 1900” scene through the interwar years, roughly the 1880s–1910s and then...

I used to chase the "Vienna coffeehouse" version of university: small tables, big ideas, ok coffee.

Mostly failed.

But one night, someone asked: "So... what’s special about meat?" And we accidentally speedran today's AI debate years before LLMs.

Part 1: www.linkedin.com/pulse/g%C3%B...

1 month ago 0 0 0 0
Preview
Hogwarts: Names & Delegation If part one was the theory, this one is wizardry. And yes: this post is going to be very Hogwarts-focused, partly because Hogwarts is weirdly good for threat modeling, and partly because I am a fan of...

So I like HP. A lot. I think about Hogwarts as a security thingy & honestly it holds up alarmingly well: Polyjuice breaks auth, the Trace is noisy telemetry, and the Fidelius Charm is basically ocaps with some extra drama.

www.linkedin.com/pulse/hogwar...

1 month ago 0 0 0 0
Preview
Names Are Handles There are only two hard things in Computer Science: cache invalidation, naming things, and off-by-one errors. This old joke highlights that naming stuff is notoriously tricky — and not just for progra...

I think about names a lot.

Names aren’t labels...they’re handles. Human names are messy & relational, myths treat true names as power, and ocap security makes it literal: hold the handle (key/token/secret URL) → you have power.

www.linkedin.com/pulse/names-...

2 months ago 0 0 0 0

subgraph isomorphism is in NP - that feels like something!

2 months ago 1 0 0 0
Preview
I Am Not U or I ≠ U The sequel to Quines Previously, we have played with Quines: programs that print their own source code. Self-reproduction.

Quines say "say me"
Inequ say "see me"

Self-recognizing programs that read program text & ask: "Is that… me?"

Starts as byte checks & spirals into mirror tests, regex narcissism & CS slamming an UNDECIDABLE stamp on dreams.

www.linkedin.com/pulse/i-am-u...

#RecursiveRhymesOnReason

2 months ago 1 0 1 0
Preview
Ezra Pounds Forests In a Station of the Metro with Perl and Unicode Last week I argued that translation isn’t moving words from one language to another — it’s swapping interpreters, and admitting you can’t keep everythin...

I translated Ezra Pound’s 14-word metro poem into a Perl one-liner with Unicode emoji—and it literally prints trees: a tiny experiment in what translation really preserves (spoiler: not the words).

www.linkedin.com/pulse/ezra-p...

#RecursiveRhymesOnReason

3 months ago 1 0 0 0
National Nothing Day - Wikipedia

I didn't realize today is National Nothing Day. Unfortunately, I didn't celebrate it.

en.wikipedia.org/wiki/Nationa...

3 months ago 2 0 0 0
Advertisement
Preview
Untranslatable Lessons from what it means to translate a nursery rhyme into JavaScript “Poetry is what gets lost in translation” — Robert Frost This quote is widely attributed to Robert Frost but the attribution its...

I translated a nursery rhyme into JS & learnt with translating poems, you gotta choose what is load-bearing.

From nonsense poems to haiku constraints to code-poetry...

Translation: It's staged word magic + citations.

Enjoy!

www.linkedin.com/pulse/untran...

#RecursiveRhymesOnReason

3 months ago 1 0 0 0
Humpty Dumpty - JSFiddle - Code Playground JSFiddle - Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle.

Fun with JS

const _=new Proxy([],{get:(b,k)=>k=="_"?(console.log(b.join` `),b.length=0,_):(b.push(k),_)})

_.Humpty.Dumpty.sat.on.a.wall._
_.Humpty.Dumpty.had.a.great.fall._
_.All.the.kings.horses.and.all.the.kings.men._
_.could.not.put.Humpty.Dumpty.together.again._

jsfiddle.net/jnagra/vg79m...

3 months ago 2 1 0 0
Preview
Know It All: A Tour of Knowledge’s Limits There are questions we don’t know yet, questions we can’t know ever, and questions where the answer literally can’t fit inside the…

Sometimes we don’t know yet, sometimes the answer doesn’t fit in the universe & sometimes we can’t ever know.

Chaos, quantum dice, uncomputable monsters, Gödel’s ceiling - knowledge has weirdly beautiful limits.

I wrote on things we cannot know: medium.com/@jasvir/know...

Enjoy!

3 months ago 2 0 0 0

Do you think Pavlov's dogs like pavlova? Or are they just conditioned to think they do?

3 months ago 0 0 0 0

Ok this meteor shower is gorgeous. I find it oddly romantic that a comet exploded around this part of the solar system ages ago and now once a year in December as earth blazes through it, we get shiny pretty things in the sky.

#GeminidMeteorShower

4 months ago 0 0 0 0

A joke for vexillologists - Is the US nervous about China because it's a red flag? 🚩

4 months ago 0 0 1 0

The sky is solid uniform white today! It's like they forgot to finish rendering the screen in a game.

4 months ago 1 0 0 0
Advertisement

rorohiko:song jas$ time say "aioli"

real 0m1.024s
user 0m0.115s
sys 0m0.047s
rorohiko:song jas$

4 months ago 0 0 0 0

I think you're right!

Currently my machine is saying outloud every word in /usr/share...words and timing it. I just need some consistent pronunciation - else I'll fool myself by saying some words faster than others.

4 months ago 2 0 1 0

"Strengths faded after six long months."
Time: 2.825s | Length: 38 | Time per char: .0743 s/char

"Sixths of their strengths were gone."
Time: 2.183s | Length: 36 | Time per char: .0606 s/char

"They survived on crisps and squirrel strength."
Time: 2.817s | Length: 46 | Time per char: .0612 s/char

4 months ago 0 0 1 0

Oh the sentence has to be grammatically correct ofcourse.

4 months ago 0 0 1 0

This is my best attempt so far:

rorohiko:song jas$ time say Squirrels hid crisps through sixteen long months.

real 0m3.150s
user 0m0.159s
sys 0m0.112s
rorohiko:song jas$

4 months ago 0 0 1 0

In case you're foolish enough to be nerdsniped, there is presumably the shortest sentence that takes the longest to say clearly... what is that sentence?

4 months ago 0 0 1 0

Soooo... I had a weird dream about a silly made up puzzle then woke at 5am trying to think of ways to solve it. And have now spent 4hrs on it.

How's your Saturday?

4 months ago 1 0 1 0

You joke but you know, weirdly, in the limited world of programming languages - this is a large part of the work you've done fixing JS - making the core make consequences be intentional. :p

4 months ago 0 0 0 0

Mostly the summaries @gothamchess.bsky.social makes.

4 months ago 1 0 0 0

Thanksgiving feels like a good day to think about Dining Philosophers.

4 months ago 0 0 0 0
Advertisement

I think watching the World Cup Chess this year is the first time I've remembered the passionate enthusiasm sports fans have about about whatever their game is since maybe the 1990 rugby 7s.

It's so crazy all over the place. So fun!

4 months ago 1 0 1 0

What's the fastest thing humans' have ever made? Is it Voyager? It's moving at such a small fraction of the speed of light.

I guess we've made torches that make photons ...that move at the speed of light. But that feels like cheating.

5 months ago 0 0 1 0
Baba Is You

I dreamt about how I would write prolog to solve this game and it's so crazy impossible. It _feels_ possible but I can't reason about it.

You should play it. hempuli.com/baba/

5 months ago 1 0 0 0

BABA IS YOU AND UNREASONABLE

5 months ago 4 0 1 0