HNHacker News
TopNewBestAskShowJobs

rrosen326

353 karma · joined August 27, 2012

http://rossrosen.me
submissionscomments
rrosen326··on Claude Code as a Daily Driver: Claude.md, Skills, Subagents, Plugins, and MCPs
VS Code - how much of this can you NOT do with VS COde. For instance, even /rename doesn't work in VS Code. I guess I can try all the recommended commands, but I'm skeptical. Or, conversely, is best practice just to use Claude on the command line, even if I have VS Code as my editor? I think the VS Code integration with Claude is pretty great, but just the /rename issue shows that it is limited.
rrosen326··on Eulogy for Dark Sky, a data visualization masterpiece (2023)
For weather data and amazing visualizations see https://weatherspark.com/

Check out their compare feature. Brilliant.

Eg: Seattle vs London https://weatherspark.com/compare/y/913~45062/Comparison-of-t...

(Not affiliated. Just an admirer.)

rrosen326··on Ask HN: Is AI so environmentally damaging that we shouldn't use it?
What a great way to put it in perspective, and shocking how low per query.

I expanded your comparison list (with Chat GPT). Pretty interesting.

Activity | Watts Used (1 hr) ---------------------------------------|------------------- Laptop | 50 Wh Desktop + large monitor | 200 Wh Large screen TV | 200–300 Wh Video game + large TV | 300–500 Wh Washing machine run (avg) | 500–1,200 Wh Dishwasher run (avg) | 1,200 Wh Dryer run (electric) | 2,000–5,000 Wh Tesla city driving (Model 3 est.) | 14,000 Wh Tesla highway driving (Model 3 est.) | 18,000 Wh

rrosen326··on Show HN: Justpath – a simple utility to explore the PATH environment variable
I like it! I do the steps involved in this occasionally, manually. It’s not hard but this makes it nice. Not sure I’ll use it since it is one more thing to install and remember, but the author had an itch and scratched it. Well done.
rrosen326··on Tailwind CSS v3.3
I just tried to switch a simple quick site from bootstrap to tailwind and backed out. It seemed like I had to build my base template from scratch whereas with bootstrap they give it to me for free.

With tailwind, is there an easy way to start with a nice simple working responsive site that I can tweak?

rrosen326··on Unpopular Opinion: Don’t Use a Raspberry Pi for That
This is so true! I just programmed an Arduino for a diy attic fan controller. Was it hard? Not really. Was it a bigger pain in the butt than programming for home assistant? Oh gosh yes. And quite limited in comparison. It really made me appreciate zWave plus python plus home assistant plus appdaemon. High level coding - use it if you can!
rrosen326··on My network home setup – v4.0
I'd like to plug Ubiquiti also. I'm not a networking guy and I just want my network to work. I don't want to worry about it or try to guess am I having problems due to Comcast or my home network setup.

Switching to Ubiquiti, from high-end Asus gear, has been awesome. Everything just works. Networking is now a non-issue, and when my wife tells me the "internet isn't working", I can respond, "it's not my fault!"

That's worth the cost to me.

rrosen326··on Python Standard Library changes in recent years
Array - What's the use case here? (And I'm not being snarky or even critical.)

My usage is generally lists for small stuff where I don't care about performance, and pandas/numpy for analysis. So maybe array is either if I don't want numpy, or if I am doing something real and large and list performance would truly be a problem?

Also, I looked for a PEP to answer these questions and couldn't find it. (The one I found was very old). Or any stats on performance improvements?

rrosen326··on Wp-SQLite: WordPress running on an SQLite database
Has anyone actually done this? I looked into it briefly, came away thinking it was going to be non-trivial to get working (or might have downstream bugs), and gave it up as not worth it.

But I could have been completely wrong. Anyone have real world experience?

(BTW - My site is small and 99% of users are not logged in, and 99% of pages are unchanging, so a perfect use case for a static site.)

