Sixstring982

358 posts

Sixstring982 banner
Sixstring982

Sixstring982

@Sixstring982

Computer dad

Albuquerque Присоединился Ağustos 2011
126 Подписки90 Подписчики
Alessandro Decina
Alessandro Decina@alessandrod·
not the best, I had a 55s restart yesterday, but consistently getting <1m now
Alessandro Decina tweet media
English
7
2
53
4.3K
Sixstring982
Sixstring982@Sixstring982·
@theo Wait until you `RUSTFLAGS="-C target-cpu=native" build --release`
English
1
0
0
21
Theo - t3.gg
Theo - t3.gg@theo·
Rust build times are so bad holy shit
English
134
10
816
173.8K
Sixstring982
Sixstring982@Sixstring982·
@theo @t4styycs IMO it depends on whether or not you're going to use `activeTodos` in a dependency array, and need a stable reference. I would probably `useMemo` here just to keep the reference stable, because bugs caused by unstable references are really annoying
English
0
0
0
42
Theo - t3.gg
Theo - t3.gg@theo·
@t4styycs Describe in detail what you think adding a “useMemo” here would do, I’m curious
English
4
0
16
4K
Sixstring982
Sixstring982@Sixstring982·
@AndersonAndrue Hey awesome, I find this syntax much more manageable than trying to cram everything into the first argument of `fc.property` -- especially stuff that depends on each other. I guess I shouldn't be surprised, since FC is monadic; but still!
English
0
0
1
13
Storm
Storm@AndersonAndrue·
Finally, we write some tests! Effect has an awesome built-in integration with FastCheck for arbitrary data generation from Schemas!
Storm tweet media
English
2
0
4
934
Storm
Storm@AndersonAndrue·
Why @EffectTS_ ? Testing! Effect's built-in capabilities for property-based testing make it simple to generate test data and test edge cases you'd never think about. Use Effect. How? 👇🧵
English
3
7
126
13.6K
Sixstring982
Sixstring982@Sixstring982·
@dillon_mulroy If you aren't jinja-templating your nginx configs, are you really chilling?
English
0
0
1
37
Dillon Mulroy
Dillon Mulroy@dillon_mulroy·
it's an nginx and chill kinda night
English
5
0
30
3K
Sixstring982 ретвитнул
Yawar Amin
Yawar Amin@yawaramin·
Yawar Amin tweet media
ZXX
4
18
166
6.3K
Sixstring982
Sixstring982@Sixstring982·
@janbhwilhelm @dillon_mulroy My guess is that this is a property test, though the thing being deserialized could also just be really big
English
1
0
1
41
Jan Wilhelm
Jan Wilhelm@janbhwilhelm·
@dillon_mulroy just curious, why would tests that e.g. decode Uint8Arrays take 910ms?
English
1
0
1
150
Dillon Mulroy
Dillon Mulroy@dillon_mulroy·
dns packet decoding and encoding is done with the exception of name (de)/compression
Dillon Mulroy tweet media
English
3
0
26
2.2K
Dillon Mulroy
Dillon Mulroy@dillon_mulroy·
if you're not stacking prs, you're doing it wrong
Dillon Mulroy tweet media
English
21
4
208
27.4K
Sixstring982 ретвитнул
Holly Guevara
Holly Guevara@hollylawly·
Four months ago we took down our highly-praised website and replaced it with simple monospace text-heavy markdown files. Since then, people have reached out almost weekly asking what impact this had. Did our conversions tank? Have we just completely given up? Let's dig in.
Holly Guevara tweet media
English
67
116
2.2K
423.7K
Sixstring982 ретвитнул
Dillon Mulroy
Dillon Mulroy@dillon_mulroy·
my favorite part of the @arktypeio docs
Dillon Mulroy tweet media
English
1
2
21
1.5K
Sixstring982
Sixstring982@Sixstring982·
@dillon_mulroy @EffectTS_ That `concurrency: 25` threw me off a bit -- I suppose `enrichEntityWithMetadata` is something that returns a `Promise` under the hood? Good stuff here, I need to try out EffectTS!
English
1
0
1
116
Sixstring982
Sixstring982@Sixstring982·
@welltypedwitch Awesome article, I found it today in Haskell Weekly! TIL about Linearity -- I'm excited to see that in Haskell. Its' a pretty cool feature!
English
0
0
1
14
Wise
Wise@trikcode·
Explain this in programming terms
Wise tweet media
English
353
20
401
69.2K
Sixstring982
Sixstring982@Sixstring982·
@devagrawal09 Indeed! Monads are really useful for encoding DSLs. You could totally make a builder monad, which could be useful in certain situations!
English
0
0
3
156
Dev Agrawal
Dev Agrawal@devagrawal09·
I'm seeing some parallels between the builder pattern in OOP and monads in FP Might be a stretch, but both patterns are designed to give the programmer the ability to create an intermediate structure that represents an operation, compose additional behaviors on top, and delegate the actual operation to a runtime The primary difference being builder objects being mutable, but if every method on a builder just returns a new builder with the new behavior, you basically just have a monad
English
5
3
16
3.3K
Sixstring982
Sixstring982@Sixstring982·
@sabine_s_ @ocaml_org @techsavvytravvy @typescript Oh cool, OCaml has dynamic arrays now? I guess I never really checked if it did lol But yeah those are usually more performant than linked lists due to better cache locality and whatnot
English
3
1
2
433
trav
trav@techsavvytravvy·
ok so i'm still implementing parts of @ocaml_org standard library, and obviously the source has a lot of recursive functions which is fine in ocaml bc they're optimized but not so great in js/ts.. should i change the implementations to be imperative, or should i do a system of trampolines and thunks? ...or should i yolo recursive calls and hope js engines figure it out
trav tweet media
English
16
1
32
8.9K
Theo - t3.gg
Theo - t3.gg@theo·
...this is definitely AI-generated, right?
Theo - t3.gg tweet media
English
24
4
206
25.1K
Sixstring982
Sixstring982@Sixstring982·
@VicVijayakumar @DanielW_Kiwi @Shreyassanthu77 +1, a mat is critical for a standing desk. I've been using a standing desk for nearly 8 years now, and I haven't owned a desk chair during that time. You need a good mat, otherwise it doesn't work.
English
0
0
1
12
Daniel 🦔
Daniel 🦔@DanielW_Kiwi·
It's taken a week or two but now the standing desk is starting to get uncomfortable.
English
7
0
22
1.9K