HNHacker News
TopNewBestAskShowJobs

rmdashrfstar

101 karma · joined December 20, 2018

submissionscomments
rmdashrfstar··on Writing Pythonic Rust
Indeed, this blanket advice does not apply in situations where shared resources that require mutable access need to be synchronized. If my async HTTP router is serving two requests that are using the same database client to persist changes, that needs to be synchronized. How does one do this without a mutex?
rmdashrfstar··on Ask HN: Do you regret choosing serverless (lambda) architecture?
I think it’s a great fit for web APIs, as long as you have a means for distributed concurrency control.
rmdashrfstar··on Bill Gates left Microsoft board amid probe into prior relationship with staffer
> “Microsoft Corp. board members decided that Bill Gates needed to step down from its board in 2020 as they pursued an investigation into the billionaire’s prior romantic relationship with a female Microsoft employee that was deemed inappropriate, people familiar with the matter said.”

Who are “people familiar with the matter”?

rmdashrfstar··on The Day the Sun Brought Darkness (2009)
Yeah, if we had a similarly-sized power grid on Mars, the lack of a strong geomagnetic field would make quick work of that grid. Although I’m sure the increased distance from the Sun might help reduce the frequency of flare hits versus misses.
rmdashrfstar··on The Day the Sun Brought Darkness (2009)
It’s always fun to teach people about this event! The Sun isn’t as far away as one might think... and its angry plasma belches can get quite nasty for our electromechanical world.
rmdashrfstar··on The Day the Sun Brought Darkness (2009)
They won’t get worse as New York is submerged under the Atlantic ocean, but they’ll just add salt to the wound periodically over 150 years... Thankfully the speed of light gives us a day or so of warning time when a blob of charged plasma is headed our way, we just need to mobilize the entire world to respond appropriately!
rmdashrfstar··on Things you can’t do in Rust (and what to do instead)
Theoretically expensive, but modern hardware is optimized for this case. Random access lookups and cache misses from the linked list will tank performance, even in most cases where a linked list is theoretically equivalent or preferred.
rmdashrfstar··on Rust Language Cheat Sheet
I suppose my question is what motivates the use of atomically referencing counting string slice rather than borrowing?
rmdashrfstar··on Rust Language Cheat Sheet
How does this differ from just sharing &str?
rmdashrfstar··on A simple program reducer for any language
Does it work for Rust?
rmdashrfstar··on Some Were Meant For C (2017) [pdf]
https://www.cvedetails.com/vulnerability-list/vendor_id-33/p...
rmdashrfstar··on mrustc: In-progress alternative Rust compiler (to C)
> But there could be gaps, especially in cases where Rust semantics mismatch with C in ways that LLVM hasn't exposed yet.

Could you elaborate on what potential mismatches there currently are between the semantics of Rust and C? Where particularly do you think there might be issues/dragons hiding in the semantics of a translation?

rmdashrfstar··on Rust const generics MVP hits beta
What’s the progress on supporting something like this in future versions?
rmdashrfstar··on If Materialism Is True, the United States Is Probably Conscious (2015)
> Consciousness requires both consistency and high-availability, thus it can't arise in situations of partitioned networks.

[Citation needed]

rmdashrfstar··on Veloren – Open-source MMORPG written in Rust
Those .unwrap() and .clone() calls make the points for optimization or improvement very obvious.
rmdashrfstar··on We don’t use Python native enums
Sum types are the main reason I love writing Rust code. We all miss sum type Enums wherever we go. [0]

[0] https://www.reddit.com/r/rust/comments/l594zl/everywhere_i_g...

rmdashrfstar··on Ask HN: Remote workers in a non-tech city, what's your experience?
> I think I’m more productive because I can’t just “show up”; if I’m not making a difference I might as well have spent the day at the beach.

Wonderfully put. This right here is the perfect expression for why I love remote work. You play your part and make a difference, then the rest of your time can be enjoyed elsewhere. No “the next 8 hours are dedicated to being at the office, maybe I’ll get some work done and chat with my co workers and go to meetings...”. Remote work seems to condense all the dead space in between, by allowing you to fill it with other non-work parts of life.

rmdashrfstar··on Firefox 85 cracks down on supercookies
And for the rest of the globe?
rmdashrfstar··on Rust is a hard way to make a web API
It has absolutely moved beyond just Actix. There are many web frameworks or lighter routers available to choose.
rmdashrfstar··on IntelliJ Idea 2020.3.1 Is Out with Apple Silicon Support
Object-oriented programming is a tired gimmick, and JVM tooling and its bloat is so two decades ago. We have better tools now, we should be using them!
rmdashrfstar··on Talking out loud to yourself is a technology for thinking
That’s adorable and made me smile :)
rmdashrfstar··on Bare-Metal Kubernetes with K3s
Just use Kubespray, not much sense in wasting time writing your own unless your intention is specifically learning how to manage cluster setup with stateless Ansible
rmdashrfstar··on Rust-script – Run Rust files and expressions as scripts without any setup or co
How is this different from xshell? https://github.com/matklad/xshell
rmdashrfstar··on Ask HN: What are real-life useful use-cases for blockchain (not currencies)?
I think if saying that it’s a simpler, easier solution that provides the guarantees that you need, and the other poster still does not understand this, it’s safe to say you shouldn’t put more effort into this. Thanks for your explanations :)
rmdashrfstar··on Why software engineering processes and tools don’t work for machine learning
If I had to deal with engineers with stubborn behaviors like this on a day to day basis, I would go completely insane and quit my job. I can feel the release of cortisol just from reading these bullet points.
rmdashrfstar··on The Serverless Revolution Has Stalled
This is a peak HN comment right here.
rmdashrfstar··on How often do you need to shower? A doctor argues, less often than you think
Two daily showers? Isn't one enough? You run the risk of drying out your skin and stripping your hair of its natural (and beneficial) oils.
rmdashrfstar··on People expect technology to suck because it sucks
Everyone loves to complain and take for granted what good they have!
rmdashrfstar··on Man dies from eating more than a bag of liquorice a day
Larry David?
rmdashrfstar··on LLVM merges machine function splitter for reduction in TLB misses
99% of readers either read and voted or moved on, it’s just one guy who decided to nitpick you, not some nebulous “HN” hive mind collective.
← PreviousPage 2 of 6Next →