rrosen326··on The afterlife of used hotel soap
I think this is such a clever use of capitalism for positive purpose. I’ve worked with Eco-Soap Bank (https://ecosoapbank.org/) mentioned in the article. So great.
rrosen326··on Show HN: Napkin – Build back-end functions in the browser
Sorry I’m dense, but what is this? Is this like an Amazon lambda function tied to an API Gateway?
rrosen326··on Git is my buddy: Effective Git as a solo developer
So maybe that's the idea for my projects that I make available to others. Be a bit more deliberate with branches, allow them to be junky, and clean up when I merge to master. That seems like the best of both worlds with minimal effort. I think I'll even try it.
rrosen326··on Git is my buddy: Effective Git as a solo developer
I'm also a solo developer and use git in a much less sophisticated fashion. I tend to use it as, "freeze my code here, so in case I f something up, I can get back to a moderately clean state." It's kind like a snapshot-based local history. And, quite frankly, I rarely revert one, but it makes me feel safer. I don't care if I have a lot of commit messages that say, "interim". The good ones are clear.

Is this a terrible coding practice? I don't have enough non-me experience to know what an anti-pattern this probably is. I probably won't change my process, but I'm curious.

rrosen326··on Git Submodules: Adding, Using, Removing, Updating (2009)
My two cents- subtrees were SO much harder for my use case. Rename a directory? Ugh. Subtree split? Commit history? Just a mess. I switched back to sub modules and it’s such a relief.
rrosen326··on Show HN: Pairagraph – our attempt to build a new high-quality discussion forum
I love the idea. Keep it up.

Here is a nitpick - I tried to find a way to send it to you privately, since it is trivial, but I couldn't find a link or your email anywhere. 1) Remove your photos - this feels like a serious site and your photos are so young that to me, and perhaps others, it detracts from the seriousness. And adds nothing. 2) Have a feedback link!

But more importantly - great idea.

rrosen326··on Show HN: Localdots – HTTPS domains for localhost with autoconfig and hot reload
How do people in general test their https during development? I've never done it but will for my current project, but am dreading it. I was thinking of Docker or Vagrant. Or maybe this localdots.

This must be a solved problem. How do you all do it?

rrosen326··on Effectively Using Matplotlib (2017)
I'd say the premise a bit differently: matplotlib is tricky to learn but once you figure out how it works it's not bad.

I just went through this process myself (http://kachess.k2company.com) and this outline would have been SO helpful. I learned these points the slow, hard way.

(And while it doesn't suck, it's certainly not fun and intuitive.)

rrosen326··on Why I like Clojure
Thanks for all the tips. I started the book Brave, installed Cava and got it working, and am considering finally biting the bullet on emacs. Two birds with one stone!

Thanks for the tips!

rrosen326··on Why I like Clojure
Clojure Help:

This is super apropos since I am JUST learning Clojure via the Clojure Koans.

Any tips from clojurists on getting the repl (and readline) working fluently? I'm using Leiningen but it's not responding as I'd expect. I would think this would all set up more effortlessly.

Tips on getting a new Clojure setup working would be appreciated.

rrosen326··on SkySails
Wow - that’s amazing. Look how tiny that is compared to the load it is pulling. It looks like it would hardly make a difference. (I’m a kiteboarder and my kites are way bigger than I am.)
rrosen326··on Data Is a Toxic Asset, So Why Not Throw It Out? (2016)
There is a semi-valid reason similar, but I think different, from his first point.

Holding on to data provides an option to potential downstream gains. (ie: holding data has an "option value").

Will it be valuable? Who knows? Maybe there is some nugget which will unlock your business or service and bring you victory.

If you get rid of it, you'll never know, until perhaps too late.

If you couple the option-value of holding data to a perhaps unrealistically low expectation of the cost of holding data (ie: a breach), you get an expected value calculation that says, 'hold everything!'

It may be totally rational, even if incorrect.

rrosen326··on Ripgrep 11 Released
For me it's not about speed at all. I've used ack and loved it because it automatically ignores everything I want ignored (with a .ackrc file).

I just tried ripgrep and like it even more because it automatically follows .gitignore, which is huge. To me, that's the killer feature.

rrosen326··on Electron 4.0.0
[aside] @burtonator - what do you use for your pdf rendering? pdf.js? When I used electron a while ago it didn't natively support PDFs so you needed to roll your own with pdf.js. And the UI code to get full-featured PDF support (like a native browser) was quite complicated. Just curious if you found an easier way.
rrosen326··on Ask HN: What are the things that you have automated in your personal life?
If you're talking outdoor plants, this thing is great: https://www.rachio.com/

(If indoor, overkill.)

rrosen326··on Demystifying CORS
Aha - I think this answers something that has always confused me.

If I create a micro-service and want to protect it, CORS doesn't help me very much. I still need some sort of authentication mechanism (perhaps provided in a cookie) to say, "yes - this request is permitted."

CORS helps protect that authentication mechanism within a browser.

Is that about right?

rrosen326··on A standards-based PDF viewer created using Electron and Pdf.js
ImageMagick requires Ghostscript to handle pdfs. So you need both.

Except on OSX, where you can use SIPS. But on Windows, you're stuck with IM/GS.

rrosen326··on A standards-based PDF viewer created using Electron and Pdf.js
This particular solution may not be solving the problem I need, but I'd love to see a really good version of PDF.js running in electron for existing electron apps.

Use case: You're building an electron app. It needs to view pdfs. Right now, you need to implement pdf.js yourself. It's non trivial. And the more full-featured you want it, the harder it is.

And that's only half the issue. What if you want a cross-platform way to create a thumbnail of a pdf? Ugg, don't let me get started on ghostscript...

rrosen326··on Show HN: Keygen – A dead-simple software licensing API built for developers
These are all fair points, as is the one about not comparing a product with an open source project.

But my DO droplet, which runs all my websites, costs $10/month. All the other incredible stuff I use costs 0.

Also, recurring costs add up over time. A long term commitment to a company has unknown ramifications. My income from a new project is 0.

Now that I've been forced to think about it, I probably wouldn't pay $5/month - because (as has happened to me in the past with services I relied on), the price could easily get jacked up. And then I'm committed, or have to back out some code and implementation.

Long term external commitments with companies of unproven track record and uncertain costs make me nervous.

My new plan is to see if I can solve this reasonably well myself (at much higher development costs) and only use keygen or something like it if I really have to.

Which, btw, is exactly the thought process you don't want your pricing to instigate.

rrosen326··on Show HN: Keygen – A dead-simple software licensing API built for developers
At $5/month I'd probably grudgingly do it. At $10 I'd deliberate and postpone, and it's unclear which side I'd land on.
rrosen326··on Show HN: Keygen – A dead-simple software licensing API built for developers
Since I know you are figuring this all out, here’s some pricing feedback for you:

I’m a weekender - building a desktop app (OS X & Win) for individuals and small businesses. I hope it turns into a real business some day, but as experience would show, it probably won’t.

On the low end, $24/month is way too much for me. I would find it offensive to pay $24/month for a licensing solution, when I pay $0 for python, flask, electron, NPM, Vue, and the myriad other technologies I rely on heavily. (Note, I don’t think it is offensive - but I feel it.)

My gut feel on pricing - don’t try to squeeze money from a stone. Give away the low end. You won’t make much money there anyway and you will almost certainly turn off many potential users and proponents. Get them hooked. Let them promote for you. Don’t let them find an alternative. Then, when they start making money, you start making money.

If I have a viable business going I will have a totally different feel on how I would see this expenditure.

2 cents for you.

Page 1 of 2Next →