NYCPHP Meetup

NYPHP.org

[nycphp-talk] Looking for a good accountant for 1099/business accounts

david.ngo david.ngo at benefitscheckup.org
Wed Sep 20 16:02:01 EDT 2006


Hello,
    Not exactly on topic, but I am looking for a good accountant to 
manage my 1099 contract taxes. Do you many of you guys have s-corps to
handle all your contracting jobs?

   Any recommendations?

-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of talk-request at lists.nyphp.org
Sent: Wednesday, September 20, 2006 3:47 PM
To: talk at lists.nyphp.org
Subject: talk Digest, Vol 40, Issue 35

Send talk mailing list submissions to
	talk at lists.nyphp.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.nyphp.org/mailman/listinfo/talk
or, via email, send a message with subject or body 'help' to
	talk-request at lists.nyphp.org

You can reach the person managing the list at
	talk-owner at lists.nyphp.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of talk digest..."


Today's Topics:

   1. Re: pcntl_fork() assistance (Chris Merlo)
   2. Re: pcntl_fork() assistance (Ben Sgro (sk))
   3. Re: pcntl_fork() assistance (Dan Cech)
   4. Re: "The Web is broken and it's all your fault." (Ken Downs)
   5. Re: pcntl_fork() assistance (Christopher R. Merlo)
   6. Re: pcntl_fork() assistance (Christopher R. Merlo)
   7. Re: pcntl_fork() assistance (Nunez, Eddy)


----------------------------------------------------------------------

Message: 1
Date: Wed, 20 Sep 2006 13:50:53 -0400
From: "Chris Merlo" <chris at theyellowbox.com>
Subject: Re: [nycphp-talk] pcntl_fork() assistance
To: "NYPHP Talk" <talk at lists.nyphp.org>
Message-ID:
	<946586480609201050l3e905d18jcafebb0f01e639b6 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

