This looks like it could be handy – or at least the recipe one to consider: PHPRESTSQL.
Category Archives: Coding, Software Engineering, Computer Science
Parsing HTML with your favorite language
This thread at Stack Overflow is just terrific. One for your bookmarks.
Related:
help.hackshackers.com: “What are the best tools for “scraping” data off a Web page for analysis in Excel or other software?”
Will Larson: “An Introduction to Compassionate Screen Scraping”
Michelle Minkoff: “How to Scrape Websites for Data without Programming Skills”
Firefox plugin: Outwit
Dan Nguyen: “Coding for Journalists 101 : A four-part series”
Prog-a-Month: “Easy HTML web scraping with Groovy and Java. (w/XOM)”
hacks/hackers teaming up with Mozilla on a course
This sounds like a fantastic opportunity for programmers who want to become familiar with journalism, and journalists to become familiar with programming.
Derek Sivers – “People kept telling me I was just not a singer – that I should give it up”
Derek Sivers: “After 15 years of practice…”.
Derek, you do the same as you did for singing, and you will become a great programmer in 10.
Related: A great thread at Hacker News.
Zed A. Shaw – “the novelty of the complex version makes it seem ‘clean’.”
Read Zed A. Shaw in his latest post, “The Wrong Aesthetic”, on a common coding craft error.
Matt Linderman – “Mistakes happen. Character is revealed by how you handle them.”
37signals: Bad call, great apology. It should be something we all learn as children, that our culture should encourage, but somehow, that’s not the case, and so this speaks to us a special lesson.
YouTube: “Jim Joyce Tearfully Accepts Lineup Card From Galaraga”:
If you make a mistake, admit it. It doesn’t make you a mistake. By admitting it you can learn from it. Others can learn from it. And hopefully, there is growth.
A HTTP load/traffic generator and benchmark tool built on Node.js
Nodeload is a stress test utility built on node.js.
Recent Journalist-Programmer reads
O’Reilly Radar: Mike Loukides: “What is Data Science?”
Media Shift: Marc Glaser: “Why Journalists Should Learn Computer Programming”
Rafe Colburn: “Why journalists should learn to program” – with a suggestion on what really to be digging into – and I agree.
Resource: Hacks/Hackers
Recent reads on API Design
ACM Queue: Ken Arnold: “Programmers are People, Too”
Communications of the ACM: “API Design Matters”
JavaWorld: “Joshua Bloch: A conversation about design”
InfoQ: Joshua Bloch: “Joshua Bloch: Bumper-Sticker API Design”
InfoQ: Video: Joshua Bloch: “How to Design a Good API & Why it Matters” (and a good thread on Hacker News).
Possible Resource: APIDesign Wiki
Making Emacs with emacs-starter-kit a little more friendly
Hopefully you’ve read the docs and know that you can override settings and implement your own extensions rather easily:
Create a Lisp file under ~/.emacs.d/ specific to your username ($USER-NAME.el) or system ($SYSTEM-NAME.el) that Emacs with emacs-starter-kit will load automatically at startup.
I’ve created mine specific to my user name – ~/.emacs.d/kmarti05.el. You can determine the value of your user-name in emacs by issuing C-h-v user-login-name.
Here is the contents of my ~/.emacs.d/kmarti05.el file:
;; visible bell (setq visible-bell nil) ;; allow selection deletion (delete-selection-mode t) ;; make sure delete key is delete key (global-set-key [delete] 'delete-char) ;; turn on the menu bar (menu-bar-mode 1) ;; have emacs scroll line-by-line (setq scroll-step 1) ;; set color-theme (color-theme-zenburn) (defun my-zoom (n) "Increase or decrease font size based upon argument" (set-face-attribute 'default (selected-frame) :height (+ (face-attribute 'default :height) (* (if (> n 0) 1 -1) 10)))) (global-set-key (kbd "C-+") '(lambda nil (interactive) (my-zoom 1))) (global-set-key [C-kp-add] '(lambda nil (interactive) (my-zoom 1))) (global-set-key (kbd "C-_") '(lambda nil (interactive) (my-zoom -1))) (global-set-key [C-kp-subtract] '(lambda nil (interactive) (my-zoom -1))) (message "All done!")