Search found 4613 matches

by Telemachus
2015-06-28 17:38
Forum: Programming
Topic: very basic lisp question
Replies: 1
Views: 2866

Re: very basic lisp question

I'm pretty sure that the original poster asked this somewhere else and received an answer there . However, I'll write an answer here for people on this forum too. A Scheme if expression has three parts: (1) a test-expression , (2) a then-expression , and (3) an else-expression . The test-expression ...
by Telemachus
2014-06-03 14:10
Forum: General Questions
Topic: help with security
Replies: 1
Views: 551

Re: help with security

A good start is probably the Debian wiki on iptables . iptables is a huge subject, however, so it's easy to get bogged down quickly. My rule of thumb was always this: Drop nearly everything incoming (obvious exceptions like local loopback: if you block that, your computer no longer functions); allow...
by Telemachus
2013-04-21 00:59
Forum: General Questions
Topic: SSMTP Configuration Problem
Replies: 4
Views: 1866

Re: SSMTP Configuration Problem

We would probably need to know more about your setup and also see relevant bits of the configuration files. Looks like you're tacking on an extra @gmail.com somewhere along the way, but without knowing how you have the whole thing wired together, it's hard to say where it's going wrong.
by Telemachus
2013-04-21 00:56
Forum: Offtopic
Topic: (SOLVED) anybody familiar with mpc/mpd?
Replies: 4
Views: 1718

Re: anybody familiar with mpc/mpd?

I'm not sure if I understand exactly what you're describing, but I think the problem is that you have to quit ncmpcpp and restart it for the changes to take effect. That is, if you start ncmpcpp , and then run mpc update in another window, the update won't be reflected in the first window running nc...
by Telemachus
2012-09-21 13:35
Forum: Beginners Questions
Topic: apt-get autoremove
Replies: 7
Views: 4799

Re: apt-get autoremove

This thread may help you (or future Googlers who hit this thread).
by Telemachus
2012-01-20 14:39
Forum: Programming
Topic: [Solved] Trouble reading input inside bash while loop
Replies: 5
Views: 1668

Re: Trouble reading input inside bash while loop

side-note (and my favorite one :-) ; as its of the few things i know ): for f in $(ls "$HOME/Downloads/") should be for f in "$HOME/Download/* http://mywiki.wooledge.org/BashPitfalls#for_i_in_.60ls_.2A.mp3.60 I think you forgot a closing quote there: for f in "$HOME/Download/&qu...
by Telemachus
2012-01-16 23:15
Forum: Beginners Questions
Topic: path
Replies: 6
Views: 976

Re: path

I think what you are looking for is that psql is in /usr/bin, which is in your path by default. Agreed. @Dragonfish If smallchange is right, you're confusing a program in your $PATH with your $PATH itself. (Maybe a tutorial you followed mentioned having to add something to your $PATH ?) Type which ...
by Telemachus
2012-01-15 16:59
Forum: Beginners Questions
Topic: path
Replies: 6
Views: 976

Re: path

The initial setting is in /etc/profile. You can also make changes in $HOME/.bashrc or other login files. In general an installation shouldn't change your $PATH itself, I wouldn't think.
by Telemachus
2012-01-15 00:02
Forum: General Questions
Topic: [SOLVED] ReName Files: With InValid/UnIdentified Characters
Replies: 3
Views: 623

Re: ReNaming Files: With InValid/UnIdentified Characters

There are various things you can do, depending on how bad the characters are. But a generic approach is to use the item's inode number: telemachus aproposunix ❯❯ ls -i Rakefile 29991336 Rakefile telemachus aproposunix ❯❯ find . -inum 29991336 -exec mv {} foobar \; telemachus aproposunix ❯❯ ls foobar
by Telemachus
2012-01-14 23:53
Forum: Programming
Topic: Two loops for the price of one awk?
Replies: 6
Views: 2941

Re: Two loops for the price of one awk?

