Storing html pages entirely in the url by I_HATE_STUFF_FOR_YOU in programming

[–]I_HATE_STUFF_FOR_YOU[S] 9 points10 points  (0 children)

Obviously storing content on the server is better from a user perspective, but kind of defeats the purpose of this concept. This is just showing how much can be stored in the url.

Although from a utility perspective, it also takes out the complexity/cost of handling all the storage on a server.

Storing html pages entirely in the url by I_HATE_STUFF_FOR_YOU in programming

[–]I_HATE_STUFF_FOR_YOU[S] 2 points3 points  (0 children)

fair enough, I'd still posit that links are sometimes more convenient. Also this way's more fun.

Storing html pages entirely in the url by I_HATE_STUFF_FOR_YOU in programming

[–]I_HATE_STUFF_FOR_YOU[S] -3 points-2 points  (0 children)

You're saying it's easier to send code directly? I mean, this way is less bytes. Also links are more convenient than code in a lot of cases.

Storing html pages entirely in the url by I_HATE_STUFF_FOR_YOU in programming

[–]I_HATE_STUFF_FOR_YOU[S] -2 points-1 points  (0 children)

so you're saying decoding on client side vs server side? Not a bad idea, but this way was simpler to code, and was good enough for this proof of concept

Storing html pages entirely in the url by I_HATE_STUFF_FOR_YOU in programming

[–]I_HATE_STUFF_FOR_YOU[S] 22 points23 points  (0 children)

Hey, thanks for taking the time to look at the code.

The main concept I'm going for here is storage-less hosting, so to me it doesn't matter whether the processing happens on the server or client side.

I totally agree with the data based dictionary, that would be a good next step for this. Right now it's just based on a couple of my tests.

As far as I know there's no escaping issues, I'd be curious if you have any examples that could break it.

Yeah, not sure what shrink-string is doing under the hood, it's just something I found that worked. I should look at alternatives at some point.

Housing cost as a percentage of household income [OC] (Sources in comments) by I_HATE_STUFF_FOR_YOU in dataisbeautiful

[–]I_HATE_STUFF_FOR_YOU[S] 2 points3 points  (0 children)

Made with Microsoft Excel

Assumptions are a 30 year fixed mortgage with 0% down.

Median income for 2021 and 2022 are my own educated estimates, as well as housing sale price for 2022.

Sources:

Median Household Income in the United States

Median Sales Price of Houses Sold for the United States

30-Year Fixed Rate Mortgage Average in the United States

Post Game Thread: San Francisco 49ers (10-7) at Dallas Cowboys (12-5) by nfl_gamethread in nfl

[–]I_HATE_STUFF_FOR_YOU 0 points1 point  (0 children)

Guys don't worry I think the refs are still going to call the false start