4 ms·
I have a saas sideline I have been selling for 10 years. Some time ago I settled with the toro php router, mysql, jquery and bootstrap. I do most of my coding i
by p0d 7y ago
I have a saas sideline I have been selling for 10 years. Some time ago I settled with the toro php router, mysql, jquery and bootstrap. I do most of my coding in Sublime over ssh i.e. my test sites live in containers on a little core2duo desktop. Each container has it’s own Sublime. I can spin up any sublime, from any project, from any machine on my lan. As it’s internal go for a weak but performant ssh cipher or you will get too much latency. Copies of the same containers are used in the live environment. I have a container running Gitlab for versioning.
The core2duo box cost £25 and I love it. It’s also a file/plex server. Duckdns has also been a great friend. As well as nginx, lets encrypt and basic auth. Keeping in mind this is my test system.
- ekr 7y agoYou might want to replace that core2duo with an ivy bridge laptop or a similar device, which you could find for ~£50 (maybe with a broken screen). The power consumption will drop by more than half. But if you don't run the system 24/7 then it's not worth it.
- p0d 7y agoFunny you mention power as it was on my mind recently. The box hits 60w at full use so it is not a major concern. I would be more concerned leaving a laptop power supply on 24/7. I’m not sure if my concern is unfounded, what do you think?
- ekr 7y agoAssuming that it's well built (i.e. it comes from a major manufacturer and it's not a cheap Chinese product), that worry is completely unfounded. A modern power adapter is at its core just a transformer and a regulator. Three transformer itself is a passive device, it's the regulator that will use a bit of power that will turn into heat, but any well built one will have no risk of overheating. The heat is proportional to how much power the laptop is using, (i.e. under how much load it is on average). Modern laptops use very little power, so I'd say there is little cause for concern.