Joined • 61 following • 1870 followers

Websitehttps://saagarjha.com
Emailsaagar@saagarjha.com
HotelTrivago

Saagar Jha

(replying to SnoopJ)
@SnoopJ If you really want to start an argument ask what category OCaml is in

F4GRX Sébastien

(replying to Saagar Jha)

@saagar @SnoopJ brainfucks.


Saagar Jha

I will not be taking questions at this time.
Playing X? I'll Show You Something Interesting meme template. In the first panel CEichn’s dad asks “Playing with types? I’ll show you something interesting”. In the second panel he says “The two types of programming languages are Lisp and C. All languages fall into these to categories. Haskell [logo]? Lisp. Java [logo]? C.” Calvin replies “Yeah…”. In the third panel Calvin’s dad continues: “Ruby [logo]? Lisp. Python [logo]? C. Despite having C-like syntax, JavaScript [unofficial logo, annoyingly there is no real logo for this??] is a Lisp.” In the last panel Calvin is kept up by the horrors of what Brendan Eich has wrought.
19 replies →
19 replies

SnoopJ

(replying to Saagar Jha)

@saagar having a "they hated him because he told the truth" moment about Python being categorized as C, here

2 replies →
2 replies

Saagar Jha

(replying to SnoopJ)
@SnoopJ If you really want to start an argument ask what category OCaml is in

F4GRX Sébastien

(replying to Saagar Jha)

@saagar @SnoopJ brainfucks.


fraggle

(replying to SnoopJ)

@SnoopJ @saagar Python / Ruby horseshoe theory


Daphne Preston-Kendal

(replying to Saagar Jha)

@saagar @fogti I am slightly more cruel and say the two types are Lisp and assembly, but yeah

1 replies →
1 replies

Fritz Adalis

(replying to Daphne Preston-Kendal)

@dpk @saagar @fogti
Assembly is a C.

Daphne Preston-Kendal

(replying to Daphne Preston-Kendal)

@saagar @fogti Also, Python and Java have automatic memory management and bounds checking; you can’t call them C


Dan Piponi

(replying to Saagar Jha)

@saagar But you can write Fortran in all of them


Æ.

(replying to Saagar Jha)

@saagar lukewarm take: Rust is a Lisp


mike bayer :python_logo:

(replying to Saagar Jha)

@saagar calvin can't sleep because he is thinking "well then what is PERL ?"


StarkRG@myside-yourside.net

(replying to Saagar Jha)

@saagar Objective C manages to be both.


traecer

(replying to Saagar Jha)

@saagar Despite having C-ish syntax, Perl is also a Lisp.


gok

(replying to Saagar Jha)

@saagar the real mindfuck is when you learn C++ and Rust and Swift are C, but C is Lisp

lizard appreciator

(replying to gok)

@doctorgoktor @saagar c++ is c but c++ templates are lisp


EndlessMason

(replying to Saagar Jha)

@saagar
Perl is the most upsetting lisp

Mx. Eddie R

(replying to EndlessMason)

@EndlessMason @saagar
Perl is the most upsetting

Arch 💕

(replying to Mx. Eddie R)

m'ughes

(replying to Saagar Jha)

@saagar

Thanks be to Douglas Crockford


Rue Mohr

(replying to Saagar Jha)

@saagar ((((L))(I)))(S))(P)))))))

aoeuidhtns

(replying to Rue Mohr)

@saagar@federated.saagarjha.com @RueNahcMohr@infosec.exchange

