HNHacker News
TopNewBestAskShowJobs

D4ckard

423 karma · joined October 20, 2022

https://thasso.xyz
submissionscomments
D4ckard··on Show HN: Liz – Collaborative Lisp coding on Discord
Yeah, I just love Rust and I like Shuttle (which is used to deploy this Rust project), too! I don't think there are great performance implications here. They type-safety is nice though, and it was easy to embed a Lisp.
D4ckard··on An intuition for logarithms
Thank you for pointing out this mistake. Fixed it
D4ckard··on An intuition for logarithms
Yes, I see what you mean. To me, doing those sorts of calculations by hand is just really fun. I agree with you about the importance of applying logical rules in this way. Thanks for this suggestion, maybe I'm going to add a paragraph about the slide rule as an afterthought later on :D
D4ckard··on An intuition for logarithms
Hahah this post of yours was the whole reason I got into this topic!
D4ckard··on An intuition for logarithms
Yeah, I think they’re pretty cool, too. I didn’t include them to avoid going too much into history …
D4ckard··on An intuition for logarithms
For a while now, I've been trying to improve my understanding of working with logarithms. Technically, I knew their purpose, but I wasn't comfortable past reciting their definition. This bugged me, especially since we use them so much in CS. This post sort of collects what I've learned, both for my future self and for anyone else, who feels the same way. Hope you like it :D
D4ckard··on Can you use a class in C?
Hey , first time posting something I've made here I think :D. I'm excited to hear what you think about it!
D4ckard··on Show HN: I made a customizable iOS browser for minimalists and myself
Just installed it on my phone and played around with the configuration options for a few seconds. I really that there are so may themes and presets already installed. While I think that the ability to configure software is great software that doesn't need configuration is obviously still better. Carefully designed presets can be a good middle ground between personal and niece preferences and shipping a product that's actually finished.
D4ckard··on Google claims to have proved its supremacy with new quantum computer
You are right, basically anything can be viewed as a computation. Ray Kurzweil discusses this extensively in his book The Singularity is Near, building upon previous work by Edward Fredkin.

> To appreciate the feasibility of computing with no energy and no heat, consider the computation that takes place in an ordinary rock. Although it may appear that nothing much is going on inside a rock, the approximately 1025 (ten trillion trillion) atoms in a kilogram of matter are actually extremely active. Despite the apparent solidity of the object, the atoms are all in motion, sharing electrons back and forth, changing particle spins, and generating rapidly moving electromagnetic fields. All of this activity represents computation, even if not very meaningfully organized. (From The Singularity is Near Chapter 3, The Limits of Computation)

D4ckard··on Rust's Ugly Syntax
> I wish there was some magical way that the error type could be inferred to be a union of all of the errors that can be returned.

You could use `Result<(), Box<dyn std::error::Error>` to use dynamic dispatch at runtime and allow the function to return any type that implements `std::error::Error`.

Otherwise people often use the anyhow[1] or the thiserror[2] crate to easily work with errors. They allow concise error propagation and quickly creating custom error types.

[1]: https://docs.rs/anyhow/latest/anyhow/ [2]: https://docs.rs/thiserror/latest/thiserror/

D4ckard··on Freecomputerbooks.com
Content littered with ads can not be considered free. The difference from traditionally paid content is that customers pay with their attention and virtual purchasing power instead of spending money directly.

Nonetheless ads obviously allow access for all.

← PreviousPage 2 of 2