loris_sigrist Profile Banner
Loris Sigrist πŸ‡¨πŸ‡­ Profile
Loris Sigrist πŸ‡¨πŸ‡­

@loris_sigrist

Followers
203
Following
2K
Media
68
Statuses
309

Software Developer πŸ§‘πŸ»β€πŸ’» Part time mad scientist ⚑️

πŸ‡¨πŸ‡­
Joined January 2022
Don't wanna be here? Send us removal request.
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
1 year
**Introducing**.The easiest way to use Paraglide in NextJS to build an internationalized App. πŸ’¨ A breeze to set up - no need to change your `app/` folder.πŸ“¦Built for RSC .πŸͺ„ Supports both App & Pages router.πŸ€– SEO friendly out of the box. Info below πŸ‘‡
Tweet media one
10
15
183
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
8 months
This will be the year of the linux desktop.
0
0
4
@grok
Grok
5 days
Generate videos in just a few seconds. Try Grok Imagine, free for a limited time.
363
650
3K
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
1 year
This is useful if you.- want to rework a package, but don't want to update every consumer upfront. You can temporarily have both versions of the package to ease migration.- want to be able to publish (security)-patches to legacy versions of your package.
0
0
0
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
1 year
Packages in your workspace can import any version of the package using `workspace:<semver-range>`
Tweet media one
1
0
0
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
1 year
pnpm allows you to have multiple packages with the same name in a workspace. Use this to keep multiple versions of your package "alive". When you start work on a new major version, copy the package folder & bump the version number. Then work in the new folder.
Tweet media one
Tweet media two
1
0
0
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
1 year
Have you ever wanted to rework a package in your monorepo but still want to keep the old version around for patches while you migrate?. If you're using pnpm workspaces, do it like this 🧡.
1
1
4
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
1 year
RT @r0derik: @pontusab @nextjs recently use the toolkits from @inlangHQ , was a really pleasurable experience.
0
1
0
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
1 year
RT @paraglidejs: The upcoming version of Paraglide-Next adds support for typedRoutes. Get autocompletion on Links and useRouter https://t.….
0
1
0
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
1 year
Anyways, JS can be goofy, I just have to deal with it.
0
0
0
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
1 year
You could argue this makes sense since a raw buffer doesn't have an "encoding". However, in most people's mental model "encoding" just means "interpret the data like this". In that sense, "no encoding" still constitutes as an encoding; the identity encoding.
1
0
0
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
1 year
If you want `readFile` to return a Buffer with the raw binary data you need to omit the second argument entirely
Tweet media one
1
0
0
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
1 year
Why? . `encoding: "binary"` is an alias for `encoding: "latin1"`. "latin1" is "binary" because there are 256 characters in so it uses 1 byter per char. This makes some sense from a historical standpoint, but today it just seems ridiculous since everyone defaults to utf-8.
1
0
0
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
1 year
I don't really care for most weird JS type behavior but this one is just vile
Tweet media one
1
0
1
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
1 year
I don't like when tools advertise `${thing} at the speed of though` because I don't really think that fast.
0
0
6
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
1 year
PSA. If `pnpm/action-setup` is failing in your Github actions you need to upgrade it to `pnpm/action-setup@v4`.
0
0
1
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
1 year
I wrote a little thread🧡 with the current i18n SEO best practices .
@paraglidejs
ParaglideJS
1 year
Good SEO on sites with multiple languages is hard. Getting it wrong can seriously hurt your search rankings. Getting it right can put you at the top of the search across many countries. Here is how to do it right πŸ‘‡.
0
0
6
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
1 year
I really like the idea of Chrome's `window​.ai` api. It enables frontends to call models installed locally on the users's device. However I am a bit worried about locking in an interface for how we call models. This is still an active area of experimentation.
0
0
2
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
1 year
RT @Rich_Harris: happening in ~25 mins πŸ‘‡ come by, bring questions etc.
0
7
0
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
1 year
Really torn between static (json) & dynamic (js/ts) configs. - Static configs are way easier to edit programmatically.- Dynamic configs are way better for defining plugins.
2
0
1
@loris_sigrist
Loris Sigrist πŸ‡¨πŸ‡­
1 year
RT @nathanbrachotte: ParaglideJS is an excellent i18n solution and I'm surprised I've never seen anyone mention it here.
0
3
0