Dev Shed Forums http://forums.devshed.com/ Dev Shed - Open Source web development forums. Topics covered include PHP, Apache, mySQL, Zope, Jserv, Java, Python, Zend, XML, DHTML, Javascript and more. en Thu, 26 Apr 2018 02:27:15 GMT vBulletin 60 http://forums.devshed.com/images/misc/rss.png Dev Shed Forums http://forums.devshed.com/ Ion collision program http://forums.devshed.com/python-programming/980512-ion-collision-program-new-post.html Wed, 25 Apr 2018 18:29:59 GMT Code to simulate and draw motion of ions. The main function is setup to collide 3 identical ions having equal speed. The velocities are designed to stop one of the particles. The purpose was to answer a question on quora. Posted here might help with recent forum questions about tkinter The program also shows how to use tkinter without the mainloop. Code: --------- #import Numbers #... Code to simulate and draw motion of ions. The main function is setup to collide 3 identical ions having equal speed.
The velocities are designed to stop one of the particles. The purpose was to answer a question on quora. Posted here might help with recent forum questions about tkinter
The program also shows how to use tkinter without the mainloop.

Code:

```#import Numbers  # not available with my installation import sys import math import pprint class Vector(list):     '''                         python3 -m doctest -v thisfile.py         doctest  command python3 -m doctest thisfile.py         >>> a = Vector(3,4)         >>> a.length == 5         True         >>> b = Vector(7, 11)         >>> Vector(10, 15) == (a + b)         True         >>> (a * -3) == Vector(-9, -12)         True         >>> (-1 * a) == Vector(-3, -4)         True         >>> a / 2 == Vector(1.5, 2)         True         >>> a.norm.length         1.0         >>> -a         [-3, -4]     '''     def __init__(self, *args):         super().__init__(args)     def dot(a, b):         'dot product'         assert len(a) == len(b)         return sum(x*y for (x,y,) in zip(a, b))     def __iadd__(self, other):         raise NotImplementedError('__iadd__')     def __imul__(self, other):         raise NotImplementedError('__imul__')     @property     def norm(self):         'Euclidean norm'         return self / self.length     @property     def length(self):         return math.sqrt(self.dot(self))     def __add__(a,b):         return Vector(*[x+y for (x,y,) in zip(a,b,)])     def __sub__(a,b):         return Vector(*[x-y for (x,y,) in zip(a,b,)])     def __mul__(self, c):         'multiplication by scalar'         return Vector(*[c*x for x in self])     __rmul__ = __mul__     def __truediv__(self, c):         'division by scalar'         return self * (1.0 / c)     def __neg__(self):         return self * (-1) class Ion:     '''         >>> a = Ion(position = Vector(0),         ...        velocity = Vector(1),         ...        charge = 3,         ...        mass = 5)         ...         >>> a.T         2.5         >>> a.p == Vector(5)         True         >>> a.update(8)  # no force         >>> a.T         2.5         >>> a.update(1, Vector(10))         >>> print(a.velocity, a.position)         [3.0] [11.0]         >>>         >>>         >>> # demonstrate that the ODE solver is good enough for this example         >>>         >>> # expect acceleration of 10 m/s**2 starting at 10 m         >>> # to hit ground at sqrt(2) seconds         >>> a = Ion(Vector(10),Vector(0))         >>> dt = 0.0001         >>> t = 0         >>> while t < math.sqrt(2):         ...    a.update(dt, Vector(-10))         ...    t += dt         ...         >>> print(round(t, 4), list(map(round, a.position, (4,))))         1.4143 [-0.0019]         >>> # kinetic energy should equal potential energy of mgh         >>> print(round(a.T,1), round(1*10*10.0, 1))         100.0 100.0     ''' #    def __init__(self, position:Vector, velocity:Vector, charge = numbers.Number):     def __init__(self, position:Vector, velocity:Vector, charge = 1, mass = 1):         assert len(position) == len(velocity)         self.position = position         self.velocity = velocity         self.charge = charge         self.mass = mass     @property     def speed(self):         return self.velocity.length     def update(self, time_step, force: Vector = None):         self.velocity = self.velocity + self.acceleration(force) * time_step         self.position = self.position + self.velocity * time_step     def acceleration(self, force: Vector):         if not force:             force = self.zero         else:             assert len(force) == len(self.position)         return force/self.mass     def to(self, other):         return other.position - self.position     def momentum(self):         return self.velocity * self.mass     def kinetic_energy(self):         return self.speed ** 2 * self.mass / 2     T = property(fget = kinetic_energy)     p = property(fget = momentum)     @property     def zero(self):         return Vector(*([0]*len(self.position)))     def __str__(self):         return '{}'.format(self.position)     __repr__ = __str__ class System(list):     '''         system of charged particles     '''     def __init__(self, *args):         super().__init__(args)     def update(self, time_step):         zero = self[0].zero         forces = {}         for (i, atom,) in enumerate(self):             to = atom.to             q = atom.charge             for j in range(i+1, len(self)):                 b = self[j]                 atob = to(b)                 magnitude = (q * b.charge) / (atob.length ** 2)                 forces[(j,i)] = f = magnitude * atob.norm                 forces[(i,j)] = - f             force = sum((forces[key] for key in forces if key[0] == i), zero)             atom.update(time_step, force)     def potential_energy(self):         zero = self[0].zero         potential = 0         for (i, atom,) in enumerate(self):             to = atom.to             q = atom.charge             for j in range(i+1, len(self)):                 b = self[j]                 atob = to(b)                 potential += (q * b.charge) / atob.length         return potential     def momentum(self):         return sum((a.p for a in self), self[0].zero)     def kinetic_energy(self):         return sum(a.T for a in self)     T = property(fget = kinetic_energy)     V = property(fget = potential_energy)     p = property(fget = momentum)     @property     def energy(self):         return self.T + self.V     def __str__(self):         return pprint.pformat(self)     def bounded(self, radius):         for (i, atom,) in enumerate(self):             to = atom.to             if any(radius < to(self[j]).length for j in range(i+1, len(self))):                 return False         return True if __name__ ==  '__main__':     import tkinter     def initializer(y = -1):         while True:             a = Ion(Vector(-1,0),Vector(1,0))             b = Ion(Vector(1,0),Vector(-1,0))             c = Ion(Vector(0,y),Vector(0,1))             yield System(a,b,c)     def test():         system = initializer()         a = next(system)         print(a)         a.update(1)         print(a)         print(next(system))         a = next(system)         dt = 1e-4         time = 0         p0 = a.p         while a.bounded(2):             if (time % 0.1) < (dt * 2):                 print(time)                 print(a)             a.update(dt)             time += dt         pn = a.p         # momentum conservation         print(p0, pn) # [0, 1] [0.0, 0.9999999999999962]     def bb(a:Vector, w = 500, b = 8):         'scale and create a bounding box'         (cx, cy) =  a * (w * 0.80 / 2)         return (w/2 + cx - b, w/2 - cy - b, w/2 + cx + b, w/2 - cy + b,)     def main():         root = tkinter.Tk()         root.title('3 body simulation in 2D')         w = 600         canvas = tkinter.Canvas(root, width=w, height=w, background='black')         canvas.pack()         system = initializer(-0.5)         a = next(system)         depictions = []         oval = canvas.create_oval         text = canvas.create_text(w/2,36,font=('fixed', 24), fill='yellow', text='yellow speed: {:4.2f}'.format(a[-1].speed))         for (atom, color,) in zip(a, 'blue green yellow'.split()):             depictions.append(oval(*bb(atom.position, w), fill=color))         root.update()         dt = 1e-4         time = 0         print(a.energy, 'system energy')         print('energy, kinetic and potential')         while a.bounded(3):             a.update(dt)             for (d, atom,) in zip(depictions, a):                 canvas.coords(d, *bb(atom.position, w))             canvas.itemconfig(text, text='yellow speed: {:4.2f}'.format(a[-1].speed))             root.update()             if (time % (300 * dt)) < dt:                 T = a.T                 V = a.V                 print(('{:8.3f}'*3).format(T+V, T, V))                 sys.stdout.flush()             time += dt         root.mainloop()         print(a.energy, 'system energy')     main()```
]]>
Python Programming b49P23TIvg http://forums.devshed.com/python-programming-11/ion-collision-program-980512.html
FREE Web Hosting - 10 GB disk space and 100 GB bandwidth/mo. http://forums.devshed.com/free-web-hosting/980511-free-web-hosting-10-gb-disk-space-100-gb-bandwidth-mo-new-post.html Wed, 25 Apr 2018 11:48:13 GMT Sign Up Now (http://gat-worldhost.tk/free-hosting.php) This is what we offer Monthly Bandwidth 100 GB Web Disk Space 10 GB Price \$0.00 /Month Addon Domains 10 Parked Domains 10 Sub Domains 10 Sign Up Now

