Hmm… Seems to be a major bug with this section. This is about 1/3 of what I posted. Also, line breaks don’t stay in the descriptions, would be a nice touch to allow it so we can format the description to allow for easier reading. Not bad though.
As you may already know, in Software and in life, generally, there is no: One Thing Suits All.
If your data set is small, then you can choose whateva’ algorithm.
If your data set is large, then you should have a few algorithms at hand that are suited to your data set, and depending on the exact data in your data set, choose the right algorithm(using an data mining algorithm or something).
Sorry that was a big announcement without extensive research. I thought it was a bit dodgy that i invented something amazing.
Yes you all are right: except it wasn’t Bitsort, someone has spotted it for me and it turn out it has the same methods as counting sort.
I did do research before i posted it, but didn’t find anything close to my methods only but Radix sort
And by the way this counting sort, the timing is all averagely the same no matter what data is input. This works because the sort it self doesn’t use comparison methods to sort data.
planetMass() <- You should set this to any value to positive number
example: planetMass(0) = 10 , planetMass(1) = 1000
For movement between 2 objects, if you want something similar to moon orbiting the earth then starting value should be:
'Earth ….. planetMov(0) = new point(0,0)
'Moon ….. planetMov(1) = new point(-1, -3)
You should also place the moon on the left side to the earth about 100 pixel (x,y) away
Using 2 picturebox, its location must be assignment to planetLoc()
The code snippet must be held in a timer! (note that you must play with the time interval for it to play smoothly according to your setting)
This should be enoughs information to get started with this 2D gravity simulations.
Jeremy Simkins commented the snippet PHP Keyword Cloud Generator 3 years, 1 month ago · View
Hmm… Seems to be a major bug with this section. This is about 1/3 of what I posted. Also, line breaks don’t stay in the descriptions, would be a nice touch to allow it so we can format the description to allow for easier reading. Not bad though.
Fixed! Now your snippet shows up completely. Cheers!
Thanks!
Jeremy Simkins commented the snippet PHP Keyword Cloud Generator 3 years, 1 month ago · View
Also the ability to edit would be a nice touch, or some kind of version and change history would be even cooler.
Bjoern Gottowik commented the snippet PHP Keyword Cloud Generator 3 years, 1 month ago · View
Hey Jeremy, you’ll be able to change your entry soon! We’re working on this issue and will provide this feature in a couple of days.
Sandra Jüssen commented the snippet .Net 3 years, 1 month ago · View
Dear santosh, the snippet is missing . Please can you enter your snippet or delete this entry? Thx Sandra
Anish Rajan Kurian commented the snippet Super fast sort algorithm 3 years ago · View
This is a sorting technique that already exists. It is called bitsort.
Take a case where there are 3 numbers to sort. The number being [5, 3, 5x10^23].
Compare the sorting time with other sorting algorithms.
Ok my bad mate
Viorel Andronic commented the snippet Super fast sort algorithm 3 years ago · View
As you may already know, in Software and in life, generally, there is no: One Thing Suits All.
If your data set is small, then you can choose whateva’ algorithm.
If your data set is large, then you should have a few algorithms at hand that are suited to your data set, and depending on the exact data in your data set, choose the right algorithm(using an data mining algorithm or something).
Regards,
Viorel
T Chai commented the snippet Super fast sort algorithm 3 years ago · View
Sorry that was a big announcement without extensive research. I thought it was a bit dodgy that i invented something amazing.
Yes you all are right: except it wasn’t Bitsort, someone has spotted it for me and it turn out it has the same methods as counting sort.
I did do research before i posted it, but didn’t find anything close to my methods only but Radix sort
And by the way this counting sort, the timing is all averagely the same no matter what data is input. This works because the sort it self doesn’t use comparison methods to sort data.
Bjoern Gottowik commented the snippet C# Text to Speech (and Speech to Text) in a few lines of code 3 years ago · View
Cool! Can I find somewhere are similiar PHP-class?
Conrad Programmer commented the snippet C# Text to Speech (and Speech to Text) in a few lines of code 3 years ago · View
try these links (did not test them myself yet)
- http://wiki.tuxisalive.com/index.php/Text-to-speech
- http://www.phpclasses.org/package/4097-PHP-Convert-test-to-speech-using-Expressivo-service.html (scroll down to the bottom of the page for code samples)
- http://www.hiteshagrawal.com/php/how-to-implement-text-to-speech-in-php
if anybody implements any of these, let us know how it goes… definitely plenty of possibilities (mobile, iPad applications anyone?)
cheers…
-C
ashutosh singh commented the snippet JScript :: + operator 3 years ago · View
very helpfull thing
T Chai commented the snippet Newtons law of universal gravitation (VB.Net) 3 years ago · View
Oh i forgot:
planetMass() <- You should set this to any value to positive number
example: planetMass(0) = 10 , planetMass(1) = 1000
For movement between 2 objects, if you want something similar to moon orbiting the earth then starting value should be:
'Earth ….. planetMov(0) = new point(0,0)
'Moon ….. planetMov(1) = new point(-1, -3)
You should also place the moon on the left side to the earth about 100 pixel (x,y) away
Using 2 picturebox, its location must be assignment to planetLoc()
The code snippet must be held in a timer! (note that you must play with the time interval for it to play smoothly according to your setting)
This should be enoughs information to get started with this 2D gravity simulations.
Christian Zagarskas commented the snippet Flash Loaded 3D wall PHP image loader 2 years, 11 months ago · View
since this works with 3D wall, here are some details:
you can get it here:
http://www.flashloaded.com/flashcomponents/3dwall/
Christian Zagarskas commented the snippet TN2 image gallery get all images in ALL folder and make galleries from folder tree 2 years, 11 months ago · View
works with TN2
http://www.flashloaded.com/flashcomponents/tn2gallery/
Fredrick Njenga commented the snippet Disappearing search field text (jQuery) 2 years, 11 months ago · View
Cool and simple!
Thanks!
Bhanu Singhai commented the snippet Code I used for SLIDESHOWPRO on http://www.gtmalan.com 2 years, 10 months ago · View
Nice Script Dude
Bjoern Gottowik commented the snippet Input Mask 2 years, 9 months ago · View
Cool! Thank you for posting this snippet!
Andreu Correa Casablanca commented the snippet Memorizer Decorator for accumulative lists 2 years, 9 months ago · View
Probably, the part of the code that selects the variable a1 and a2 should be deleted and keep only the binary search to improve the code.
Bjoern Gottowik commented the snippet testing snippets 2 years, 8 months ago · View
ok! So what do you miss here?
Antonio Vázquez Blanco commented the snippet Snippet title … 2 years, 6 months ago · View
If interested visit my blog
http://developtolearn.blogspot.com/
Alejandro Martinis commented the snippet Exporting a QTableWidget to a CSV File 2 years, 6 months ago · View
the comma as a separator is accepted by OpenOffice but not Excel. Excel would need a semicolon instead.