Live data from Hacker News

Thinkserver: My web-based coding environment

checkmyworking.com

21–30 of 68 posts

Re: Thinkserver: My web-based coding environment

#21
post #4

I've recently discovered the joys of vscode-server[0] for this type of use case. Which you can either serve as a WebApp direct from your machine, or tunnel in from another VSCode instance - including a webhosted version from Microsoft[1] I may not do that much coding these days, but I already have found it handy for when I forgot to do a Git push! Just log back in to the Web Environment and everything is how I left i…

There’s also code-server by Coder, which you can just run on your own server and open in browser directly. It’s also open source (most tunneling features in VSCode aren’t). https://github.com/coder/code-server There’s a one-click setup for it in Lunni, a Docker dashboard I’ve been working on (shameless plug): https://lunni.dev/

Lunni looks cool. I hear mixed things about Docker Swarm. How has it been to work with?

Re: Thinkserver: My web-based coding environment

#22

Earlier quoted context omitted.

There’s also code-server by Coder, which you can just run on your own server and open in browser directly. It’s also open source (most tunneling features in VSCode aren’t). https://github.com/coder/code-server There’s a one-click setup for it in Lunni, a Docker dashboard I’ve been working on (shameless plug): https://lunni.dev/

Lunni looks cool. I hear mixed things about Docker Swarm. How has it been to work with?

Thank you so much!

Personally, Docker Swarm works great for me. I was worried about it for a while, too, but Mirantis seems to maintain it pretty well. There are even new features being shipped, like CSI support back in 2023! I’m thinking about adding a Kubernetes backend though, just in case things get worse for Swarm.

Re: Thinkserver: My web-based coding environment

#23
post #5

This is awesome. I’ve also built a number of services for myself (Pinterest style photo hosting for archival/research purposes, analytics service for my websites, tracker for the books I’ve read, message board for micro communities I’m a part of, etc). I also share them with friends who express interest in them. The costs are minimal (they all run on a shared $4/mo instance + $10/yr domain per project) and I get to c…

this makes it sound very nice. i only do this stuff out of sheer frustration. not understanding stuff (i hate 'magic' , its 1s and 0s...), or not agreeing with decisions after i do understand stuff. i really dislike i have to build everything myself. though then again. i guess i do like building stuff :')... it's a never ending s/shitshow/joy/g

Re: Thinkserver: My web-based coding environment

#24
post #23
post #5

This is awesome. I’ve also built a number of services for myself (Pinterest style photo hosting for archival/research purposes, analytics service for my websites, tracker for the books I’ve read, message board for micro communities I’m a part of, etc). I also share them with friends who express interest in them. The costs are minimal (they all run on a shared $4/mo instance + $10/yr domain per project) and I get to c…

this makes it sound very nice. i only do this stuff out of sheer frustration. not understanding stuff (i hate 'magic' , its 1s and 0s...), or not agreeing with decisions after i do understand stuff. i really dislike i have to build everything myself. though then again. i guess i do like building stuff :')... it's a never ending s/shitshow/joy/g

oh, and yeah, looks like a really nice project honestly. i never do frontend stuff, but when i do, man, something like this would be useful :')... typing chromium index.html -> realizing it just spawned on the different workspace because chromium is trying to be smart (more likely i am being dumb ;D).

having it side by side like that looks really nice if u have the screenspace.

Re: Thinkserver: My web-based coding environment

#25
post #2

Building custom tools that work for only you is so under rated. I would never use that workflow but it works for the author and that’s awesome!

> Building custom tools that work for only you is so under rated. This is one of the top applications for LLM-based dev IMO. With things like aider / cline / cursor / windsurf / bolt it's looking like this will be a lot easier to scaffold small-scale projects that make sense for you and not necessarily turn into products. It suits single-dev / small teams for now, and that's OK.

This has been my experience as well. I find my much more likely to “build” it myself versus using something off the shelf because it’ll give me full control over the project.

A lot of the reasons I would pull in dependencies for are things I’m either not good at or not fast at writing and in most cases LLMs are good at picking up the slack.

It’s been a joy to write the core logic then have an LLM throw a web GUI frontend together for me so I can iterate faster.

Re: Thinkserver: My web-based coding environment

#26
post #20
post #13

Earlier quoted context omitted.

Same. Since Claude 3.5 Sonnet has been released I've been building a lot of "microservices" that are just useful to me, or Chrome Extensions that I've seen that I just recreated using Cursor. Awesome learning experience and now I can customize them as needed.

I think you mean that you've been building a lot of simple applications? Because that's not really what microservices are. I mean sure it's just a word and HN especially loves to spit on original definitions, but it is always kinda jarring to hear these technical terms in settings that have pretty much no overlap with the original definition.

If you think as yourself as an application and you are surrounding yourself by small service applications that do one specific task...then I could see it make sense.

Re: Thinkserver: My web-based coding environment

#27
This looks fantastic, I'll make sure to try it!

I've been working on a similar platform (https://smallweb.run), which allows me to host all my side projects from a single root folder. Each subfolder automatically becomes a subdomain, and I can just use vscode remote ssh or mutagen to live edit my websites.

Re: Thinkserver: My web-based coding environment

#28
post #5

This is awesome. I’ve also built a number of services for myself (Pinterest style photo hosting for archival/research purposes, analytics service for my websites, tracker for the books I’ve read, message board for micro communities I’m a part of, etc). I also share them with friends who express interest in them. The costs are minimal (they all run on a shared $4/mo instance + $10/yr domain per project) and I get to c…

> I’m basically slowly working on replacing pretty much every 3rd party app I use with something I wrote myself (it’s going to take a while but that’s okay). My grandpa was a carpenter and pretty much every piece of furniture in the house was something he or his friends had made. As software craftspeople, we should strive to do the same with our digital houses.

I do the same. Both with software and furniture in my house.

I've built all kinds of little dashboards, a big website software project, a local-only bookkeeping system, etc.

With furniture, I'm not that far that I dare to build a chair or couch, but I've built a bed frame, an over-engineered shoe rack (https://www.youtube.com/watch?v=hXzO8BOIlhk), a weight rack, and now I have some bookshelves in the works.

I don't know if you're Japanese, maybe it's coincidence, but I really get inspired by watching Japanese craftsmen on Youtube. It's not only the techniques or style that I like, but the careful working on something that should last.

Re: Thinkserver: My web-based coding environment

#29

This is so reminiscent of doing web development in smalltalk with seaside.

Every time I see a smalltalk comment I hope to see a reply along the lines of > I've been maintaining a Smalltalk compiler, But alas. I wonder how hard it is to get a copy of the spec...

It’s a VM you need. Not a compiler. The Pharo Project’s VM [0] is in C, and not that extensive. Most of the good stuff is written in smalltalk.

[0]: https://github.com/pharo-project/pharo-vm

Re: Thinkserver: My web-based coding environment

#30
post #5

This is awesome. I’ve also built a number of services for myself (Pinterest style photo hosting for archival/research purposes, analytics service for my websites, tracker for the books I’ve read, message board for micro communities I’m a part of, etc). I also share them with friends who express interest in them. The costs are minimal (they all run on a shared $4/mo instance + $10/yr domain per project) and I get to c…

What service are you using that's 4$/month? I've used the free tier of Render on the past which I enjoyed but the lowest paid plan is 20$/month.
Post reply on HN