You know I've never actually used YUI so I can't really say, but it should work pretty well. Part of what makes jQuery with Coffee so great is how -> and => work and how you can chain with jQuery (because the context is always returned). If you use the two efficiently you can write amazingly conscise code and get a rediculous amount of things done in just a few lines.
I glanced at some YUI 3 samples and I don't immediately see anything that would come out weird - but a quick google search makes it brutally apparent not so many people are using the two in conjunction (whereas using it with jQuery is common). In the end it all compiles into JavaScript anyway so it's not like there would be anything you couldn't do it in - and even if there were you can use inline JS.
If you are trying it out and need some help there's an IRC channel on freenode.
I'm sorry, but as someone who's written way more JS than anyone should ever have to I'd like to politely ask you to shut the fuck up and stop trolling me. You could have at least brought up what points you think I'm wrong on - but I can point out solutions that were created specifically to combat each of the issues I pointed out. Hell the basic jQuery code alone deals with all of these issues AND jQuery itself was created so you could code vanilla JS without having to waste time dealing with most of them.
Oh, and I would really recommend CoffeeScript. See how wrong you think I am after coding CoffeeScript with jQuery for a week. Don't forget to use the node.js watched compile freature - you'll get vaidation each time you save. It's fantastic.
That an JavaScript is an extremely "loose" langauge with a lot of quirks. Context of "this" changing randomly? Check. Accidentally redefining functions? Check. Variable raises (AKA variables not defined yet somehow exist before their defintion)? Check. The vaguest duck typing system of any language ever? Check. Awful, awful class definition syntax? Check. Total lack of a reasonable debugging environment? Check. Almost complete lack of ability to deal with binary (or even non-text) information? Check. I mean the list goes on and on. As for a "programming" languages go it's just a horrible mess. Even with node.js it's difficult to consider it a general purpose langauge. Tell me JS is a good language for learning compiting and programming paradigims and I'll spit on you.
As far as practicality goes? It's pretty practical. If you know JavaScript enough to use jQuery and AJAX you can do something to make money.
I use LibreOffice AND Google Docs for business. Google Docs is great for collaboration and you can import/export to LO easily. For final formatting I use LO though. Google Docs has some weird issues with images still and there are some random tweaky things too (font handling, bullets in lists have tweaky formatting issues) but in the end it's only little things and they're easy to fix before you print them or package them in a pdf.
So you don't ever use split panes when you code? I have two monotors and I still split (byobu/screen, gvim/vim) like crazy. My average workspace would look awful in 4:3.
That would be an excellent argument if buddyglass had made a valid point - but buddyglass made a moot troll argument to begin with. There's no evidence and little basis that illegal labour lowers the price of goods or services. Besides, most goods purchased in America are produced overseas to begin with (*food used to be an exception, but last time I went to America I couldn't even buy juice that was nationally produced - and yet I can buy American apple and orange juice in my own country???).
Your point on lowering labor standards hits the nail on the head but it's only part of the problem. Illegals don't unionize and hold their employers hostage. Illegals don't have contract terms. Illegals will accept terrible living standards. Illegals don't have insurance crutches or or sick day fallbacks. And because America has this bizzare concept of political correctness businesses don't get punished for hiring them. Not only are the standards already lowered but the reality is the American government has basically made it so that businesses who hire nationals run a lot of risks. Union wants a raise? Expect the lawyers. Injury on the jobsite? Looks like you'll be paying wages for someone who's not doing any work. Business demands changed so you want to change some contracts? Good luck! Want to fire someone because they suck at their job? PC lawsuit time.
And you can have free education without the nanny state. But my point on education wasn't that it was a "socialized" venture it was that the education in America has become increasingly more awful, especially when compared to the rest of the world.
"Anti-Piracy" campaigns, handouts to religious organizations, wellfare for illegal aliens who don't even pay taxes, bailouts, corn/pork/cheese subsidies, etc.
But fuck it America, throw away the future! Live in the now! Run up your debt while you throw away anything related to education and science. Maybe you could go loan some money to the arabas again and then start some wars with them again. How about you keep bitching about communist China while you increasingly become a socialist nanny-state. Set your future on a whole generation of poorly-educated obese children who write in texting abbreviations and speak like they gangstas. That'll totally work out!
Maybe. If you have a good government they will force the bank to deal with all that crap for you or to refund you when their not doing so leads to your account being plundered.
Sharp Netwalker ran Ubuntu: http://www.sharp.co.jp/netwalker/pct1/ It's also got basicaly the exact same specs as this but in a smaller form factor and comes with standard Gnome 2
You realize pointing sites at a particular DNS set and using forwards to load-balance is a commonly used scheme don't you? And you do realize there are caching services that handle front end connections while the actual database servers or application servers lie behind them - you know like how Slashdot uses Varnish?
"or whatever" is about as accurate as you get unless you want to list out pages upon pages of different traffic handling schemes that only have DNS pointing at front-line servers.
I don' think you understand the GPL and how it relates to copyright. The GPL allows free use and modification under the conditions that if you modify it you must provide the modifications (assuming you distributed your modified version) OR - and this is the beuty of the GPL - you obtain a separate license from the copyright holder. In the end GPL is more or less an enhancement to copyright which provides for an open model without nullifying the creators copyright and thusly allowing for an open model without the risk of stealing (EG: BSD/MIT software being modified and sold in closed source packages).
150 miles is theoretical under idea circumstances. Nissan calculated the range theoretical range under ideal cicumstances at 140 miles. The 70 mile range for the Leaf is a (more realistic and generalized) calculation for the Leaf using a calculation defined by the EPA. I can't find any numbers from CODA where they note any calculations but their own.
If they get 150 miles for the EPA calculation it will be impressive - but for a small no-name company to more than double the performance of a vehicle from mega-corporation Nissan using basically the same technology? Prove it with real numbers on equal terms.
They have a terrible looking electric car that can theoretically drive about 10 miles further per charge than its closest competitor (the Leaf), but is more expensive and unlike the Leaf which is primarily produced in Japan/USA it's produced in China/USA. Oh, and they introduce the car with showtunes.
I get the feeling this CODA company isn't going to be around so much longer.
Ok this is going to piss a lot of people off and it's barely related to the story but fuck it, I'm just going to say it. The US is a fucking shadow of what it once was and it's now a big corrupt joke. See that story about Asia overtaking the US in innovation? Yeah, it already happened 20 years ago, you're in denial. Your education sucks, you get worse scores on math tests than chirlden from countries where they don't own shirts and do their homework on slates. Your goverment fails at every project they undertake - after it goes overbudget and funds dissapear with no accountability. Your medical system is a fucking joke - you turn down the sick because they don't have the right type of insurance and maulpractice is rampant. Your distrobution of wealth does nothing but show how your system is owned by greed and your politicians don't even bother trying to hide the fact they're sellouts (SOPA/PIPA anyone?). And how about the next election? Here are your choices: a man who covers the fact he's running you poor and selling you out by giving charged speaches about vaguely positive ideas and a greedy idiot who belongs to a religion where you are required to wear "magic underwear".
A Russian friend of mine said this to me: "Russians aren't waiting for the rise of the East, they ware waiting for the decline of the West". It feels like that day has come. Flame me, mod me down, do whatever - I'm not even going to respond. I just wanted to get that out. The dream of America is dead.
I'm Japanese and I actually live about 20 minutes from one of the largest prison complexes in the country. The "hard labour" thing is true but it's not like they're smashing rocks in chain gangs - the prison I'm near they build and repair boats. Other prisons apparently make them do construction or factory style work. Most female prisons they apparently have them do things like cook and clean instead of harder labor. They are awarded the ammount of money for the work they've done at a set rate at the end of their sentence and in many cases they end up with skills (and a work ethic) they can use to make a living.
For juvenile offenders there is some physical labor (cleaning of their living quarters, etc.) but mainly they force them to study.
So the Japanese prison system just tries to make use of those imprisioned to reduce their societal debt, and in the process hopefully make them into valuable members of society by release. Of course if you are making the argument that they shouldn't imprison non-violent drug offenders to begin with it's not like other countries don't do the same. Prisons are societally treated like generic rehabilitation facilities anywhere you go in the world.
Oh come on, you are suggesting people would cheat on Bash with the uglier and stupider PowerShell? How is that worth it? And don't give me that globbing and shell object shpeal, the fact is PowerShell is barely functional as a shell for constant use and if I'm writing a non-trivial script I'm going to be doing it Ruby or Python or something else anyway.
I had to bail someone out -just yesterday- and the conditions were this example to the letter. The code wasn't "bad" but it wasn't perfect and certainly not something I'd like to admit to writing. It had precisely 0 comments. If documentation was a requirement I'm certain I would not have finished at all.
There's a document in the Linux kernel source that outlines coding style, and exactly this is mentioned in detail and very clearly outlined. Taking the time to name things properly and to USE white space and line breaks in a way that makes things clear makes most comments irrelivant. Really unless you're doing some strange/complicated/magic operations you shouldn't need any comments other than general function/class descriptions.
You know I've never actually used YUI so I can't really say, but it should work pretty well. Part of what makes jQuery with Coffee so great is how -> and => work and how you can chain with jQuery (because the context is always returned). If you use the two efficiently you can write amazingly conscise code and get a rediculous amount of things done in just a few lines.
I glanced at some YUI 3 samples and I don't immediately see anything that would come out weird - but a quick google search makes it brutally apparent not so many people are using the two in conjunction (whereas using it with jQuery is common). In the end it all compiles into JavaScript anyway so it's not like there would be anything you couldn't do it in - and even if there were you can use inline JS.
If you are trying it out and need some help there's an IRC channel on freenode.
I'm sorry, but as someone who's written way more JS than anyone should ever have to I'd like to politely ask you to shut the fuck up and stop trolling me. You could have at least brought up what points you think I'm wrong on - but I can point out solutions that were created specifically to combat each of the issues I pointed out. Hell the basic jQuery code alone deals with all of these issues AND jQuery itself was created so you could code vanilla JS without having to waste time dealing with most of them.
Oh, and I would really recommend CoffeeScript. See how wrong you think I am after coding CoffeeScript with jQuery for a week. Don't forget to use the node.js watched compile freature - you'll get vaidation each time you save. It's fantastic.
That an JavaScript is an extremely "loose" langauge with a lot of quirks. Context of "this" changing randomly? Check. Accidentally redefining functions? Check. Variable raises (AKA variables not defined yet somehow exist before their defintion)? Check. The vaguest duck typing system of any language ever? Check. Awful, awful class definition syntax? Check. Total lack of a reasonable debugging environment? Check. Almost complete lack of ability to deal with binary (or even non-text) information? Check. I mean the list goes on and on. As for a "programming" languages go it's just a horrible mess. Even with node.js it's difficult to consider it a general purpose langauge. Tell me JS is a good language for learning compiting and programming paradigims and I'll spit on you.
As far as practicality goes? It's pretty practical. If you know JavaScript enough to use jQuery and AJAX you can do something to make money.
I'll second corkscrew. Someone please mod this AC up.
I use LibreOffice AND Google Docs for business. Google Docs is great for collaboration and you can import/export to LO easily. For final formatting I use LO though. Google Docs has some weird issues with images still and there are some random tweaky things too (font handling, bullets in lists have tweaky formatting issues) but in the end it's only little things and they're easy to fix before you print them or package them in a pdf.
So you don't ever use split panes when you code? I have two monotors and I still split (byobu/screen, gvim/vim) like crazy. My average workspace would look awful in 4:3.
That would be an excellent argument if buddyglass had made a valid point - but buddyglass made a moot troll argument to begin with. There's no evidence and little basis that illegal labour lowers the price of goods or services. Besides, most goods purchased in America are produced overseas to begin with (*food used to be an exception, but last time I went to America I couldn't even buy juice that was nationally produced - and yet I can buy American apple and orange juice in my own country???).
Your point on lowering labor standards hits the nail on the head but it's only part of the problem. Illegals don't unionize and hold their employers hostage. Illegals don't have contract terms. Illegals will accept terrible living standards. Illegals don't have insurance crutches or or sick day fallbacks. And because America has this bizzare concept of political correctness businesses don't get punished for hiring them. Not only are the standards already lowered but the reality is the American government has basically made it so that businesses who hire nationals run a lot of risks. Union wants a raise? Expect the lawyers. Injury on the jobsite? Looks like you'll be paying wages for someone who's not doing any work. Business demands changed so you want to change some contracts? Good luck! Want to fire someone because they suck at their job? PC lawsuit time.
I meant things like this: http://www.allvoices.com/contributed-news/4132598-california-has-quarter-of-the-american-illegal-immigrant-population-an-essay-on-healthcare-and-illegal-immigrants
That's just the first hit on a google search. There's plenty more.
And you can have free education without the nanny state. But my point on education wasn't that it was a "socialized" venture it was that the education in America has become increasingly more awful, especially when compared to the rest of the world.
"Anti-Piracy" campaigns, handouts to religious organizations, wellfare for illegal aliens who don't even pay taxes, bailouts, corn/pork/cheese subsidies, etc.
But fuck it America, throw away the future! Live in the now! Run up your debt while you throw away anything related to education and science. Maybe you could go loan some money to the arabas again and then start some wars with them again. How about you keep bitching about communist China while you increasingly become a socialist nanny-state. Set your future on a whole generation of poorly-educated obese children who write in texting abbreviations and speak like they gangstas. That'll totally work out!
Maybe. If you have a good government they will force the bank to deal with all that crap for you or to refund you when their not doing so leads to your account being plundered.
Sharp Netwalker ran Ubuntu: http://www.sharp.co.jp/netwalker/pct1/
It's also got basicaly the exact same specs as this but in a smaller form factor and comes with standard Gnome 2
Your comment should be written below the article so we don't actually have to waste our time being mislead by the article and the comments. Thanks!
You realize pointing sites at a particular DNS set and using forwards to load-balance is a commonly used scheme don't you? And you do realize there are caching services that handle front end connections while the actual database servers or application servers lie behind them - you know like how Slashdot uses Varnish?
"or whatever" is about as accurate as you get unless you want to list out pages upon pages of different traffic handling schemes that only have DNS pointing at front-line servers.
I don' think you understand the GPL and how it relates to copyright. The GPL allows free use and modification under the conditions that if you modify it you must provide the modifications (assuming you distributed your modified version) OR - and this is the beuty of the GPL - you obtain a separate license from the copyright holder. In the end GPL is more or less an enhancement to copyright which provides for an open model without nullifying the creators copyright and thusly allowing for an open model without the risk of stealing (EG: BSD/MIT software being modified and sold in closed source packages).
And it shows up if you search for it in google... the first hit for me is "wikiquote" even! fnj is a lazy troll.
THIS. Somebody mod parent up please.
150 miles is theoretical under idea circumstances. Nissan calculated the range theoretical range under ideal cicumstances at 140 miles. The 70 mile range for the Leaf is a (more realistic and generalized) calculation for the Leaf using a calculation defined by the EPA. I can't find any numbers from CODA where they note any calculations but their own.
If they get 150 miles for the EPA calculation it will be impressive - but for a small no-name company to more than double the performance of a vehicle from mega-corporation Nissan using basically the same technology? Prove it with real numbers on equal terms.
They have a terrible looking electric car that can theoretically drive about 10 miles further per charge than its closest competitor (the Leaf), but is more expensive and unlike the Leaf which is primarily produced in Japan/USA it's produced in China/USA. Oh, and they introduce the car with showtunes.
I get the feeling this CODA company isn't going to be around so much longer.
Ok this is going to piss a lot of people off and it's barely related to the story but fuck it, I'm just going to say it. The US is a fucking shadow of what it once was and it's now a big corrupt joke. See that story about Asia overtaking the US in innovation? Yeah, it already happened 20 years ago, you're in denial. Your education sucks, you get worse scores on math tests than chirlden from countries where they don't own shirts and do their homework on slates. Your goverment fails at every project they undertake - after it goes overbudget and funds dissapear with no accountability. Your medical system is a fucking joke - you turn down the sick because they don't have the right type of insurance and maulpractice is rampant. Your distrobution of wealth does nothing but show how your system is owned by greed and your politicians don't even bother trying to hide the fact they're sellouts (SOPA/PIPA anyone?). And how about the next election? Here are your choices: a man who covers the fact he's running you poor and selling you out by giving charged speaches about vaguely positive ideas and a greedy idiot who belongs to a religion where you are required to wear "magic underwear".
A Russian friend of mine said this to me: "Russians aren't waiting for the rise of the East, they ware waiting for the decline of the West". It feels like that day has come. Flame me, mod me down, do whatever - I'm not even going to respond. I just wanted to get that out. The dream of America is dead.
I'm Japanese and I actually live about 20 minutes from one of the largest prison complexes in the country. The "hard labour" thing is true but it's not like they're smashing rocks in chain gangs - the prison I'm near they build and repair boats. Other prisons apparently make them do construction or factory style work. Most female prisons they apparently have them do things like cook and clean instead of harder labor. They are awarded the ammount of money for the work they've done at a set rate at the end of their sentence and in many cases they end up with skills (and a work ethic) they can use to make a living.
For juvenile offenders there is some physical labor (cleaning of their living quarters, etc.) but mainly they force them to study.
So the Japanese prison system just tries to make use of those imprisioned to reduce their societal debt, and in the process hopefully make them into valuable members of society by release. Of course if you are making the argument that they shouldn't imprison non-violent drug offenders to begin with it's not like other countries don't do the same. Prisons are societally treated like generic rehabilitation facilities anywhere you go in the world.
Oh come on! Everybody knows it's flying cars next
Oh come on, you are suggesting people would cheat on Bash with the uglier and stupider PowerShell? How is that worth it? And don't give me that globbing and shell object shpeal, the fact is PowerShell is barely functional as a shell for constant use and if I'm writing a non-trivial script I'm going to be doing it Ruby or Python or something else anyway.
I had to bail someone out -just yesterday- and the conditions were this example to the letter. The code wasn't "bad" but it wasn't perfect and certainly not something I'd like to admit to writing. It had precisely 0 comments. If documentation was a requirement I'm certain I would not have finished at all.
There's a document in the Linux kernel source that outlines coding style, and exactly this is mentioned in detail and very clearly outlined. Taking the time to name things properly and to USE white space and line breaks in a way that makes things clear makes most comments irrelivant. Really unless you're doing some strange/complicated/magic operations you shouldn't need any comments other than general function/class descriptions.
That reminded me: http://www.huffingtonpost.com/2012/01/03/mountain-dew-dissolves-mice_n_1180994.html