Thanks, I think I can actually apply this idea actually. I'm writing a chat app for fun and one of the (admittedly small) issues I'm dealing with is cleanly storing the local state of the chat so that it appears correctly on refresh. There's some complexity involved with how messages are served, received, etc. with notifications, dings, animations, whatever -- but maybe saving that information to a file (as an altern…
You can serve static data over HTTP
121–127 of 127 posts
Re: You can serve static data over HTTP
#122Earlier quoted context omitted.
At some point, the plane flew so high above the clouds, and it hasn't seen the ground for so long, the passengers might think the clouds is the ground.
When "Hello World" is a cloud instance spun up and billed on your tuition. That won't really happen, right? No Computer Science (CS) professor would designate special cloud Interactive Development Environments (IDEs) to students. On the other hand, it would really resolve a lot of "doesn't work on my machine" issues.
GitHub has said one of the largest growing areas for Codespaces (cloud IDE) usage is Education.
It's already happening. It does resolve a lot of "doesn't work on my machine" issues; it does leave some questions about how much students see of the "ground" below the Clouds.
Re: You can serve static data over HTTP
#123Earlier quoted context omitted.
When "Hello World" is a cloud instance spun up and billed on your tuition. That won't really happen, right? No Computer Science (CS) professor would designate special cloud Interactive Development Environments (IDEs) to students. On the other hand, it would really resolve a lot of "doesn't work on my machine" issues.
It's been a while, but when I was in school I think things had to work on the campus ultrasparc systems.
Re: You can serve static data over HTTP
#124Re: You can serve static data over HTTP
#125Earlier quoted context omitted.
You'd be surprised talking to the younger crowd.
Some time ago, a website was posted here (forgot the topic) which consisted of .md files, and a JavaScript library which would then, on the client, render the markdown on the fly. Why on earth the markdown was not pushed through a renderer so that then the server could serve static HTML is probably a question that only occurs to old timers like us.
Re: You can serve static data over HTTP
#126Earlier quoted context omitted.
> without using code completion or looking things up on SO/Github/etc. Does this arbitrary bar extend to language and library documentation as well?
Of course not, and the bar isn't arbitrary. That you ask this tells me that I was insufficiently clear as to my stance. My stance is that programmers should understand how to write programs, not just copy/paste them together.
I certainly have way too much in my head to remember every nuance of several languages. As such, I lean heavily on multiple sources of external documentation to help me recall the specifics. That being said, this would in no way replace actual software development expertise, so I agree with your clarified stance.
I find using a good IDE with code completion and navigation is essential to efficient use of my time. I _also_ use vi constantly and perform most every other operation from the command line. I know I can get the same from properly setting up vi with the right plugins, but I find the ergonomics less appealing for my habits.
Re: You can serve static data over HTTP
#127Not from a modern developer. You need to jump down the rabbit hole of the history of solid and proven solutions. Indeed. I've noticed an increasing number of people who call themselves "developers" and appear to create software, but all they can do is follow step-by-step tutorials to glue together some massively bloated thing that they have absolutely no understanding of, much less the skills to debug it when somethi…
Lego's dream has come true.