Support for .patch and .diff attachments...

Questions, comments, and suggestions about this site should go here.
Post Reply
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Support for .patch and .diff attachments...

Post by Brynet-Inc »

I noticed that you have to tar up various files due to they can't be uploaded.

Maybe support for patches/diff's should be added..

Anyone agree?
Last edited by Brynet-Inc on Thu Feb 08, 2007 4:38 pm, edited 1 time in total.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

Out of principle, I agree

However, gzipping it saves bandwidth :wink:
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

Combuster wrote:Out of principle, I agree

However, gzipping it saves bandwidth :wink:
Thats true I guess, When you have a line close to 20mbit you tend to become less considerate about others.

Sorry.. gzipping is fine. 8)
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Post by bubach »

It's not so much about making the files download faster becasue they are smaller, most people have ADSL. Hosting companys usally have a monthly bandwith limit and I'm guessing that osdev.org uses a couple of GB each month. Paying for extra can be expensive.
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
User avatar
chase
Site Admin
Posts: 710
Joined: Wed Oct 20, 2004 10:46 pm
Libera.chat IRC: chase_osdev
Location: Texas
Discord: chase/matt.heimer
Contact:

Post by chase »

I went ahead and added patch and diff as valid extensions. Yes, I like zips or gzips because of the reduced bandwidth and I think that download a single archive is easier that downloading several files. But if you are trying to help someone fix their code I can see why attaching a diff would be the easiest approach. I also have the web server using mod_deflate so as long as your web browser supports gzip (most do) there is still some compression going on.

And in case you are curious about bandwidth. Not counting emails for registration, dns or anything like that OSDev.org used about 5.5 gigs of bandwidth last month just for web traffic. The previous month we only used 4.7 gigs so we are still growning at a pretty good pace.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

chase wrote:And in case you are curious about bandwidth. Not counting emails for registration, dns or anything like that OSDev.org used about 5.5 gigs of bandwidth last month just for web traffic. The previous month we only used 4.7 gigs so we are still growning at a pretty good pace.
First off, (Cool @ running your own name server.. I do that myself for my domain 8))

Secondly, That's an incredibly low bandwidth usage.. I was expecting it would be far greater.

Seems to be growing a little each month eh :)

Thanks for adding patch/diff file extension support.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
Post Reply