background preloader

Vimcasts - free screencasts about the text editor Vim

Vimcasts - free screencasts about the text editor Vim

Self-Taught Developers: Are You Missing Your Foundation You seem to equate "foundation" with knowledge that's not immediately applicable. There's some truth to that, but I think it misses the forest for the trees. Knowledge is just the tip of the iceberg when it comes to excellence in software development. Think of programming like writing an essay. Programming is similar. Now from your "I'm fine" list it sounds like maybe you're not interested in excellence in programming per se, just in the business value you can create by programming well enough to solve your customers' problems. But if you want to be a good programmer, to really master the skill, then you need a bit more than a few tools that can solve most problems, and being able to learn new skills just in time. Knowing how to solve a problem 5 different ways means you can choose the best way for the current situation, knowing that the other 4 solutions will probably be called-for another time. I'm self-taught too, so I get it.

IAmDann Ruby Programming Language Creating a new GPG key | Ana Guerrero Lopez transacid said, on 2009-05-10 21:54:07+02:00: Hmm that may sound like a stupid question to you but why do you generate 2 keys, one for signing and one for encryption? Maybe i miss something their. Please enlighten me. Jonathan Thomas said, on 2009-05-10 22:35:52+02:00: The RSA key can't do both, so two keys are required.Anyway, thanks for this guide! ZSH-LOVERS(1) Mailpath: simple multiple mailpath: mailpath=($HOME/Mail/mbox'?new mail in mbox' $HOME/Mail/tux.u-strasbg'?new mail in tux' $HOME/Mail/lilo'?new mail in lilo' $HOME/Mail/ldap-fr'?new mail in ldap-fr') Mailpath: dynamic mailpath: Avoid globbing on special commands: for com in alias expr find mattrib mcopy mdir mdel which; alias $com="noglob $com" For migrating your bashprompt to zsh use the script bash2zshprompt located in the zsh source distribution under Misc. For migration from (t)csh to zsh use the c2z tool that converts csh aliases and environment and shell variables to zsh. Here are functions to set the title and hardstatus of an XTerm or of GNU Screen to zsh and the current directory, respectively, when the prompt is displayed, and to the command name and rest of the command line, respectively, when a command is executed: Put the following line into your ~/.screenrc to see this fancy hardstatus: caption always "%3n %t%? Special variables which are assigned:

Fast Track Clojure Java Anti-Patterns This page collects some bad code that may not look so obviously bad to beginners. Beginners often struggle with the language syntax. They also have little knowledge about the standard JDK class library and how to make the best use of it. In fact I have collected all examples from everyday junior code. I have modified the original code to give it example character and such that it highlights the problems. Many of these problems can easily be detected by SonarQube. Some of these may seem like micro-optimization, premature optimization without profiling or constant factor optimizations. If you are interested in how to pogram compiler friendly, look at the JDK Performance Wiki. In the end a lot of your application's performance depends on the overall quality of your code. Compare these scenarios (assume 100MB young generation): In the slower scenario the transaction duration is 10 times longer. String concatenation This is a real memory waster. Lost StringBuffer performance String name = ...

Guitar Repair School | NJ Guitar Repair School 6 reasons to use Pearltrees Pearltrees is the first and largest social curation community on the Internet. It’s a place to organize, discover and share all the cool content you find online. However, beyond this basic definition, a question remains: why would I want to use Pearltrees? Well, what I want to share with you are six major use cases (or reasons) we’ve identified as being most popular across our entire community of web curators. In addition, I’ll also share with you a couple of interesting ways in which I have put Pearltrees to use for myself. Hopefully, you’ll not only get value in learning how the community uses Pearltrees, but also be inspired to find even more clever and creative ways to use our software yourself. 3. The problem is that aside from searching your personal twitter stream to get back to the cool stuff you tweeted there’s no great way to keep those links at hand. Note: For advanced users you can even hashtag the links you tweet with #PT and the name of a pearltree in your account (e.g.

Clojure Libraries Don't write on the whiteboard :: Joseph Perla I recently interviewed at a major technology company. I won't mention the name because, honestly, I can't remember whether I signed an NDA, much less how strong it was. I did well. 1. When I interviewed at Palantir around 5 years ago, I had a lot of trouble with this. Most people think you have to write on the whiteboard. The interviewer started by asking me to code up a simple recursive calculation, using any language I wanted. The interviewers don't care. 2. So I asked for some paper and a pen. You should always have paper and pen anyway to write down ideas. Some of the best programmers figure out the high-level overview on paper before they write a single line of new code. 3. Even if you are a C++ systems guru. You will waste a lot of time writing string manipulation code and initialization code that you can do in one line of Python. All I had was a post-it note, a tiny amount of space. 4. Five minutes later, I had my algorithm. 5. 6. Read random Wikipedia articles. 7. 8. 9. 10. 11.

ps3 - How to eliminate Rocksmith audio delay completely - Arqade Sinatra: README This page is also available in Chinese, French, German, Hungarian, Korean, Portuguese (Brazilian), Portuguese (European), Russian, Spanish and Japanese. Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort: # myapp.rb require 'sinatra' get '/' do 'Hello world!' Install the gem: And run with: View at: It is recommended to also run gem install thin, which Sinatra will pick up if available. Routes In Sinatra, a route is an HTTP method paired with a URL-matching pattern. get '/' do .. show something .. end post '/' do .. create something .. end put '/' do .. replace something .. end patch '/' do .. modify something .. end delete '/' do .. annihilate something .. end options '/' do .. appease something .. end link '/' do .. affiliate something .. end unlink '/' do .. separate something .. end Routes are matched in the order they are defined. Route patterns may include named parameters, accessible via the params hash: Or with block parameters: locals

What I've Learned About Making ClojureScript Applications With Pedestal Posted on by Tero Parviainen Pedestal is an interesting beast. It aims to provide tools for building single-page ClojureScript webapps with the simplicity and elegance we've become accustomed to in Clojure. I think there's some truth in both claims. The Promise of ClojureScript I've been playing with ClojureScript since the very early days, and even wrote one of the early Hiccup ports back when there were no idiomatic rendering libraries. However, I haven't really been able to make myself comfortable doing substantial ClojureScript applications. I think I understand now what my problem has been: Since there hasn't been anything that provides an overall architectural backbone for ClojureScript apps, I've been attempting to replicate the way I do things in JavaScript. Pedestal When Pedestal was announced, I was excited about the prospect. Although the general idea of Pedestal was exciting, it was really the following piece of code in the documentation that hooked me in: What Pedestal Is

Related: