Better HN
topnewbestaskshowjobs
Log inSign up

dragosmocrii

541 karma · joined Jul 21, 2015 (11y ago) · 193 submissions

Submissions

comment 1mo ago · link · parent

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

2.

Show HN: Proc-stats – a task manager for Claude Code sessions(github.com ↗)

1 points · by dragosmocrii · 1mo ago · 2 comments

comment 2y ago · link · parent

have a look at the new Mitsubishi outlander EV, it kinda works like the volt

comment 2y ago · link · parent

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?

comment 2y ago · link · parent

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

comment 2y ago · link · parent

Probably reduces aerodynamics and range more than it's helping

comment 3y ago · link · parent

Congrats! That's a nice project and great effort that I'm sure taught you plenty of stuff while doing it.

comment 3y ago · link · parent

https://dragoshmocrii.com/blog/ - writing about new things I discovered or issues I was able to solve that might help others.

comment 3y ago · link · parent

https://archive.is/dPA5n

comment 4y ago · link · parent

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..

comment 4y ago · link · parent

Replacing it with the seat cooling subscription?

comment 4y ago · link · parent

Thank you, this definitely goes on my reading list!

comment 4y ago · link · parent

Had one for 3 years, and then it started chattering unfortunately

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

Sarcasm? Because the opposite is true

comment 4y ago · link · parent

hmm, those emails are cringey

comment 4y ago · link · parent

Ever since I started wearing my Invisalign trays, I do zero snacking. I feel great though, since my eating habits are better

comment 4y ago · link · parent

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!

comment 4y ago · link · parent

I wish Firefox had close to feature parity with Chrome for the developer tools. Would replace Chrome for Firefox in a jiffy

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

PHP needs a proper type system with generic support, and would be a killer programming language

comment 5y ago · link · parent

AAPL probably going down tomorrow

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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!

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

My system runs on X11 though
1234567