Yawar Amin.ocallm Profile
Yawar Amin.ocallm

@yawaramin

Followers
2K
Following
54K
Media
1K
Statuses
47K

Full-sack developer, serial coflounder, 10➗engineer

Toronto, OH
Joined June 2009
Don't wanna be here? Send us removal request.
@yawaramin
Yawar Amin.ocallm
2 years
You've seen Advent of Code, now get ready for Ramadan of Code. It's 30 days of no coding.
78
625
5K
@yawaramin
Yawar Amin.ocallm
3 years
Bike Fall via @imgflip
Tweet media one
11
693
3K
@yawaramin
Yawar Amin.ocallm
5 months
@ClayHarted The spiciest food they can handle is salad dressing.
84
54
3K
@yawaramin
Yawar Amin.ocallm
4 months
@ask_aubry I'm Bengali and there is no way in hell you can add CINNAMON of all things to white-coloured Bengali desserts like roshgolla, firni, or any others. Those things have very gentle, specific flavours that would be OBLITERATED by cinnamon.
18
24
3K
@yawaramin
Yawar Amin.ocallm
2 months
> Asks if 'if err != nil' is really that bad. > Screenshot example shows accidental fallthrough from error case to success case. Do we really need to discuss further?.
@kai_fall
Kai Fall
2 months
is `if err != nil` really that bad?
Tweet media one
50
161
3K
@yawaramin
Yawar Amin.ocallm
1 year
@ohmypy @adamwathan Look. C claims to solve a number of problems. All of these problems can be solved without C, by using pure Assembly and a sensible approach to working with registers and interrupts. So why use C?.
13
22
942
@yawaramin
Yawar Amin.ocallm
6 months
@jmcconnell70 @tinytempah235 @your_juannonly @jaymart222 @75opinionated Yeah, we know slumlords would happily let people live in dumps, you don't have to tell us. This is why regulations are needed to force LLs to keep their properties up to code.
11
0
806
@yawaramin
Yawar Amin.ocallm
10 months
Put this in your shell init script:. function rm () {. mv "$@" /tmp.}. Thank me later.
65
47
840
@yawaramin
Yawar Amin.ocallm
2 months
But that's quite literally the point though.
@kai_fall
Kai Fall
2 months
pls ignore the fact that we forgot to return early on err. it's just a mistake, that's not the point.
7
12
705
@yawaramin
Yawar Amin.ocallm
1 month
Why don't fulltime employed software devs produce polished software like Ghostty in their personal time? Is it because Mitchell Hashimoto is cracked? Or could it be because time and energy are limited after work and personal lives? What could it be, I wonder.
53
14
687
@yawaramin
Yawar Amin.ocallm
2 years
@watherboi @ISASaxonists Would legit watch this show.
1
3
589
@yawaramin
Yawar Amin.ocallm
2 years
@FrauW_Inklusion @SpiritofLenin Her family continues to be allowed to remain 'royalty' and figureheads of the state in exchange for never once lifting a finger or speaking out against Britain's Government no matter how blatant their crimes. They made that choice every day for decades. Hope that clarifies.
5
36
492
@yawaramin
Yawar Amin.ocallm
5 years
@RachelMComedy @mayeezus ‘It’s Christmas Eve, not Christmas Steve’.
2
3
464
@yawaramin
Yawar Amin.ocallm
4 years
@Matthaber @juliakite Probably the air in the bottle dissolved in the coke, decreasing the pressure inside the bottle below atmospheric pressure, making the bottle cave in.
6
0
452
@yawaramin
Yawar Amin.ocallm
5 years
@MaraWilson Radcliffe right now:
2
1
331
@yawaramin
Yawar Amin.ocallm
6 months
@BK62085930 @NikMarzz @jaymart222 @smokinglamps Short term thinking that predictably ends up with the mess they are currently in, with capitalized investments in maintenance the unit would have been usable and rentable today. Instead they are going to take a massive loss on it now.
2
0
315
@yawaramin
Yawar Amin.ocallm
3 years
@LoganAtlGA @turtlekiosk 'Mr Anderson, I want you to go up to the rim of Mount Doom and drop this in there'.
1
1
298
@yawaramin
Yawar Amin.ocallm
1 year
htmx gets criticized for being 15 KB minified+gzipped. Meanwhile, websites today:
11
55
306
@yawaramin
Yawar Amin.ocallm
6 months
@CarloLGarcia @VancityReynolds Shh. you'll Doom us all.
3
1
295
@yawaramin
Yawar Amin.ocallm
5 years
@Mayaaa_48 @colynelliott Blackberries don't exist. They're not real. (j/k, in case the Internet is reading this).
1
0
237
@yawaramin
Yawar Amin.ocallm
6 months
@LITizenJeff @BillyM2k The woman in the picture:
1
0
250
@yawaramin
Yawar Amin.ocallm
10 months
@tef_ebooks 'Yes we read the license but we believe it doesn't apply in our case because we really need your free labour'.
2
7
218
@yawaramin
Yawar Amin.ocallm
3 years
@JaimeHartless @calebscoville @DromiShai Then the right approach is probably to set expectations that emails will not be answered outside of working hours, not to 'forbid' people from sending them outside working hours.
2
0
217
@yawaramin
Yawar Amin.ocallm
2 years
@Majorna_BK @katherinemzhou Correction--she never had any problem that she told you about--if she's real, that is.
2
0
191
@yawaramin
Yawar Amin.ocallm
7 months
@devahaz @kitten_beloved It hasn't hit him yet that he would be considered 'DEI' by racists.
3
0
195
@yawaramin
Yawar Amin.ocallm
2 years
@CryptoMoonBoys2 @fasc1nate Not everyone makes it their mission to moon passersby.
1
1
176
@yawaramin
Yawar Amin.ocallm
1 year
@mujahidtalib786 Bro, how do you know what OnlyFans women dress like?.
4
3
172
@yawaramin
Yawar Amin.ocallm
1 year
@mujahidtalib786 If you know Twitter is full of them, why are you using it? 🤔.
2
3
169
@yawaramin
Yawar Amin.ocallm
4 months
@DanielDumbrill @mehdirhasan @mbelshazly You are talking about eating cake when you don't have bread. First fix your insane electoral system so that a third party has a REALISTIC chance of winning. Then talk about punishing Dems.
12
2
172
@yawaramin
Yawar Amin.ocallm
1 year
OCaml is like the 80% of the Rust language that you really like, without that last 20% that just fries your brain.
11
13
177
@yawaramin
Yawar Amin.ocallm
10 months
A bit smarter version:. function rm () {. for f in "$@". do. mv -f "$f" "/tmp/$f". done.}. This moves even non-empty directories.
9
7
171
@yawaramin
Yawar Amin.ocallm
2 years
@d_feldman When he started 10 months ago. hardly enough time to launch a medium-sized project, let alone modernize an entire fleet's operational software.
3
0
173
@yawaramin
Yawar Amin.ocallm
6 months
This is not idiomatic in TypeScript, don't do this. At a certain point you have to ask how the language wants to be used and use it like that. In Go and Rust it's pretty clear they want errors to be values and so that's what you do there. When in Rome etc.
@mattpocockuk
Matt Pocock
6 months
Here's my favourite method for getting Go/Zig/Rust-like errors in TS. It's by returning custom errors from functions. - Shows right in the return type.- Easy checking with instanceof.- No deps required
Tweet media one
Tweet media two
40
6
165
@yawaramin
Yawar Amin.ocallm
4 years
@GitHubPolicy Like we say in software dev (and you’ll find in your tech blogs about any production incident): an incident never happens because of just one person. It happens because of the systems and processes that allowed it to happen. Firing the HR person is the equivalent of firing the+.
4
4
147
@yawaramin
Yawar Amin.ocallm
7 years
@crimpy13 @daumkeziah Firstly, where did you get the impression that I think it’s racist? I think it’s extremely poor etiquette to treat minority cultures as buffet lunches one can just pick and choose from. Just shows thoughtlessness about what minorities have to put up with in the west about culture.
74
6
145
@yawaramin
Yawar Amin.ocallm
3 years
@_Padraig__ @HamillHimself I think there's a cool symmetry to Mark's version.
1
0
140
@yawaramin
Yawar Amin.ocallm
5 years
@DanTilkinKOIN6 @iwilsonq Oh wow. I was expecting some fisticuffs. Did not expect this.
2
1
138
@yawaramin
Yawar Amin.ocallm
1 year
I love dynamically-typed programming languages. They keep me employed (rewriting projects in statically-typed languages).
10
19
150
@yawaramin
Yawar Amin.ocallm
1 year
@MishToTheK @johncusack You have no arguments left now. Only hatred.
2
0
138
@yawaramin
Yawar Amin.ocallm
24 days
Some cracked chad has reimplemented shadcn/ui in OCaml Melange React bindings
Tweet media one
8
6
156
@yawaramin
Yawar Amin.ocallm
5 months
@herrmanndigital @nextdoorsv @shauncooley @therobertleonar So they built there despite it being uninsurable and now they expect a government bailout? lol, nice.
2
2
127
@yawaramin
Yawar Amin.ocallm
5 months
@Bannedhonesty @ClayHarted Don't even talk to me about toilets while you savages rush to hoard toilet paper at any sign of trouble 😂.
9
0
139
@yawaramin
Yawar Amin.ocallm
2 months
@zoriya_dev I have one too: I vertically align my queries
Tweet media one
23
0
143
@yawaramin
Yawar Amin.ocallm
9 months
Little-known advantage of OCaml: even if hackers leak your code, no one will understand it anyway, so security is pretty much airtight!.
11
6
128
@yawaramin
Yawar Amin.ocallm
5 years
@hmemcpy Looks like he’s logging too much.
1
3
124
@yawaramin
Yawar Amin.ocallm
4 years
@GitHubPolicy +guy who accidentally wipes the production database, instead of examining what systems and processes allowed one person to wipe the production database. It’s a collective responsibility.
1
1
116
@yawaramin
Yawar Amin.ocallm
5 years
@carissacancel @Mayaaa_48 @colynelliott Well thanks for the fruitful discussion 😎.
1
0
119
@yawaramin
Yawar Amin.ocallm
1 month
@MichaelAArouet Bro employees also being owners is literally socialism. That's how Huawei janitors also became millionaires @ConSelfOwns.
6
0
120
@yawaramin
Yawar Amin.ocallm
2 months
@Cohn_Jarmack Kai quite literally says in the next tweet that it was a mistake. ie accidental fallthrough.
0
0
120
@yawaramin
Yawar Amin.ocallm
4 months
Scala 3 is the best language on the JVM, and it's not particularly close.
11
10
112
@yawaramin
Yawar Amin.ocallm
8 years
NASA is hiring for a Haskell role
4
85
107
@yawaramin
Yawar Amin.ocallm
5 months
@parismarx '${buzzword-of-the-day} is at the very heart of our business!'.
0
2
105
@yawaramin
Yawar Amin.ocallm
4 years
@SharminaraH Now that's salesmanship!.
0
1
105
@yawaramin
Yawar Amin.ocallm
7 years
@crimpy13 @daumkeziah What about if people made fun of you for liking potatoes and then turned around and instagrammed potato-based delicacies?.
34
5
89
@yawaramin
Yawar Amin.ocallm
2 years
@molly0xFFF @FT In the brave new world of blockchain and crypto, they're tracking everything in a spreadsheet.
1
3
96
@yawaramin
Yawar Amin.ocallm
2 years
@chris__martin OK but don't overdo it.
0
0
103
@yawaramin
Yawar Amin.ocallm
2 years
@GergelyOrosz Lol so much for the mythical genius Tesla engineers.
1
0
89
@yawaramin
Yawar Amin.ocallm
7 months
Let's go hypermedia!!!! @htmx_org
Tweet media one
11
4
104
@yawaramin
Yawar Amin.ocallm
2 years
@GalvinAlmanza I did not have 'Keanu Reeves actually becomes Neo' in my bingo card.
1
5
90
@yawaramin
Yawar Amin.ocallm
5 years
Tweet media one
0
30
104
@yawaramin
Yawar Amin.ocallm
3 years
@jon_roelofs @migueldeicaza No, that's the _price_ of something. Value is a different concept--expectation of future economic output. Cryptocurrencies have none.
0
1
98
@yawaramin
Yawar Amin.ocallm
5 years
@JefferyRThomas @tyleroakley I’ve been known to go for a tiramisu. .
0
0
95
@yawaramin
Yawar Amin.ocallm
2 years
@cherthedev Tbh browsers should not respect the 'disable paste' functionality. They are supposed to be 'user agents', why are they taking agency away from users 🤦‍♂️.
2
0
88
@yawaramin
Yawar Amin.ocallm
5 years
@Girlsville @nytimesbusiness It's illegal to fire people for trying to unionize. So of course Google is firing them for 'security breaches'. This needs to be tested in court. My hope is that they're made to pay punitive damages for trying to circumvent the law so blatantly.
1
5
91
@yawaramin
Yawar Amin.ocallm
5 years
2
1
82
@yawaramin
Yawar Amin.ocallm
11 months
'I used to write OCaml at a FAANG'.Bro, just say Facebook.
4
10
93
@yawaramin
Yawar Amin.ocallm
2 years
While it's interesting that Jane Street uses OCaml, I think it's more interesting that a pretty significant portion of all United States stock market liquidity is driven by OCaml code. That's a lot of money.
2
14
91
@yawaramin
Yawar Amin.ocallm
7 years
. @reasonml protip: in VSCode, set:.": ["bsb"].This turns off Merlin error reporting and turns on bsb error reporting (more accurate). Bonus: runs bsb on every save so you don’t need ‘bsb -w’ any more—just webpack etc. in your terminal.
4
21
93
@yawaramin
Yawar Amin.ocallm
4 months
@AsadFromNYC Also a good time to remember that a lot of Americans wanted to stop teaching 'Arabic numerals' in schools.
2
2
88
@yawaramin
Yawar Amin.ocallm
1 year
@johncusack He's got guts. Called out a bunch of powerful people and made himself a persona non grata in those circles. But he'll achieve big things because conviction can't be bought and sold.
1
8
76
@yawaramin
Yawar Amin.ocallm
29 days
Just fyi OCaml folks:. $ dune cache trim --size=1GiB.Freed 28.12GB (43336 files removed).
6
5
98
@yawaramin
Yawar Amin.ocallm
4 months
@Dogbowl31Medb @ask_aubry It's soft, spongy, and lightly sweet
5
2
89
@yawaramin
Yawar Amin.ocallm
5 years
Know JavaScript but not sure how to get started writing ReasonML / BuckleScript bindings? Here's a quickstart cookbook that translates common JavaScript code patterns into BuckleScript bindings:
2
31
91
@yawaramin
Yawar Amin.ocallm
1 year
Me: static typing is good, actually.Rando: what about when the user creates new types at runtime?.Me:
8
4
86
@yawaramin
Yawar Amin.ocallm
5 months
@UncleScottiepoo @chIoroplast And also, if only there was a name for this process.
0
0
91
@yawaramin
Yawar Amin.ocallm
2 years
@wtoalabi @vboykis Pulls in 12 mil a year.Budget is really tight. Management are eating that money. They're getting exactly what they deserve 🙂.
1
2
85
@yawaramin
Yawar Amin.ocallm
4 months
As a South Asian functional programmer, you can take currying from my cold dead hands. .
7
6
89
@yawaramin
Yawar Amin.ocallm
5 years
Hello ReasonML & OCaml friends, I built a demo app showing code sharing between a native-compiled backend Reason web server, and a ReasonReact webapp: Would be happy if you would try it 🙂.
2
21
88
@yawaramin
Yawar Amin.ocallm
2 months
@mSanterre -You can easily forget to return it and you don't find out until runtime and hitting that code path where something inexplicably gets stuck or the wrong thing happens.-You couldn't make that mistake in any language which used a result type and exhaustive pattern matching.
1
0
90
@yawaramin
Yawar Amin.ocallm
2 years
@thatclarafied @fingerlump 'Twas a scrumptious scream.
0
1
81
@yawaramin
Yawar Amin.ocallm
5 years
OCaml is at the heart of cloud computing infra. Every time you spin up an EC2 instance–it runs OCaml code.
Tweet media one
1
14
83
@yawaramin
Yawar Amin.ocallm
4 years
@ceciliaalvar633 @AllahuAkbarAzpi @realDonaldTrump Oh we don’t want them either. Maybe Europe.
14
0
75
@yawaramin
Yawar Amin.ocallm
7 months
@KatieKruger8 @krismicinski State colleges, the open secret of how to get a good college education without plunging yourself into debt that people seem to just ignore as if it's not there. .
1
2
75
@yawaramin
Yawar Amin.ocallm
4 years
@ajpiano This joke makes less sense if one pronounces 'GIF' properly 😁.
6
0
71
@yawaramin
Yawar Amin.ocallm
11 months
@TippingOddsLV @Shayan86 You don't and can't believe because believing would force you to accept the truth that you have become inhuman and monstrous, that the deaths of infants means nothing to you, that you don't regard Palestinians as human.
1
1
76
@yawaramin
Yawar Amin.ocallm
6 years
@litonico_ Ah, la vie on rose.
0
6
72
@yawaramin
Yawar Amin.ocallm
4 months
@QuinzShifts @ask_aubry Add to that, cinnamon is used as a cooking spice in Bengali cuisine to add a strong flavour. It would be unthinkable to use it on sweets.
2
0
78
@yawaramin
Yawar Amin.ocallm
10 months
@NeeedlesEye The one weird trick where instead of cancelling people we talk to them.
0
1
74
@yawaramin
Yawar Amin.ocallm
7 months
This looks like somebody embedded OCaml in a kickass notebook engine?!.
@neurocy
Cyrus Omar (now mainly on bsky)
1 year
Excited for @abanduk's talk tomorrow at PROPL (the Programming for the Planet Workshop at POPL) on turning Hazel into a Live, Rich, Composable, and Collaborative Planetary Compute Engine!
Tweet media one
3
5
77
@yawaramin
Yawar Amin.ocallm
2 years
@larastapleton @Monika_Dutt I'm a brown guy. Tbh, this seems like a simple verification check to me, not an assumption that brown people can't be doctors.
7
0
67
@yawaramin
Yawar Amin.ocallm
6 months
@TaliaRinger @DualPowerThreat Ok just rewatched and you're right he said 'Jews' 🤦‍♂️.
3
1
72
@yawaramin
Yawar Amin.ocallm
5 months
There's a good reason why I keep saying that OCaml may an FP language but is Unix at heart: it's full of little historical tidbits like 'Oh the creator of OCaml wrote the first implementation of multithreading for Linux'.
5
6
72
@yawaramin
Yawar Amin.ocallm
3 years
@aminAKActs @skhanyz @beequammie He said 'customary', not 'prescribed' 😉.
0
0
66
@yawaramin
Yawar Amin.ocallm
5 years
@SCUngureanu @AMaltmanWrites @QasimRashid You are literally replying in a thread of a video that shows a guy resisting arrest and not getting killed by cops.
1
0
60
@yawaramin
Yawar Amin.ocallm
4 years
@ObiomaUgoala @kidnoble My God. He acted out his own death and afterlife in these scenes. While facing the prospect of his own death. What a giant soul. A great spirit.
1
4
67
@yawaramin
Yawar Amin.ocallm
2 years
@__phantomderp You really caused a lot of reflection in the Rust community.
0
2
70
@yawaramin
Yawar Amin.ocallm
3 months
@ThighNikky @cangelosilegacy @Dremifir @TheDark_ViKing @WigglyCath @NotSoSilentCat His parents literally shot him across space to escape from Krypton's fascist warlike regime and environmental catastrophe (literal planetary explosion), things that Jor-El's AI amply warned him about. How anyone could think he wouldn't be leftist, is unbelievable.
2
0
70
@yawaramin
Yawar Amin.ocallm
6 months
TIL you can have syntax highlighting in utop (the OCaml REPL) by just putting a config file in the right place:
Tweet media one
4
10
67
@yawaramin
Yawar Amin.ocallm
2 years
@migueldeicaza @jckarter git checkout Islam.
1
1
64
@yawaramin
Yawar Amin.ocallm
5 years
2
2
63