According to information I can find, awk has the following model: input: a file consisting of lines all having the same form and an awk program has the form BEGIN by doing something loop over the lines, doing the same things with each line END by doing something But it seems that awk would be much ...
by Telemachus
2012-01-04 17:53
Forum: General Questions
Topic: How to do a top > top.csv so that only instance comes ?
Replies: 3
Views: 471

Re: How to do a top > top.csv so that only instance comes ?

Try: top -n 1 Just fyi, that will still require CTRL-C to kill top . I think you meant top -l 1 which will get one set of samples and then exit. ( -n controls how many processes show - not how often top updates. A follow-up query, other than .csv is there any format people would suggest to get top ...
by Telemachus
2011-12-30 00:34
Forum: Programming
Topic: Installing nodejs, how to compile this
Replies: 2
Views: 1976

Re: Installing nodejs, how to compile this

You will definitely need the build-essential package from Debian (for a compiler and toolchain), and you'll also need Python (though you probably have that installed already). Node itself is C/C++ and uses a Python-based build system. However, it builds Google's v8 JavaScript engine as part of its b...
by Telemachus
2011-12-30 00:06
Forum: General Questions
Topic: [SOLVED] Unused packages not removed
Replies: 8
Views: 3253

Re: Unused packages not removed

So at one point I had some KDE packages installed which are now all removed. But browsing around in aptitude, I see that pretty much all the core KDE libraries and infrastructure are still installed even though I have them all marked as auto-installed. I have apt/aptitude configured to NOT automati...
by Telemachus
2011-09-08 00:26
Forum: Beginners Questions
Topic: apt-get autoremove, blind trust, and semi-essential packages
Replies: 9
Views: 1951

Re: apt-get autoremove, blind trust, and semi-essential pack

So, trusting the computer, I do, not bothering to read the chunk of packages that it recommends to remove. The computer does not bother as well.... Oh, I definitley agree. Problem between keyboard and all that. That said, it doesn't strike me as an event that should occur, at least under "norm...
by Telemachus
2011-07-29 16:17
Forum: Forum information, requests, and feedback.
Topic: Censorship on this board
Replies: 30
Views: 28581

Re: Censorship on this board

...and, could somebody explain why I can't send any PMs from my profile CP? Nobody's more surprised than I at that one :) I wonder whether some admin/mod accidentally turned it off? (Absolutely no sarcasm there.) It sounds like you're having the same issue that Sossego was. You might try emailing a...
by Telemachus
2011-07-28 01:27
Forum: Desktop & Multimedia
Topic: [SOLVED]mozilla-plugin-vlc install tries removing openoffice
Replies: 6
Views: 1454

Re: mozilla-plugin-vlc install tries removing openoffice

@sossego The -s option is a dry-run or simulation option. It's often a good idea in cases like this, no? @gurfle Your sources list is a bit unusual. It seems to be only the installer discs for Lenny (which is a bit ago now). Have you considered adding more up-to-date, active sources and upgrading/up...
by Telemachus
2011-07-14 17:16
Forum: General Questions
Topic: Ebook conversion application program?
Replies: 9
Views: 1654

Re: Ebook conversion application program?

I don't believe that there is a "Nook" format. I think they just use epub. (Also, I didn't think that books you bought from BN had DRM. I thought that was only Amazon.) Actually, after checking Wikipedia , it seems that the Nook readss straight epubs, but Barnes and Noble sells items that ...
by Telemachus
2011-07-13 17:01
Forum: Beginners Questions
Topic: Tips to be an expert in C++
Replies: 2
Views: 715

Re: Tips to be an expert in C++

someone once said "to learn something well, you need to put ~5000 h of practice/study into it." Sorry to say but I think it's 10,000 hours. http://www.wired.com/wiredscience/2010/08/how-to-raise-a-superstar/ (It's also very controversial as a rule , but either way, lots of practice is unl...
by Telemachus
2011-07-11 10:35
Forum: General Debian
Topic: When Debian fails, what is your next distro of choice?
Replies: 74
Views: 15018

Re: When Debian fails, what is your next distro of choice?

Slackware or one of the BSDs (probably OpenBSD or FreeBSD in that order).