This is what we offer

Monthly Bandwidth 100 GB
Web Disk Space 10 GB
Price \$0.00 /Month
Parked Domains 10
Sub Domains 10
PHP Sendmail Limited, for activation emails only
MySQL Databases 10
FTP Accounts 1
Free Domain yourdomain.Gat-worldhost.tk
SiteBuilder

Site Statistics

Automatic Softaculous Script Installer

Custom Error Pages

Cron Jobs

PHP Flags Manager

Online Browser File Manager

10 MB Max File Size

Custom CNAME Records

Unmetered MySQL space

SCRIPTING FEATURES
PHP

MySQL

EMAIL FEATURES
Webmail

Email Accounts (you@yourdomain.com)

Email Forwarders

MX Record Entry

SPF Records

ECOMMERCE FEATURES
PHP cart scripts install ability

Bandwidth

SECURITY
Automatic Self Signed SSL (https://)

1-Click Cloudflare Enabler

Firewall Protection

UPS Power Back-up/Back-up

Generator

OUR TECHNOLOGY
Cisco Powered Network

Linux Clustered Server Network

Intel Processors

Apache Web Servers

And even more!
Free website builder

We offer an easy-to-use drag & drop free website builder tool that will help you create professional looking websites!

Softaculous Script installer!

It takes time & knowledge to install a forum, blog or an online store, not with our free One-click Softaculous script installer!

Free SEO tools!

We will also offering free SEO tools to submit and help your websites get better ranking in the social networks!

Professional support!

We are providing fast response email support, you'll never need to look arround for answers!

Free Web Hosting gatfreehost http://forums.devshed.com/free-web-hosting-99/free-web-hosting-10-gb-disk-space-100-gb-bandwidth-mo-980511.html
WHUK | 50% OFF on WordPress Hosting » FREE Domain Name » Unlimited Emails http://forums.devshed.com/web-hosting-offers/980510-whuk-50-wordpress-hosting-free-domain-name-unlimited-emails-new-post.html Wed, 25 Apr 2018 11:01:09 GMT *WHUK* offers WordPress optimised hosting servers in the UK over CloudLinux platform. Our WordPress Hosting plans make it simple and easy for you to setup your own blog or website with everything needed to get started right away. Every plan comes with WordPress preinstalled - a powerful, easy to use blogging and content management system that powers millions of websites around the world! ... WHUK offers WordPress optimised hosting servers in the UK over CloudLinux platform.

Our WordPress Hosting plans make it simple and easy for you to setup your own blog or website with everything needed to get started right away. Every plan comes with WordPress preinstalled - a powerful, easy to use blogging and content management system that powers millions of websites around the world!

Get an exclusive 50% OFF on WordPress hosting with any billing term. The higher the billing cycle, the higher will be the savings so don't miss this opportunity and get online today.

Quote:

Use coupon code "WordPress" to avail the offer.
This is a limited time period offer and ends on Wednesday 2 May 2018, 11.59pm BST. So hurry before the offer ends.

Quote:

If you wish to try our WordPress Hosting for a single blog/website, you are most welcome to sign up for our WordPress Lite Plan which costs only £0.99 a month and lets you host 1 WordPress instance.
Initiate a LIVE CHAT with one of our friendly sales advisor to avail exclusive benefits.

• 24x7 Managed Service at no extra cost
• Pre-installed WordPress
• Pre-installed Plugins
• Free Installation of additional plugins
• Free Migration & Transfer
• Free Daily Backups with 7 days Retention
• Memcache Enabled
• Varnish Cache and Nginx

Here's a list of WordPress Hosting Plans to choose from:

WordPress Starter
5GB SSD Storage
Unlimited Bandwidth
Host 2 WordPress Sites
Unlimited Emails
FREE Domain Name
99.9% Uptime Guarantee
Monthly Price: £3.33 GBP Ex. VAT | Order Now

10GB SSD Storage
Unlimited Bandwidth
Host 5 WordPress Sites
Unlimited Emails
FREE Domain Name
99.9% Uptime Guarantee
Monthly Price: £4.99 GBP ex. VAT | Order Now

20GB SSD Storage
Unlimited Bandwidth
Host 15 WordPress Sites
Unlimited Emails
FREE Domain Name
99.9% Uptime Guarantee
Monthly Price: £7.49 GBP ex. VAT | Order Now

For more details about the offers visit: https://www.webhosting.uk.com/wordpress-hosting/

In case you have any questions, you can contact our sales department by initiating a chat or by dropping an email to sales @ webhosting.uk.com or call us on 0800 862 0890 / +44-191-303-8069.

Established in the year 2001, Webhosting.UK.Com (WHUK) Limited offers a wide array of value for money web hosting services including Linux/Windows Shared Hosting, Reseller Hosting, Cloud Hosting, Virtual Private Servers (VPS), Dedicated Servers, SSL and Offsite Backup Solutions. 24x7x365 technical support is available and 99.95% uptime guarantee is offered as standard features with UK-based servers. ]]>
Web Hosting Offers James-A http://forums.devshed.com/web-hosting-offers-100/whuk-50-wordpress-hosting-free-domain-name-unlimited-emails-980510.html
Fully Managed Premium WordPress Web Hosting 10% OFF - Hostripples! http://forums.devshed.com/web-hosting-offers/980509-managed-premium-wordpress-web-hosting-10-hostripples-new-post.html Wed, 25 Apr 2018 09:00:05 GMT *Fully Managed Premium WordPress Web Hosting 10% OFF - Hostripples! * WordPress is an award-winning blog platform that we recommend for blogging. HostRipples is an award-winning web hosting company, and hundreds of thousands of people trust HostRipples for WordPress Hosting. With this combination, you can have your very own self-hosted WordPress blog with your own domain. Get started with...
Fully Managed Premium WordPress Web Hosting 10% OFF - Hostripples!

