Icelander. Eudaimonist. Individualist. Comonad enthusiast. Co-creator of the Unison programming language. Co-author of Functional Programming in Scala.

Boston, MA
Replying to @coladaclan
61
401
40,046
2,038,480
GPT-3 has basically replaced Google for me for searching through humanity's collective memory. Example below. The Google result is reminiscent of AltaVista from c.a. 1998.
66
445
3,668
Replying to @RadioGenoa
These people are likely supposed to be of the Ahrensburg culture, about 9000 to 12000 years ago. As far as we know, they had dark skinned and blue eyes. The light skin and blonde hair characteristic didn’t evolve until the Bronze Age
8
17
2,438
74,182
Replying to @nealagarwal
Awesome game. I was even able to craft my own name:
1
67
2,001
85,898
Replying to @jeremykauffman
It’s a simple misunderstanding of the problem as presented. They just take “false positive rate” to mean “the portion of positives that are false” rather than “the portion of all tests that are falsely positive”
47
8
1,296
110,640
Replying to @Austen
Each footstep gives ~0.5 joules. Estimate 100,000 steps a day, about 14 Wh. Enough to run a 60 W bulb for 15 minutes.
19
5
1,248
17,464
3yo was learning about primary colors, and therefore asked a creative question: “are there primary numbers?” Didn’t think I’d be teaching my 43 month old about primes, but here we are. She loved the lesson, and felt very proud of her question and satisfied by the explanation.
20
36
1,115
101,365
Replying to @Jetskigrizzly
The whole floor smells like laser printer toner and productivity
3
2
1,142
90,281
Here's a crazy idea for technical interviews. Instead of whiteboard coding, 45-minute algorithms challenges, and brain-teasers, ask the candidate to bring some code they wrote. It can be anything. The interview is then just a code review.
62
140
841
The Commodore 64 is now as old as the ENIAC was when the C64 came out.
18
344
815
Replying to @TylerAlterman
In high school my funk band travelled to Denmark from Iceland by playing small gigs and saving up the money we got for wearing T-shirts plastered with logos of various companies we asked for sponsorship. We just asked each one if they'd give us ~$100 and they said sure.
5
6
704
73,436
I honestly do not understand why all software is so terrible.
186
38
663
195,633
The truly precious resource is not your time, but attention. Spending attention wisely improves the quality of your time. Conversely, time is worthless when you attention is scattered.
6
159
676
Replying to @mbateman
This book: "If you're feeling frustrated, that means you're low on dopamine and you need a break! Also if you're feeling frustrated that means your brain is about to learn something new and you should keep going!" Well, which is it?
4
2
507
48,934
20 years ago, the experience of buying a new computer was “wow, this thing is incredible, check out all the cool stuff it can do”. These days the experience is “this is just like my old one except the keyboard kind of sucks”.
21
66
471
Replying to @cafreiman
Alice makes shoes, but needs fish. Bob fishes, but need shoes. They trade. Existential Comics: "Sounds good." Alice has some money, but needs a steady income. Bob has a steady income, but needs some money. They trade. Existential Comics: "This is a crime!"
19
7
449
41,329
Replying to @Austen
A Chrome extension called “I don’t care about cookies” is essential when browsing from the EU
16
2
466
66,818
I’ve panicked during algorithms interviews. More than once. Like “what even is programming” panicked. Not only didn’t I get those jobs, but people I considered my peers thought I was a complete idiot, or that I lied on my resume.
You ever think about all the great engineers who were passed on because they got anxiety during their algorithm interviews?
16
42
427
There's a way of programming that I've been doing for decades and I realized recently it doesn't come naturally to many folks, so here's a pro tip: Write to the interface you'd like to have. That is, write the code you want, even if it doesn't work, then make it work.
46
40
458
17,167
There was. It was a Tuesday.
391
9,814
Replying to @jeremykauffman
More than any statistics, this is a misinterpretation of what "false positive rate" means. The result is consistent with an interpretation meaning "for any given positive there's a 5% chance it's false". But that's not what "false positive rate" means.
22
1
387
68,136
Replying to @rlmcelreath
It’s like how many different lists can you make that have no items. One, the empty list.
3
311
8,900
Replying to @Duderichy
$1M has to be gross revenue. The company is "making" maybe 70 cents on each of those lattes. So if he makes lattes nonstop for an hour, his cut is $20 and the company's cut is $28. If there's a lull and he's working at half capacity, he still gets $20 and the company $14.
5
4
320
36,379
Introvert problems: when a meeting has been going for more than an hour, my energy for human interaction is depleted to the point where no matter what the original problem was that we were trying to solve, the problem at that point from my perspective is that we're still talking.
10
47
277
My new little Rúnarsdóttir
31
286
But is this question about remembering definitions or is it about understanding statistics?
13
1
267
7,976
I find daily standups and other regular status reports pretty demotivating. I know lots of people do. Is there any good research into the psychology of this?
72
31
266
Replying to @MKVRiscy
The benefit of the little box is that you can write the resistance in the box
5
250
6,023
The Flix programming language looks amazing flix.dev/
11
43
242
Software development estimation is a crucial activity because people need to make plans, and a low-resolution plan is better than none at all. But too often, estimation is seen as: [continued...]
9
135
249
Baal just means “the lord”
2
228
10,294
In case you missed it, Scala 3 was released today. A herculean decade-long effort by @odersky and many, many contributors. Congrats! dotty.epfl.ch/
3
40
211
I don’t have a CS degree, nor any other degree. I think it’s fair to expect devs to have studied CS, but university is a pretty inefficient way to do so.
12
22
204
Replying to @peterrhague
This is a glimpse into the world they want, in which nothing exists that is not strictly necessary
21
2
203
9,756
I retweet Haskell job ads because I want you to get out of the salt mines and have a job using tools you love.
1
18
199
I expect a woman to keep her nails neat. Preferably organized by gauge, length, and type (finishing nails, framing, brads, etc.). This makes it easier to find what you need quickly when working on a project.
3
5
194
4,429
If you're looking for a good introductory text to category theory, I enthusiastically endorse Seven Sketches in Compositionality by @david_i_spivak and Brendan Fong. Available from MIT for absolutely nothing: math.mit.edu/~dspivak/teachi…
2
59
199
The power consumption for a superconducting circuit is potentially 1000x lower than a comparable semiconducting circuit, so at the very least you might be able to run an A100 at a few milliwatts.
2
198
19,952
Replying to @jaltma
Divorce
197
Replying to @EddyVinckk
I’m with Bob on this one. We should be making library calls to interact with relational databases, not generating textual SQL to send over basically telnet
8
5
196
13,192
Protip: if you travel often, make a master checklist for leaving the house. Travel doesn't have types, so you need tests.
10
26
178
Raw take: exhaustive pattern match checking alone is worth the price of static types
2
21
175
Of all the talks I've given, this one's my favourite. And an awesome conference overall.
To kick things off for the year, here's @runarorama with his keynote: Constraints Liberate, Liberties Constrain! piped.video/watch?v=GqmsQeSz…
7
36
175
There are two basic answers to "how do I" questions in Scala. One is "don't do that". The other is "traverse".
3
67
180
Replying to @spargles
A typical Silicon Valley manager is the first into the office at just before 10 and the last to leave at a touch after 3:30
1
186
27,215
Replying to @oldenoughtosay
When I moved to the US, I found that restaurants expect the customer to know the American diner culture jargon for various ways of cooking eggs. Most of the English-speaking world has no specific terminology for this. It’s just a “fried egg”.
14
171
15,683
If we're throwing errors at runtime then we're no better than the animals.
5
74
177
My take on the whole “pure FP” current thing is that I don’t super care about purity per se. For me it’s only a vehicle to compositionality, which is what I’m really after. There are only two ways to understand programs:
7
32
176
40,324
A common mistake managers make is trying to make sure everyone they manage is busy at all times. Managers: instead of giving people low-impact work just to make sure they're doing something, create space for them to discover high-impact work and let them take the lead on it.
8
28
164
They do know the names, but they’re used to larger scales. Like if you visited the USA, you wouldn’t say “I just came back from New Jersey and Pennsylvania”
2
168
2,560
I hate it when programmers use complicated jargon like “marshalling” and “parsing”. Just say plainly what’s going on. It’s just semigroupoidal composition and decomposition.
4
19
173
4,410
My 3yo daughter and I just made a book together, written by GPT-3 and illustrated by Dall-e 2
9
10
166
19,248
Fantastic paper on how Severless is a step backwards for both distributed and data-driven computing: arxiv.org/pdf/1812.03651.pdf
5
50
160
Replying to @iamtomnash
I don’t know, maybe making a distributed system that serves millions of requests per second and can run flawlessly without manual intervention? Just a guess.
6
4
142
That said, I have also aced these interviews after a lot of prep and a few failures. I honestly think algorithms interviews are a pointless hazing ritual. If they test anything, it’s how well you’ve prepped for a algorithms interview, technically and psychologically.
5
20
150
Now you can call Haskell from Java, or Java from Haskell, more easily than Scala can manage blog.tweag.io/posts/2016-10-…
6
106
155
Given that GPT is a sophisticated bullshit generator, why aren't you using it to write software estimates?
6
28
155
12,059
So, are we out of that phase where all the world’s Haskell talent was deployed building crypto nonsense?
11
7
144
27,071
Hanging out in Iceland with @kmett and @BartoszMilewski
2
4
151
Might accidentally summon a demon
10
45
143
Altruism stops for a child crossing the road. Effective Altruism keeps going so as not to delay the hundreds of people in traffic behind. "Longtermism" swerves to hit the child so no one will ever again be delayed by them or their descendants. Hope that helps.
5
33
129
In Iceland, @decodegenetics is testing for COVID-19 anyone who wants to be tested. They can test 1000 people a day, so in a month they'll have tested 10% of the country's population. They have some interesting findings: (thread)
5
62
151
Save the date: Unison Forall, the first @unisonweb conference, will take place online and absolutely free, on June 24th 2022 EDT.
2
32
140
Extremely excited to start working in Haskell on Monday at takt.com
22
17
139
Functional Programming in Scala 2nd Edition is in print! Huge thanks and congrats to @mpilquist for updating the whole book and converting all the code to Scala 3. I'm told there's a 45% discount if you use the code pbpilquist, until May 24. manning.com/books/functional…
5
37
142
8,506
Check out Unison's new website: unisonweb.org/
2
50
144
Idle thought: programming languages have no concept of the user of the program. What would a language look like that had first-class support for modeling user concerns?
54
12
145
45,223
Many people have showcased OpenAI's new AI assistant in amusing ways, or denigrate it as merely a "chatbot". Granted, it cannot browse the internet or perform any kind of automation. But you can use it to do useful intellectual work, today. Here are a few ways you can use it:
4
31
142
Why keep 100k lines of Scala when you can replace it with 100M lines of Go?
7
10
146
Productivity hack: let developers work on the stuff they want to work on.
3
17
129
Replying to @JJ_McCullough
9 out of 10 times when someone introduces themselves as “European” they’re Russian
6
1
128
29,214
Sure but “most doctors misunderstand this question” wouldn’t be as compelling as the narrative that’s being presented here
6
1
138
2,668
Replying to @tikhonjelvis
One of the strangest myths of software development is that you can save time by writing bad code.
6
31
133
PHB: “Make a backend for the website and app that can serve a realtime feed to millions every second.” [Years pass] Devs: ok, systems working great now PHB: you’re all fired. [weeks pass] PHB: system’s working even without all the devs! I wonder what they were doing all day!
4
14
125
This wip of the codebase UI for Unison just shared by @shojberg The future looks great!
6
18
138
Replying to @PrinceVogel
Recommending someone’s own paper to them is the sincerest form of flattery.
1
1
124
4,673
I got an oscilloscope app for my phone that also does a Fourier transform and we played with that for a bit at the piano. She was delighted.
1
1
130
5,843
While I sympathize with “getting rid of the Scala” at Twitter, it’s also just a complete waste of everyone’s time.
8
7
127
Software architecture should not exist only in the mind of the software architect, but in the daily practice of everyone's work.
7
29
128
Replying to @Swizec
I don’t know, man, this what your book website looks like on Safari. Publicly shaming a candidate is not a good look.
3
1
123
Replying to @tolstoybb
But a briefcase can't fit chargers for 6 different devices AND a handle of whisky. It's one or the other.
2
2
138
9,114
An em-dash says “is this space taken?” and wedges itself in there like an Ever Given.
2
2
106
Now she has asked about primary sounds, but my explanation of additive sound synthesis was not satisfactory.
3
2
125
7,395
Replying to @satnam6502
Mine was 12 years ago this month. Interviewer: “How would you reverse a linked list?” Me: <writes on board> foldl (flip (:)) [] Interviewer: <writes in notes> does not write actual code
1
7
129
Functional Programming in Scala is getting a Second Edition, updated and revised for Scala 3! It’s in early access right now and discounted 50%
Save 50% on our new MEAP Functional Programming in Scala, Second Edition! Use code mlpilquist50 at bit.ly/37PNTil @manningbooks @mpilquist #scala #scalafp #typelevel #scala3 #functionalprogramming #fp
8
27
127
Canada
1
2
128
24,156
Replying to @lauren_wilford
Generally I want a white so mineraly it tastes like wet stones. Is that bouba or kiki?
7
1
122
47,925
Function composition lets you take functions X⇒Y and Y⇒Z and get a function X⇒Z. There's also an X⇒X that does nothing. Normally you can't compose X⇒M[Y] and Y⇒M[Z] to get a function X⇒M[Z]. A monad for M is a way of doing that. It also has an X⇒M[X] that does nothing.
Monad explanations are a right of passage for functional programmers. Do you think you could explain what a Monad is in a single tweet?
9
21
128
9,799
That should have been “few hundred milliwatts”, but it’s all purely speculative anyway.
2
118
17,911
What is this cultural obsession with early mornings? I'm fairly sure no work of any significance happens between the hours of 5 and 7 AM, and that most of the technology we rely on in our lives was created in the hours between 9 PM and 3 AM.
17
28
122
Do you think you'll get 100k steps per tile every day?
7
127
3,219
Superhero movie fights are stupid and boring. We have no sense of whether the combatants can hurt each other. Oh, that one can shoot lasers out of his eyes, I guess that’s cool, but the other guy just shrugged it off. They might as well do a dance-off.
12
8
115
Replying to @NannaInie
Software Engineer here. I started using GPT-3 last summer, and by now it's writing about 80% of my code for me. It's especially good at writing test cases and software documentation.
7
3
122
On average, the genetic difference between any two people is about 0.1%. This means that 99.9% of our DNA is identical across individuals. So a 99.6% match indicates a pretty large difference genetically.
5
1
113
4,770
"Oh but if not everyone is subjected to the exact same hazing ritual, how will we objectively rank candidates against each other?" The idea that you can even do that is ludicrous. People are not ciphers. Each candidate is a complex human with unique strengths and gaps.
8
7
112
It’s wild that one can wade through it and yet miss the point entirely.
7
123
11,666
78 is like March or November weather in Austin
1
116
19,755