<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/16406" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2008-12-15T17:58:49-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/16406</id>

		<entry>
		<author><name><![CDATA[andrii]]></name></author>
		<updated>2008-12-15T17:58:49-04:00</updated>

		<published>2008-12-15T17:58:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86252#p86252</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86252#p86252"/>
		<title type="html"><![CDATA[File transfer speed calculator]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86252#p86252"><![CDATA[
Thank you tomekk!<br><br>This is perfect!<br><br>//A<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10349">andrii</a> — Mon Dec 15, 2008 5:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2008-12-11T16:47:32-04:00</updated>

		<published>2008-12-11T16:47:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86207#p86207</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86207#p86207"/>
		<title type="html"><![CDATA[File transfer speed calculator]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86207#p86207"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># Author: tomekk# e-mail:  tomekk/@/oswiecim/./eu/./org# home page: http://tomekk.oswiecim.eu.org/## Version 0.1## This file is Copyrighted under the GNU Public License.# http://www.gnu.org/copyleft/gpl.htmlbind pub - !m2t megs_to_time_procbind pub - !t2m time_to_kbs_procproc megs_to_time_proc { nick uhost hand chan arg } {set our_args [split $arg]set megs [lindex $our_args 0]set kilobytes_speed [lindex $our_args 1]if {([regexp {^([0-9]+)$} $megs]) &amp;&amp; ([regexp {^([0-9]+)$} $kilobytes_speed])} {set megs_to_kilobytes [expr $megs * 1024]set need_time [expr $megs_to_kilobytes / $kilobytes_speed]set the_time [expr {round($need_time) / 60}]set r_hours [expr $the_time / 60]set r_minutes [expr $the_time - ($r_hours * 60)]if {(($r_hours &gt;= 0) &amp;&amp; ($r_minutes &gt; 0)) || (($r_hours &gt; 0) &amp;&amp; ($r_minutes == 0))} { putquick "PRIVMSG $chan :time ~~ $r_hours hour/s, $r_minutes minute/s"} else {putquick "PRIVMSG $chan :time ~~ less than one minute"}}}proc time_to_kbs_proc { nick uhost hand chan arg } {set our_args [split $arg]set minutes [lindex $our_args 0]set kilobytes_speed [lindex $our_args 1]if {([regexp {^([0-9]+)$} $minutes]) &amp;&amp; ([regexp {^([0-9]+)$} $kilobytes_speed])} {set minutes_to_secs [expr $minutes * 60]set need_kilobytes [expr {double($minutes_to_secs * $kilobytes_speed)}]set the_megs [expr {double($need_kilobytes / 1000)}]putquick "PRIVMSG $chan :u can transfer ~~ $the_megs MB"}}putlog "transfers.tcl ver 0.1 by tomekk loaded"</code></pre></div>manual:<br>!m2t &lt;megs&gt; &lt;kilobytes&gt;, !m2t 100 20 = ~ 1 hour, 25 minutes<br>!t2m &lt;minutes&gt; &lt;kilobytes&gt;, !t2m 100 20 = ~120.0 MB<br><br>try :&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Thu Dec 11, 2008 4:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[andrii]]></name></author>
		<updated>2008-12-11T12:04:25-04:00</updated>

		<published>2008-12-11T12:04:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86192#p86192</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86192#p86192"/>
		<title type="html"><![CDATA[File transfer speed calculator]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86192#p86192"><![CDATA[
<blockquote class="uncited"><div>100 / 0.02 = ~5000 seconds<br><br>1 hour = 3600 sec<br>3600 * 0.02 = ~72MB <br><br>but this depeds from many other things, this is just simple calculating, its hard to get real speed <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>u can always calculate like 1MB = 1024 KB, not 1000<br><br>but this still will be only theoretical</div></blockquote>Thank you tomekk for doing the math for me <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">  <br><br>And yes, the script should provide a theoretical indication, not precise one.<br>However, this is not the thing I was looking for. <br><br>I believe(and I hope) that I'll manage the mathematics part on my own. <br>What I was hoping is that someone could offer or help me to create the script(and by script, i mean the code part).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10349">andrii</a> — Thu Dec 11, 2008 12:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2008-12-08T10:01:02-04:00</updated>

		<published>2008-12-08T10:01:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86129#p86129</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86129#p86129"/>
		<title type="html"><![CDATA[File transfer speed calculator]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86129#p86129"><![CDATA[
100 / 0.02 = ~5000 seconds<br><br>1 hour = 3600 sec<br>3600 * 0.02 = ~72MB <br><br>but this depeds from many other things, this is just simple calculating, its hard to get real speed <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>u can always calculate like 1MB = 1024 KB, not 1000<br><br>but this still will be only theoretical<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Mon Dec 08, 2008 10:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[andrii]]></name></author>
		<updated>2008-12-08T08:12:24-04:00</updated>

		<published>2008-12-08T08:12:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86126#p86126</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86126#p86126"/>
		<title type="html"><![CDATA[File transfer speed calculator]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86126#p86126"><![CDATA[
Hello guys.<br><br>I'm wondering that does there already exist, or can any of you tell me how to create a script that calculates data transfer speed and estimated time?<br><br>Lets say: I need to download a 100mb file, and i can dl it like 20kb/s. <br><br>The script should calculate the time for 100megs if the average dl speed is 20kilobytes/sec. And It should also work another way around. We want to know how much data we can move in 1 hours, if the transferring speed is 20kb/s.<br><br>I don't have that strong programming skills that I could create something like this on my own. However, If i can get access to some sort of source, I may be able to finish it myself.<br><br><br><br>Humbly,<br><br>Andrii<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10349">andrii</a> — Mon Dec 08, 2008 8:12 am</p><hr />
]]></content>
	</entry>
	</feed>
