Re: [fpc-other] Your thoughts on cloud based server instances?
On 2017-03-10 17:15, Bo Berglund wrote: On Fri, 10 Mar 2017 12:03:12 -0600, nore...@z505.com wrote: For websites with 10 visitors a day it might suffice... but then if those 10 visitors download a 5mb file even, it's super slow for them... Maybe ISP upload speeds are better in your country, I don't know, but IMO upload speeds are still too pathetic and slow for hosing stuff from your own router/server setup from home/work. Unless you have $1000's for a fast connection (they used to call them T1? I'm unfamiliar with what it's called now). Here in Sweden I am on a 250/100 Mbit/s fiber connection to my home for 339 SEK/month (that is about 38 USD/month) That is 100 Mbit/s upload speed. That's a good deal, almost worth it to move to sweden just for it. Too bad your country is infected by... Nope sorry, won't start a Islam rant here. ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] Your thoughts on cloud based server instances?
On 2017-03-10 20:36, Travis Siegel wrote: 2 dollarsfor an additional 5GB of storage if you want it regardless of the plan you choose. Heck, I'm seriously considering getting one of these myself, and I don't even have an immediate need for it, just things I'd like to do that I've been putting off for years. This might give me the access to go ahead with loads of plans I've shelved for lack of proper server access. Should prove fun and interesting. Don't forget to compare vultr to competitors as each company has a slightly different offering... All seem to be good. For example DigitalOcean, was mentioned in one of my previous posts. There are other ones that I forget the name of ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] Your thoughts on cloud based server instances?
On 2017-03-10 20:35, Travis Siegel wrote: Just for reference, a T1 hasn't costed thousands of dollars for more than 20 years. The last time I had one, it was less than 600 a month, and that was more than 10 years ago. Indeed, I only did research on them about 15-20 years ago and haven't done any research on them since. IMO every person should be able to run their own server in their home at low cost. ISP's are simply ripping people off, IMO. It does not cost 600 dollars a month to "ship" electricity to someone's house They have almost no costs involved other than installing the wires and boxes and infrastructure. Indeed the infrastructure had up front costs, but there is a reason why telephone companies are multi million dollar for profit companies: Because suckers pay for their services at inflated prices. Still I'm happy that they give you good download speeds for a good price , just not the upload speeds Of course, these days, with fiber, and highspeed dsl, a T1 line is relatively useless considering the cost and transfer speeds. The speeds still are not any faster than a 10/100 network card which is very old technology. I'd like to see internet speeds reach the 1000 speed cards, and for wifi to also improve to that. But this is just a dreamer speaking. Even usb2.0 speed is pretty slow compared to a 1000 card. So why use internet at usb 2.0 speeds or 10/100 card speeds? But again: just dreaming here... ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] Your thoughts on cloud based server instances?
On 2017-03-12 18:18, Graeme Geldenhuys wrote: On 2017-03-12 21:27, nore...@z505.com wrote: With 1.8Mbps up link, that's roughly 0.2 mega bytes per second, so, if you run servers from your home that your customers access, what happens if someone downloads a 100MB file And that is exactly why I cancelled my VirginMedia contract after 2 weeks (over subscribed area for downloads, and a rubbish upload speed), and moved back to Sky Broadband which gives me 18Mbps upload speeds, and a much more consistent download speed (never drops below 71Mbps). Regards, Graeme Okay 18Mbps becomes about 1.8 mega bytes per second, divide 10-50 customers... 180 Kilobytes per second is a tolerable download speed, but some users may complain... as they are used to 500-1500kilobytes download speeds ;-) Then if 50 customers... 180 becomes divided by 5, but maybe not likely that 50 customers all download a file at the exact same time. Depends how "busy" the "busyness" is :-) ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] How to set library search path ?
On 2017-03-12 18:25, Giuliano Colla wrote: As far as Linux and FreeBSD are concerned, my suggestion would be that you launch your application from a shell script, which does the work. Sort of an executable file called MyProg.sh What happens if you use a function that launches the shell and just run the exe/elf this way? http://freepascal.org/docs-html/rtl/unix/fpsystem.html And not sure if this would help: http://freepascal.org/docs-html/rtl/unix/fpexeclpe.html But these above functions do not have the features of TProcess Not sure what would happen if you ran tprocess with "cmd /c" before the exe name, if that's even possible, and somehow setenv on that shell that cmd /c was working with (and on unix, run sh in tprocess) Again I have not tested any of this, sorry. ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] How to set library search path ?
Il 12/03/2017 20:15, Fred van Stappen ha scritto: But is it possible to set that library path without to edit a file, only by command (via a TProcess) ? And if it is possible for Linux, how to do for Windows and FreeBSD and Mac OS (and other os are welcome). If the libraries are needed to run the program, you cannot use a TProcess in your application, which would be executed after the loader has loaded the program. What you need is something which tells the loader where to search the libraries required by the program. As far as Linux and FreeBSD are concerned, my suggestion would be that you launch your application from a shell script, which does the work. Sort of an executable file called MyProg.sh (for example) whose content would be something like: #!/bin/sh mylibpath=/usr/special/lib export LD_LIBRARY_PATH="$mylibpath:$LD_LIBRARY_PATH" /Path/to/executable/MyProg That way the environment variable will be properly set to include your specific library path (together with anything else your end user had set) before you start the program, and the loader will know where to look for libraries. On Mac Os you could do in principle something similar, but you should get advice from those which are familiar with this OS. On Windows you might use a .bat file, but again you'd need advice from Windows users. Giuliano ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] Your thoughts on cloud based server instances?
On 2017-03-12 21:27, nore...@z505.com wrote: > Conspiracy theory: they are all purposely limiting upload speeds so we > don't run our own servers! Interesting theory. ;-) Regards, Graeme ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] How to set library search path ?
On 2017-03-12 17:37, Fred van Stappen wrote: But how do you do to use SetEnv ? if you call SetEnv in the main program, I guess it doesn't affect the program inside TProcess? I may see your problem now :-) What's this do? http://lazarus-ccr.sourceforge.net/docs/fcl/process/tprocess.environment.html http://forum.lazarus.freepascal.org/index.php?topic=7819.0 ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] Your thoughts on cloud based server instances?
On 2017-03-12 20:22, Luca Olivetti wrote: > AFAIK it isn't. > > https://cr.yp.to/djbdns/ipv6mess.html Take everything you read on the Internet with a pinch of salt. :) That page seems very old and much out of date. ie: it references multiple times articles dated cira 2002 - that's 14 years ago. eg: "Example of the difference: As of 2002.11, Google hasn't published IPv6 addresses for www.google.com. What exactly is Google's reward for spending time setting up useless IPv6 addresses for its perfectly functional IPv4 machines? In contrast, they've had IPv6 software for years." I've got IPv6 enabled here, and my ISP supports IPv6 fully. I enabled IPv6 as my preferred IP protocol, and http://ipv6.google.com works perfectly for me, and many (if not all web servers) will determine the best protocol to use if both IPv4 and IPv6 are enabled for the same URL. I've also installed a Firefox add-on which hows me in the URL bar if I'm talking to a web server using IPv4 or IPv6. I often see IPv6 enabled these days (and that's not just for Google domains). Regards, Graeme ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] Your thoughts on cloud based server instances?
On 2017-03-12 15:22, Luca Olivetti wrote: El 12/03/17 a les 19:08, Graeme Geldenhuys ha escrit: On 2017-03-12 16:09, nore...@z505.com wrote: Won't switching off ipv4 break old software apps? or backwards compatibility is in place? As far as I know IPv6 is backwards compatible (in that it can handle IPv4 traffic) AFAIK it isn't. https://cr.yp.to/djbdns/ipv6mess.html Bye -- Luca So what does this mean for an old software app written with only ipv4 sockets procedures that is not updated to ipv6? There are plenty of old windows nt apps or possibly even old fpc sockets apps that were only built for ipv4 at the time. And what does it mean when an old ipv4 app connects to an ISP that is designed for ipv6? ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] Your thoughts on cloud based server instances?
El 12/03/17 a les 19:08, Graeme Geldenhuys ha escrit: On 2017-03-12 16:09, nore...@z505.com wrote: Won't switching off ipv4 break old software apps? or backwards compatibility is in place? As far as I know IPv6 is backwards compatible (in that it can handle IPv4 traffic) AFAIK it isn't. https://cr.yp.to/djbdns/ipv6mess.html Bye -- Luca ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] Your thoughts on cloud based server instances?
On Sun, 12 Mar 2017 19:41:22 +0100, José Mejuto (joshy...@gmail.com) wrote about "Re: [fpc-other] Your thoughts on cloud based server instances?" (in <4ec7b29b-be2e-dacb-9694-522d0375f...@gmail.com>): > El 12/03/2017 a las 19:06, Graeme Geldenhuys escribió: >> On 2017-03-11 17:13, José Mejuto wrote: >>> IPv6 in most ISPs will continue to be dynamic :-/ which have its >>> advantages and problems. >> >> With my ISP (Sky Broadband in the UK), they allocate a huge amount of >> IPv6 addresses to each Sky Fibre customers. These addresses don't change >> as far as I know - unlike the IPv4 ones. > > Hello, > > Taken from helpforum.sky.com: > > "... however do note that Sky's IPv6 allocation to you is dynamic, so > this may change over time." If you are going to use an IPv6 network at home, you also need to read RFC 4193, as that is the IPv6 work-alike to RFC 1918. I have been using IPv6 at home for about 10 years, but the routers run by my ISP (Virgin Media) either reject IPv6 addresses or go into a state of catalepsy when they receive a packet with an IPv6 header. Consequently, IPv6 is still only for internal use. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* signature.asc Description: OpenPGP digital signature ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] Your thoughts on cloud based server instances?
El 12/03/2017 a las 19:06, Graeme Geldenhuys escribió: On 2017-03-11 17:13, José Mejuto wrote: IPv6 in most ISPs will continue to be dynamic :-/ which have its advantages and problems. With my ISP (Sky Broadband in the UK), they allocate a huge amount of IPv6 addresses to each Sky Fibre customers. These addresses don't change as far as I know - unlike the IPv4 ones. Hello, Taken from helpforum.sky.com: "... however do note that Sky's IPv6 allocation to you is dynamic, so this may change over time." -- ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] Your thoughts on cloud based server instances?
On 2017-03-12 16:09, nore...@z505.com wrote: > Won't switching off ipv4 break old software apps? > or backwards compatibility is in place? As far as I know IPv6 is backwards compatible (in that it can handle IPv4 traffic), but IPv6 has so many benefits and makes so many IPv4 "features" obsolete. IPv6 is also faster than IPv4. Regards, Graeme ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] Your thoughts on cloud based server instances?
On 2017-03-11 17:13, José Mejuto wrote: > IPv6 in most ISPs will continue to be dynamic :-/ which have its > advantages and problems. With my ISP (Sky Broadband in the UK), they allocate a huge amount of IPv6 addresses to each Sky Fibre customers. These addresses don't change as far as I know - unlike the IPv4 ones. Regards, Graeme ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] Your thoughts on cloud based server instances?
El 11/03/2017 a las 11:04, Graeme Geldenhuys escribió: Now the only thing remaining is for all ISP's to switch off IPv4 and only use IPv6 (wishful thinking). Won't switching off ipv4 break old software apps? or backwards compatibility is in place? Yet another latest and greatest I will have to rersearch ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other