News for hackers. Stuff that matters.

dragosmocrii

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

have a look at the new Mitsubishi outlander EV, it kinda works like the volt
Re:Why Elixir (2014) on Wednesday March 27, 2024 @09:25AM (#39838742)
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?
Re:FastUI: Build Better UIs Faster on Saturday March 02, 2024 @12:42PM (#39574173)
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
Probably reduces aerodynamics and range more than it's helping
Re:I stay motivated as a solo-creator on Friday October 06, 2023 @12:50AM (#37787201)
Congrats! That's a nice project and great effort that I'm sure taught you plenty of stuff while doing it.
Re:Ask HN: Could you share your personal blog here? on Tuesday July 04, 2023 @04:22PM (#36592057)
https://dragoshmocrii.com/blog/ - writing about new things I discovered or issues I was able to solve that might help others.
Re:When Did Hospitality Get So Hostile? on Saturday February 11, 2023 @06:46PM (#34757722)
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..
Re:Ask HN: Are you cutting back on subscription services? on Tuesday July 12, 2022 @05:43PM (#32076065)
Replacing it with the seat cooling subscription?
Thank you, this definitely goes on my reading list!
Re:Logitech MX Mechanical Keyboard on Tuesday May 24, 2022 @09:36AM (#31491904)
Had one for 3 years, and then it started chattering unfortunately
Re:I'm Too Risk-Averse for Index Investing on Friday March 18, 2022 @12:15PM (#30724096)
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.
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.
Re:Laravel 9 on Tuesday February 08, 2022 @01:07PM (#30262031)
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.

Re:The complicated futility of WordPress on Wednesday February 02, 2022 @01:03AM (#30174328)
Sarcasm? Because the opposite is true
Re:On Leaving Facebook on Saturday January 22, 2022 @12:14PM (#30038584)
hmm, those emails are cringey
Re:Ask HN: What do you snack on while coding? on Friday January 14, 2022 @12:32PM (#29937359)
Ever since I started wearing my Invisalign trays, I do zero snacking. I feel great though, since my eating habits are better
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!
I wish Firefox had close to feature parity with Chrome for the developer tools. Would replace Chrome for Firefox in a jiffy
Re:PHP is worth learning and using on Thursday November 18, 2021 @01:01PM (#29268418)
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.
Re:PHP is worth learning and using on Thursday November 18, 2021 @08:43AM (#29265243)
PHP needs a proper type system with generic support, and would be a killer programming language
AAPL probably going down tomorrow
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.
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!

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.
My system runs on X11 though
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
does that apply to ultrasonic toothbrushes too?

Older »