Open Side Menu Go to the Top

06-13-2019 , 06:46 PM
I've written my own webserver, many times. I used to recommend it actually to budding web devs in the old days. Not for production use, but to really understand the interaction between the client and the server. Plus, it's kind of fun.

You probably shouldn't write your own programming language or compiler but that is not a common trap I think
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
06-13-2019 , 06:53 PM
Quote:
Originally Posted by suzzer99
Time zones, cross-browser weirdness, test-runners, crypto, soap client, parsers, websocket client/server, http server - what else do you never want to write your own?


Anything SQL compliant
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-13-2019 , 06:56 PM
Quote:
Originally Posted by jmakin
Anything SQL compliant
In fairness I'm not sure anyone has ever actually accomplished this
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-13-2019 , 07:00 PM
I’d extend that to never write your own query language (or other special purpose language).
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-13-2019 , 07:06 PM
Quote:
Originally Posted by jjshabado
I’d extend that to never write your own query language (or other special purpose language).
oh god, the place I worked where I wrote the time zone library was also working on it's own query language. It was basically... SQL in XML but missing some features?

Their theory was, not everyone knows SQL, so we'll make this simplified version of it they can use with our product. We can't make it look like SQL though or it'll be confusing to anyone who does know SQL. I quit before they got very far.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-13-2019 , 07:39 PM
I actually prefer my own OR mapper I wrote to TopLink - because mine only did a few simple things based on naming conventions between the Java objects and table/column names.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-13-2019 , 07:40 PM
Quote:
Originally Posted by RustyBrooks
I've written my own webserver, many times. I used to recommend it actually to budding web devs in the old days. Not for production use, but to really understand the interaction between the client and the server. Plus, it's kind of fun.

You probably shouldn't write your own programming language or compiler but that is not a common trap I think
I was actually thinking more of a request/response/session framework like express. I don't know how simple or hard low level HTTP communications are.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-13-2019 , 08:25 PM
Quote:
Originally Posted by RustyBrooks
oh god, the place I worked where I wrote the time zone library was also working on it's own query language. It was basically... SQL in XML but missing some features?



Their theory was, not everyone knows SQL, so we'll make this simplified version of it they can use with our product. We can't make it look like SQL though or it'll be confusing to anyone who does know SQL. I quit before they got very far.


Lol, we’ve been down this exact same road
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-13-2019 , 08:27 PM
Quote:
Originally Posted by suzzer99
I was actually thinking more of a request/response/session framework like express. I don't know how simple or hard low level HTTP communications are.
They're very simple. I've implemented an http server using nothing but bash and common linux tools.

ETA: making a compliant HTTP 1.0 server is easy - making a *fully* compliant 1.1 or higher is somewhat more complicated. It's still doable but if you're making one for laughs there's no point in full compliance.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-16-2019 , 01:18 AM
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-16-2019 , 09:52 AM
I was thinking coo-beck-tull
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-16-2019 , 01:43 PM
Haha everyone at my work says SQL as S-Q-L and it drives me nuts. Am i wrong? It’s sequel.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-16-2019 , 03:09 PM
Quote:
Originally Posted by suzzer99
Def stealing this
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-16-2019 , 03:50 PM
Quote:
Originally Posted by jmakin
Haha everyone at my work says SQL as S-Q-L and it drives me nuts. Am i wrong? It’s sequel.
Both are correct. Likewise, 'sequel' seems completely unnatural to me and I always just spell out the letters.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-16-2019 , 04:13 PM
Oddly, I prefer sequel but mysql is "my S Q L"
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-16-2019 , 04:21 PM
S Q L for me
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-16-2019 , 04:29 PM
Quote:
Originally Posted by RustyBrooks
Oddly, I prefer sequel but mysql is "my S Q L"
Post-gray-s-q-l lol

I mostly say sequel. Helps a lot of tools I use spell it out that way anyways. And no sequel
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-16-2019 , 05:44 PM
Sequel
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-16-2019 , 06:41 PM
Quote:
Originally Posted by jmakin
Haha everyone at my work says SQL as S-Q-L and it drives me nuts. Am i wrong? It’s sequel.
Imo, sequel is the Microsoft product. S-Q-L is generic.

I hope you don't say Postgresequel, lmao
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-16-2019 , 06:54 PM
I pronounce PostgreSQL as 'postgress' with the QL silent. I also associate "sequel" with MS.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-16-2019 , 07:12 PM
Quote:
Originally Posted by _dave_
Imo, sequel is the Microsoft product. S-Q-L is generic.
This seems more wrong than thinking there are any colors in Postgres....
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-16-2019 , 07:24 PM
Yeah that's weird.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-16-2019 , 08:28 PM
To me the MS version is MSSQL and it's worse than literally anything else with SQL in it anywhere
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-16-2019 , 08:43 PM
MS - sequel comes from "Microsoft SQL Server" I believe. People seems to generally say "Sequel Server".
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-16-2019 , 08:45 PM
Quote:
Originally Posted by RustyBrooks
To me the MS version is MSSQL and it's worse than literally anything else with SQL in it anywhere


Omg yes
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

      
m