HNHacker News
TopNewBestAskShowJobs

Dzugaru

538 karma · joined June 19, 2016

submissionscomments
Dzugaru··on Russia opens criminal investigation of Meta over death calls on Facebook
> None of those threatened to become nuclear wars

How is this even relevant? And do you think fueling hatred is a right call to reduce the probability of nuclear war?

Dzugaru··on Technology Traps (1978) [video]
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 powered stations I think) for months in a childhood, in a city that was not that small (about 100k citizens) in the 1990s in Russia. Nothing much ever happened, no looting, no arson. Police retaliation would be swift, they don't need no computers to punish offenders.

Dzugaru··on Voltage, Amps, Resistance and LEDs
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.
Dzugaru··on .NET 6 Preview 5
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.
Dzugaru··on NVMe is not a hard disk
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/file-ssd.pdf

Dzugaru··on El Salvador makes Bitcoin legal tender
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 Bitcoin or making positive comments about Bitcoin on HN. Sadly, all these are economically justified (for now).
Dzugaru··on El Salvador makes Bitcoin legal tender
Most criminals don't kill people. Does that mean we should ignore killers?
Dzugaru··on El Salvador makes Bitcoin legal tender
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?
Dzugaru··on El Salvador makes Bitcoin legal tender
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?
Dzugaru··on JupyterLite – WASM-powered Jupyter running in the browser
> 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# launched. That's why we now have amazing languages like Rust and also that's why the same problems will never be the same given we have a ton of experience with VMs, docker, sandboxing in browsers etc.

Dzugaru··on Writing Pythonic Rust
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.
Dzugaru··on Writing Pythonic Rust
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 check if the string is interned and give a new counted reference as needed and also periodically check any weak refs that should be dropped. This works, but the key better be immutable (I think?) so you cant do HashMap<Weak<String>, Weak<String>> (HashSet?) and hence need second copy as a key.
Dzugaru··on Writing Pythonic Rust
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've tried to implement was a string interning module and I was stuck on it for three days (I still don't know how to do it without duplicating each string twice). Rust is completely orthogonal to the concept of a nice garbage collected graph of objects.
Dzugaru··on The Limits to Blockchain Scalability
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.
Dzugaru··on The Limits to Blockchain Scalability
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 fantasy and cannot provide any comparable guarantees.

Dzugaru··on Why are there no return statements in Objective-S?
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 introduction into FP (and a language called F# which is basically OCaml) and what it can do (especially in parsers area)
Dzugaru··on Proof-of-stake is inherently self-referential
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 anonymous and doesn't hold any legal responsibility (in contrast with WebMoney). Thousands of validators could be one entity now or in future and you'll never know that (in contrast with PoW). Some infuencer (just like Vitalik) can come and convince validators to mine incompatible fork of Ethereum - you can do this for free and won't be slashed on main chain - and why not, maybe this fork will prove better and people switch (yeah this can happen with any crypto that's not Bitcoin)?

All I'm saying that Satoshi really produced the one undeniable cryptocurrency. His idea is sound, you don't need any friends or websites, or "common" knowledge besides his simple idea of the most work burned chain. Anything other is really questionable.

Dzugaru··on Proof-of-stake is inherently self-referential
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).
Dzugaru··on Proof-of-stake is inherently self-referential
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.
Dzugaru··on Proof-of-stake is inherently self-referential
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 trivially verifiable by anyone now or 1000 years from now (if it retains the majority of humanity hashrate)
Dzugaru··on Proof-of-stake is inherently self-referential
Whats a "known" genesis block?
Dzugaru··on Proof-of-stake is inherently self-referential
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 have many different public signatures?
Dzugaru··on Proof-of-stake is inherently self-referential
> 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 us anything contrary to PoW forks) with modified header and later it wins)?

Dzugaru··on Nvidia cripples cryptocurrency mining on RTX 3080 and 3070 cards
Well.. yes?
Dzugaru··on Show HN: I wrote my own RTS game engine in C
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.
Dzugaru··on The unreasonable effectiveness of print debugging
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.
Dzugaru··on Game Engine: How I Implemented Skeletal Animation
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/autoposing

Dzugaru··on Bitcoin as a Battery
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 electricity and computation devices locked into it to be perfectly secure. Thats frankly scary. [0] https://elad-verbin.medium.com/bitcoin-is-not-a-battery-it-i...
Dzugaru··on All my career rejections
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 waste of time as well.
Dzugaru··on Learning Machine Learning for Game Development
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, effective and scalable the system is. There are some mentioned problems like designing rewards for player enjoyment, but its definitely got a massive reduction in engineering effort.
← PreviousPage 3 of 6Next →