elnardu

913 posts

elnardu

elnardu

@elnardu

yeet

London Beigetreten Mart 2014
683 Folgt378 Follower
Angehefteter Tweet
elnardu
elnardu@elnardu·
In case this website actually dies, see you all on mastodon: @elnardu@infosec.exchange
English
1
0
8
0
elnardu
elnardu@elnardu·
SOUL.md is really cool #L42" target="_blank" rel="nofollow noopener">github.com/openclaw/openc…
English
0
0
0
59
elnardu
elnardu@elnardu·
Looking into clawdbot internals is very fun
elnardu tweet media
English
1
0
2
97
elnardu
elnardu@elnardu·
wtf gemini
elnardu tweet media
Eesti
2
0
4
746
elnardu
elnardu@elnardu·
@Nekrolm Вообщем не надо писать на плюсах и будет все нормально /s
Русский
0
0
0
26
elnardu
elnardu@elnardu·
@Nekrolm Интересно конечно что в си оно всегда работает, а в плюсах умирает при наличии любого объекта в скопе
elnardu tweet mediaelnardu tweet media
Русский
1
0
1
121
Dmitry /Undefined Behavior/ Sviridkin
Поскольку жизнь продолжается, я сел и написал вам очередную сказку на ночь о том, как я графики с метриками фиксил. Она не страшная. В ней я опять ругаю Rust (не сильно), а C++ молодец (нет) github.com/Nekrolm/ubbook…
Русский
1
0
33
4.3K
elnardu
elnardu@elnardu·
rip :(
QST
0
0
0
372
elnardu
elnardu@elnardu·
elnardu tweet media
ZXX
0
0
4
319
elnardu
elnardu@elnardu·
@cmgriffing (I also think that web would benefit from a bit of premature optimization, but that is beside the point)
English
0
0
0
32
elnardu
elnardu@elnardu·
@cmgriffing You are also assuming that there are readability issues (without measuring that as well)
English
1
0
0
34
Chris Griffing
Chris Griffing@cmgriffing·
User in chat (now banned): The "fill then map" is obviously slower because of extra iterations. Me: Laughs in JIT
Chris Griffing tweet media
English
19
26
693
129.8K
Chris Griffing
Chris Griffing@cmgriffing·
@elnardu The 40-50% perf hit is for just the loop alone. If the loop is actually your bottleneck, then by all means fix it. But in most cases, the readability hit is not worth the gains you seem to care about.
English
1
0
1
95
elnardu
elnardu@elnardu·
@cmgriffing In general, if you want perf in js, you shouldn't rely on JIT at all. Chrome's, FF's, and Safari's JITs are all different and have different behaviors. Your app will have a lot better perf if you just stick to simple things and avoid all of that FP like JS entirely.
English
1
0
0
51
elnardu
elnardu@elnardu·
@cmgriffing I use this pattern all the time when writing jsx and it works quite well. And again, I don't think that any readability benefit is worth 40-50% perf degradation (esp in render functions that get called all the time)
English
2
0
0
139
elnardu
elnardu@elnardu·
@cmgriffing I don't think this is any less readable. (Or not readable enough to warrant a 40% to 50% perf hit)
elnardu tweet media
English
1
0
1
136
Chris Griffing
Chris Griffing@cmgriffing·
@elnardu Just try it. It won't work. React JSX does not support that syntax inline. You can do other magic but then you move the context. Colocating the context of the loop with the rest of your JSX is pretty good for readability.
English
1
0
0
134
Chris Griffing
Chris Griffing@cmgriffing·
@elnardu This is fine, but it is not usable in a React render's JSX. That was the original use case.
English
1
0
0
160
SuperFashi
SuperFashi@SuperFashi1·
@_JohnHammond this is usually true for *all* devices that can connect to wifi😐
English
2
0
0
322
John Hammond
John Hammond@_JohnHammond·
Fun fact: Windows stores Wi-Fi passwords in plaintext! You can extract passwords with netsh.exe, but that's a child process that might be observed -- we can improve our tradecraft to extract Wi-Fi passwords with native Win32 API functions... in Rust 😎😈youtu.be/auGJJOfmrMM
YouTube video
YouTube
John Hammond tweet media
English
18
159
908
64.5K
elnardu
elnardu@elnardu·
Windows containers docs: "containers build on top of the host operating system's kernel" Also windows containers docs: jk, fuck you, in most cases you get a kernel per container
English
1
0
0
245