WordPress is an award-winning blog platform that we recommend for blogging. HostRipples is an award-winning web hosting company, and hundreds of thousands of people trust HostRipples for WordPress Hosting. With this combination, you can have your very own self-hosted WordPress blog with your own domain. Get started with your own WordPress installation with custom themes, plugins, and your own domain name with HostRipples today!

SMART - \$2/Month
Unlimited Web Space
Unlimited Monthly Bandwidth
Unlimited FTP Accounts
Unlimited Email Accounts
10 Mailing lists
15 Sub Domains
24 x 7 Live Support

Unlimited Web Space
Unlimited Monthly Bandwidth
Unlimited FTP Accounts
Unlimited Email Accounts
50 Mailing lists
50 Sub Domains
24 x 7 Live Support

ENTERPRISE- \$9/Month
Unlimited Web Space
Unlimited Monthly Bandwidth
Unlimited FTP Accounts
Unlimited Email Accounts
Unlimited Mailing lists
Unlimited Sub Domains
24 x 7 Live Support

Why choose Hostripples?
Instant Setup
Easy usability
Value for money
24 x 7 customer service
Unmatched server performance

Visit:- WordPress Hosting

Its not that we are bragging about our services, our customers say it all!

Hurry up and get Hostripples  the one-stop solution for your web hosting requirements!

Hostripples - Affordable web hosting
Hostripples.com Cheap Hosting | Unlimited Bandwidth | Unlimited Space | Domain Name Registration

Hostripples - Affordable web hosting
http://hostripples.com/
http://hostripples.in/
http://hostripples.co.uk/
https://myhostseo.com/
Hostripples.com \$1 Unlimited Hosting | \$2 Unlimited Windows Hosting | Unlimited Bandwidth | Unlimited Space | Domain Name Registration ]]>
<![CDATA[[Python 2.7 + Tkinter] Export .txt file not works, Error Found!]]> http://forums.devshed.com/python-programming/980508-python-2-7-tkinter-export-txt-file-error-found-new-post.html Wed, 25 Apr 2018 07:56:50 GMT Hey Python GUI Programmers and Software Developers...

