Yawar Amin.cad Profile
Yawar Amin.cad

@yawaramin

1,824
Followers
1,259
Following
942
Media
41,655
Statuses

Fools tack dev eloper

Toronto, Ontario
Joined June 2009
Don't wanna be here? Send us removal request.
@yawaramin
Yawar Amin.cad
1 year
You've seen Advent of Code, now get ready for Ramadan of Code. It's 30 days of no coding.
92
692
6K
@yawaramin
Yawar Amin.cad
2 years
Bike Fall via @imgflip
Tweet media one
12
778
4K
@yawaramin
Yawar Amin.cad
3 months
@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
23
984
@yawaramin
Yawar Amin.cad
1 month
Put this in your shell init script: function rm () { mv "$@" /tmp } Thank me later.
70
48
879
@yawaramin
Yawar Amin.cad
2 years
@watherboi @ISASaxonists Would legit watch this show
1
3
623
@yawaramin
Yawar Amin.cad
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.
6
37
517
@yawaramin
Yawar Amin.cad
4 years
@RachelMComedy @mayeezus ‘It’s Christmas Eve, not Christmas Steve’
3
4
515
@yawaramin
Yawar Amin.cad
3 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
1
481
@yawaramin
Yawar Amin.cad
4 years
@MaraWilson Radcliffe right now:
2
1
357
@yawaramin
Yawar Amin.cad
2 years
@LoganAtlGA @turtlekiosk 'Mr Anderson, I want you to go up to the rim of Mount Doom and drop this in there'.
1
1
314
@yawaramin
Yawar Amin.cad
3 months
htmx gets criticized for being 15 KB minified+gzipped. Meanwhile, websites today:
12
58
323
@yawaramin
Yawar Amin.cad
4 years
@Mayaaa_48 @colynelliott Blackberries don't exist. They're not real. (j/k, in case the Internet is reading this)
2
0
247
@yawaramin
Yawar Amin.cad
1 month
@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
244
@yawaramin
Yawar Amin.cad
2 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
1
231
@yawaramin
Yawar Amin.cad
2 years
@Majorna_BK @katherinemzhou Correction--she never had any problem that she told you about--if she's real, that is
2
0
208
@yawaramin
Yawar Amin.cad
3 months
@mujahidtalib786 Bro, how do you know what OnlyFans women dress like?
4
3
191
@yawaramin
Yawar Amin.cad
2 years
@CryptoMoonBoys2 @fasc1nate Not everyone makes it their mission to moon passersby
1
1
185
@yawaramin
Yawar Amin.cad
3 months
@mujahidtalib786 If you know Twitter is full of them, why are you using it? 🤔
2
3
186
@yawaramin
Yawar Amin.cad
9 months
OCaml is like the 80% of the Rust language that you really like, without that last 20% that just fries your brain
13
14
182
@yawaramin
Yawar Amin.cad
1 month
A bit smarter version: function rm () { for f in "$@" do mv -f "$f" "/tmp/$f" done } This moves even non-empty directories.
10
7
181
@yawaramin
Yawar Amin.cad
1 year
@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
177
@yawaramin
Yawar Amin.cad
3 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
6
161
@yawaramin
Yawar Amin.cad
3 years
@_Padraig__ @HamillHimself I think there's a cool symmetry to Mark's version.
1
0
153
@yawaramin
Yawar Amin.cad
6 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
78
8
150
@yawaramin
Yawar Amin.cad
5 years
@DanTilkinKOIN6 @iwilsonq Oh wow. I was expecting some fisticuffs. Did not expect this.
2
1
145
@yawaramin
Yawar Amin.cad
8 months
I love dynamically-typed programming languages. They keep me employed (rewriting projects in statically-typed languages).
11
20
158
@yawaramin
Yawar Amin.cad
5 months
@MishToTheK @johncusack You have no arguments left now. Only hatred
2
1
151
@yawaramin
Yawar Amin.cad
3 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
129
@yawaramin
Yawar Amin.cad
4 years
@hmemcpy Looks like he’s logging too much
1
3
134
@yawaramin
Yawar Amin.cad
4 years
@carissacancel @Mayaaa_48 @colynelliott Well thanks for the fruitful discussion 😎
1
0
122
@yawaramin
Yawar Amin.cad
7 years
NASA is hiring for a Haskell role
5
89
115
@yawaramin
Yawar Amin.cad
3 years
@SharminaraH Now that's salesmanship!
0
1
108
@yawaramin
Yawar Amin.cad
6 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
95
@yawaramin
Yawar Amin.cad
1 year
@GalvinAlmanza I did not have 'Keanu Reeves actually becomes Neo' in my bingo card.
1
6
100
@yawaramin
Yawar Amin.cad
2 years
@molly0xFFF @FT In the brave new world of blockchain and crypto, they're tracking everything in a spreadsheet
1
3
108
@yawaramin
Yawar Amin.cad
2 years
@GergelyOrosz Lol so much for the mythical genius Tesla engineers
1
0
107
@yawaramin
Yawar Amin.cad
1 year
@chris__martin OK but don't overdo it
0
0
109
@yawaramin
Yawar Amin.cad
4 years
Tweet media one
0
30
108
@yawaramin
Yawar Amin.cad
2 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
106
@yawaramin
Yawar Amin.cad
4 years
@JefferyRThomas @tyleroakley I’ve been known to go for a tiramisu...
0
0
102
@yawaramin
Yawar Amin.cad
1 year
@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
103
@yawaramin
Yawar Amin.cad
4 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
4
97
@yawaramin
Yawar Amin.cad
2 months
'I used to write OCaml at a FAANG' Bro, just say Facebook
5
10
102
@yawaramin
Yawar Amin.cad
5 years
2
2
93
@yawaramin
Yawar Amin.cad
5 months
@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
9
94
@yawaramin
Yawar Amin.cad
6 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
98
@yawaramin
Yawar Amin.cad
4 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
37
97
@yawaramin
Yawar Amin.cad
4 months
Me: static typing is good, actually Rando: what about when the user creates new types at runtime? Me:
10
4
95
@yawaramin
Yawar Amin.cad
1 year
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.
3
15
97
@yawaramin
Yawar Amin.cad
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 🙂
2
2
94
@yawaramin
Yawar Amin.cad
4 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
92
@yawaramin
Yawar Amin.cad
2 years
@thatclarafied @fingerlump 'Twas a scrumptious scream
0
1
85
@yawaramin
Yawar Amin.cad
4 years
@ceciliaalvar633 @AllahuAkbarAzpi @realDonaldTrump Oh we don’t want them either. Maybe Europe.
14
0
79
@yawaramin
Yawar Amin.cad
3 years
@ajpiano This joke makes less sense if one pronounces 'GIF' properly 😁
9
0
83
@yawaramin
Yawar Amin.cad
4 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
15
86
@yawaramin
Yawar Amin.cad
2 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
82
@yawaramin
Yawar Amin.cad
21 days
@NeeedlesEye The one weird trick where instead of cancelling people we talk to them
0
1
83
@yawaramin
Yawar Amin.cad
5 years
@litonico_ Ah, la vie on rose
1
6
75
@yawaramin
Yawar Amin.cad
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.
8
0
77
@yawaramin
Yawar Amin.cad
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
73
@yawaramin
Yawar Amin.cad
4 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
67
@yawaramin
Yawar Amin.cad
1 year
@__phantomderp You really caused a lot of reflection in the Rust community.
0
2
74
@yawaramin
Yawar Amin.cad
2 years
@aminAKActs @skhanyz @beequammie He said 'customary', not 'prescribed' 😉
0
0
70
@yawaramin
Yawar Amin.cad
1 year
@migueldeicaza @jckarter git checkout Islam
1
2
69
@yawaramin
Yawar Amin.cad
2 years
@money_sacs @julian_west @TrustNobis @JenSemDem07 @CaseyNewton 'Elon is a billionaire. His process of firing people and then asking them to come back after realizing he needs them can't possibly be a mistake. You just don't realize how smart he is.'
2
2
70
@yawaramin
Yawar Amin.cad
2 months
There is a non-zero chance that some folks at Microsoft Research will implement the Perceus precise reference-counting algorithm for the OCaml 5 runtime, which could result in Rust-like performance without needing any language syntax-level changes:
5
10
72
@yawaramin
Yawar Amin.cad
5 years
@1876Takaho @copperwormUK @RuthHHopkins @erik_farm The United States actually refused to ratify the United Nations resolution on genocide for many years after WW2 because they thought they would have to face consequences for genocide against Native Americans. They remember—even as they want us to forget.
3
12
65
@yawaramin
Yawar Amin.cad
9 months
@trader35235432 Seethe with jealousy for the rest of your life while Mark enjoys his without knowing you exist 😂
4
0
66
@yawaramin
Yawar Amin.cad
3 years
@Workshopshed @adrianbowyer @CityPolicePIPCU You can, and someone else can, and then another person can ... at some point it’s not scalable.
1
0
65
@yawaramin
Yawar Amin.cad
9 months
People trying out OCaml for the first time
@HumansNoContext
humans without context
10 months
1K
20K
149K
8
15
67
@yawaramin
Yawar Amin.cad
3 years
@RandallKanna @cherthedev At least partly ageism. I’ve been working recently on an interview question set that actively rejects the ‘data structures & algorithms’ style and asks specifically about topics that will be used daily on the job.
3
0
67
@yawaramin
Yawar Amin.cad
1 year
@allenholub @naren_legha Why do you think that teams must not have a culture of quality if they experience difficult bugs? Do the magic words 'culture of quality' solve every issue?
1
0
66
@yawaramin
Yawar Amin.cad
3 years
Rust marketing is amazing. People are convinced it’s a great high-level language for writing line-of-business apps.
6
2
64
@yawaramin
Yawar Amin.cad
8 months
A lot of people have complained over the years that OCaml's and other standard library functions were not tail recursive (stack safe). Well, now they are. Using a very cool technique that just does TCE of straightforward recursive code that uses ctors.
2
9
64
@yawaramin
Yawar Amin.cad
5 months
Using Rust is the programming experience of a lifetime
8
3
63
@yawaramin
Yawar Amin.cad
3 months
@stolinski @AndyJessop33500 Personally I think this industry way overestimates how much interactivity is needed for a good, efficient, UX. But trying to bring that up seems to set people off
5
3
63
@yawaramin
Yawar Amin.cad
2 years
@NotThatKaren @Adequate_Scott @sncrlynotsorry @barbarikkizzle She also said the wedding was held in the neighbour's _tennis court._ What part of 'fanciest house on the street' and 'tennis court' tells you they're not richer?
1
0
61
@yawaramin
Yawar Amin.cad
3 months
@JoeMaristela @RepAOC The international community _is_ 'up in arms'. What do you think it means when the ICJ plausibly finds that Israel could be committing genocide?
2
0
60
@yawaramin
Yawar Amin.cad
8 months
You ever see all the OCaml love on here and think, 'Where's the drama?' The OCaml folks are mostly drama'd out. They had the mother of all dramas in the '80s when they split from ML, and it was a messy divorce. There are people nursing wounds about that to this day.
4
3
62
@yawaramin
Yawar Amin.cad
4 months
Wirth's philosophy: yes, X is better than Y; but is it _sufficiently_ better than Y to make up for the increase in complexity of using X?
9
11
61
@yawaramin
Yawar Amin.cad
9 months
'htmx is just using JavaScript, checkmate!' 'Postgres is just using the file system, checkmate!'
3
4
60
@yawaramin
Yawar Amin.cad
3 years
@Crell @afilina Really any software funded by taxpayers should be mandated to be open source.
3
6
59
@yawaramin
Yawar Amin.cad
4 months
@briantylercohen @mehdirhasan Isn't he the 'based on current trends covid will be over by March 2020' guy?
1
5
59
@yawaramin
Yawar Amin.cad
3 years
@Sab_xz24 @lovethundernews @nportmanbr Cause she’s playing The Mighty Thor
1
0
59
@yawaramin
Yawar Amin.cad
5 months
@solomonstre Really? We shouldn't loudly protest against a massive campaign of indiscriminate killing–a genocide–because it might be embarrassing to go to lunch later? Is human morality supposed to be 'loose beliefs, loosely held'?
1
4
54
@yawaramin
Yawar Amin.cad
3 years
@arshia__ Also, ‘that’s orthogonal to this discussion’
4
0
60
@yawaramin
Yawar Amin.cad
2 months
@kahntra @Alonso_GD @ProfDBernstein The article also quotes factory owners as saying 'The industry is at a complete standstill and is only 30% productive', that seems to indicate that Palestinians are doing 70% of the work while being compensated with peanuts relative to their contribution to Israel's GDP
2
0
57
@yawaramin
Yawar Amin.cad
3 years
I wrote about how the ReScript change might affect ReasonML and OCaml users
3
12
57
@yawaramin
Yawar Amin.cad
4 years
OCaml is like Haskell but, like, if you don't like grabbing a coffee for every build
8
1
57
@yawaramin
Yawar Amin.cad
23 days
Tweet media one
2
7
57
@yawaramin
Yawar Amin.cad
2 years
@TheRealPayne747 @mozilla Nonsensical article. The banking and gold sectors are orders of magnitude larger than the crypto sector. The real comparison would be energy cost per transaction. But they carefully avoid that comparison.
7
0
55
@yawaramin
Yawar Amin.cad
3 years
@GitHubPolicy Making it about ‘personal accountability’ isjust weaseling out of solving the real problem. This is a corporate incident within GitHub, not a personal incident between two private citizens on the street.
1
1
52
@yawaramin
Yawar Amin.cad
8 months
Since OCaml is trending on Twitter (for several days now!), periodic reminder that the original plan was to write a significant part of it in OCaml...but Ruby on Rails was too compelling for the startup to ignore.
@jack
jack
13 years
Originally I was going to program twttr in Python, C, & Ocaml. But, I got @florian who was a core contributor to Ruby on Rails. #twttr
1
93
154
2
8
54
@yawaramin
Yawar Amin.cad
1 year
Jane Street: we hire only the best of the best, our interviews are legendary Also Jane Street: we hired SBF
5
9
52
@yawaramin
Yawar Amin.cad
11 months
Kinda funny that everyone is excited about Google using Rust. I remember the good old days when the received wisdom (from Rob Pike) was, 'The key point here is our programmers are Googlers,…They’re not capable of understanding a brilliant language...'
7
1
54
@yawaramin
Yawar Amin.cad
3 months
Developers: use the right tool for the job! Also developers: the right tool for the job is the one I'm already familiar with
9
3
52
@yawaramin
Yawar Amin.cad
3 years
@philoserf @EmilyKager Well that’s the magical thing about agile. If it doesn’t work for someone, they were Just Doing It Wrong. Agile itself can never be wrong, it’s a miracle handed down to us by the Agile Gods.
3
2
52
@yawaramin
Yawar Amin.cad
6 years
You, a manager: failure is not an option. Me, a statically-typed programmer: of course not, it’s a Result. The other case is Success. You: ...
2
17
51