Thomas Tuegel

12.9K posts

Thomas Tuegel banner
Thomas Tuegel

Thomas Tuegel

@ttuegel

Haskell. NixOS. Physics. Intellectual scavenger. Asymptotic perfectionist. @[email protected]

Champaign-Urbana, Illinois, US Katılım Temmuz 2011
250 Takip Edilen835 Takipçiler
Sabitlenmiş Tweet
Thomas Tuegel
Thomas Tuegel@ttuegel·
It is not inconsistent to want tools that are very sharp, but only at one end.
English
1
6
43
0
Thomas Tuegel
Thomas Tuegel@ttuegel·
@rahaeli > Any person who is running an online service of any kind who lives in the US Does that mean these recommendations would equally apply to someone running, e.g., a personal website? (Getting a DMCA notice doesn't require actual infringement, after all.)
English
1
0
2
0
Matt Parsons
Matt Parsons@mattoflambda·
@ChShersh Safe exceptions pattern uses an uninterruptible mask in clean up, which solve the last two cases
English
3
0
1
0
Dmitrii Kovanikov
Dmitrii Kovanikov@ChShersh·
I was living my life, thinking that 'bracket' in #Haskell automatically solves all the RAII problems. 😨 Recently, I learned that 'bracket' can fail in at least 4 (!!!) ways and your probably don't even expect a half of them! Nowadays, I don't even know what to believe...
English
2
2
29
0
Thomas Tuegel retweetledi
Jessica Hagy
Jessica Hagy@jessicahagy·
The Old God prepares for final battle
Jessica Hagy tweet media
English
57
6.4K
16.2K
0
Dmitrii Kovanikov
Dmitrii Kovanikov@ChShersh·
⌛️ If 8 people spend 1 hour in a call to solve a task, do you say that the task took 8 hours or 1 hour in total to be solved?
English
11
1
3
0
Eric Torreborre
Eric Torreborre@etorreborre·
I am building a strong dislike for derived JSON and Pretty instances in #haskell. Because once they are defined there's no way to redefine them. You cannot even filter them out with carefully selected imports because they are imported transitively, possibly everywhere
English
7
2
20
0
Thomas Tuegel
Thomas Tuegel@ttuegel·
@typed_hole Then "how" is a proprietary trade secret and it's definitely not by collusion between manufacturers to fix prices 😉
English
1
0
0
0
Thomas Tuegel
Thomas Tuegel@ttuegel·
@ericson2314_ @TechnoEmpress @acid2 @etorreborre @ChShersh (1)-(3) are mechanical, on a "string template" level if you choose. My impression from talking to more experienced enterprise-y programmers is that in a mainstream language with IDE support, those steps are generally automatic. But in Haskell we tend to only automate (2)...
English
1
0
1
0
Thomas Tuegel
Thomas Tuegel@ttuegel·
@typed_hole By the manufacturer, who sells to retailers at some percent below the MSRP.
English
1
0
0
0
Thomas Tuegel
Thomas Tuegel@ttuegel·
@ericson2314_ @TechnoEmpress @acid2 @etorreborre @ChShersh Yes, there should definitely be a second type because there are two things. Did it seem like I was saying otherwise? I agree with the practices in this thread. I'm questioning why we tolerate doing the automatic part by hand in Haskell when almost nobody else does, AFAIK.
English
1
0
1
0
John Ericson
John Ericson@ericson2314_·
@ttuegel @TechnoEmpress @acid2 @etorreborre @ChShersh Hmm? I think this is saying a second data type + deriving might be easier to read than hand-coded serializer/deserializer? (Over time it's many per version data types vs complicated manual parser, but still same basic trade-off)
English
1
0
0
0
Nikita Volkov
Nikita Volkov@NikitaYVolkov·
@ttuegel @acid2 @ChShersh @etorreborre I do! ) It's much easier and safer to map even the awkward generated code in the adapter wrapper, than manually dealing with JSON. Most bugs get caught by the compiler. Also I never use the API types as domain types. Similarity does not mean equality. A very common pitfall
English
1
0
2
0
Dmitrii Kovanikov
Dmitrii Kovanikov@ChShersh·
"I learned English in school 20 years ago and I don't like that it has changed since then so you're all wrong" 🤡
English
3
0
9
0