you are viewing a single comment's thread.

view the rest of the comments →

[–]humancorpse 3 insightful - 3 fun3 insightful - 2 fun4 insightful - 3 fun -  (1 child)

hey jason,

hey, whats the name of that sub where you guys are working on a new social media system? is it something like calypso?

sorry, i cant remember the name of it.

btw, my web server program(written entirely from scratch in C language using gcc command line c compiler that comes with codeblocks compiler) is coming along nicely.

i scrapped the idea of writing my own implementation of WEBSOCKETS.. i found it to be quite complex and overkill.. the keep-alive function is very interesting because it allows me to open up an http session from javascript in my browser and to make multiple requests..

this is possible because of a thing called "keep-alive"..

in the old days of using a web browser, the browser opens a socket to google.com's web server and it issues perhaps a request of "GET / HTTP/1.0[enter][enter]" and then google will respond by sending the appropriate http header and a blank line and then the actual html and THEN GOOGLE TERMINATES THE CONNECTION.

but with HTTP/1.1, the keep-alive functionality of the browser doesnt close the connection after responding with the initial header and html, but instead it allows the browser to submit additional requests..

My code is gonna be super tight.

i will be able to submit VERY SHORT AND SWEET REQUESTS that contain minimal REQUEST HEADERS, so instead of my browser requesting "GET / HTTP/1.1" and also sending a shitton of useless other request header fields, i might want my browser to be able to say something like this:

Gfilename

or Gflowers.gif

I am a fairly experienced ecommerce developer and have written about half of a dozen fairly good sized backend code(in c on linux mostly) with up to 25,000 lines of source code.

My preference when coding is to cram everything in my program into a single source file, two at the most AND I REALLY LIKE TO PUT EVERYTHING INTO ONE SUBDIRECTORY.. this makes it ultra simple to backup my system to another subdirectory.

yes, i am stoned on some weed.

https://www.youtube.com/watch?v=v2AC41dglnM

[–]JasonCarswell 2 insightful - 3 fun2 insightful - 2 fun3 insightful - 3 fun -  (0 children)

/s/Cassy is about solutions ASAP, without investing endless hours into coding. I am looooong overdue for an update.

/s/PhoenixForum is about dreaming for the future.

Draft up a thing about your web server program. It sounds vague, but I'm curious.

I don't know what WebSockets are. I know we've used Docker for stuff, if it's any relation.

The world certainly needs a new bloat-free browser without much but able to accept modular addons.

this makes it ultra simple to backup my system to another subdirectory.

That is always good.