Tocas Cremanes

37 posts

Tocas Cremanes

Tocas Cremanes

@tocreman

Katılım Aralık 2022
81 Takip Edilen3 Takipçiler
Patrick Walton
Patrick Walton@pcwalton·
is_some_and() is my new favorite method.
English
3
1
51
9.6K
CryZe
CryZe@CryZe107·
@pcwalton is_none_or() when though?
English
1
0
3
632
Tocas Cremanes
Tocas Cremanes@tocreman·
@joodaloop @monodevice well when you're talking about data that's collected at time intervals, you don't really need continuity you could easily construct the actual literal rectangles and triangles by taking the points. or you could approximate what it would be of it was continuos with a function
English
0
0
1
69
hikari (etc) 🌟
hikari (etc) 🌟@hikari_no_yume·
cs.uwaterloo.ca/~csk/slide/ is incredibly cool and creative, and fun^W infuriating this must be what it's like to try to use a smartphone if you have Alzheimer's
English
8
59
309
32K
Tocas Cremanes
Tocas Cremanes@tocreman·
@ThePrimeagen @alchemist_ubi iterators don't necessarily compile to for loops. they do in rust because rust is awesome, but in many languages iterators have actual runtime costs
English
1
0
0
55
ThePrimeagen
ThePrimeagen@ThePrimeagen·
@alchemist_ubi but... these are not the same iterators compile to for loops (effectively) (can be unrolled too) v8 is not the same
English
1
0
9
2.2K
ThePrimeagen
ThePrimeagen@ThePrimeagen·
i wish zig had rust style iterators i want to be able to create iterators and chain iterators (i don't see how yet in zig) i want iter .filter .map .myFunction .collect::<MyStruct>()
English
15
3
170
46.4K
Tocas Cremanes
Tocas Cremanes@tocreman·
is it just me or are images on here just not loading anymore?
English
0
0
0
7
Tocas Cremanes
Tocas Cremanes@tocreman·
@defnotbeka nowadays is more like "comply and become homeless anyway, we don't care"
English
1
0
0
14
Lucretiel 🦀
Lucretiel 🦀@Lucretiel·
Interesting that there's no way to create an anonymous *un*constrained generic Like, I can do: fn foo(data: &Vec<impl Display>); but not: fn foo(data: &Vec<_>) I can't write `impl Nothing`.
English
14
1
50
12.3K
Tocas Cremanes
Tocas Cremanes@tocreman·
@Lucretiel trait Nothing { } impl<T> Nothing for T { } fn foo(data: &Vec<impl Nothing>) { }
English
0
0
0
157
kimono
kimono@arr_ohh_bee·
@Lucretiel Why doesn't generic over T work? Or how is this different?
English
1
0
3
429
Tocas Cremanes
Tocas Cremanes@tocreman·
@YIMBYLAND why do people keep making "after <- before" posts? it's really confusing also, trams are awesome, go france
English
0
0
1
83
YIMBYLAND
YIMBYLAND@YIMBYLAND·
France really knows how to Tram. Dijon, FR 2008 👉 2020
YIMBYLAND tweet media
English
37
189
2.5K
263K
Tocas Cremanes
Tocas Cremanes@tocreman·
@Derek_Lieu Not only on physical conventions, i can't find gameplays by streamers or youtubers that simply commentate what's happening on the screen engaging. I'd much rather watch someone that either talks about their thought process or something random entirely
English
0
0
0
4
Tocas Cremanes
Tocas Cremanes@tocreman·
@ThePrimeagen gonna be fun when years from now someone touches that code and accidentally breaks the logic without even noticing
English
0
0
1
314
ThePrimeagen
ThePrimeagen@ThePrimeagen·
i only write a unit test if i cannot get the code right first try
English
16
1
203
26.8K
Björkus 'No time_t to Die' Dorkus
@LemmaEOF Yyyeeeep. But also, it's even worse than normal because, like. ' is a single quote. In natural language you expect a second one, but like... ... it's never coming, lmao.
English
5
0
31
2K
Tocas Cremanes
Tocas Cremanes@tocreman·
10 javascript features i avoid: ? ? ? ? ? ? ? ? ? ? I don't know javascript
English
0
0
0
21
David Johnston
David Johnston@DavidInOregon·
@cmuratori High abstraction that makes coding solutions easy is a good thing when you don't need performance. Low level coding is good when you need performance.
English
1
0
3
515
Casey Muratori
Casey Muratori@cmuratori·
I have more videos on "clean code" coming, but in the interim, I am posting my full response to a reporter regarding the original video as a preview of some of the topics: computerenhance.com/p/response-to-…
English
14
30
237
53K