News for hackers. Stuff that matters.

ramen

Here is a library I wrote to make querying WordPress easier: https://github.com/ramen/wp-find

It has a more conventional builder-style API that may answer the complaints of those wishing for a more straightforward way to write loops.

Re:Why Facebook's 'Frictionless Sharing' violates HTTP on Sunday September 25, 2011 @12:13PM (#3036028)
Next up: Why web server logs violate HTTP.
Re:Oh, Adobe... read the copy, then view the source. on Thursday August 18, 2011 @01:06AM (#2898049)
What a shameful waste of a good front-end developer's time.
Re:Twitter’s Shit Sandwich on Thursday May 19, 2011 @02:51PM (#2565031)
Not until you mentioned it. Thanks for pointing this out.
Re:Sniff my browser: The Modernizr inadequacy on Tuesday May 17, 2011 @04:08PM (#2557676)
Modernizr does a lot of things, and creating CSS classes to mark the existence of features is just one of those things. Another thing that Modernizr does is allow you to style new HTML5 elements like <section>, <header>, etc. - I think that there is a similar issue here, and I'm really on the fence about it. Depending on the browser to execute Javascript so that CSS is able to style a new element seems risky, and for quite a marginal benefit. I guess people are just trying to make the future happen sooner, but it seems foolish to introduce an external dependency and scripting requirement just because <header> looks better than <div class="header">. What do we really gain here by being more "semantic"? Aren't we just trading reliability for fashion?
I assume that my ancient iPhone 3G will be exempt from this privacy update.
Re:Concepts The Emacs Newbie Should Master on Thursday April 14, 2011 @01:27PM (#2447666)
Also see delete-selection-mode. If you have:

    (delete-selection-mode 1)
    (transient-mark-mode 1) ; enabled by default in emacs 23+
you can mark a region and press delete or backspace (or start typing replacement text) to delete the region without affecting the kill ring.
Re:Dudes, this is so not REST on Tuesday March 15, 2011 @05:17PM (#2329430)
You have to use the "getlist" method instead of "get" if you are expecting multiple values.
Re:Don't waste your time by cd-ing in the terminal on Saturday February 19, 2011 @12:19AM (#2238471)
That's essentially what it does, but if you use the "autocd" option as well, you don't need to type "cd" - you can just use the name of a directory as a command. So, "autopushd" would ensure that these operations use the directory stack also.
Re:Don't waste your time by cd-ing in the terminal on Friday February 18, 2011 @07:08PM (#2237837)
What's the bash equivalent to zsh's "setopt autopushd"?
Re:An Open Letter To PC Makers: Ditch Bloatware, Now on Tuesday February 08, 2011 @04:44PM (#2195048)
A related issue is the fact that many drivers show up in the Add/Remove Programs list (or whatever they call it these days), so you can't just remove everything or you will find that your keyboard, touchpad, media card reader, etc. no longer work. Sometimes it can be really difficult to determine if a program is an essential driver or useless bloat.

Older »