In bare javascript I'd have to write a loop, either recursively or iteratively.
Anyway, I don't see javascript libraries going away anytime soon. Bloated? Maybe. Useless? Depends on your point of view. If you're really dedicated to luring programmers away from jQuery, I suggest you write (or recommend) a reference such as I suggested. Otherwise, you're just making noise in an inappropriate forum.
In 1985, I took a Fortran course at EdCC. Their p-System-based compiler took a full hour to parse a hundred-line program and report (only) the first syntax error. So I wrote and debugged all my Fortran programs in Turbo Pascal, which compiled the same hundred-line program compiled in less than a second.
That's over three orders of magnitude difference between "portable" and native code. Today the difference is between one and two orders of magnitude, but the cost is still prohibitively expensive for many applications.
You should write (or recommend) a tutorial called "JavaScript for Jquery developers" which shows the standard cross-platform-compatible JavaScript equivalent to the major JQuery functions.
They can have my access logs when they pry them out of my cold, dead fingers.
Seriously -- I run a small website and I'm just not gonna bother installing special software to purge certain IP addresses from my logs upon request, then forget that I purged those IP addresses (because that would be tracking), then somehow un-forget them on a regular basis so I can purge them again, then forget them again,....
I agree with Google, Facebook, et al. The bill is quite simply unenforceable, and thus has no force of law, whether passed or not.
I haven't paid into the medical system for over ten years, and am looking forward to defending myself against criminal charges for my "negligence". During the same period, my neighbor has received three elective surgeries, courtesy of the health care system, and is under no such danger of prosecution. It's not just the doctors who are playing it safe.
The trouble with fighting for human freedom is that one spends most of one’s time defending scoundrels. For it is against scoundrels that oppressive laws are first aimed, and oppression must be stopped at the beginning if it is to be stopped at all.
Please God those statistics never get read in congress, else the government safety inspectors will be wanting to install a shower cam in every bathroom.
Funny thing about that theory is that nearly everyone I know who owns a Mac runs Windows on it (via Parallels or some such virtualization layer) so they can keep their backwards-compatibility.
Any country which makes and enforces a minimum wage law will effectively cause all exportable labor-intensive jobs to move elsewhere. Simple economics, people.
You obviously don't read very well. It took me about ten seconds to spot the violation:
ACADEMIC HONESTY POLICY
... students shall not engage in... alteration of materials or equipment.
Clearly, the student is guilty of altering materials (wires and glue) and equipment (Gatorade bottle and electronics) and should be thoroughly counseled to avoid future infractions.
I'm also a sysadmin at a social networking site with highly dynamic content. Unfortunately, Varnish won't help much because over 90% of the cumulative CPU time is ate up by the MySQL server.
For the record, I tried. And it's true, most of the core modules work with Postgres. But most of the non-core modules (which are what makes Drupal such a rich platform) don't. Too many developers code to MySQL and don't know or don't care that they are implementing hacks that won't work anywhere else.
For about two years I stubbornly stuck to PostgreSQL and submitted a steady flow of patches to the module maintainers. Some of them were accepted; some weren't. Then I upgraded to a bigger VPS with more memory and could afford to run MySQL and I quit fighting City Hall.
Yeah, it actually takes more RAM to run an optimally-tweaked MySQL server than an optimally-tweaked PostgreSQL server. Go figure.
So alcoholic beverages are "food" according to the FDA. At least that's the logic they appear to be pursuing. I guess the next step is to subsidize beer with food stamps.
Programmer testifies before congress about being hired to rig elections.
It's shorter, both in original code size and in the number of documentation pages required to understand it.
I disagree. So do most of the posters in the thread you referenced.
Thanks. I assume you mean this one. I'll check it out.
In jquery, if I wanted to do something with each element with a particular tag contained inside another dom element, I'd do something like this:
Or perhaps like this:
In bare javascript I'd have to write a loop, either recursively or iteratively.
Anyway, I don't see javascript libraries going away anytime soon. Bloated? Maybe. Useless? Depends on your point of view. If you're really dedicated to luring programmers away from jQuery, I suggest you write (or recommend) a reference such as I suggested. Otherwise, you're just making noise in an inappropriate forum.
The ones with their own documentation page on jquery.com.
In 1985, I took a Fortran course at EdCC. Their p-System-based compiler took a full hour to parse a hundred-line program and report (only) the first syntax error. So I wrote and debugged all my Fortran programs in Turbo Pascal, which compiled the same hundred-line program compiled in less than a second.
That's over three orders of magnitude difference between "portable" and native code. Today the difference is between one and two orders of magnitude, but the cost is still prohibitively expensive for many applications.
You should write (or recommend) a tutorial called "JavaScript for Jquery developers" which shows the standard cross-platform-compatible JavaScript equivalent to the major JQuery functions.
+1 Funny.
They can have my access logs when they pry them out of my cold, dead fingers.
Seriously -- I run a small website and I'm just not gonna bother installing special software to purge certain IP addresses from my logs upon request, then forget that I purged those IP addresses (because that would be tracking), then somehow un-forget them on a regular basis so I can purge them again, then forget them again, ....
I agree with Google, Facebook, et al. The bill is quite simply unenforceable, and thus has no force of law, whether passed or not.
I haven't paid into the medical system for over ten years, and am looking forward to defending myself against criminal charges for my "negligence". During the same period, my neighbor has received three elective surgeries, courtesy of the health care system, and is under no such danger of prosecution. It's not just the doctors who are playing it safe.
I loved my Pinto. I *miss* my Pinto.
In related news, the University of Michigan received a research grant from EYE Tech.
The trouble with fighting for human freedom is that one spends most of one’s time defending scoundrels. For it is against scoundrels that oppressive laws are first aimed, and oppression must be stopped at the beginning if it is to be stopped at all.
Please God those statistics never get read in congress, else the government safety inspectors will be wanting to install a shower cam in every bathroom.
Funny thing about that theory is that nearly everyone I know who owns a Mac runs Windows on it (via Parallels or some such virtualization layer) so they can keep their backwards-compatibility.
Share and enjoy!
That's actually a very common configuration. Ironically, the biggest business use for a Macbook is to run Windows apps by virtualization.
So the Macbook users suffer from double-taxation -- the Apple tax plus the Microsoft tax.
Any country which makes and enforces a minimum wage law will effectively cause all exportable labor-intensive jobs to move elsewhere. Simple economics, people.
http://science.slashdot.org/comments.pl?sid=1513326&cid=30795974
You obviously don't read very well. It took me about ten seconds to spot the violation:
ACADEMIC HONESTY POLICY ... students shall not engage inClearly, the student is guilty of altering materials (wires and glue) and equipment (Gatorade bottle and electronics) and should be thoroughly counseled to avoid future infractions.
I'm also a sysadmin at a social networking site with highly dynamic content. Unfortunately, Varnish won't help much because over 90% of the cumulative CPU time is ate up by the MySQL server.
Yup. I've installed lots of CMS/blogging/shopping-cart apps, and Drupal is the first one where I looked at the code and didn't go "EEEEWWWWWW!!!!"
For the record, I tried. And it's true, most of the core modules work with Postgres. But most of the non-core modules (which are what makes Drupal such a rich platform) don't. Too many developers code to MySQL and don't know or don't care that they are implementing hacks that won't work anywhere else.
For about two years I stubbornly stuck to PostgreSQL and submitted a steady flow of patches to the module maintainers. Some of them were accepted; some weren't. Then I upgraded to a bigger VPS with more memory and could afford to run MySQL and I quit fighting City Hall.
Yeah, it actually takes more RAM to run an optimally-tweaked MySQL server than an optimally-tweaked PostgreSQL server. Go figure.
Somebody told me Facebook runs on Erlang. Is that not true?
So alcoholic beverages are "food" according to the FDA. At least that's the logic they appear to be pursuing. I guess the next step is to subsidize beer with food stamps.
See above definition of "Critical"