Avatar
dshf
64c2faf91950b9df9c719cd02c556b20bb3eb9a5d012fea6a88ce2cd315db496
Dutch Shaefer’s Humble Fan Heat punk 🔥🤘 Node runner

This will be about: #homemining, #cursor, #AI, lame #programming, #homeassistant and most importantly all of this happened because of #bitcoin

I am not a programmer. I can read code more or less. If I do not understand, I ask questions. I know how to specify requirements. I am BA. Not great, not terrible.

I have homemining setup in immersion, heating my house. When I was building it (with professional electrician and plumber of course) I also thought about power management system. I could have used something out of the box from some reliable vendor but as usually I thought "I do not know how to do it but I will build it myself" and so I did.

Thanks to great contribution from nostr:npub16k4wup6jvmzn8fxgj28e3d603zqf5au5j8e2je67vf0gt4kvkh5qzgafa9 and his https://github.com/Schnitzel/hass-miner

It took me some time but now I have HomeAssistant monitoring my solar electricity generation, power usage, temperatures in mining rig, heat buffer, hot water etc but I was lacking some automation. All I could do so far was to run some schedule to turn on/ off the miner.

I learned that there is Node Red in HomeAssistant and it would help me build some automation. I went all "script kiddie" mode and managed to build flows to gather the data and populate dashboards and then started coding the logic for the miner to manage it based on power and temperature inputs. I had no experience with JavaScript but script kiddie is like smart monkey. What monkey sees that monkey does. Sometimes monkey gets burned but eventually it might be successful. I was reading forums, copying, modifying, testing and eventually I had my first working version of the logic. I did not turn it on on Prod but started loging all the inputs and outputs to check how it would behave.

Boy, it was working! Damn it was shitty! I also realized that the code is awful and hard to maintain. It should be written better way. I stopped for a while.

Enter Cursor.

Lex Friedman did podcast on Cursor and that was the first time I heard about it and decided to give it a try.

Now what monkey can do with AI is to be humble and patient and clearly state questions and requests and never trust the robot and check what it is doing. If monkey does not know what robot is doing then monkey must ask questions until robot clarifies.

After 2 weeks of work I have 400+ lines of working code. I don't know if it is working fine but at least it is working.The structure is better. I know I can maintain it. The conditions for the logic are in a form that is clear and understandable. The functions are separate. Error handling is the next step. Now I've got something like v0.1 that next week goes on Production.

My reflections about AI support for programming:

1. Now it is still clunky but damn it is promising. I cannot predict what it can be in next 6 or 12 months. The progress is lightning fast like just recently there was nothing but now I can have some really helpful assistant.

2. Now it cannot make from monkey like humble myself a programmer. No. I can create the code with AI but this is no competition to pro developers in any way. What I did in 2 weeks good coder would do in 3 hours and for sure he would do it even better. I lack knowledge, skils and expertise that makes programmer and no AI can substitute that.

3. For people like me who like to learn, build, break things, FAFO it is great support.

4. You have to be very cautious and do not trust this robot because it messes a lot:

- forgets what it did a while ago, looses context,

- removes random parts of the code, especially comments (fuck I put it there just for a reason)

- will not tell you something you do not ask for of course

- can fix itself on some approach and it is you who can break the infinite loop of wrong ideas to start from scratch

- you must know what you are doing, ask, ask, ask, explain, explain, explain

5. I do not know what kind of support it can be for pro coder but I assume that first of all he will be actually wring the code not like me asking AI to do it. So the support of AI can be different. Some standard parts of the code can be generated by AI, comments, test cases. It may save a lot of time.

6. This is for now but future is completely unknown for me as I lack that kind of imagination. All my prediction models fail.

Good luck and good night

Replying to Avatar ecash memes

Perfection

🤌

Replying to Avatar Gigi

GM

GM and GN

Great interview especially due to AI Max.

I need to check the other podcast they mentioned, with Watchman Privacy.

100 spears!

#freesamourai

Peter is feeling fine and comfy because he knows Bitcoin is scam, Ponzi scheme, worthless and doomed to fail. Peter knows he is right as he has always been.

Now Peter, wake up.

🫵

Excellent book.

One of the “must read”.

Where the fuck is Predator? 1987. The most important film ever.

🫡

80s were the best in movies, tv shows, music, posters with “ladies”, sci-fi books, personal computers, childhood where in todays standards you were risking yours and other life and health every second

MTV was music television then you fuckers!

💩💩💩

🤌🤌🤌

👌👌👌

🫡🫡🫡

I think it is what needs to be done. Properly. Every major price target must be taken, retested from both sides and only when resistance is converted into support price can go up.

And then fall again, prove retest was right and leave screaming crowd behind.

🫡

Seems like all in one: on chain, lightning, cashu.

Cool!

Small note on Miles based on this interview.

I believe his explanation of small progress or maybe smaller that expected by anarchy capitalists. He says that if he introduced all reforms from day one then having minority in parliament all of the changes would rejected. Moreover if he started from changes that might have led to hiperinflation and large expansion of deficit it would only support the socialists and they would overthrown him.

Out of this trio you mentioned I have actually some long term hope in Miles, much less in Bukele. Trump is just Trump. Might be useful if he finds his own interest but might as well be dangerous.

Anyway interview worth listening to.

https://fountain.fm/episode/eMOLPdhxFvC1XXlQ6n18