Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Dzugaru
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
Dzugaru
5y ago
I agree, he lost me in the first few minutes by assuming the moment some problems start the society will turn on each other like in some zombie apocalypse. Anecdotally, I lived almost totally without power (critical institutions had diesel
62.
▲
by
Dzugaru
5y ago
I'd add the MIT 6.002 Circuits and Electronics course available on Youtube. It's been immensely helpful for me starting experiments with Raspberry PI GPIO.
63.
▲
by
Dzugaru
5y ago
Visual Studio Community or even VSCode with Omnisharp is a very solid choice. You can easily write C# code of any complexity without any extra bells and whistles of Rider because the language itself is that good.
64.
▲
by
Dzugaru
5y ago
Of course it does [0]. It's just it assigns writes as evenly as possible (to have as even wear as possible), so log-like internal "file system" is a way to go. https://pages.cs.wisc.edu/~remzi/OSTEP/
65.
▲
by
Dzugaru
5y ago
Except that's not how it works. This adoption has a massive impact on acceptance of Bitcoin. If we assume Bitcoin is a mistake for humanity - this clearly is a great wrongdoing. A smaller wrongdoing would be buying Bitcoin, holding Bit
66.
▲
by
Dzugaru
5y ago
Most criminals don't kill people. Does that mean we should ignore killers?
67.
▲
by
Dzugaru
5y ago
You must be joking? There is a trivial way to hide the traces by using mixers. Why do you think ransomware and black markets today exclusively run crypto not fiat?
68.
▲
by
Dzugaru
5y ago
This argument is deeply flawed for an obvious reason. E.g. why do you vote if your vote is only one of a hundred million?
69.
▲
by
Dzugaru
5y ago
> a soon it gets the same permissions like the JVM to access the file system and such Like... never? We get better systems as we get more experience. That's why C# was better than Java, Java today is better than Java was when C# lau
70.
▲
by
Dzugaru
5y ago
That's my impression with Rust for now - you use indexes instead and borrow as needed. Long lived borrows are a no go, I was shocked to figure out you cannot return a new thing and a reference to it from a function.
71.
▲
by
Dzugaru
5y ago
I wanted to drop strings which are not used anymore, you do need Rc for that (no way around it I think), but my problem was that I also needed that strings as a key to HashMap<String, Weak<String>>. So I use that HashMap to chec
72.
▲
by
Dzugaru
5y ago
I come from C# and Rust absolutely drives me bonkers. I try to reference all the things all the time, cause its ingrained in my brain as more efficient than copying stuff around or/and requesting things from hashmaps. The first thing I
73.
▲
by
Dzugaru
5y ago
Why do you need a blockchain at all then? This is what I really don't get. If you have your "majority" available at all times they just agree on account balances and call it a day. Just like WebMoney did circa 1998.
74.
▲
by
Dzugaru
5y ago
This is blatantly false. Bitcoin doesn't require anything at all besides the idea of a most work chain humanity produced. You just pick it and that's it. You cant pick wrong, there is no chain bigger. All other cryptos are a fanta
75.
▲
by
Dzugaru
5y ago
You pass a state and return a new, modified state. You can, however, "pass" many other things in functional programming - see monads (also called computation expressions). I recommend fsharpforfunandprofit website for gentle intro
76.
▲
by
Dzugaru
5y ago
Well I too could imagine some sorts of shenanigans that will mislead the majority of validators especially in PoS that doesn't lock any of validators computation resources. It's even worse in the sense that a validator can be anon
77.
▲
by
Dzugaru
5y ago
How it's better than WebMoney then? About other cryptos - well, yeah, there can be only one. If you don't control 51% of overall humanity hashrate it's not secure (and not better than WebMoney).
78.
▲
by
Dzugaru
5y ago
Well it's not and been solved for the first time by Satoshi Nakamoto. You pick the first block of the most worked chain. Any other thing is no better than WebMoney.
79.
▲
by
Dzugaru
5y ago
Whats a community? How can it ignore the longest technically valid chain if people come and go, centalized "reference" websites change hands? The Bitcoin is the longest chain, most work burned, it's the definition and trivial
80.
▲
by
Dzugaru
5y ago
Whats a "known" genesis block?
81.
▲
by
Dzugaru
5y ago
As a newcomer - how can I tell the "right" chain apart? In Bitcoin I simply choose the one that burned the most work - it's trivial. In PoS I do what? The longest? Its trivial to produce a long chain. The longest and that hav
82.
▲
by
Dzugaru
5y ago
> That is, if there are two competing chains, A and B, then if a validator creates a block on B, they get a reward of +R on B, but the block header can be included into A What if it can't (we do ETH 2.342 variant (which doesnt cost
83.
▲
by
Dzugaru
5y ago
Well.. yes?
84.
▲
by
Dzugaru
5y ago
This is huge. I have a pet RTS project too, and the stuff is really complex. The information on large-scale pathfinding for example (ClearPath etc.) is scarce. And I do it on Unity3D/C#, doing this on homemade engine is pure insanity.
85.
▲
by
Dzugaru
5y ago
I stopped doing step debugging at all many years ago. For me it looks the same as visual vs. text programming. Text and text search tools are just miles ahead of clicking buttons.
86.
▲
by
Dzugaru
6y ago
You can also go down the rabbit hole of using ML in animation. It's really a gamechanger. [0] https://montreal.ubisoft.com/en/introducing-learned-motion-m... [1] https://cascadeur.com/help/aut
87.
▲
by
Dzugaru
6y ago
This is an excellent take on why the Grossman's idea is plainly idiotic [0]. You don't get more bitcoin for more electricity, you just get more security. The system itself can reach a state when you need 51% of whole planet electr
88.
▲
by
Dzugaru
6y ago
It can be a massive fun too. Ive never interviewed at FAANG, but solving some leetcode problems (mostly medium-hard though) was so cool for me and some of my friends. We were into olympic math at school, and I don't consider that a was
89.
▲
by
Dzugaru
6y ago
Anecdotally: I've never seen a "simple state machine" or "simple behaviour tree" in game AI. We've recently started using deep reinforcement learning for our games and its almost like a miracle how simple, effe
90.
▲
by
Dzugaru
6y ago
> you chose to potentially cause more damage Seriously? I surrounded myself with a metric ton of rigid metal and bazillion safety systems (and pay ridiculous sums for that, mind you) to protect myself and my family in a deadly environmen
More ›