Top all-time · #1812
James Padolsey
Personal blog · james.padolsey.comprogrammingweb
James Padolsey's personal blog at james.padolsey.com covers programming and web. Since 2009, 43 different Hacker News readers have linked it 63 times, most often “JQuery source viewer”. The last post was in 2020, but the archive is still widely read.
James Padolsey - Software Engineer, Author and Founder. Building NOPE (AI safety infrastructure for crisis response); Founding Engineer at the Collective Intelligence Project.
Most-linked posts?
- JQuery source viewer6 people · 6 mentions · first linked 2011-06-02
- Detect IE in JavaScript without User-Agent sniffing3 people · 3 mentions · first linked 2010-08-29
- How to deal with bad code2 people · 2 mentions · first linked 2013-03-23
- Things you may not know about jQuery2 people · 2 mentions · first linked 2009-02-20
- “prettyPrint” is an in-browser JavaScript “variable dumper”2 people · 2 mentions · first linked 2009-06-06
- jQuery Lint2 people · 2 mentions · first linked 2010-01-18
What Hacker News says?
You do realise zepto works in IE10+ only, and even then you need an additional module for support. I wouldn't say it's worthwhile. It is not a viable alternative. I'm working on a widget that other people will embed on their page. I cannot make assumptions about jQuery being available and I cannot afford to add jQuery as a dependency. Assuming the widget was valuable to you, would you want to add my widget to your p…
Comment linking /jquery/
on “You might not need jQuery”Submitted Replacing text in the DOM… solved? as a story · 79 points
HN discussionAlso worth taking a look at: http://james.padolsey.com/jquery/ It lets you quickly view how a particular jQuery function/method works.
Comment linking /jquery/
on “Alternative jQuery Documentation”Submitted JS Adolescence: Change of opinion regarding certain JavaScript practices as a story · 39 points
HN discussionI use http://james.padolsey.com/javascript/prettyprint-for-javascr... at work in a debugging interface for AJAX requests. Sometimes having JSON pretty-printed in the sidebar is more convenient than clicking on it to expand it in the console.
Comment linking /javascript/prettyprint-for-javascript/
on “Json.human.js: Json Formatting for Human Beings”Submitted “prettyPrint” is an in-browser JavaScript “variable dumper” as a story · 38 points
HN discussionAuthor makes some points that are fine, I guess. A dev needs to carefully consider his audience and his fellow developers. If I can use jQuery and know that I'm not going to have cross-browser DOM API issues, then let me have it. Because the method simply doesn't work in older browsers (<IE8 http://caniuse.com/#search=queryselectorall ) It's not entirely fair to say that `$(".my-class li:first-child")` is equal to `…
Comment linking /jquery/
on “Native equivalents of jQuery functions”Submitted jQuery Lint as a story · 33 points
HN discussionSEEKING WORK, London, Remote Skill set - JavaScript, HTML5, CSS3, jQuery, MooTools, Underscore/lodash, Backbone, AngularJS, Canvas, SVG CV: http://padolsey.net/cv/cv.pdf Github: http://github.com/padolsey Website: http://james.padolsey.com
Comment linking /
on “Ask HN: Freelancer? Seeking freelancer? (May 2013)”Submitted Things you may not know about jQuery as a story · 25 points
HN discussion! -> "not truthy". So !! means "not 'not truthy'" which is truthy. Truthy is something that isn't exactly a true boolean but will equate to true(thy) when evaluated with this type of comparison. Things like undefined, null, and empty string will not be truthy. More info on what's truthy (for JavaScript at least) is here http://james.padolsey.com/javascript/truthy-falsey/ edit: typically, if you want to test for trut…
Comment linking /javascript/truthy-falsey/
on “What do you call this in Ruby?”Submitted JQuery source explorer as a story · 24 points
HN discussionTwo solutions that do something smarter than just global search/replace on the raw HTML: http://net.tutsplus.com/tutorials/javascript-ajax/spotlight-... http://james.padolsey.com/javascript/find-and-replace-text-w...
Comment linking /javascript/find-and-replace-text-with-javascript/
on “XKCD Substitutions Chrome extension”Submitted Functionless event handlers in jQuery as a story · 24 points
HN discussionThis one supports the latest (and older) versions of jQuery - http://james.padolsey.com/jquery/
Comment linking /jquery/
on “jQuery Deconstructed”Submitted JQuery Code Smells as a story · 13 points
HN discussionOne of the things i've recently built has an infinite scrolly feed of items, and http://airbnb.github.com/infinity/ is what I ended up using after using Masonry for a long time. Edit: along with Scroll Events http://james.padolsey.com/demos/scrollevents/
Comment linking /demos/scrollevents/
on “Masonry, infinite scrolling and Django”Submitted What JS devs seem to care about as a story · 11 points
HN discussionThis just in: abstractions are slower to process, faster to develop. It's not like this has been true of high-level programming languages for decades... Even jQuery's harmfulness has been discussed for years[1][2] as well as that of other front-end frameworks Angular[3]. Just like high-level programming languages, the goal of abstractions is not to achieve better performance, but to enable faster development time wi…
Comment linking /general/javascript-abstractions
on “JQuery considered harmful”Submitted Introducing: JSHTML as a story · 11 points
HN discussionI'd imagine that's the IE check's fault. I can switch it over to James Padolsey's check to see if that helps. ( http://james.padolsey.com/javascript/detect-ie-in-js-using-c... )
Comment linking /javascript/detect-ie-in-js-using-conditional-comments/
on “Respond.js: min/max-width CSS3 media queries for IE 6-8, and more”Submitted Partial loop unrolling in JavaScript as a story · 6 points
HN discussionSubmitted Fuzzy Scoring Regex Mayhem as a story · 5 points
HN discussionSubmitted How to deal with bad code as a story · 5 points
HN discussionSubmitted What is React JS [and the reason why it's superior] as a story · 4 points
HN discussionSubmitted Using proxies to mimic existential-operator behaviour as a story · 4 points
HN discussionSubmitted Things you may not know about jQuery (2009) as a story · 3 points
HN discussionSubmitted Terse JavaScript 101 – part 1 as a story · 3 points
HN discussionSubmitted Javascript library foundation code as a story · 3 points
HN discussionSubmitted Easy to use jQuery source viewer as a story · 2 points
HN discussion