A great starter for new rust projects
The key is transmitted via the hash of the URL. Smart ! The rest is encrypted on the client side.
An example is provided with the crypto API, especially subtle.
Rights management in JS
How to remove XML comments in Javascript?
How regex can solve the issue but why they can be slow. There is a category for this weakness: CWE-1333 "Inefficient Regular Expression Complexity".
Other workarounds are also proposed, such as using efficient engines with backtracking.
It generates tokens for the css boilerplate, then it uses tailwind to generate utility classes.
Stay close to the standard. Expose APIs instead of wrapping them.
The author asks for less HTML-in-JS and demonstrates it with the Next meta tags example.
Whenever a problem can be solved by native HTML elements, the longevity of the code improves tremendously as a result. This is a much less alienating way to learn web development, because the bulk of your knowledge will remain relevant as long as HTML does.
How to configure SQLite for
Using a simple INT
with Unix millisecond timestamps is the best for performance.
COUNT
is slow, so it can be useful to keep track of them in a separate table.
Distributed SQLite databases can be achieved the same way as PostgresSQL: one writer and multiple replicated readers.
Great insights too :)
Handy :)
what if, instead of taking a mutable reference to the entire State, we only took a mutable reference to the fields we wanted?
A fast hashmap algorithm if the one of the standard library is not enough.
IDK if the collision rate is higher than the std library though. Hashbrown uses AHash as algorithm for hashing. --> it does not provide cryptographic secure hashes though.
Another use case is when std
is not available (because the randomness is not available in the environment / OS).
Definitely worth. It's great to have high quality articles such as these.
Style the parent based on how many children there is in it. Awesome!
Interesting to have a language than can tradeoff precision for speed.
Numba make python code faster and the author spent months to build in C++ instead of days with Numba.
The last one is assymbly directly... it seems similar to C in the new versions! ForwardCom is also interesting as it's an "open forward-compatible instruction set architecture".
Damn look at this:
v0 = my_vector // we want the horizontal sum of this
int64 r0 = get_len ( v0 )
int64 r0 = round_u2 ( r0 )
float v0 = set_len ( r0 , v0 )
while ( uint64 r0 > 4) {
uint64 r0 >>= 1
float v1 = shift_reduce ( r0 , v0 )
float v0 = v1 + v0
}
If I trade C++ for “not C++”, 80% of my work will remain exactly the same. C++ is simply irrelevant to most of what I do. Could it mean that for me C++ is already 80% dead?
Interesting thoughts though!
Buffers can help before writing everything to the standard output.
Original solution in image: https://techhub.social/@mrolemadelen/112105972218076605