I try to create an simple test program, just you can typ text into an 'Scrolled Text Bar'....
But i want to make the in scrolled text typed text exportible as an .txt file with given it an
filename...

So this is my script, writted in python 2.7 on an older windows system:
Code:

```from Tkinter import * from ttk import * from ScrolledText import * class NoteBook(Frame):     def __init__(self, master=None):         self.master = master         Frame.__init__(self, master)         self.init_window()     def init_window(self):         self.master.title("NoteBook")         self.pw = PanedWindow(self.master, orient = VERTICAL)         self.pw.pack(padx = 10, pady = 2, side = BOTTOM)         self.nb = Notebook(self.pw, height = 480, width = 640)         self.pw.add(self.nb)         self.nb_frame1 = Frame(self.nb)         self.nb.add(self.nb_frame1, text = "Tools")         self.nb_frame2 = Frame(self.nb)         self.nb.add(self.nb_frame2, text = "Modifiers")         self.nb_frame3 = Frame(self.nb)         self.nb.add(self.nb_frame3, text = "Options")         self.nb_frame4 = Frame(self.nb)         self.nb.add(self.nb_frame4, text = "Textures")         self.nb_frame5 = Frame(self.nb)         self.nb.add(self.nb_frame5, text = "Materials")                 self.nb.pack(fill = BOTH, expand = True)         # Call Frame1 Tab         self.e = Entry(self.nb_frame1)         self.e.pack(fill = X, side = TOP)         self.b = Button(self.nb_frame1, text = "Send")         self.b.pack(fill = X, side = TOP)         # Call Frame2 Tab         self.l = Label(self.nb_frame2)         self.l.pack(padx = 10, pady = 10)         self.st = ScrolledText(self.l, wrap = WORD)         self.st.insert(END, str(''))         self.st.pack(fill = BOTH, expand = True)         self.tb = Entry(self.l)         self.tb.pack(fill = X, side = TOP)         self.eb = Button(self.l, text = "Export", command = self.Export)         self.eb.pack(fill = X, expand = True)         # Call Frame3 Tab         self.s1 = Scale(self.nb_frame3, from_=0, to=4, orient = HORIZONTAL)         self.s2 = Scale(self.nb_frame3, from_=0, to=100, orient = HORIZONTAL)         self.s1.pack(fill = X, side = TOP)         self.s2.pack(fill = X, side = TOP)     def Export(self):         filename = self.tb.get()         var = self.st.get()         with open(filename + '.txt', 'w') as textfile:             textfile.write(var + '\n')             textfile.close() if __name__ == "__main__":     root = Tk()     NoteBook(root)     root.mainloop()```

If i run my script and try to export the scrolled text as an .txt file yet, i get an error...

So this is my error:
Quote:

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python27\lib\lib-tk\Tkinter.py", line 1541, in __call__
return self.func(*args)
File "C:\Documents and Settings\Eigenaar\Bureaublad\jamie\Python\Python Tkinter\Tkinter Notebook.py", line 86, in Export
var = self.st.get()
TypeError: get() takes at least 2 arguments (1 given)

So can anyone fix my problem yet, to correct my code, just i can expiriment
with it ?...., thanks for help!.....

Jamie. ]]>
<![CDATA[Managed WordPress Hosting with Jetpack, Railgun, CDN & WP-CLI | Starts @ \$6.75/mo]]> http://forums.devshed.com/web-hosting-offers/980507-managed-wordpress-hosting-jetpack-railgun-cdn-wp-cli-starts-6-75-mo-new-post.html Wed, 25 Apr 2018 05:57:25 GMT Are you a WordPress blogger or a WordPress Developer looking for fully loaded WordPress hosting service that is isolated from other users on the server, *MilesWeb* (https://www.milesweb.in/) provides you everything for which you have been waiting for. Our *WordPress hosting (https://www.milesweb.in/hosting/wordpress-hosting)* is built on a blazing-fast latest SSD hardware that is highly-tuned for... Are you a WordPress blogger or a WordPress Developer looking for fully loaded WordPress hosting service that is isolated from other users on the server, MilesWeb provides you everything for which you have been waiting for. Our WordPress hosting is built on a blazing-fast latest SSD hardware that is highly-tuned for optimum performance. The WordPress hosting includes latest WP version, plugins, themes, daily automated backups, dedicated IP, isolated server resources, 24x7 WordPress support, any time money back and 99.95% guaranteed up-time.

Quote:

Save 25% on first term. Use promo code HOLIDAY during checkout.
Key Features:

• Server Level Caching
• Fast SSD Storage
• Free SSL Security
• WordPress Preconfigured
• Fast Provisioning
• Secure Email

Below is the list of WordPress Hosting plans offered by MilesWeb.

Jack Plan

• Host 1 Domain
• 5 GB SSD Space
• Suitable for ~10,000 Monthly Visitors
• 10 Email Accounts
• 2 Core CPU
• 2 GB RAM
• 50 concurrent connections

Discounted Price : \$6.75/mo | Buy Now

Queen Plan

• Host 1 Domain
• Unlimited SSD Space
• Suitable for ~20,000 Monthly Visitors
• Unlimited Email Accounts
• 2 Core CPU
• 4 GB RAM
• 100 Concurrent Connections

Discounted Price : \$9/mo | Buy Now

King Plan

• Host 1 Domain
• Unlimited SSD Space
• Suitable for ~30,000 Monthly Visitors
• Jetpack Professional
• Unlimited Email Accounts
• 4 Core CPU
• 4 GB RAM
• 200 Concurrent Connections

