HNHacker News
TopNewBestAskShowJobs

dragosmocrii

541 karma · joined July 21, 2015

submissionscomments
dragosmocrii··on Show HN: Proc-stats – a task manager for Claude Code sessions
I was curious how much RAM Claude Code sessions use, and have visibility over sub-processes it spawns as part of doing its work. I also wanted to experiment with Code Mods, so this felt like a natural little project. Once I saw that a Claude Code session costs 450MB RAM before even starting to do any work, I stopped leaving lingering sessions, and instead close them when I'm done working and start new sessions only when I need it.

I also discovered that closing the terminal tab (using Warp) will not actually close the Claude Code process, and it will stay orphaned in the background consuming RAM until I restarting my dev-container. So now I always close it properly with CTRL+C

dragosmocrii··on Mazda’s rotary engine in the age of the electric car
have a look at the new Mitsubishi outlander EV, it kinda works like the volt
dragosmocrii··on Why Elixir (2014)
Elixir is amazing. Had a stab at it back in 2018, then shifted to work with other traditional langs/stacks, but Elixir has always stayed in the back of my head teasing me. It's an elegant language, that you can see that the authors have put effort in keeping it lean, powerful, expressive. Phoenix (which is the goto web framework) may seem magical in the beginning, but once you dive in you realize that there is no magic, it's all there explicitly in modules (well maybe for macros which do feel magical). What I was missing back in 2018 is IDE support which was iffy. I wonder how that changed recently, if anyone who knows cares to share?
dragosmocrii··on FastUI: Build Better UIs Faster
I don't think a tool is doing its job well when you make it work for your app. By contrary, it should make your app work
dragosmocrii··on Tesla owner created a folding solar array capable of charging 20-60mi per day
Probably reduces aerodynamics and range more than it's helping
dragosmocrii··on How I stay motivated as a solo creator
Congrats! That's a nice project and great effort that I'm sure taught you plenty of stuff while doing it.
dragosmocrii··on Ask HN: Could you share your personal blog here?
https://dragoshmocrii.com/blog/ - writing about new things I discovered or issues I was able to solve that might help others.
dragosmocrii··on When Did Hospitality Get So Hostile?
https://archive.is/dPA5n
dragosmocrii··on Most Americans think NASA’s $10B space telescope is a good investment
Now imagine a world where every taxpayer can vote where their money goes, and there are institutions making sure that this money is spent where it's meant for, like: education, healthcare, local infrastructure, research, military, military operations, etc I wonder if things would be different..
dragosmocrii··on Ask HN: Are you cutting back on subscription services?
Replacing it with the seat cooling subscription?
dragosmocrii··on MIT engineers fly first-ever plane with no moving parts (2018)
Thank you, this definitely goes on my reading list!
dragosmocrii··on Logitech MX Mechanical Keyboard
Had one for 3 years, and then it started chattering unfortunately
dragosmocrii··on I'm Too Risk-Averse for Index Investing
If you have 1000$ to invest and it appreciated 7%, that made you a 70$ profit, which is not much from a coat of living perspective. If you had 1,000,000$ to invest, that gives you 70,000$ profit, which is pretty good at covering living expenses, bit not leaving you much else. Now if you have 10,000,000$ to invest that yields 700,000$ in profit, that is marginally way more and covers living expenses, plus gives you room to invest in other actives, thus improving your chance to grow your wealth.
dragosmocrii··on Cryptocurrency off-ramps, and the shift towards centralization
I've noticed so many ads on Crypto "investing" recently, that makes me think we might be in the last stage of this bubble. I've had a discussion with a family member and their friend, and they were talking to me about investing in crypto, and how XRP is backed by gold, and how they have cold storage with their phone to hold their "assets" in case the Internet is taked down, and how the stock market will crash and big companies will disappear (like Google, Amazon, etc). And I'm like what the heck.. If the Internet is taken down, why do you even need to have your crypto on cold storage, it's just bits.. you've got bigger problems at that time. But nope, they're adamant crypto is the future, even if they have bo idea how it works. Fascinating, and terrifying when thigs go South.
dragosmocrii··on Laravel 9
yes, that's basically what a framework is for. but you have to follow the framework's way of doing things. most of the time that works well. few times, you may be fighting the framework to achieve some special cases.

you call libraries. framework calls you.

dragosmocrii··on The complicated futility of WordPress
Sarcasm? Because the opposite is true
dragosmocrii··on On Leaving Facebook
hmm, those emails are cringey
dragosmocrii··on Ask HN: What do you snack on while coding?
Ever since I started wearing my Invisalign trays, I do zero snacking. I feel great though, since my eating habits are better
dragosmocrii··on Firefox 95 might be the most secure web browser on the market
Wow, didn't know this was available! They should add a message when the dev tools is opened to let developers know avout this developer edition. Thanks, will give it a try!
dragosmocrii··on Firefox 95 might be the most secure web browser on the market
I wish Firefox had close to feature parity with Chrome for the developer tools. Would replace Chrome for Firefox in a jiffy
dragosmocrii··on PHP is worth learning and using
I'm aware of Hack, but I don't have full control over the stack, so having all these features included in core PHP would be the only way in my case.
dragosmocrii··on PHP is worth learning and using
PHP needs a proper type system with generic support, and would be a killer programming language
dragosmocrii··on Judge orders Apple to allow external payment options for App Store
AAPL probably going down tomorrow
dragosmocrii··on TypeScript: Control flow analysis for destructured discriminated unions
Thanks for sharing this. I literally ran into the same issue yesterday, and was wondering why TS can't understand that I am discriminating on the isSucces property.
dragosmocrii··on Firefox on Unix is moving away from X11-based remote control
All the flags to force using acceleration are enabled, but the section with the Graphics driver shows that no driver was found. I do have the latest Nvidia Drivers installed, and my graphic card is a GeForce GTX 1660 Ti Mobile.

* Running Firefox 93.0

*Update: I've rebooted my system, and it shows that my Graphic Card is now in use. Not sure which flag I enabled helped, but pages are buttery smooth as with Chrome. Many thanks!

dragosmocrii··on Firefox on Unix is moving away from X11-based remote control
It's actually PopOS 21.04, so pretty recent. Wayland is available if I wanted to ise it, but I remember running into other issues when tried.
dragosmocrii··on Firefox on Unix is moving away from X11-based remote control
My system runs on X11 though
dragosmocrii··on Firefox on Unix is moving away from X11-based remote control
Don't know why, but Firefox on my Ubuntu is slow AF. Scrolling pages is just a pain. Graphics acceleration seem to be enabled.. Chrome is buttery smooth though, so no idea how to fix FF
dragosmocrii··on MRI and ultrasound can usher treatments through the blood-brain barrier
does that apply to ultrasonic toothbrushes too?
dragosmocrii··on Xiaomi Redmi Note 10 Pro: flagship features at half the price
this phone was on my list, but I got the LG V60 instead, which is now available on eBay new for a big discount. the phone's a beast and it's got 3.5mm, external memory, and a huge battery.
Page 1 of 6Next →