Utku Demir

195 posts

Utku Demir

Utku Demir

@utdemir

Moved to: @[email protected]

Auckland, New Zealand Katılım Aralık 2009
188 Takip Edilen144 Takipçiler
Sabitlenmiş Tweet
Utku Demir
Utku Demir@utdemir·
I don't want to be on any of Elon Musk's platforms if I can avoid it. So, I'm not going to use Twitter anymore. Twitter friends, please reach out to me by email.
English
0
0
1
0
Utku Demir retweetledi
David Whitney
David Whitney@david_whitney·
And while we're being mad at software, I know I've railed against this several times in the past - but fuck this very much.
David Whitney tweet media
English
87
89
1K
0
Utku Demir
Utku Demir@utdemir·
This is true for white-collar workers too. Even in tech, employers are aware of this and use it to force the talent to stay with them at a low-cost, blocking the employee's career development. My biggest mistake when moving to NZ was choosing this kind of visa.
Ricardo Menéndez@RMarchNZ

Labour needs to stop employer bound work visas if it’s serious about ending migrant exploitation, rather than stacking more ambulances at the bottom of the cliff. Employer bound visas create modern slavery conditions, and give employers massive amounts of power over migrants.

English
0
0
5
0
Utku Demir
Utku Demir@utdemir·
@sanityinc @WonderProxy Thank you Steve, it was a fun one! About English-only audience, one interesting thing I found out is that `ca-central-1` has better scores for the entire US than either of us-east/west regions. But I do wonder if this changes once we include Britain, AU/NZ or ESL-speakers.
English
0
0
0
0
Utku Demir
Utku Demir@utdemir·
@chrislpenner If you end up having to implement your own pager, `brick`'s "scrollable viewports" might come handy: #g:12" target="_blank" rel="nofollow noopener">hackage.haskell.org/package/brick-… I was using a "List" behind a "viewport" and it was lazy enough to only calculate list items when they become visible.
English
1
0
0
0
Chris Penner
Chris Penner@chrislpenner·
I figure one option would be to spin up `less` and dump entries to it via stdin as fast as I can while listening for the process to exit early so I can bail if needed Alternatively I can build my own ANSI pager in Haskell which I can stream to, but that sounds like a lot of work.
English
2
0
0
0
Chris Penner
Chris Penner@chrislpenner·
Anyone know a good way to stream lazily to a pager in #Haskell? I.e. I can produce a list of expensive things one at a time, I want to only produce them as the user scrolls to the "next" one in the terminal.
English
1
0
1
0
Utku Demir
Utku Demir@utdemir·
@MedVocab TIL "nostalgia" is the same, comes from Greek "return home" + "pain".
English
0
0
1
0
Medical Vocabulary
Medical Vocabulary@MedVocab·
The -algia suffix refers to pain, as in neuralgia or myalgia.
English
1
1
19
0
Utku Demir
Utku Demir@utdemir·
@korayal My initial attempt at moving to Mac was similar to yours, which failed. This time I'm also switching to more ecosystem-endorsed tools. VSCode/iTerm, minimal tiling, overall fewer CLI's. I'm often not even using Nix if you can believe it. To me it's pretty snappy.
English
0
0
0
0
Koray Al
Koray Al@korayal·
@utdemir Been using almost the same tooling on both MacOS and Linux side by side on a daily basis, and I hate the former. The UX is laggy and a lot slower. Maybe that's because I'm trying to use the same set of tools like Alacritty+tmux+emacs with a TWM What changed in your environment?
English
1
0
0
0
Utku Demir
Utku Demir@utdemir·
@adymitruk 2 months ago. I do know that it lack the flexibility of Linux, but I found that the time I gained by using Apple-endorsed tools is much more than time spent having to workaround a couple of minor quirks. Of course, everyones mileage might differ depending on their use-case.
English
0
0
0
0
Adam Dymitruk
Adam Dymitruk@adymitruk·
@utdemir Not for docker, filesystem, multi monitor and many other. Depends how long ago you used Linux.
English
1
0
0
0
Utku Demir
Utku Demir@utdemir·
@BartoszMilewski Proposal. People should only turn vegan when `sha256sum(their name, current date) < average lifespan of cows in days / 2**256` is satisfied. We go vegan at the same rate that cows get killed.
English
1
0
1
0
Bartosz Milewski
Bartosz Milewski@BartoszMilewski·
I just realized that if we all turned vegan overnight, it would be a death sentence for a billion cows and 33 billion chickens. Maybe we should implement a more gradual approach.
English
15
1
40
0
Utku Demir
Utku Demir@utdemir·
@Profpatsch Reminds me of the Hitchhiker's quote: > The Guide is definitive. Reality is frequently inaccurate.
English
0
0
0
0
🇪🇺 simple-scran
🇪🇺 simple-scran@Profpatsch·
ghc: panic! (the 'impossible' happened) but it’s real life
English
3
0
2
0
Utku Demir
Utku Demir@utdemir·
@lemmster I find assertions pretty useful in this regard. They are almost like runtime-checked comments. My Python code is usually filled with assertions which makes developing on the untyped language almost as productive as typed ones on small codebases.
English
0
0
2
0
@lmstr@chaos.social
@[email protected]@lemmster·
What are programming languages that put comments front and center? No wonder nobody enjoys writing comments when comments are treated as second-class citizens in programming languages.
English
56
7
147
0
🇪🇺 simple-scran
🇪🇺 simple-scran@Profpatsch·
Is there any over-the-counter medication (that is not a painkiller) that has any real effect?
English
3
0
0
0
Utku Demir retweetledi
Alexey Raga
Alexey Raga@alexeyraga·
@kaijuTheSnack At least this is as far as my dislike goes: It is not "that's ok, I'll write a unit test". It is rather "I thought hard but couldn't come up with something more reasonable, so I have to write a unit test". Almost like a punishment :)
English
0
1
1
0
Utku Demir
Utku Demir@utdemir·
This. Removing similar looking code is the job of a compression algorithm, not the programmer. There are different things that look the same, and similar things that may look different. Only the latter requires an abstraction.
Richard Feldman@rtfeldman

If changing X should change Y in the same way, then X and Y should share code. If changing X should not change Y in the same way, then X and Y should not share code. Duplication can cause bugs in the first case and prevent bugs in the second. It's a tactic. DRY is misadvice.

English
0
0
2
0