Discounted Price : \$17.25/mo | Buy Now

For more details on WordPress Hosting plans visit : https://www.milesweb.in/hosting/wordpress-hosting

Web Hosting Offers MilesWeb http://forums.devshed.com/web-hosting-offers-100/managed-wordpress-hosting-jetpack-railgun-cdn-wp-cli-starts-6-75-mo-980507.html
Up To 30% Off Servers For Life - E3-1230v6 at \$98/m - Fully Managed - LA/NY Locations http://forums.devshed.com/web-hosting-offers/980506-30-servers-life-e3-1230v6-98-managed-la-ny-locations-new-post.html Tue, 24 Apr 2018 10:18:19 GMT With a brand new line up of servers, we are offering a hefty discount to help fill a bunch of brand new, empty servers! Up to 30% off for the lifetime discount on servers below can be taken advantage of. This discount applies to all configurations made to servers as well. *Each Server Comes With:* » Full Server Management w/ True 10-15 Minute Response Times! » Wide variety of operating... With a brand new line up of servers, we are offering a hefty discount to help fill a bunch of brand new, empty servers! Up to 30% off for the lifetime discount on servers below can be taken advantage of. This discount applies to all configurations made to servers as well.

Each Server Comes With:
» Full Server Management w/ True 10-15 Minute Response Times!
» Wide variety of operating systems to choose from!
» Enterprise-level 100% uptime SLA on power and network availability
» Free Dedicated IP
» Supermicro Motherboard's and Enterprise Hardware! Dont settle for cheap, old, unreliable servers!
» FREE 1 Hour Hardware Replacement SLA
» Free Transfer Assistance
» Generally online within 2-4 hours during business hours (8AM-5PM PST Mon-Friday)

Test IP's/Locations:
Buffalo, NY (east coast): 23.94.156.29
Los Angeles, CA (west coast): 198.55.111.5

Intel i3-4330 - (4 Cores)
 2 x 500GB SATA-III Drive or 2 x 120GB SSD
 16GB DDR4 RAM
 10TB Bandwidth
 Fully Managed
Monthly Price: Only \$58.00/m
15% Off Coupon: 30OFF
>>> Order From New York <<<
>>> See Servers Located in Los Angeles <<<

Intel Xeon E3-1230v6 - (8 Cores)
 2 x 500GB or 2 x 120GB SSD
 16GB DDR4 RAM
 10TB Bandwidth
 Fully Managed
Monthly Price: Only \$98.00/m
15% Off Coupon: 15OFF
>>> Order From New York <<<
>>> See Servers Located in Los Angeles <<<

Intel Xeon E3-1270v6 - (8 Cores)
 2 x 500GB or 2 x 120GB SSD
 16GB DDR4 RAM
 10TB Bandwidth
 Fully Managed
Monthly Price: Only \$115.00/m
15% Off Coupon: 15OFF
>>> Order From New York <<<
>>> See Servers Located in Los Angeles <<<

Intel Xeon E5-1650v4 - (12 Cores)
 2 x 500GB or 2 x 120GB SSD
 16GB DDR4 RAM
 10TB Bandwidth
 Fully Managed
Monthly Price: Only \$157.00/m
15% Off Coupon: 15OFF
>>> Order From New York <<<
>>> See Servers Located in Los Angeles <<<

Intel Xeon 2 x E5-2620v4 - (24 Cores)
 2 x 500GB or 2 x 120GB SSD
 16GB DDR4 RAM
 10TB Bandwidth
 Fully Managed
Monthly Price: Only \$208.00/m
15% Off Coupon: 15OFF
>>> Order From New York <<<
>>> See Servers Located in Los Angeles <<<

Intel Xeon 2 x E5-2660v4 - (40 Cores)
 2 x 500GB or 2 x 120GB SSD
 16GB DDR4 RAM
 10TB Bandwidth
 Fully Managed
Monthly Price: Only \$395.00/m
15% Off Coupon: 15OFF
>>> Order From New York <<<
>>> See Servers Located in Los Angeles <<<

» 100Mbps >> 1Gbps: \$15
» Add Windows 2008/2012/2016 Standard: \$25
» Add LSI-9271 w/CacheVault Raid Card: \$35

[B]

Recent Reviews:
- http://www.webhostingtalk.com/showth...13#post9450513
SolaDrive - 35% Off For Life - Fully Managed Pure SSD VPS - Linux/Windows http://forums.devshed.com/web-hosting-offers/980505-soladrive-35-life-managed-pure-ssd-vps-linux-windows-new-post.html Tue, 24 Apr 2018 10:16:42 GMT SolaDrive was built on principles to fix the gap many other hosts are missing. Our focus is fast, knowledgeable support and quality of service. We strive for 15 minute response times or better, and with truly redundant servers we feel we have the most reliable service to offer. All of our VPS plans come fully managed as well, no more worrying about how to manage your server. Give us a shot, and... SolaDrive was built on principles to fix the gap many other hosts are missing. Our focus is fast, knowledgeable support and quality of service. We strive for 15 minute response times or better, and with truly redundant servers we feel we have the most reliable service to offer. All of our VPS plans come fully managed as well, no more worrying about how to manage your server. Give us a shot, and you surely wont regret it!

★ 35% Off All VPS For Life ★
(Coupon: 35WHT)

