On 3 November 2011 12:02, Ken Foskey wrote:
>> This is NOT a email scammer call, it is a business that is emailing and
>> wants their emails to be 'as valid as possible' before delivery.
Why do a separate prior check?
Sending with a few dead addresses shouldn't have any real cost. Then
later yo
On 6 January 2011 09:51, Peter Miller wrote:
> Hi Folks,
>
> Does anyone know the criteria that gdm greeter uses to generate its list
> of users? I want to remove some and add others.
http://askubuntu.com/search?q=gdm+user+list
in particular
http://askubuntu.com/questions/2471/how-to-hide-users-
On 20 December 2010 23:45, dave b wrote:
> On 20 December 2010 23:25, Peter Miller wrote:
>> On Mon, 2010-12-20 at 22:42 +1100, dave b wrote:
>>> ptrace.c:20: warning: implicit declaration of function ‘getpgid’
>>
>> The implicit prototype for the implicit declaration will be
>>
>> int get
On 20 December 2010 19:49, Erik de Castro Lopo wrote:
> dave b wrote:
>
>> Ha! no I didn't see any warnings at all :(
Well, you'd have to turn them on to see them.
>
> I highly recommend compiling with -Wall when using GCC.
>
> Personally, I also really like -Wextra.
>
> In fact, the default com
On 20 December 2010 15:17, dave b wrote:
>>> "
>>> * unptrace a task: move it back to its original parent and
>>> * remove it from the ptrace list.
>>> "
>>> So I guess maybe you can check if the pgid of a pid matches the
>>> parents ? / the ppid is ptrace mmm.
>>
>> I don't understand your 'how
On 20 December 2010 14:33, dave b wrote:
>>
>> "Being traced by the caller" still (maybe?) means the caller is
>> temporarily the parent of the process under investigation. So if
>> that's not true, that would falsify b. However, in other cases, you
>> might be the parent anyhow.
>
> kernel/ptra
On 20 December 2010 01:04, Peter Miller wrote:
> Quick quiz: is there a way, from outside a process, to know enough about
> a process to separate out the following cases...
>
> ptrace(2) can return ESRCH when
>
> (a) The specified process does not exist, or
> (b) is not currently being traced by t
Why not just pass it a string key rather than an int, ie
"\x0b\x0b..."? The manpage doesn't specifically say passing ints is
allowed afaics.
--
Martin
___
coders mailing list
coders@slug.org.au
http://lists.slug.org.au/listinfo/coders
Sorry, I was away, but I'm really glad you're feeling better.
--
Martin
___
coders mailing list
coders@slug.org.au
http://lists.slug.org.au/listinfo/coders
On 23 March 2010 10:42, Erik de Castro Lopo wrote:
> I know its possible to turn off anti-aliasing system wide, but I don't
> think that is a solution.
You can turn AA off or change the hinting algorithm for particular
fonts using ~/.fontconfig:
http://www.fontconfig.org/fontconfig-user.html
--
2009/7/29 Peter Miller :
> Ho coders,
>
> Today's quiz is related to ENOMEDIUM.
>
> Quite apart from the fact that huge numbers of English speakers are not
> even aware the "media" is a plural, let alone that "medium" is its
> singular, the strerror for this one ("No medium") is so terse as to be
>
That does sound like a useful thing.
> it said something more useful, like
>
> E: Invalid operation build-deps, did you mean build-dep instead?
>
> This goes for packages as well. Wouldn't it be great if
>
> apt-get install dns-utils
>
> instead of saying
>
> E: Couldn't find package dns
2009/4/25 Chris Johns :
> If I may move the topic back to "bash scripting" from "language bashing" ..
> ;)
>
> I find shell scripting handles some tasks better than say Python. I would
> rather use Python for these tasks but have not found a suitable solution. I
> need to build large packages and c
2009/3/2 Peter Miller :
> Hi Folks,
>
> libexplain 0.9 is out. I would apprciate it if some of you cold try it
> out, and let me know what you think.
>
> One of the things about the library is that all exported symbols start
> with "libexplain_" (linker name space cleanliness) but this doesn't
> n
On Mon, Nov 24, 2008 at 9:42 AM, Erik de Castro Lopo
<[EMAIL PROTECTED]> wrote:
> Martin Visser wrote:
>
>> The very old magic for this used to be edit the appropriate file in
>> /etc/X11/app-defaults
>>
>> for instance the following will change the default cursor when you hover
>> over a running i
On Tue, Nov 25, 2008 at 11:31 AM, Peter Miller <[EMAIL PROTECTED]> wrote:
> Hi Coders,
>
> Welcome to asymmetric API land once again.
> Today's subject is socket(2).
>
>int fd = socket(family, type, protocol);
>
> After the fact, you can retrieve 'type' from an open file descriptor
On Tue, Nov 18, 2008 at 3:52 PM, Peter Miller <[EMAIL PROTECTED]> wrote:
> Trying to explain the causes of obscure values is like a
> riddle-based mystery tour of Asymmetric Api Land. "Yes, that error
> happened; yes, the system knows why; no, the system will not tell you
> your crime. Guilty!
You can also use sysconf(3); I'm not sure if that's just a wrapper
around opening the /proc file.
If I was a user experiencing this, I don't think being told the
maximum number of files would be super helpful. Being told to look in
/proc/blah might be somewhat helpful. Being told which runaway
p
On Fri, Oct 10, 2008 at 1:14 PM, Erik de Castro Lopo
<[EMAIL PROTECTED]> wrote:
> Martin Pool wrote:
>
>> I think capabilities only apply to uid=0 processes so it's
>> probably not that.
>
> True, but CUPS runs as root. If can fork a process, use libcap
> to d
On Fri, Oct 10, 2008 at 12:45 PM, Erik de Castro Lopo
<[EMAIL PROTECTED]> wrote:
> John Ferlito wrote:
>
>> Also can the user cat /dev/ttyS0 ?
>
> Hmm, yes it can.
>
> Now's when I probably need to provide some more info. The process
> in question is a CUPS [0] backend driver that talks to a serial
On Fri, Jul 25, 2008 at 6:45 PM, Jamie Wilkinson <[EMAIL PROTECTED]> wrote:
> 2008/7/25 Ben Leslie <[EMAIL PROTECTED]>:
>> On Thu, Jul 24, 2008 at 6:37 AM, Adelle Hartley <[EMAIL PROTECTED]> wrote:
>>> When I'm coding in C++, I tend to spell things out more, but I put that down
>>> to my lack of kn
On Thu, Jul 24, 2008 at 7:37 PM, Adelle Hartley <[EMAIL PROTECTED]> wrote:
> Are there many programming languages in which the parentheses may be omitted
> when calling a function under certain circumstances, such as the parameter
> list having zero parameters, or the function has a specific semant
On 6/23/08, Ken Foskey <[EMAIL PROTECTED]> wrote:
>
>
> I have a need for a server to send out messages to every client on the
> local network. I was thinking of UDP however multicast might be a better
> fit http://en.wikipedia.org/wiki/Multicast.
>
> I have read multicast and I cannot work ou
I've just finished "The Little Schemer" and enjoyed it quite a lot.
http://www.ccs.neu.edu/home/matthias/BTLS/
It's an interesting book: it goes from assuming no knowledge of
programming to explaining the Y combinator and implementing a small
language interpreter. It is written in an idiosyncrat
On 6/25/07, Erik de Castro Lopo <[EMAIL PROTECTED]> wrote:
Hey Scott,
Scott Finneran wrote:
> So for those of us who came to software via the engineering route (as
> well as the repentant computer scientists) and didn't manage to trip
> over this stuff along the way where do we begin?
Next tim
On 4/17/07, Carlo Sogono <[EMAIL PROTECTED]> wrote:
I know that many people would tell me that one of the reasons for using
Python is to eliminate the need to do low level operations, but in my
case it's unavoidable. I am working on some cryptographic algorithms
that needs to work with bits. The
On 24 Jan 2007, Silvia Pfeiffer <[EMAIL PROTECTED]> wrote:
> >Ashley wrote:
> >
> >Afternoon Peoples,
> >
> >I've landed an opportunity that could lead me designing a system where
> >the coders are overseas. I'm used to designing and coding myself, or
> >at most one other.
> >
> >So I figured I nee
On 08/01/2007, at 2:45pm, Erik de Castro Lopo wrote:
Yeah, have some code I wrote years ago that seems to run slower
that I would like. I'm really just after some broad indiaction
of what takes the most time so I can do some localised algorithmic
optimisations.
I'd recommend lsprofile or hotsp
On 14/12/2006, at 1:15am, Andre Pang wrote:
I have a C string (char*) that's encoded in UTF-8. I'd like to
convert this to a wide string (wchar_t*). I've done plenty of
reading about mbstowcs(3), iconv(3) and friends, and from what I
understand, I have two options:
1. First, setlocale
On 17 Sep 2006, Jeff Waugh <[EMAIL PROTECTED]> wrote:
>
>
> > Jeff is on SLUG for self promotion, i.e., promotion of his business
> > interest. That's all.
I'd just like to say I hope this makes it into Jeff's sig file. :)
--
Martin
___
coders mailin
On 16 Aug 2006, Peter Hardy <[EMAIL PROTECTED]> wrote:
> Now. Why is python so easy going that it lets me always specify strings
> there, when the elements of params are clearly integers?
The format acts as a cast to str(), and integers do that by returning
their decimal representation. If you p
On 14 Jul 2006, Benno <[EMAIL PROTECTED]> wrote:
> On Fri Jul 14, 2006 at 09:44:46 +1000, Erik de Castro Lopo wrote:
> >Benno wrote:
> >
> >> Umm, because I'm totally lazy, and haven't actually been programming in it
> >> lately I'll just provide a pointer:
> >>
> >> http://javascript.crockford.co
On 20 Jun 2006, Matthew Palmer <[EMAIL PROTECTED]> wrote:
> Maybe the MT tools are clever enough to tell you which tests are most
> worthwhile -- but I doubt it. The mutations I've heard about (though
> probably not all of the ones that are used) are fairly simplistic and don't
> seem to be the s
On 19 Jun 2006, Adelle Hartley <[EMAIL PROTECTED]> wrote:
> Surely, for any interpreted language, it ought to be possible to build a
> version of the interpreter that records which parts of the byte code were or
> weren't executed?
It's possible to measure which instructions were executed or not;
On 17/06/2006, at 5:13 PM, Andre Pang wrote:
As an aside, one compiler warning I'd love to see is something to
warn you if you write this:
if (condition);
{
// Body of if statement...
}
voila:
% gcc -Wall -W test.c -c
test.c: In function ‘foo’:
test.c:3: warning: empty body in an
On 14/06/2006, at 3:20 PM, Jamie Wilkinson wrote:
This one time, at band camp, Tim Leslie wrote:
On 6/14/06, Jamie Wilkinson <[EMAIL PROTECTED]> wrote:
List comprehensions!
def is_prime(n, primes):
""" primes is a list of primes where sqrt(n) <= max(primes) <
n"""
for p in primes whi
36 matches
Mail list logo