`(mismatched bracket two characters after the s
hold on, you've nerd sniped me, i need to make a "mocking lisp for all its parentheses generator", in lisp
it'll be so easy :)
; yes, this is valid scheme code, if you define "in"

aoeuidhtns

(replying to aoeuidhtns)

@RueNahcMohr@infosec.exchange @saagar@federated.saagarjha.com

done?:

(use-modules (srfi srfi-1) (srfi srfi-27))
(define (add-parens lst) 
        (if (eq? (length lst) 1)
                lst
                (let ((rand (+ 1 (random-integer (- (length lst) 1)))))
                        (list (add-parens (take lst rand)) (add-parens (drop lst rand))))))
(add-parens '(l i s p)) ; => ((l) ((i) ((s) (p))))

aoeuidhtns

(replying to aoeuidhtns)
1 replies →
1 replies

aoeuidhtns

(replying to Rue Mohr)

@RueNahcMohr@infosec.exchange @saagar@federated.saagarjha.com

first you mock lisp, next you post an image without alt text?!

Rue Mohr

(replying to aoeuidhtns)

@aoeuidhtns @saagar

I just thought the offer to translate the post stood on its own. sometimes it provides the most hilarious out-of-context salt. :]

aoeuidhtns

(replying to Rue Mohr)

@RueNahcMohr@infosec.exchange @saagar@federated.saagarjha.com

i mean, alt text, as in the text that describes the image, so blind people know what the image is
it's also very good for people who have slow internet, looking using a text-based browser, or just have bad eyes

Rue Mohr

(replying to aoeuidhtns)

@aoeuidhtns @saagar

yes, I'm sorry I dont alt-text more, but its like writing internet articles that you put 10 hours into and then find out later nobody read it. I'v lost my hope, and I'm sorry.

aoeuidhtns

(replying to aoeuidhtns)

@RueNahcMohr@infosec.exchange @saagar@federated.saagarjha.com

i was trying to make it portable by using srfis instead of guile functions but i then used the guile module syntax foolishly thinking that it was standard

aoeuidhtns

(replying to aoeuidhtns)

@RueNahcMohr@infosec.exchange @saagar@federated.saagarjha.com

i guess importing srfis just isn't a thing you do (outside of guile and chicken scheme, as far as i am aware)
i think in chicken scheme or wherever srfi importing is practiced, you could replace the first line with "(import (srfi 1) (srfi 27))"


Katerina Marchán

(replying to Saagar Jha)

@saagar no lies detected


Handler Skyler

(replying to Saagar Jha)

@saagar Rust


Wes Hardaker

(replying to Saagar Jha)

@saagar I recently wrote the first true artificial general intelligence implementation in lisp. To prove it, I'll reveal my last 100 characters of the source code:

))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))


HoldMyType

(replying to Saagar Jha)

@saagar no! you gotta explain this
what about ocaml? c or lisp ?


Marty Fouts

(replying to Saagar Jha)

@saagar Prolog has entered the chat.


nLupo :anarchist_flag: :antrans_flag:

(replying to Saagar Jha)

@saagar Unfortunately Javascript is a terrible Lisp.


ShutterBugged

(replying to Saagar Jha)

@saagar Despite having a C-like syntax, TCL is a lisp.

wiki.tcl-lang.org/page/Lisp


tippfehlr

(replying to Saagar Jha)

@saagar TIL that the JavaScript logo is unofficial


Saagar Jha

When DALL-E came out and was a novelty I remember people using it as an artistic style. Is anyone still doing that? Rather than focusing on making realistic content, using video models for dream sequences, text hallucinations for a psychosis-like effect, body horror, etc.

Saagar Jha

(replying to Félix)
@fay59 You’d think Mythos would know how to hack the average OpenClaw user

Saagar Jha

You can tell Anthropic hasn’t figured out alignment yet because if they did the model would call the cops on you the moment it realized you had ever used OpenClaw

Félix

(replying to Saagar Jha)

@saagar do you know first hand it doesn’t?

Saagar Jha

(replying to Félix)
@fay59 You’d think Mythos would know how to hack the average OpenClaw user

Saagar Jha

I’m back from my weekend in Torrance and everyone around me seems to be talking about it for some reason. What kind of insane ad targeting is this

Saagar Jha

@harshil Which one is that

Saagar Jha

(replying to Siguza)
@siguza I don’t think so in this case

Saagar Jha

(replying to Saagar Jha)
Also I feel like more judges need to read Hacker News because people will actively try to present a “quirky, weird project” that someone literally posted there like a month ago and just not get called out on it

Matt Massicotte

(replying to Saagar Jha)

@saagar a month ago? Those are rookie numbers.


Saagar Jha

(replying to Saagar Jha)
Back in my day if you delivered the 20th variation of the same idea at least you could argue you spent the time learning a new tech stack or something. If you are obviously having AI do all the implementation what did you spend the last 48 hours doing exactly

Saagar Jha

(replying to Saagar Jha)
Also I feel like more judges need to read Hacker News because people will actively try to present a “quirky, weird project” that someone literally posted there like a month ago and just not get called out on it

Matt Massicotte

(replying to Saagar Jha)

@saagar a month ago? Those are rookie numbers.


Saagar Jha

Not to sound like a thought leader and all but I was reviewing a bunch of hackathon projects and the fact that everyone is slopping them out now (code, frontend, slides, literally everything honestly) really highlights how ideas limited people are
1 replies →
1 replies

U+002C

(replying to Saagar Jha)

@saagar people were cracking jokes about "uber for dogs" years ago

Saagar Jha

(replying to Saagar Jha)
Back in my day if you delivered the 20th variation of the same idea at least you could argue you spent the time learning a new tech stack or something. If you are obviously having AI do all the implementation what did you spend the last 48 hours doing exactly

Saagar Jha

(replying to Saagar Jha)
Also I feel like more judges need to read Hacker News because people will actively try to present a “quirky, weird project” that someone literally posted there like a month ago and just not get called out on it

Matt Massicotte

(replying to Saagar Jha)

@saagar a month ago? Those are rookie numbers.


Saagar Jha

(replying to Saagar Jha)
What I don’t get is how Mail is able to make this San Francisco but Passwords somehow ends up with Helvetica for both its collapsed and expanded state subtitles

Siguza

(replying to Saagar Jha)

@saagar wouldn't be surprised if this were hardcoded based on bundle ID

Saagar Jha

(replying to Siguza)
@siguza I don’t think so in this case

Saagar Jha

(replying to Saagar Jha)
Of course if you read the code that is exactly what the method does before calling -[UINavigationItem setAttributedSubtitle:] but surely this wacky behavior is intentional and must have gone through some sort of review, right?

Saagar Jha

(replying to Saagar Jha)
What I don’t get is how Mail is able to make this San Francisco but Passwords somehow ends up with Helvetica for both its collapsed and expanded state subtitles

Siguza

(replying to Saagar Jha)

@saagar wouldn't be surprised if this were hardcoded based on bundle ID

Saagar Jha

(replying to Siguza)
@siguza I don’t think so in this case

Saagar Jha

Usually I’d point at this and go “haha obviously someone just made an NSAttributedString without configuring it” but like it’s been this way for a while and this is the most basic use of -[UINavigationItem setSubtitle:] so now I’m not so sure this is a bug or not
Screenshot of the Unwyze navigation bar, with the default 9:41 status bar and navigation bar title “Completed” in San Francisco and subtitle “Battery: 100%” in Helvetica 12 point. On the right is a button with the “person” symbol.

Saagar Jha

(replying to Saagar Jha)
Of course if you read the code that is exactly what the method does before calling -[UINavigationItem setAttributedSubtitle:] but surely this wacky behavior is intentional and must have gone through some sort of review, right?

Saagar Jha

(replying to Saagar Jha)
What I don’t get is how Mail is able to make this San Francisco but Passwords somehow ends up with Helvetica for both its collapsed and expanded state subtitles

Siguza

(replying to Saagar Jha)

@saagar wouldn't be surprised if this were hardcoded based on bundle ID

Saagar Jha

(replying to Siguza)
@siguza I don’t think so in this case

Saagar Jha

I’m still upset that Jeff Williams retired and ruined my longtime plan to make a “COO d'état” joke

Saagar Jha

(replying to Saagar Jha)
Anyway if you are an iOS engineer and you have found it impossible to set the date overrides in your simulator the answer is they rewrote everything in Swift and forgot to pass through date information

Saagar Jha

Hey CoreSimulator team? Can you please get some CI for status bar overrides to make sure they actually work? This is like the third time you’ve broken it

FB22539899 (STStatusBarData.applyDictionary(dict:) does not copy over date information for status bar override)

Saagar Jha

(replying to Saagar Jha)
Anyway if you are an iOS engineer and you have found it impossible to set the date overrides in your simulator the answer is they rewrote everything in Swift and forgot to pass through date information

Saagar Jha

(replying to Saagar Jha)
All your friends are out there making God out of sand and earning more in a year than you will make over your entire life. Your request to present at NeurIPS just got rejected by legal review. If you’re lucky they’ll add support for hardware block scaling in 2032

Saagar Jha

Can you imagine how embarrassing it must be to be a Siri engineer right now? Your SVP asks for more GPUs to make the thing actually work and gets fired for it. All your coworkers hate you for making 10% more than them and then the guy who made The Pact sends you to slop school

Saagar Jha

(replying to Saagar Jha)
All your friends are out there making God out of sand and earning more in a year than you will make over your entire life. Your request to present at NeurIPS just got rejected by legal review. If you’re lucky they’ll add support for hardware block scaling in 2032

Saagar Jha

April Fool’s was a few weeks ago but it seems like not everybody got the message
Screenshot of an email subject line: “Use your CS background to work with AI (up to $30/hr, remote)