All VPS Plans Include
» Choose your Location: Los Angeles, CA - New York City - Maidenhead, UK
» 24 Core Servers, SSD Raid-10, see rest of server specs below
» Feature packed SolusVM Control Panel
» 24/7 Fully Managed by Experienced US Technicians
» Instant VPS Activation After Payment
» 10-15 Minute Response Times (1 hour guarantee)
» 99.9% Server Uptime Guarantee
» Free VPS Migration
» Daily Backups of each VPS to Offsite Server
» 30 Day Money Back Guarantee!

****************************************
Managed Linux SSD Plans - Click To View

Managed Windows Plans - Click To View

Managed Hybrid Server Plans - Click To View
****************************************

Server Locations:
Los Angeles, CA Test IP: 96.44.132.122 - DC Info Page
New York City Test IP: 216.156.135.66 - DC Info Page
Maidenhead, UK Test IP: 78.157.209.195 - DC Info Page

Our Server Specifications:
- Dual Intel Xeon E5-2620 or E5-2620v2s (24 Cores)
- 96-128GB DDR3 ECC Ram
- Supermicro Chassis, Motherboard, and Power Supplies
- Dual redundant power supplies
- True A + B power meaning an entire power grid for A could go out and server would still be operational on grid B
- 4 x 512GB Samsung 850 SSDs
- Newest LSI raid card currently available, for superior performance
- 1Gbps Port Speeds

Recent Reviews:
- http://www.webhostingtalk.com/showth...2870&p=9454894 << NEW
- http://www.webhostingtalk.com/showpo...3&postcount=21
- http://www.webhostingtalk.com/showpo...01&postcount=4
- http://www.webhostingtalk.com/showpo...71&postcount=9
- http://www.webhostingtalk.com/showpo...00&postcount=2
- http://www.webhostingtalk.com/showpo...97&postcount=5
- http://www.webhostingtalk.com/showpo...89&postcount=9
- http://www.webhostingtalk.com/showpo...3&postcount=12
- http://www.webhostingtalk.com/showpo...41&postcount=7
- http://www.webhostingtalk.com/showpo...5&postcount=13 ]]>
KVChosting.net provides quality SSD VPS deals with high uptime. http://forums.devshed.com/web-hosting-offers/980504-kvchosting-net-provides-quality-ssd-vps-deals-uptime-new-post.html Tue, 24 Apr 2018 10:03:10 GMT KVC Hosting was started in 2010 with the sole purpose of creating a host company that was affordable to all. Since its inception, the company has had steady growth due to our practical business model, so much so that we've increased the size of our data center in order to meet the demands of our clients. Putting customers first is what drives us, and this has led to us winning multiple awards for providing quality technology at a great price. We focus on providing cost-effective web hosting solutions, and our extensive experience in the industry assures that you will receive high quality and economical web hosting options that can be customized to suit your needs. We are proud of the trust that our partners and customers have placed in us and welcome all to give our company a try.
Be in charge of your own Virtual Private Server (VPS Hosting)! It will work just as if you have your own machine. Our virtual private servers are affordable and powerful, offering you your own mail server and greater security control. SSD VPS Hosting is a great fit for businesses that are anticipating quick growth, huge website traffic, or who run highly dynamic, interactive websites.

SSD VPS HOSTING

Enterprise Cloud SSD VPS
P1
8 GB DDR3 RAM
100 GB SSD RAID 10
4 CPU XEON@ 2.13 GHz (8.52GHz)
\$49.99/M
ORDER NOW

P5
24 GB DDR3 RAM
300 GB SSD RAID 10
8 CPU XEON@ 2.13 GHz (17.0GHz)
\$169.99/M
ORDER NOW

REGULAR VPS

VPS K
Disk Space - 75 GB
Bandwidth - 200 GB
RAM - 4 GB
CPANEL/WHM - Free
\$25.99/M
ORDER NOW!

VPS O
Disk Space - 225 GB
Bandwidth - 3 TB
RAM - 10 GB
CPANEL/WHM - Free
\$79.99/M
ORDER NOW!

Have a question?
]]>
Web Hosting Offers KVChosting_ http://forums.devshed.com/web-hosting-offers-100/kvchosting-net-provides-quality-ssd-vps-deals-uptime-980504.html
<![CDATA[[1QCloud.com]★Amazing deal!★Lifetime 50% OFF★US Xen Cloud Servers★From \$4.97/mo]]> http://forums.devshed.com/web-hosting-offers/980503-1qcloud-com-amazing-deal-lifetime-50-xen-cloud-servers-4-97-mo-new-post.html Tue, 24 Apr 2018 08:12:55 GMT ***SPECIAL OFFER! **** HURRY UP!* * Need an enterprise quality cloud server solution at costs that are BEYOND BELIEF? Well get you started in seconds!* A Reliable Cloud Server Provider *1QCloud.com* (http://www.1QCloud.com) is a cloud server provider devoted to bringing you the high quality cloud hosting services at low costs. We are a team of *Cisco, Red Hat, Debian, FreeBSD*...
**SPECIAL OFFER! **
HURRY UP!

Need an enterprise quality cloud server solution at costs that are BEYOND BELIEF? Well get you started in seconds!

A Reliable Cloud Server Provider

1QCloud.com is a cloud server provider devoted to bringing you the high quality cloud hosting services at low costs.
We are a team of Cisco, Red Hat, Debian, FreeBSD certified experts, with 10+ years of experience in implementing and managing IT infrastructures for small businesses and large enterprises.

Professional technical support 24/7 with the fastest response time is guaranteed.

Our cloud hosting infrastructure is based on powerful SuperMicro enterprise hardware. The data is stored in the most secure SSD grade RAID 10 storage systems that offer top-quality business agility and exceptional application uptime.
We are not using VZ - all our cloud servers are Xen-based, with guaranteed resource allocation.

