JavaScript Toolkit V1.1.0 Released 65
First time accepted submitter Mensa Babe writes "Oliver Morgan, the original author of the JavaScript Toolkit, or just 'The Toolkit' as it is known in the JavaScript community, has just announced the release of the long awaited version 1.1.0, with better documentation and added function support. Quoting the project documentation: '[JavaScript] Toolkit offers a large number of integrated methods and utilities to help enrich the javascript object library. Javascript was built originally for browsers and as such lacks a large number of data utility methods with are seen in languages such as Python and Ruby. However times have changed and JavaScript is being used more and more in backend platforms. JS Toolkit aims to bridge that gap and provide everyone a modern developer needs to produce fast, secure and tidy code quick and easily.' The Toolkit fully supports ECMAScript 5 and runs on the most important virtual machines that we have today, including Node.JS, V8, Rhino, RingoJS, and many others. It continues to be actively developed."
A boot stretcher (Score:1)
Is only a temporary fix for the fact that you bought the wrong size.
The Toolkit? (Score:5, Interesting)
Re:The Toolkit? (Score:4, Funny)
You misunderstood. "The JavaScript Community" is the name of a Seattle-based indie band. Those four boys are very excited about this release.
Re: (Score:2)
You misunderstood. "The JavaScript Community" is the name of a Seattle-based indie band.
What, no torrent?
Re: (Score:2)
In related news, Slashdot editors, or "The Tools" as they are known in the geek news community, will access any random posting that is linked to GitHub ....
Re: (Score:1)
Nothing personal, but I had Timothy filtered for years. Decided to remove the filter a few days ago to see if things have changed ... they haven't.
Back to being filtered.
Re: (Score:2)
Re: (Score:2)
Nothing personal means "I don't know him, and can't judge him as a person".
I don't know him to say "he may have good traits". As far as I know, all his other traits might be good. My only problem is with his lack of taste/sense choosing articles.
Re: (Score:1)
and provide everyone a modern developer needs to produce fast
What's that supposed to mean? Indeed, there's no editing at all.
Re: (Score:1)
Re: (Score:1)
Long awaited? (Score:5, Insightful)
has just announced the release of the long awaited version 1.1.0
My first thought was... by whom? The prior version, 1.0.0, was released on Aug 27 [github.com], a week ago.
It continues to be actively developed.
By which we mean, he got back into it last month [github.com].
First time accepted submitter Mensa Babe...
Is an idiot.
Re: (Score:2)
+1 parent
Slashdot these days:
1. your personal PR machine for whatever little open source project you have, with unrestricted hyperbole.
2. copy and paste first paragraph of an article that might be interesting, and call it a submission - coming up with an interesting summary is for wimps
Re:Long awaited? (Score:5, Interesting)
Do you really want to be using a library from someone who thinks 'odd' means divisible by 3? Or that you'd need a library function for this? but hey at least he's got tests...
https://github.com/ollym/toolkit/commit/ede890a31eb1cad52d8f3bcd30e5c0afa8cc60e3 [github.com]
Re: (Score:1)
Re: (Score:2)
Re: (Score:1)
Re: (Score:2)
Re: (Score:1)
It's early days. Thanks for pointing this out. Has now been fixed.
Re: (Score:1)
What? I thought it was long awaited. I mean how can 'the Toolkit' be in an early stage?
Re: (Score:1)
I found your problem. You're using Perl.
Re: (Score:2)
I like the idea, and I'd like to contribute. Here's a plus function:
plus: { value: function(y) {
return this + 2;
}}
You can test it with
function Plus(result) {
result((2).plus(2), 4, '2+2 is 4');
}
Re: (Score:1)
Holy shit, that made me snicker in smug superiority like I haven't in a long time. I think that may have been the first algo I learned, right after I learned
10 home
20 print "hello world!"
30 end
That's right...Apple Basic represent!
Underscore.js (Score:2)
Re: (Score:1)
Pants?
feh, try phpjs (Score:2)
Okay, I've done some moderate JavaScript programming in the course of programming many websites and I've used most of the popular libraries out there. But I've never even heard of this JavaScript toolkit. A quick trip to the home page shows that it's trying to be yet another attempt at a JavaScript standard library. And not a very good one, either. A few helper libraries. Pfft!
If you really want a JS library that does damn near everything under the sun, check out php.js [phpjs.org]. They have the vast majority of core
Re:feh, try phpjs (Score:5, Informative)
They have the vast majority of core PHP functions implemented in JavaScript.
I just threw up in my mouth.
Re: (Score:2)
They have the vast majority of core PHP functions implemented in JavaScript.
Whoever came up with that idea, he'll have a very, very special place in Hell.
I hear they make such people write a C++ compiler that compiles to JavaScript. In PHP.
Re: (Score:2)
If you really want a JS library that does damn near everything under the sun, check out php.js [phpjs.org]. They have the vast majority of core PHP functions implemented in JavaScript.
Yeccccch.
Way back when (5+ years ago), I did just the opposite--I saw what a mess PHP had in lieu of certain features (abysmal date and XML handling), and ported a bunch of JS objects to it.
I still use my ported Date class anytime I have to mess with dates in PHP.
I think PEAR has one of its own now, but I still prefer mine, since it follows the ECMA standard. Oddly enough, this seems to be the reason PEAR rejected it (even though they gladly took and still use to this day my XML services stuff that nobody
A little clarity.... (Score:5, Informative)
I created the toolkit, I never spoke with this timothy and never asked for it to be published here? I'm not particularly happy with it being done either given that i've been working on it for several days and there is a load of issues which need fixing before I'd even want it considered let alone used in production.
So let me clarify.
- It's not based off any existing language or framework in particular. I'm taking what I find useful from the different ones available. The API is not set in stone yet there are still a number of large changes I still plan to make.
- I haven't and will never condone this as official in anyway. It's something I want to continue to use throughout MY projects and would find help/contribution helpful so i made it open-source. I have never come across Slashdot before - ever. And why on earth would I want to run a "PR campaign" for it anyway? I have much better things to do with my life.
- In short response to all your pointless negativity:
1) It's not long awaited - perhaps by me but I've never thought anyone else really cared.
2) It's never been known as "The Toolkit" I've never called it that so I don't know where the JS Community got the name from.
3) It has a handful of PHP functions, most of functions came from Ruby and Underscore.JS.
4) Every O-S project starts somewhere, U.JS had a humble beginning - so has mine. They are considerably different in their goals and current implementation. I strongly advise you know the difference before choosing or listening to the dismissive people in this thread.
And a final thanks to those of you who kindly took the time out of your day to come send me hate-mail.
Peace :) x
Re: (Score:3, Informative)
Haha I can't believe how spiteful this place is. I don't understand why it's so impossible for you guys to just ignore something you think should be ignored. Or do you have to make sure that everyone who wants to make up their own mind should ignore it too.
Just incase you haven't got it already... I had a need for an ECMA5 targeted toolkit for my Node.JS development that provided all the useful goodness Ruby, Python and PHP had been given over the years which JS had never really had a need for (living mainl
Re: (Score:3)
Looks like it. Seriously ollymorgs the internet is full of rude assholes, and this place is no different. No moaning about it is going to get any other result than more abuse.
Re: (Score:1)
Yeah, you sorta got screwed over by the submitter. I give you credit for actually posting in response. The odd function %3 , is pretty messed up though. Open source is like that though, all your mistakes are public and recorded for all time. Unless your were on mind altering chemicals, that is somewhat unforgivable grade school math concept misunderstanding.
Re: (Score:2)
Keep going, ignore slashdot. We're ignorant sometimes. Welcome to the fun.
Re: (Score:2)
timothy is the editor who gave this story the green light, but the original submitter is "Mensa Babe", so you should thank her.
Though, judging from this post of yours, this is likely just an unusual way of trolling you and/or Slashdotters.
You're not qualified. (Score:2)
Every O-S project starts somewhere, U.JS had a humble beginning - so has mine. They are considerably different in their goals and current implementation. I strongly advise you know the difference before choosing or listening to the dismissive people in this thread.
You think an "odd number" means "divisible by 3", which means you have a less-than-middle-school education in math. That's not a "humble beginning". You're simply not qualified for the task you've undertaken. For fuck's sake, you didn't even
Re: (Score:2)
Re:You're not qualified. (Score:4, Insightful)
What makes someone 'qualified' to write code for themselves? Does he need to drown in student debt? Spend years studying just to get there? Everyone started somewhere so get off your high horse and let the guy make his own mistakes.
It's not a bug... (Score:2)
Re: (Score:2)
Nah, it's a typo, I bet you. 2 and 3 are right next to each other on the keyboard? And if someone for their own framework wants a function for that, why not? Of course it's kinda pointless, but to to make this about mathematics.... wow :D
Re: (Score:2)
For fuck's sake who, apart from the very nerdy like yourself, would read that overcomplicated explanation of a very simple concept.
Horray! Another library! (Score:4, Insightful)
I was sad to discover that some code I'd recently written was perfectly readable and maintainable. I thought to myself "If people can easily understand and maintain this code, they'll think I'm some kind of n00b."
Thanks to judicious use of libraries like jquery and prototype.js, I'm happy to report that my code is both impossible to understand, difficult to extend, and an absolute nightmare to maintain. That's right, I'm now officially a "rock star" level programmer.
"The Toolkit" as us rock stars call it, now offers me the perfect opportunity to do away with those nasty simple library functions I've collected over the years. Things like string manipulation, for example, that were handled quickly and efficiently by a few simple easy-to-understand functions are now garbled up in yet another over-sized and bug ridden JS library.
My pages take longer to load and run slower than ever before! This is enterprise level code I'm pushing out here folks.
Here's a few hints to help you achieve the same level of greatness:
1) RAM is cheap, use as much as you can.
2) Forget about performance, if your code is too slow, upgrade. Computers get faster every year.
3) Arrays are for idiots who can't code. Import a collections framework for even the simplest of tasks. Need 10 integers to be manipulated by one function and then discarded? You can't go wrong with a thread safe hash table!
4) Load the library that has the function you want, even if you've already loaded a library with similar functionality. Like jquery's trim() function better than underscore.js? Import them both! Never mind that you only needed to use one function from each library or that any first-year CS student could write them in 10 minutes, you're a rock star. You use what you want.
5) Don't be afraid to re-invent the wheel. Other people are idiots, so assume that whatever you can hack together is automatically better. This especially applies to date and time functions.
So fellow rock stars (and future rock stars) ignore all of the negative comments in this discussion about "The Toolkit". Just because these n00b's can't comprehend its awesomeness dos not mean that it's not the perfect hammer for driving screws.
Re: (Score:2)
Fuck me, I wish I had some Rock Star Mod Points.
Well said, mate, well said.
Never heard of it (Score:1)
Though IMHO http://sugarjs.com/ [sugarjs.com] looks better + have way more github followers.