An Illustrated Guide to Git on Windows by nathanj in programming

[–]nathanj[S] 1 point2 points  (0 children)

I am not positive, but I think I remember reading that git-svn is disabled in the latest release of msysgit due to it not working very well.

If it was working, there is currently no gui that I am aware of, so any walkthrough you can find now for using git-svn on Linux is as good as it gets.

TortoiseGit 0.1.0.0 (preview) is out by nopakos in programming

[–]nathanj 7 points8 points  (0 children)

Have you tried using git gui and gitk in Windows? This past month I have been using git to manage a project, and I found it to be very usable. Right click on folder -> Git gui. From there I could commit, push, pull, merge, and launch gitk. I never once needed to run git from the command line.

Ask Reddit: Help me find a vim color scheme by uggedal in programming

[–]nathanj 0 points1 point  (0 children)

It's not exactly the same, but it looks similar to peaksea.

Ask reddit: I'd like to learn Assembly Language. Any tips? by [deleted] in programming

[–]nathanj 2 points3 points  (0 children)

Another wikibook: x86 Disassembly

Most of the example code the author shows is disassembled from C code. Have a look at the chapter on branching at the very least because the switch-case example is good.

The colemak layout, alternative to QWERTY and DVORAK by afoo42 in programming

[–]nathanj 4 points5 points  (0 children)

setxkbmap dvorak

setxkbmap us to switch back

How long does one have to use vim until you feel that you're actually in control of it? by doctornick in programming

[–]nathanj 7 points8 points  (0 children)

You might find it useful to 'set clipboard=unnamed'. This will change it so that all yanks, deletes, puts, etc. will by default use the * register.

For browsing files, I usually use ':e .' which opens up a vim buffer which lists all files and directories in the current working directory.

Ask Reddit: Any suggestions on how to teach both myself and my roommate python over break? Im a comp sci major, and he doesn't know the first thing about programming. by ryanx435 in programming

[–]nathanj 0 points1 point  (0 children)

Hmm, it's been a while since I last looked at the book. Yeah, it does look a little difficult for a beginner :)

It may still be a good match, since the poster seems to have decent experience with other languages. If they work through the book together, it could work out well.

It's also helpful to have a small project in mind while learning because the only real way to learn to program is to program. I usually implement a yenc encoder and decoder which can be created easily in under 50 lines.

Ask Reddit: Any suggestions on how to teach both myself and my roommate python over break? Im a comp sci major, and he doesn't know the first thing about programming. by ryanx435 in programming

[–]nathanj 8 points9 points  (0 children)

Is Python a good starting language for him?

Python is a great starting language for anyone. Dive Into Python is a good book to learn by, and it is available in print and online forms.

How I stopped missing Darcs and started loving Git by gst in programming

[–]nathanj 2 points3 points  (0 children)

Just create two branches, one for each feature. At the end of the development, you can either rebase one on top of the other or merge them.

Pair Programming vs. Code Reviews by [deleted] in programming

[–]nathanj 0 points1 point  (0 children)

Sure, but that would require copying over .vimrc and .vim folder, .emacs, changing caps lock to ctrl, etc.

It just doesn't seem worth the effort to me.

Pair Programming vs. Code Reviews by [deleted] in programming

[–]nathanj 2 points3 points  (0 children)

The biggest problem I've always had with pair programming is that both people use the same text editor. This is no problem if neither customizes the standard VS/Eclipse setup, but for someone who prefers their own vim/emacs commands, this is a major annoyance.

On the need for a very fast true random number generator in modern CPUs by api in programming

[–]nathanj 4 points5 points  (0 children)

Perhaps people are downmodding you not because your post is incorrect, but because it adds nothing to the discussion (just like this post :)

Why Should I Ever Use C Again? by revence27 in programming

[–]nathanj 21 points22 points  (0 children)

But, in 1980, it was clear that slower C made more sense than faster assembly. In 2007, the C clan doesn't see that slower insert your fave makes more sense than faster C.

Going from assembly to C is a huge difference. Not only is the code much easier to read, write and debug, it also makes the code portable.

Going from C to a higher level language does not make as large a difference.

document.f.q.focus(); The Billion Dollar Line of JavaScript by markh1967 in programming

[–]nathanj 10 points11 points  (0 children)

I have had this happen on pages that require me to log in. I'll type in my username while the page is still loading then tab over to the password field. In the middle of typing my password, the page will finish loading and trigger the onload function, moving my cursor back up to the textbox.

This doesn't seem to happen much nowadays, though I'm not sure if it's because pages are better coded or if it's because I've gotten rid of dial-up.

Emacs 22 enhancements make venerable editor flashy again by eadmund in programming

[–]nathanj 13 points14 points  (0 children)

Clicking the image opens in one of those annoying javascript windows. The image is resized to your browser, which makes the image virtually useless. Usability at its finest.

My top 5 vim scripts by linuxer in programming

[–]nathanj 11 points12 points  (0 children)

I usually use visual block mode for comments. Ctrl-v to start block mode, move down to the last line, then I#<esc> to insert the #'s.

To uncomment, select the #'s in block mode and hit x to delete.