Our equipment is located in the C7s Salt Lake City Datacenter, which is a certified Tier III capacity enabling a seamless operation with 99.9% uptime.

Cloud Servers Features:
• Instant deployment

• Guaranteed resources

• Easily scalable

• 99.9% uptime guarantee

• 30 days money back guarantee

• Availability, flexibility, self-healing and automatic failover with the industry-leading OnApp cloud platform

• Extensive security and fail-safe redundancy in the certified Tier III datacenter

• Full IPv6 support

OUTSTANDING SALE!

50% OFF FOR LIFE

coupon supply limited, HURRY while it lasts!

coupon code: 50OFF

We have 6 Plans to choose from:

1 unit
• 1 core CPU
• 1 GB RAM
• 30 GB disk
• traffic unlimited
• \$9.95/mo - \$4.97/mo

ORDER NOW

2 units
• 1 core CPU
• 2 GB RAM
• 60 GB disk
• traffic unlimited
• \$19.95/mo - \$9.97/mo

ORDER NOW

4 units
• 1 core CPU
• 4 GB RAM
• 120 GB disk
• traffic unlimited
• \$39.95/mo - \$19.97/mo

ORDER NOW

8 units
• 2 core CPU
• 8 GB RAM
• 240 GB disk
• traffic unlimited
• \$79.95/mo - \$39.97/mo

ORDER NOW

16 units
• 4 core CPU
• 16 GB RAM
• 480 GB disk
• traffic unlimited
• \$149.95/mo - \$74.97/mo

ORDER NOW

32 units
• 8 core CPU
• 32 GB RAM
• 960 GB disk
• traffic unlimited
• \$279.90/mo - \$139.95/mo

ORDER NOW

--------------------------------------------------------------------------
You can also check out some tests:

Speedtest result from a running cloud server

Speedtest hosted on a cloud server

Test host/IP:
test.1qcloud.com (185.72.156.4)
---------------------------------------------------------------------------

Thanks for visiting!
]]>
Web Hosting Offers 1Q Cloud http://forums.devshed.com/web-hosting-offers-100/1qcloud-com-amazing-deal-lifetime-50-xen-cloud-servers-4-97-mo-980503.html
Save Upto 10% On Canada Cloud Linux VPS - Hostripples! http://forums.devshed.com/web-hosting-offers/980502-save-upto-10-canada-cloud-linux-vps-hostripples-new-post.html Tue, 24 Apr 2018 06:51:00 GMT *Save Upto 10% On Canada Cloud Linux VPS - Hostripples! * The VPS Cloud models are ideal for hosting professional production environments or critical applications. A hardware SLA is just one of the guarantees in place to provide you high availability and stable service right from the word go. *CLOUD LINUX PLAN 1 - \$25/Month* Guaranteed RAM : 2 GB HDD : 25 GB Raid 10 Bandwidth : 100 Mbps...
Save Upto 10% On Canada Cloud Linux VPS - Hostripples!

The VPS Cloud models are ideal for hosting professional production environments or critical applications. A hardware SLA is just one of the guarantees in place to provide you high availability and stable service right from the word go.

CLOUD LINUX PLAN 1 - \$25/Month
Guaranteed RAM : 2 GB
HDD : 25 GB Raid 10
Bandwidth : 100 Mbps Unlimited
CPU Cores : 1 vCores
Root Access : YES
IPv4 : 1 IP
IPv6 : 1 IP

CLOUD LINUX PLAN 2 - \$45/Month
Guaranteed RAM : 4 GB
HDD : 50 GB Raid 10
Bandwidth : 100 Mbps Unlimited
CPU Cores : 2 vCores
Root Access : YES
IPv4 : 1 IP
IPv6 : 1 IP

CLOUD LINUX PLAN 3 - \$85/Month
Guaranteed RAM : 8 GB
HDD : 100 GB Raid 10
Bandwidth : 100 Mbps Unlimited
CPU Cores : 4 vCores
Root Access : YES
IPv4 : 1 IP
IPv6 : 1 IP

Why choose Hostripples?
Instant Setup
Easy usability
Value for money
24 x 7 customer service
Unmatched server performance

Coupon Code: CLOUD10OFF

Its not that we are bragging about our services, our customers say it all!

Hurry up and get Hostripples  the one-stop solution for your web hosting requirements!

Hostripples - Affordable web hosting
Hostripples.com Cheap Hosting | Unlimited Bandwidth | Unlimited Space | Domain Name Registration

Hostripples - Affordable web hosting
http://hostripples.com/
http://hostripples.in/
http://hostripples.co.uk/
https://myhostseo.com/
Hostripples.com \$1 Unlimited Hosting | \$2 Unlimited Windows Hosting | Unlimited Bandwidth | Unlimited Space | Domain Name Registration ]]>
Number Increase/Decrease with step http://forums.devshed.com/javascript-development/980501-increase-decrease-step-new-post.html Mon, 23 Apr 2018 21:34:28 GMT ]]> I want to have two buttons next to a number input. Simply to increase or decrease it.

Easy as until I introduce a 'step' I want 0.01 and increase to 0.02 etc.

Any ideas?

Code:

``` <input type=number step=0.01 /> <button id="inc">+</button> <button id="dec">-</button>```
]]>
JavaScript Development NZ_kiwis http://forums.devshed.com/javascript-development-115/increase-decrease-step-980501.html
Function name must be a string... http://forums.devshed.com/php-development/980500-function-name-string-new-post.html Mon, 23 Apr 2018 14:40:07 GMT balance(\$year); // Valid \$values = \$DBFetch->\$_SESSION['topic'](\$year); // Invalid \$values = \$DBFetch->\$topic(\$year); // Valid, but have to set via \$topic = \$_SESSION['topic'] --------- Errors for Invalid/failing line:]]> Well, I attempted to run the following 3 lines each way. 2 are successful, and 1 fails. That is sadly the one I wish to have.
PHP Code:

