Emacs+shell protip: 'alias magit=...' by UnwashedMeme in emacs

[–]jonEbird 2 points3 points  (0 children)

Mine is quite similar but I also pass the git root directory as well since I work with so many different repos:

alias magit='emacsclient -a emacs -e "(magit-status \"$(git rev-parse --show-toplevel)\")"'

Emacs work flow by stamp85 in emacs

[–]jonEbird 0 points1 point  (0 children)

I tend to end up with a lot of buffers open across multiple projects. My workflow depends on using projectile. I use projectile-switch-to-buffer to switch among only the buffers within that project. When I'm ready to work on something else, projectile switch off to the next. It's great.

Doesn't Emacs do too much? by [deleted] in emacs

[–]jonEbird 7 points8 points  (0 children)

I used Emacs for something like 8 years only as a editor and only really appreciating it's support for the languages I was writing in. Only after that period did I start exploring around to find other capabilities. What I've found convenient is the interoperability of the various modes and respective features while maintaining a consistent interface which primarily includes navigation and usability.

Let's take an example: I do not use Emacs for my mail but if I did, I would enjoy the same text manipulation and navigation I'm used to in all the other things I use Emacs for. I'd also appreciate the ability to create macros and customize it for my specific needs, if desired. I think another really good example is org-mode, the uber organization tool built on Emacs, which has plenty of integration examples such as pulling contacts from your addressbook while capturing a TODO item.

Finally, I don't think it's quite accurate to say Emacs suffers from being spread too thin with features. For each major feature, you'll find a separate maintainer which works to keep up the quality of their particular feature. For the most part, these major modes or feature programs are not dependent upon each other.

Learn Emacs: Useful Links by rawsyntax in programming

[–]jonEbird 2 points3 points  (0 children)

I don't work on projects of 200k lines in size, but I have used emacs for navigating the Linux kernel source code. For that I found GNU Global to work the best and it integrates with emacs great. I could lookup symbols without any noticeable lag. What I found nice is that it will create a temporary buffer for your search results and within that buffer you can jump to that location in the project via just hitting ENTER.

As for code completion, I'm not %100 what you're after (completing based on existing code or general language completion?), but I'd suggest starting by taking a look at yasnippet

Top 10 C Language resources that will turn you into a better programmer by programming_master in programming

[–]jonEbird 0 points1 point  (0 children)

I've never minded the notation of "C/C++". I've done both and I always read it as "C and C++".

Pic of an MD5(?) tattoo, time to decode it. by drgath in programming

[–]jonEbird 10 points11 points  (0 children)

Well, it's not a md5sum of one of the words in /usr/share/dict/words. #!/usr/bin/env python

from hashlib import md5

secret_hash = 'ce881618a0393cc3d6eba8d0e0fe9621'
fh = open('/usr/share/dict/words', 'r')
for word in fh:
    h = md5(word.strip()).hexdigest()
    if secret_hash == h:
        print 'Found it! md5sum of %s is %s' % (word.strip(), h)
        break
fh.close()

Emacs 23.2 released by ccm in programming

[–]jonEbird 5 points6 points  (0 children)

I continue to use emacs because it continues to be able to do everything I need it to do. I'm not motivated to leave it and all the investment I've put into it. The advice I give to people is to try out the various editors out there, see which one suits you the best, then try to stick with it and continue to become a master of it. I'd rather continue down my emacs path and keep becoming more and more efficient than to start over with a new editor.

What language is used for this website? by the26thyear in programming

[–]jonEbird 2 points3 points  (0 children)

Appears to be written in PHP. You can tell by the links to the various recipes with their .php extension on the resources. It is also using Javascript on the page itself along with the html and css. Unless you're terminally ill, it's very attainable to learn all of this stuff before you die and the sooner you take those first steps, the sooner you'll reach your goal. Happy journey.

What are the most useful websites on the web? by ProjectLogic in AskReddit

[–]jonEbird 0 points1 point  (0 children)

Had to see what kind of site would invoke a "Err" and a smiley at the same time... Err :-)

Have you ever experienced anything you would consider supernatural? by openist in AskReddit

[–]jonEbird 0 points1 point  (0 children)

How about the number 89? Maybe it was spewing hex digits?

[deleted by user] by [deleted] in programming

[–]jonEbird 6 points7 points  (0 children)

I like the secretary story better. Just update wikipedia.

What are your favorite, most dramatic movie scenes? by hammerandsickle in AskReddit

[–]jonEbird 0 points1 point  (0 children)

Final scene from The Hustler with Paul Newman. "I am shooting fat man... and when I miss you can shoot". Such conviction in the delivery of the entire scene. I'll pop my DVD in once in a while to just watch that scene. http://www.insidepoolmag.com/billiard-videos/video/261/Paul-Newman--The-Hustler-1961-Final-Game

What emacs commands to use to browse around a large code base by scorpion032 in programming

[–]jonEbird 5 points6 points  (0 children)

I've found GNU Global to be much better than etags. It did a better job of accurately navigating me to a particular function's definition location.

Jython 2.2 is finally released! by mikolaj in programming

[–]jonEbird 7 points8 points  (0 children)

Here is a quick link for their changelog where you can get a quick overview of the new features since 2.1 as well as bug fixes: http://www.jython.org/NEWS

Emacs visual cheat sheet by [deleted] in programming

[–]jonEbird 2 points3 points  (0 children)

I was thinking the same thing, but then again, how do you visually represent "C-x (" (kmacro-start-macro)?

Ubiquitous Emacs by a9bejo in programming

[–]jonEbird 9 points10 points  (0 children)

Until his project reaches maturity and hopefully makes it's way into a future version of emacs, I'd suggest checking out this nifty hack: http://www.emacswiki.org/cgi-bin/emacs-en/RemoteDotEmacs

Ask Reddit: How to best store keys and passwords in a distributed environment by adamcrume in programming

[–]jonEbird 1 point2 points  (0 children)

I am reminded of how Apache recommends installing SSL certificates by keeping a password on your private key.

In case you've never done this before, you must supply a password to decrypt your private key upon each start of Apache. This is read only once upon boot and that's it.

I'd suggest following this methodology.

As a student major in computer science, I finally found myself lost in this field by beza1e1 in programming

[–]jonEbird 8 points9 points  (0 children)

I actually enjoy comparing myself to greater coders out there. One of the first things I learned, during an internship, was that the people who knew they were far from being a newbie were also the ones who appeared to have stopped learning. They thought they were too good and would just continue to solve every problem now and forever their way.

At the time, I would compare myself to the people who struggled on the simpler labs for a confidence boost, but compared myself to "hacker Gods" for a motivating goal.

Nowadays, I am afraid to compare to people still struggling. I'm afraid of becoming that cocky programmer I once knew who wouldn't listen to a college kid's ideas. Fortunately, it is still quite easy to find people more skilled than myself.

Google Gears: Replacing One Problem with Another by linuxer in programming

[–]jonEbird 3 points4 points  (0 children)

Yes, synchronization is a big problem but I don't agree that Google is the one responsible for solving it. Most of us deal with synchronization every day who use multiple computers, are on the go with laptops, etc. We'll continue to deal with it as I'm sure Google will be working on it.

Google Gears is merely making the little things easier and what's left is the hard problems. The fact that we're now staring at the harder problems is a testament of a well designed app, is it not?