On 9/20/06, Joseph Crawford <codebowl at gmail.com> wrote:
>
> Hey guys,
>
> I am trying to use pcntl_fork() on the mac, hoever when i do
>
> $pid = pcntl_fork();
> echo $pid; // nothing returns
> I am guessing that it is returning a blank string but not sure how to
> debug that, i tried var_dump($pid) but i get nothing (not sure if this is
> due to being a command line util or not.
>

This is not specific to the pcntl_fork question (which I can't answer), but
if you're ever testing whether a string is empty, try something like this:

print "Here's the string: --" . $the_string . "--";

If you get "----" as output, the string is empty.
-c
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.nyphp.org/pipermail/talk/attachments/20060920/4575b75b/attachme
nt-0001.html

------------------------------

Message: 2
Date: Wed, 20 Sep 2006 14:01:12 -0400
From: "Ben Sgro (sk)" <skyline at publicmine.com>
Subject: Re: [nycphp-talk] pcntl_fork() assistance
To: "NYPHP Talk" <talk at lists.nyphp.org>
Message-ID: <002001c6dcde$c3e9d5d0$6401a8c0 at sickbox>
Content-Type: text/plain; charset="iso-8859-1"

Hey Chris, 

(Offtopic of fork( ), but in response to Chris)

Since you have double quotes, can't you just say
print "Here's the string: --$the_string--"; 

Also, I find it easy to do 
print "string($string)";

- Ben
  ----- Original Message ----- 
  From: Chris Merlo 
  To: NYPHP Talk 
  Sent: Wednesday, September 20, 2006 1:50 PM
  Subject: Re: [nycphp-talk] pcntl_fork() assistance


  On 9/20/06, Joseph Crawford <codebowl at gmail.com> wrote:
    Hey guys,

    I am trying to use pcntl_fork() on the mac, hoever when i do

    $pid = pcntl_fork();
    echo $pid; // nothing returns
    I am guessing that it is returning a blank string but not sure how to
debug that, i tried var_dump($pid) but i get nothing (not sure if this is
due to being a command line util or not. 

  This is not specific to the pcntl_fork question (which I can't answer),
but if you're ever testing whether a string is empty, try something like
this:

  print "Here's the string: --" . $the_string . "--"; 

  If you get "----" as output, the string is empty.
  -c



----------------------------------------------------------------------------
--


  _______________________________________________
  New York PHP Community Talk Mailing List
  http://lists.nyphp.org/mailman/listinfo/talk

  NYPHPCon 2006 Presentations Online
  http://www.nyphpcon.com

  Show Your Participation in New York PHP
  http://www.nyphp.org/show_participation.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.nyphp.org/pipermail/talk/attachments/20060920/3c73c992/attachme
nt-0001.html

------------------------------

Message: 3
Date: Wed, 20 Sep 2006 14:02:51 -0400
From: Dan Cech <dcech at phpwerx.net>
Subject: Re: [nycphp-talk] pcntl_fork() assistance
To: NYPHP Talk <talk at lists.nyphp.org>
Message-ID: <4511824B.4010908 at phpwerx.net>
Content-Type: text/plain; charset=UTF-8

Ben Sgro (sk) wrote:
> Hey Chris, 
> 
> (Offtopic of fork( ), but in response to Chris)
> 
> Since you have double quotes, can't you just say
> print "Here's the string: --$the_string--"; 
> 
> Also, I find it easy to do 
> print "string($string)";

What's wrong with good old var_dump($myvar), which will tell you exactly
what's in the variable regardless of whether it is a string or not.

Dan


------------------------------

Message: 4
Date: Wed, 20 Sep 2006 14:08:16 -0400
From: "Ken Downs" <ken at secdat.com>
Subject: Re: [nycphp-talk] "The Web is broken and it's all your fault."
To: talk at lists.nyphp.org
Message-ID: <j5wl1s.hrnnc7 at dhost2.secdat.com>
Content-Type: text/plain; charset="iso-8859-1"

&quot;Keith Casey&quot; &lt;mailinglists at caseysoftware.com&gt; wrote:&gt;
&gt;
Having a validation layer on the browser (js, whatever) is useful, but&gt;
it's not something to depend on for anything...hmm, thought that's what I
said in my post...
_________________________________________________________
This mail sent using V-webmail - http://www.v-webmail.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.nyphp.org/pipermail/talk/attachments/20060920/3acb0f6f/attachme
nt-0001.html

------------------------------

Message: 5
Date: Wed, 20 Sep 2006 15:22:46 -0400
From: "Christopher R. Merlo" <cmerlo at ncc.edu>
Subject: Re: [nycphp-talk] pcntl_fork() assistance
To: "NYPHP Talk" <talk at lists.nyphp.org>
Message-ID:
	<946586480609201222v55b74bc3ld52fc8fd723261bf at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

On 9/20/06, Ben Sgro (sk) <skyline at publicmine.com> wrote:
>
>  Hey Chris,
>
> (Offtopic of fork( ), but in response to Chris)
>
> Since you have double quotes, can't you just say
> print "Here's the string: --$the_string--";
>

Yes, you absolutely can.  Just sometimes I randomly decide to use different
delimeters -- say, 'x' -- where doing everything inline will break things:

print "Here's the string: xx$the_stringxx";

won't work.  :)

Also, I find it easy to do
> print "string($string)";
>

Same idea.
-c
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.nyphp.org/pipermail/talk/attachments/20060920/3451320c/attachme
nt-0001.html

------------------------------

Message: 6
Date: Wed, 20 Sep 2006 15:25:35 -0400
From: "Christopher R. Merlo" <cmerlo at ncc.edu>
Subject: Re: [nycphp-talk] pcntl_fork() assistance
To: "NYPHP Talk" <talk at lists.nyphp.org>
Message-ID:
	<946586480609201225j5e771665l4379eb8226082965 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

On 9/20/06, Dan Cech <dcech at phpwerx.net> wrote:

> What's wrong with good old var_dump($myvar), which will tell you exactly
> what's in the variable regardless of whether it is a string or not.


Probably nothing.  But when I was an undergrad, the debugger for Turbo
Pascal sucked out loud, so I very quickly became accustomed to debugging
through output, and it's something I still do, in C++, Java, PHP, whatever.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.nyphp.org/pipermail/talk/attachments/20060920/bb26c6c8/attachme
nt-0001.html

------------------------------

Message: 7
Date: Wed, 20 Sep 2006 15:47:02 -0400
From: "Nunez, Eddy" <enunez at tiaa-cref.org>
Subject: Re: [nycphp-talk] pcntl_fork() assistance
To: "NYPHP Talk" <talk at lists.nyphp.org>
Message-ID:
	
<15781715614BCB43AB7083C37880D19C01CB7545 at NYCPDMSXMB06.ad.tiaa-cref.org>
	
Content-Type: text/plain; charset="iso-8859-1"

Technically, var_dump is output.

You used Turbo Pascal too?  What a small industry it was back then.

Actually, I liked it's debugger ... the color highlighted code-stepping
was cool.

Was fun to see the variables change before your eyes while stepping
through code.

 

________________________________

From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
On Behalf Of Christopher R. Merlo
Sent: Wednesday, September 20, 2006 3:26 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] pcntl_fork() assistance

 

On 9/20/06, Dan Cech <dcech at phpwerx.net> wrote:

	 

	What's wrong with good old var_dump($myvar), which will tell you
exactly
	what's in the variable regardless of whether it is a string or
not.


Probably nothing.  But when I was an undergrad, the debugger for Turbo
Pascal sucked out loud, so I very quickly became accustomed to debugging
through output, and it's something I still do, in C++, Java, PHP,
whatever. 



**************************************************************
This message, including any attachments, contains 'confidential' information
intended for a specific individual and purpose, and is protected by law.  If
you are not the intended recipient, please contact sender immediately by
reply e-mail and destroy all copies.  You are hereby notified that any
disclosure, copying, or distribution of this message, or the taking of any
action based on it, is strictly prohibited.
TIAA-CREF
**************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.nyphp.org/pipermail/talk/attachments/20060920/2036f068/attachme
nt.html

------------------------------

_______________________________________________
talk mailing list
talk at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk


End of talk Digest, Vol 40, Issue 35
************************************




More information about the talk mailing list