|
Dawid Ciezarkiewicz
@
dpc_pw
|
|
OSS Geek and Software Engineer (at @Bitgo). dpc.pw git.sr.ht/~dpc/ github.com/dpc ~napter-matnep
All opinions are my own.
|
|
|
671
Tweetovi
|
72
Pratim
|
130
Osobe koje vas prate
|
| Tweetovi |
| Dawid Ciezarkiewicz proslijedio/la je tweet | ||
|
Nicolas Krassas
@Dinosn
|
3. velj |
|
TeamViewer stored user passwords encrypted, not hashed, and the key is now public
whynotsecurity.com/blog/teamviewe…
|
||
|
|
||
|
Dawid Ciezarkiewicz
@dpc_pw
|
3. velj |
|
That too. That squeezing the last 10% of performance takes considering a lot nitty-gritty details, which is not a best tradeoff sometimes. I think there's a room for a sister-language that takes all great aspects of Rust, and sacrifices 10% perf for easiness.
|
||
|
|
||
|
Dawid Ciezarkiewicz
@dpc_pw
|
3. velj |
|
Yet it would keep a lot of benefits, and could even be compatible with core Rust. So if the performance of your app needs a boost, you can just take your kinda-Rust and rewrite it in Rust-proper (for perf).
|
||
|
|
||
|
Dawid Ciezarkiewicz
@dpc_pw
|
3. velj |
|
I wonder if it was practical to have a "#Rustlang-with training-wheels" , that does everything implicitly by atomic reference (Arc) and `dyn Trait`, etc. but keeps ownership. This way in app-level code, one would not have to worry about some details, making it easier to onboard.
|
||
|
|
||
|
Dawid Ciezarkiewicz
@dpc_pw
|
3. velj |
|
A lot of stuff is insane in Go. about.sourcegraph.com/go/gophercon-2…
|
||
|
|
||
|
Dawid Ciezarkiewicz
@dpc_pw
|
2. velj |
|
So > 25% chance for Bitcoin to become a permanent asset class. What do you think it would do to its price? If more than 4x, rationally speaking, you should be invested.
|
||
|
|
||
|
Dawid Ciezarkiewicz
@dpc_pw
|
2. velj |
|
Not efficiency of the network. Only the difficulty of attempting to reorder the existing ledger. It's a bit complicated. And even after 2140 it shouldn't be a problem because miners even without rewards, also get fees for each transaction.
|
||
|
|
||
|
Dawid Ciezarkiewicz
@dpc_pw
|
2. velj |
|
We have big important institutions all around the world, making sure there's going to be a lot of demand.
|
||
|
|
||
|
Dawid Ciezarkiewicz
@dpc_pw
|
2. velj |
|
Volatility mean opportunity. More upside with less capital. Great. Community might seem annoying but medium.com/incerto/the-mo… . Also great.
|
||
|
|
||
|
Dawid Ciezarkiewicz
@dpc_pw
|
2. velj |
|
You can script it, write macros, drive it automatically, works everywhere, supports everything, everything is one command away. You can attach any GUI you want if you like clicking. gdb is almost perfect. Also: rr-project.org .
|
||
|
|
||
|
Dawid Ciezarkiewicz
@dpc_pw
|
2. velj |
|
In case you ever need a cryptographic digest of directory content.
github.com/crev-dev/rblak…
|
||
|
|
||
|
Dawid Ciezarkiewicz
@dpc_pw
|
31. sij |
|
Your gut feeling is wrong. :D . A little benign code duplication is not a problem on it's own.
Use `if let` instead of one-armed-`match`, see if you can turn the loop into `self.iter().any(...)` to turn each fn into a one-liner.
|
||
|
|
||
|
Dawid Ciezarkiewicz
@dpc_pw
|
30. sij |
|
Because of bech32 addresses using a different address prefix on regtest vs testnet, you can't just take a piece of code and run it against a regtest-simulated test cases, without explicitly taking care of regtest prefix, which isn't even mentioned on en.bitcoin.it/wiki/List_of_a…
|
||
|
|
||
|
Dawid Ciezarkiewicz
@dpc_pw
|
30. sij |
|
Giving regtest, simnet and any other #bitcoin test-"net" a distinct IDs of any sort is a bad idea. It just increases work for developer integrating Bitcoin. And the end user doesn't care - test money is test money, no matter on which fake network.
|
||
|
|
||
|
Dawid Ciezarkiewicz
@dpc_pw
|
30. sij |
|
The answer to "Why isn't there more #rustlang jobs?" is "You don't look for Rust jobs, you rewrite your current job in Rust."
|
||
|
|
||
|
Dawid Ciezarkiewicz
@dpc_pw
|
29. sij |
|
|
||
|
Dawid Ciezarkiewicz
@dpc_pw
|
29. sij |
|
Did you macro `if err != nil { return nil, err }` already? Under `alt+?` maybe?
|
||
|
|
||
|
Dawid Ciezarkiewicz
@dpc_pw
|
29. sij |
|
inheritance is kind of juts composition + delegation + implicit interface; if we had some elegant and effortless delegation in Rust, we would have 99% of inheritance, IMO; it is sometimes useful. eg. you have ID, and you want IDWithUrl, and would like existing code work with any
|
||
|
|
||
|
Dawid Ciezarkiewicz
@dpc_pw
|
28. sij |
|
> which [
/usr/bin/[ twitter.com/TartanLlama/st…
|
||
|
|
||
|
Dawid Ciezarkiewicz
@dpc_pw
|
26. sij |
|
5 years? For mass-murder and giving drags to unaware people? And Ross Ulbricht got double life-sentence?
|
||
|
|
||