Jude Hunter

167 posts

Jude Hunter

Jude Hunter

@judehunterdev

Exploring the impossible @ https://t.co/u3KEgYN2dB

Sweden Присоединился Ekim 2020
105 Подписки114 Подписчики
Jude Hunter
Jude Hunter@judehunterdev·
@KapadiyaVikas @PimDeWitte It also adds itself to your startup items and then without fail, prompts you to... install it again.
English
0
0
0
28
Vikas Kapadiya
Vikas Kapadiya@KapadiyaVikas·
@PimDeWitte Download a application.. install it. it download new update. install it. then it download cuda.. ok.. download it and install it. finally application start... you cant use because its in private beta.. fuk................
English
2
0
2
275
Pim de Witte
Pim de Witte@PimDeWitte·
✨Introducing Highlight Highlight is a Desktop runtime that allows anyone to build native, context-aware assistants using their existing web stack. It works on both Windows and Mac — and is built on Medal's capture and process detection layer, which millions of gamers run on their PCs.
English
52
46
336
90.8K
Jude Hunter
Jude Hunter@judehunterdev·
@kerematam @TkDodo Quote from the screenshot: "Normally, writing or reading ref.current during render is not allowed. However, it’s fine in this case because the result is always the same, and the condition only executes during initialization so it’s fully predictable."
English
0
0
2
100
Kerem Atam
Kerem Atam@kerematam·
@TkDodo Many people follow those rules like a dogma while their own documentation breaks the rules. See it reads (in condition) and writes in this example.
Kerem Atam tweet media
English
3
1
10
1.7K
Dominik 🔮
Dominik 🔮@TkDodo·
The React team always said if you break the rules of react, like reading from a ref during render, some future features might not work as advertised. At least now we know what that that is: the React Compiler.
English
13
17
292
48.5K
mike douges
mike douges@douges·
@judehunterdev @_jgx_ Where’s the design system / component library? I’ve gotten something working now. It wasn’t fun but I got there in the end!
English
1
0
0
25
mike douges
mike douges@douges·
Have you wrote a VSCode extension before? What did you love? What did you hate?
English
5
0
0
1.1K
Jude Hunter
Jude Hunter@judehunterdev·
@_jgx_ @_douges Didn't like the bundling, the api and manifest (package.json), couldn't get source maps to work (might be skill issue) On the plus side, it was fun to architect. And I like that there was a design system and component library available, even though it could have been better.
English
1
0
1
160
Jude Hunter
Jude Hunter@judehunterdev·
@_jgx_ Akshually, *checks notes* it is likely you will need glasses in the future anyway. Who's the nerd now?
English
0
0
5
44
Julien Goux
Julien Goux@_jgx_·
Got my LASIK eye surgery today. Sorry nerds, I'm leaving the glasses club. 🤓
English
2
0
8
490
Tanner Linsley
Tanner Linsley@tannerlinsley·
Should I remove the framework agnostic guts of @Tan_Stack Router and go all in on React/Preact? Pros: - Smaller bundle - RSC future-friendly - Full React Transitions support Cons: - No immediate future for Solid/Vue/Angular
English
50
4
115
73.9K
Jude Hunter
Jude Hunter@judehunterdev·
@mattpocockuk @giltayar Then you've got the vscode language server switching the import to .js when you autoimport.
English
0
0
0
37
Jude Hunter
Jude Hunter@judehunterdev·
@mattpocockuk @giltayar Sure but this one in particular is so nonsensical. I mean you're writing your files in typescript, but you're importing some non-existent javascript file that will be there once you compile. In my mind, I import typescript files, especially since they can contain types, etc.
English
3
0
3
191
Matt Pocock
Matt Pocock@mattpocockuk·
Most bundlers let you omit the file extension when importing files. But TS rules like verbatimModuleSyntax and moduleResolution: NodeNext force you to specify the file extension. This can feel really weird when you're working in .ts files, but writing .js on your imports. Why do we need to do it? Well, it's the spec. It's how it was designed. TS is forcing you to do the right thing. But if you want to go back to the old style, then specify moduleResolution: Bundler and bundle your code with a tool like esbuild.
Matt Pocock tweet media
English
18
13
231
82.6K
Jude Hunter
Jude Hunter@judehunterdev·
@mattpocockuk @giltayar But you have a compile step. You're not putting typescript in a browser or in node. The compiler can chanhe the extension. Which I guess is the point of the bundler mode, but still. The big argument was that typescript shouldn't handle that, which makes no sense to me.
English
2
0
2
193
Matt Pocock
Matt Pocock@mattpocockuk·
@giltayar @judehunterdev Yep I figured this was the case. '/foo' just doesn't make sense in a browser context. Thanks for the clarification!
English
2
0
1
733
Jude Hunter
Jude Hunter@judehunterdev·
@mattpocockuk The decision that was made to move to the .js extension was always non-sensical to me. And at the time it felt strong-armed anyway.
English
1
0
3
823
Stefan von der Krone
Stefan von der Krone@thunderkrown·
@mattpocockuk There was someone who wrote a register based cpu in typescript types. The type system is sometimes astonishing
English
1
0
3
1.1K
Elija Sorensen 🔦
Elija Sorensen 🔦@WhiskeyTuesday·
@ManuEomm @fastifyjs I wish there was a similar way to get it to return ['a', 'b,c,d,e'] with an argument 1 like that. I just destructure and [a, ...rest.join(',')] but it would be cleaner (and faster)
English
1
0
0
476
Manuel Spigolon
Manuel Spigolon@ManuEomm·
I was today years old when a @fastifyjs contributor showed me that split has a limit argument that you can use to improve your codebase performance if you need only the first X items!
Manuel Spigolon tweet media
English
11
41
366
39.9K
snaplet
snaplet@_snaplet·
These new pins just arrived!
snaplet tweet media
English
5
1
18
1.1K
Dunsin🎙️
Dunsin🎙️@dunsincodes·
Should anyone work for free to get experience?
English
155
7
193
51.9K
Jude Hunter
Jude Hunter@judehunterdev·
@dunsincodes @appfactory If they can't afford paid workers, they shouldn't have any. Free work is exploitation.
English
1
0
0
11
Dunsin🎙️
Dunsin🎙️@dunsincodes·
@appfactory I don't think it's that deep, sometimes the person can't afford it, there's alot that can go into this. If you are thinking of exploiting, then that's something a little different which some people use free work to do.
English
4
0
4
430
Fabio Spampinato
Fabio Spampinato@fabiospampinato·
New debugging tool: a little pair of rulers, that can draw a grid and custom lines. Handy for quickly checking if things are aligned. The time spent implementing this will probably repay for itself in just a couple of millennia.
English
2
0
18
777