Tomas

2.3K posts

Tomas banner
Tomas

Tomas

@tomasklingen

frontend dev @chordify ex @snappcar @triodosnl

Utrecht, The Netherlands Katılım Kasım 2009
682 Takip Edilen174 Takipçiler
Tomas
Tomas@tomasklingen·
Cloudflare and its bot detection / protection are not effective any longer. We’re seeing Scrapers get botscores > 90, and passing the challenges. How to deal with this? We’ve already blocked some sus ASNs, but the botnet scraping uses Comcast IP’s too.
English
0
0
0
28
Tomas
Tomas@tomasklingen·
@denk0403 @pontusab And fixing the remount issue can be done with a basic HydrationStatusProvider context, so the useEffect with `setHydrated` only needs to run once in the application lifecycle.
English
1
0
0
81
Tomas
Tomas@tomasklingen·
@denk0403 @pontusab This is somewhat outdated. useSyncExternalStore is synchronous, that's what the `sync` means. Using useEffect with startTransition makes it use Reacts concurrent rendering abilities better. If it matters probably depends on the use case for the portal.
English
1
0
0
185
Tomas
Tomas@tomasklingen·
@leerob Thanks for this great comparison! I’m in exactly the same boat, trying out vscode with copilot, zed and others. The git integration in vscode with rebasing, creating new branches, force push (with lease) and visual diff is still keeping me in vscode for now.
English
0
0
0
103
Lee Robinson
Lee Robinson@leerob·
I spent 6 months trying code editors. My experience with Neovim, Zed, and Cursor.
English
42
68
1.4K
178.1K
Tomas
Tomas@tomasklingen·
@Austen @lacker Writing kernel code is different from a quick prototype where 75% accuracy is “good enough”.
English
0
0
1
57
Austen Allred
Austen Allred@Austen·
@lacker I actually do think you could feed some context on the linux kernel to a model and it would be a helpful companion for Torvalds. There's certainly data for it. Maybe would break his workflow too much.
English
41
0
112
75.8K
Austen Allred
Austen Allred@Austen·
What is it about really really smart people that make them completely oblivious to how incredible AI is?
Austen Allred tweet media
English
1.7K
212
5.9K
4M
Tomas
Tomas@tomasklingen·
@thejsnation @webpack Very capable, hardened throughout the years, large plugin ecosystem. Just because it’s not written in native code and there are less batteries included, Webpack gets replaced by @vite_js
English
0
0
0
51
tom robinson
tom robinson@tlrobinson·
@RhysSullivan Did most people entirely miss that the whole thing is a no-op because nothing returned from the map function?
English
2
0
11
1.5K
Rhys
Rhys@RhysSullivan·
You see this in a code review, what do you do?
Rhys tweet media
English
266
11
676
314.6K
Tomas retweetledi
Konsti Wohlwend
Konsti Wohlwend@konstiwohlwend·
Because variables in JavaScript arrow functions are captured by reference, not by value, the ECMAScript spec hacks for-loops to have special semantics, such that it looks as if it were captured by value. If you define a variable before the for-loop, the spec doesn't recognize it, and you get the expected behavior.
Konsti Wohlwend tweet media
English
43
71
1.5K
89.2K
Tomas
Tomas@tomasklingen·
@kenn @theo Biomes speed and simpler config is fantastic. Only thing that’s keeping me from switching is the typescript-eslint type checked rules.
English
0
0
0
35
Kenn Ejima
Kenn Ejima@kenn·
@theo First thing I do with a new project is delete Prettier and ESLint from boilerplate and install Biome
English
1
0
18
2K
Theo - t3.gg
Theo - t3.gg@theo·
No longer investing in companies that don't use Prettier
English
48
5
854
83.9K
Tomas
Tomas@tomasklingen·
@t3dotgg “this”, null/undefined and mostly the jungle of different module formats/resolution.
English
0
0
0
10
Theo - t3.gg
Theo - t3.gg@theo·
What's your least favorite part of Javascript?
English
472
2
408
178.1K
Tomas
Tomas@tomasklingen·
Typical, the best way to get help on the internet is to post a statement that is wrong. Turns out @biomejs _does_ have these settings since version 1.4 (released 2 weeks ago) my knowledge was outdated.
Tomas@tomasklingen

Too bad the @biomejs formatter is never going to make it when they're too stubborn to allow even the most basic config as @PrettierCode does. Semi, tabs vs spaces, single-quotes are missing. Because of this many codebases can't migrate.

English
1
0
2
111
Tomas
Tomas@tomasklingen·
@ElianCodes @biomejs @PrettierCode Hmm okay you're right, indentStyle is there. But I'm still convinced a lot of codebases can't migrate because of the missing semicolon and single-quote config. Migrating the whole code base at once messes up git blame history.
English
1
0
0
49
Tomas
Tomas@tomasklingen·
Too bad the @biomejs formatter is never going to make it when they're too stubborn to allow even the most basic config as @PrettierCode does. Semi, tabs vs spaces, single-quotes are missing. Because of this many codebases can't migrate.
English
1
0
0
398
Tomas
Tomas@tomasklingen·
@ryanflorence To store the repo to a list of projects I want to check out later, which never happens.
English
0
0
0
10
Tomas
Tomas@tomasklingen·
@florinpop17 No. With all the hooks and foot guns it's pretty much as complicated as manual DOM management.
English
0
0
17
0
Daniel 🇺🇦
Daniel 🇺🇦@danduh81·
@GantLaborde npm 'isarray', - 76MLN download a week. Package source code: `module.exports = Array.isArray`. Exists in 99.9999% of node_modules in the world. 🤯🤯🤯
Daniel 🇺🇦 tweet media
English
4
3
156
0
Gant Laborde
Gant Laborde@GantLaborde·
What is the code equivalent of this photo?
Gant Laborde tweet media
English
315
122
1.9K
0
Martien Visser
Martien Visser@BM_Visser·
De NL gasopslagen zitten nu 91% vol. Het kostte een paar centen subsidie, want de markt vond het onnodig. Toch een mooi resultaat. Ook een kritische noot: waar blijft het wetsontwerp 'gevulde opslagen' dat in het coalitieakkoord werd aangekondigd? #grafiekvandedag
Martien Visser tweet media
Nederlands
12
43
133
0