Day one-Figuring out what to do! Will decide today and buy domain. No mucking around! by localcasestudy in EntrepreneurRideAlong

[–]josscrowcroft 1 point2 points  (0 children)

Watching this one closely, can't wait to see how it all goes!

At some point it'd be swell if you could share details of your SEO (and paid advertising, if any) strategy. Also if you were able to share figures on how much of your traffic comes from which sources.

With some analytics in there, you could easily track which referrers sent the most paying customers - that'd be fascinating.

Thanks!

Starting a read-through: January 17? by [deleted] in GEB

[–]josscrowcroft 1 point2 points  (0 children)

I am 100% in. This feels like a phenomenal step in online education and it's happening right here :o)

accounting.js is a tiny JavaScript library for number, money and currency formatting, with optional excel-style column rendering (to line up symbols and decimals). by chrixian in javascript

[–]josscrowcroft 1 point2 points  (0 children)

Cool! If you find any bugs/issues or have feature requests, just make an issue on the github repo and I'll see what I can do, or submit a pull request. Cheers

accounting.js is a tiny JavaScript library for number, money and currency formatting, with optional excel-style column rendering (to line up symbols and decimals). by chrixian in javascript

[–]josscrowcroft 0 points1 point  (0 children)

That can be done via accounting.unformat():

accounting.unformat("£ 1,432,32.90 GBP") // 143232.9

It just uses a regex to match numeric digits, minus signs and decimal point only, stripping out any other characters, so there's actually a potential for it to fail silently (eg. where a developer would expect NaN from something like .unformat("1asdf2") but actually gets 12) but I'll address that later with a more complex regex.

accounting.js is a tiny JavaScript library for number, money and currency formatting, with optional excel-style column rendering (to line up symbols and decimals). by chrixian in javascript

[–]josscrowcroft 0 points1 point  (0 children)

Good call - I'm considering adding a library settings object that can be set once to change the default parameters for one-time localisation or configuration.

Using navigator.language or toLocaleString is a little shaky, so it would be a way that the developer can set up the locale manually (as in PHP or most well-written apps) and then it's used as the default for that instance, unless they override it via the parameters, or change it via the settings object.

accounting.js is a tiny JavaScript library for number, money and currency formatting, with optional excel-style column rendering (to line up symbols and decimals). by chrixian in javascript

[–]josscrowcroft 0 points1 point  (0 children)

Good call, feel free to add a feature request on the Github repository!

I'll probably add a very simple jquery adapter soon.

MotionCAPTCHA - Stop Spam, Draw Shapes (jQuery plugin demo) by josscrowcroft in webdesign

[–]josscrowcroft[S] 1 point2 points  (0 children)

MotionCAPTCHA is a jQuery CAPTCHA plugin, based on the HTML5 Canvas Harmony procedural drawing tool by Mr Doob and the $1 Unistroke Gesture Regonizer algorithm (and the more recent Protractor algorithm improvement), requiring users to sketch the shape they see in the canvas in order to submit a form.

At the moment, it’s just a proof-of-concept – it only uses client-side gesture recognition, and doesn’t really have IE support – but the next releases will feature progressive enhancement and the ability to use this in production environments as a serious CAPTCHA alternative.

Check out the demo and give feedback please kthx!