Toots for caillou@fosstodon.org account

Written by Pierre Spring on 2025-01-26 at 12:21

@siracusa Allowing myself to write to you about the scroll performance issue.

I’m sure you considered the following option. But I still allow myself to ask:

Did you consider using a screen of paged items? Infinite lists are tempting, but is there really a value in being able to scroll, v.s. changing to a different page?

Sometime changing the UX solves a performance issue.

Obviously, it is not a paradigm I have ever seen in a Mac app.

And I can understand the desire to make this performant!

=> More informations about this toot | View the thread

Written by Pierre Spring on 2025-01-24 at 07:42

Ever since I stopped taking my ADHD medication, VSCode's #Copilot started adding small errors here and there.

As if it was trying to make fun of me.

Also, why is it Copilot, and not CoPilot.

I need to look this up…

/BRB

=> More informations about this toot | View the thread

Written by Pierre Spring on 2025-01-23 at 14:44

Is there a functional difference between between defining a function as an interface or as a type in #TypeScript?

=> View attached media

=> More informations about this toot | View the thread

Written by Pierre Spring on 2025-01-14 at 21:10

This video on how to navigate in VSCode is really good. Some shortcuts I knew and already use a lot, many I didn’t. Many will go on a PostIt on my screen tomorrow!

https://m.youtube.com/watch?v=c0HO_-NDJCk

[#]vscode

=> More informations about this toot | View the thread

Written by Pierre Spring on 2025-01-14 at 08:28

TIL

`array.at(-1)`

To get the last item of an array in JS.

So much better than

`array[array.length - 1]`

[#]JavaScript #TypeScript

=> More informations about this toot | View the thread

Written by Pierre Spring on 2025-01-12 at 08:47

Why can I not use WebMIDI on my iPhone with Safari? I just wrote a small web app to help me during my evening jams, hoping I could just fire it up on whatever device was closest.

But no, Apple decided to be a gate-keeper and ensure its dominance in the AppStore.

=> More informations about this toot | View the thread

Written by Pierre Spring on 2025-01-04 at 15:58

Making my own cables. A thing I keep doing, even though I hate every moment of it.

In return, all my cables are the exact length I need… Not sure it’s worth the pain.

=> View attached media

=> More informations about this toot | View the thread

Written by Pierre Spring on 2024-12-30 at 17:16

Some things will not change, not even in 2025…

=> View attached media

=> More informations about this toot | View the thread

Written by Pierre Spring on 2024-12-18 at 12:48

TIL: Object.fromEntries()

I only just learned about Object.fromEntries(). This will replace 90% of my convoluted array reducers.

This is why I love this job. I have been writing JS/TS for 20 years, and there still are new things to learn.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/fromEntries

=> More informations about this toot | View the thread

Written by Pierre Spring on 2024-11-18 at 13:51

@pilif pierre.spring@caillou.ch

Danke! Late to the game ;)

How are things on your end?

=> More informations about this toot | View the thread

Written by Pierre Spring on 2024-11-18 at 11:07

I’m looking for an invitation to https://lobste.rs

Pretty please 🤪

=> More informations about this toot | View the thread

Written by Pierre Spring on 2024-10-30 at 15:53

I saw some #typescript code I didn't fully understand in a #react app. I looked up the type, and it told me:

Do Not Use Or You Will Be Fired Callback Ref Return Values!

=> View attached media

=> More informations about this toot | View the thread

Written by Pierre Spring on 2024-10-23 at 09:12

Sometimes I feel like a born again #bureaucrat.

Especially when adding the following to an eslintrc file:

[#]typescript-#eslint/strict-type-checked

[#]typescript-#eslint/stylistic-type-checked

=> More informations about this toot | View the thread

Written by Pierre Spring on 2024-10-11 at 15:40

@caseyliss I am feeling a bit bad to impose onto your timeline with the following suggestion. But I started using one of these two months ago, and it is a bliss. I feel like it could be a lissful bliss. It replaces a pop socket, it gives you a leather texture on the back of the phone, and you can use it as a stand. I will order three or four of these just to be sure, that I can have them in the future.

https://www.moft.us/products/moft-snap-on-phone-stand-wallet-magsafe-compatible?variant=39763824443479

=> More informations about this toot | View the thread

Written by Pierre Spring on 2024-10-02 at 15:34

@andybalaam On the last episode of Linux Dev Time you talked about using Nix in order to isolate environment, e.g. using a particular version of Python in a particular project.

I have started using asdf (https://asdf-vm.com) for this over a year ago and I love it. It allows to define a per folder environment, for every possible language and db you can think of.

It really changed the way I work and for me there is no more need to use Docker.

=> More informations about this toot | View the thread

Written by Pierre Spring on 2024-09-18 at 15:03

@ivory I cannot play back an MP3 that is attached to a toot on Ivory for Mac. Is this user error, or a feature that simply was not high enough on the priority list?

Here is a link to said toot: https://fosstodon.org/@caillou/113159134338118229

=> View attached media

=> More informations about this toot | View the thread

Written by Pierre Spring on 2024-09-13 at 10:58

@init7 obviously this is not a support channel. I’ll still try to ask a question: I had to move some things around, and had to power cycle, my router, and the media converter. Now my router doesn’t get an IP anymore. I have zero idea how to debug this, do I just have to wait?

=> More informations about this toot | View the thread

Written by Pierre Spring on 2024-08-24 at 11:02

Here is something most people don’t say: I love my ISP!

@init7 is the kind of ISP everyone deserves!

=> More informations about this toot | View the thread

=> This profile with reblog | Go to caillou@fosstodon.org account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/109485255051823196
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
381.582877 milliseconds
Gemini-to-HTML Time
4.979682 milliseconds

This content has been proxied by September (3851b).