``` \$values = \$DBFetch->balance(\$year); // Valid \$values = \$DBFetch->\$_SESSION['topic'](\$year); // Invalid \$values = \$DBFetch->\$topic(\$year); // Valid, but have to set via \$topic = \$_SESSION['topic']  ```
Errors for Invalid/failing line:
Code:

```Notice: Array to string conversion in functions.inc on line 226 Notice: Undefined property: DBFetch::\$Array in functions.inc on line 226 Fatal error: Uncaught Error: Function name must be a string in functions.inc:226```
The intent of the array is due to it referencing a \$_SESSION value. The final value is the same in all 3 instances. This example is to offer the single word balance in the end for each attempt. If I am NOT able to reference an array, is the only option to pre-reference it on a prior line and define it as a variable?

Edit: Just to clarify, the array IS being defined to it's final value(\$arr['topic'] = 'balance'), and NOT generally referenced to return an array. ]]>
PHP Development Triple_Nothing http://forums.devshed.com/php-development-5/function-name-string-980500.html
Dedicated servers in Indonesia from \$146/m Redundant Premium Network 1000 Mbps http://forums.devshed.com/web-hosting-offers/980499-dedicated-servers-indonesia-146-redundant-premium-network-1000-mbps-new-post.html Mon, 23 Apr 2018 14:00:26 GMT MaxiDed provided secure * dedicated servers in Indonesia* (https://maxided.com/dedicated-servers/indonesia) *Location:* Indonesia *Speed Test Files:* Private Network - more freedom of content and speech Offshore DC 125.160.121.12 *Delivery time:* Unix/Linux-based OS  24 hours. Windows-based OS  72 hours. *Allowed:* adult, erotic, movies, doorways, dating, vpn, blogs *Best cheap deal:*... MaxiDed provided secure dedicated servers in Indonesia

Location: Indonesia
Speed Test Files: Private Network - more freedom of content and speech Offshore DC 125.160.121.12
Delivery time: Unix/Linux-based OS  24 hours. Windows-based OS  72 hours.
Allowed: adult, erotic, movies, doorways, dating, vpn, blogs

Best cheap deal:
Processor: Intel Core2 Duo E6550x @ 3.4Ghz
RAM: 8 GB
Harddisk: 2TB HDD SATA LSI RAID Intel
IP: 1 IPv4 included
Bandwidth: Redundant Premium Network 1000 Mbps

Order Now 146 USD per month

Enter promo code: 55f44ddb2 5% Discount!

Thank you,
MaxiDed team

__________________
Our offer for datacenter and providers
Skype: maxided.com ]]>
<![CDATA[VPS HOSTING IN UKRAINE, USA & NETHERLANDS. SSD VPS. WINDOWS VPS. [Extra IPv4,rent IP]]]> http://forums.devshed.com/web-hosting-offers/980498-vps-hosting-ukraine-usa-netherlands-ssd-vps-windows-vps-extra-ipv4-rent-ip-new-post.html Mon, 23 Apr 2018 10:41:46 GMT Our tariffs for SSD VPS in the best data centers of Ukraine, Europe and USA are available:

Linux & FreeBSD only/ 1x Xeon 64bit/ 1 GB RAM/ 25 GB SSD 1 Gbit/s share / 2 TB - \$8
VPS-2/ 1x Xeon 64bit/ 2 GB RAM/ 50 GB SSD/ 1 Gbit/s shared/ 2 TB - \$11
VPS-3/ 1x Xeon 64bit/ 3 GB RAM/ 75 GB SSD/ 1 Gbit/s shared/ 2 TB - \$16
VPS-4/ 1x Xeon 64bit/ 4 GB RAM/ 100 GB SSD/ 1 Gbit/s shared/2 TB - \$21
VPS-6/ 2x Xeon 64bit/ 6 GB RAM/ 125 GB SSD/ 1 Gbit/s shared/ 2 TB - \$29
VPS-8/ 2x Xeon 64bit/ 8 GB RAM/ 150 GB SSD/ 1 Gbit/s shared/ 2 TB - \$37

You can also order HDD VPS in Ukraine or Netherlands:

STORAGE VPS 100GB/ 1x Xeon 64bit/ 1GB RAM/ 100 GB HDD/1 Gbit/s shared/ 2 TB - \$10
STORAGE VPS 200GB/ 1x Xeon 64bit/ 2GB RAM/ 200 GB HDD/1 Gbit/s shared/ 2 TB - \$15
STORAGE VPS 300GB/ 1x Xeon 64bit/ 3GB RAM/ 300 GB HDD/1 Gbit/s shared/ 2 TB - \$20
STORAGE VPS 400GB/ 1x Xeon 64bit/ 4GB RAM/ 400 GB HDD/1 Gbit/s shared/ 2 TB - \$25
STORAGE VPS 600GB/ 2x Xeon 64bit/ 6GB RAM/ 600 GB HDD/1 Gbit/s shared/ 2 TB - \$35

Extra IPv4 are also available for 1 \$!

Order VPS at our web-site: 301 Moved Permanently ]]>
Web Hosting Offers Deltahost http://forums.devshed.com/web-hosting-offers-100/vps-hosting-ukraine-usa-netherlands-ssd-vps-windows-vps-extra-ipv4-rent-ip-980498.html