Re: [PHP] Programmers and developers needed

2012-09-13 Thread Per Jessen
agbo onyador wrote: Hello there! We are looking for programmers and developers to create a world wide system. Your comments are welcome. Who is we ? -- Per Jessen, Zürich (12.2°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Got HTML5 History API + caching LICKED, I think, grin

2012-03-18 Thread Per Jessen
OSes. It worked fine with unzip on linux. -- Per Jessen, Zürich (11.9°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Got HTML5 History API + caching LICKED, I think, grin

2012-03-18 Thread Per Jessen
rene7705 wrote: On Sun, Mar 18, 2012 at 10:58 AM, Per Jessen p...@computer.org wrote: rene7705 wrote: In response to critiques about my download size, I've removed scenejs and the artwork for my own site-logos from the zip. The size is now 38mb, down from 54mb. I think it took about

Re: [PHP] utf8_decode() not working, conflicts with urlencode()

2011-08-30 Thread Per Jessen
() on $input before you attempt to decode the utf8 chars ? -- Per Jessen, Zürich (17.9°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] NOMAIL option for the list?

2011-05-18 Thread Per Jessen
-- Per Jessen, Zürich (14.7°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: NOMAIL option for the list?

2011-05-18 Thread Per Jessen
? As in unsubscribing? I mean, STOP receiving mail without UNSUBSCRIBING. Which is a standardd function of newer majordomo and mailman. ezmlm uses the expression 'alias' for this functionality. See my posting from yesterday. -- Per Jessen, Zürich (16.9°C) -- PHP General Mailing List (http

Re: [PHP] Session question

2011-05-17 Thread Per Jessen
Paul Halliday wrote: Is it OK to have session_start as an include? Yes. -- Per Jessen, Zürich (18.1°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Running PHP5 in a PHP4 environment

2011-05-13 Thread Per Jessen
logs, that is where you will usually find something. -- Per Jessen, Zürich (14.2°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Javascript detection

2011-04-28 Thread Per Jessen
tedd wrote: As Yogi Berra once said; It's always hard to predict things especially when it deals with the future. He was quoting Niels Bohr: http://www.quotationspage.com/quote/26159.html -- Per Jessen, Zürich (10.2°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] XML... Useful or another layer of complexity?

2011-04-03 Thread Per Jessen
to be without XML. -- Per Jessen, Zürich (16.6°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Bilingual strtotime()

2011-02-07 Thread Per Jessen
() is an unusual function in that it attempts the reverse - transform arbitrary text into data. -- Per Jessen, Zürich (5.2°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Bilingual strtotime()

2011-02-06 Thread Per Jessen
Alexis wrote: On 05/02/11 13:23, Per Jessen wrote: Alexis wrote: Hi, Living in Canada, and being a bilingual country, I have data I am processing which includes dates in both English and French. I was wondering if there was a way to use the strtotime() function when the months

Re: [PHP] Bilingual strtotime()

2011-02-06 Thread Per Jessen
think strtotime() is locale-sensitive - according to the manual: The function [strtotime] expects to be given a string containing an English date format -- Per Jessen, Zürich (4.6°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Bilingual strtotime()

2011-02-05 Thread Per Jessen
, strftime() is locale-sensitive. Set the locale(). -- Per Jessen, Zürich (4.4°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Per Jessen
with universal approval. -- Per Jessen, Zürich (5.9°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Per Jessen
the same. Yes, I wouldn't want to be without my local php.net mirror. Other languages that can easily match the quality of the documentation - assembler, C and C++, to name a few. -- Per Jessen, Zürich (7.9°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Per Jessen
/Hungarian_notation -- Per Jessen, Zürich (7.8°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-11 Thread Per Jessen
characters intended. Only for characters that are not part of a national alphabet, I believe? This one works fine: http://rugbrød.ch/ Besides, many domain registrars also limit the available characters to those that are part of a national alphabet. -- Per Jessen, Zürich (0.0°C) -- PHP General

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-11 Thread Per Jessen
tedd wrote: At 11:54 AM +0100 1/11/11, Per Jessen wrote: tedd wrote: At that time, I registered almost 30 names. Fortunately, all of my names passed and I was permitted to keep them. Unfortunately, all browser manufactures (except Safari) negated some of the work done by the IDNS WG

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-11 Thread Per Jessen
consist of digits. Do you know, that there are MANY domains with numbers only? Here is a list of 197 such Swiss domains: http://public.jessen.ch/files/ch-domains-only-numeric.txt -- Per Jessen, Zürich (0.0°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-09 Thread Per Jessen
/rfcs/rfc2396) , I'm wondering what mods to make for this now that unicode chars are allowed in domain names You're talking about IDNs ? The actual domain name is still US-ASCII, only when you decode punycode do you get UTF8 characters. -- Per Jessen, Zürich (10.1°C) -- PHP General

Re: [PHP] Regex for telephone numbers

2010-12-31 Thread Per Jessen
as NNN NN NN, but also often in a way that will help remembering the number. Danish mobile#s are the same as land line numbers, no area code, just . -- Per Jessen, Zürich (2.8°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Regex for telephone numbers

2010-12-31 Thread Per Jessen
, without leading a 1. Check your entry carefull); } One regex and two function calls when one regex would have sufficed? -- Per Jessen, Zürich (2.6°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Centralizled Authentication

2010-12-02 Thread Per Jessen
include Microsofts Active Directory, Novells eDirectory and openLDAP. -- Per Jessen, Zürich (-1.4°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Centralizled Authentication

2010-12-02 Thread Per Jessen
. -- Per Jessen, Zürich (-0.9°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Disk IO performance

2010-11-28 Thread Per Jessen
ought to be much converned with. Leave it to the smart operating system. -- Per Jessen, Zürich (1.6°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Check for existence of mail address

2010-10-26 Thread Per Jessen
. The closest approximation of email address exists is MX will accept mail for it. -- Per Jessen, Zürich (5.4°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reminder On Mailing List Rules

2010-10-21 Thread Per Jessen
sueandant wrote: Hi I'm not familiatr with the term top-post; could you please explain? http://lmgtfy.com/?q=top-post -- Per Jessen, Zürich (3.7°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and HBCI?

2010-10-08 Thread Per Jessen
for the C functions, but otherwise yes. -- Per Jessen, Zürich (17.9°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What other languages do you use?

2010-10-08 Thread Per Jessen
Nathan Rixham wrote: As per the subject, not what other languages have you used, but what other languages do you currently use? French, German, English and Danish. -- Per Jessen, Zürich (14.9°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] What other languages do you use?

2010-10-08 Thread Per Jessen
Per Jessen wrote: Nathan Rixham wrote: As per the subject, not what other languages have you used, but what other languages do you currently use? French, German, English and Danish. Wrt programming languages (and variations thereof), in order of usage, I use C, PHP, C++, assembler

Re: [PHP] What other languages do you use?

2010-10-08 Thread Per Jessen
Nathan Rixham wrote: Per Jessen wrote: Nathan Rixham wrote: As per the subject, not what other languages have you used, but what other languages do you currently use? French, German, English and Danish. Forhåbentlig ikke alle zur en même temps Ork jo, das ist doch ikke ein

Re: [PHP] What other languages do you use?

2010-10-08 Thread Per Jessen
Per Jessen wrote: Nathan Rixham wrote: Per Jessen wrote: Nathan Rixham wrote: As per the subject, not what other languages have you used, but what other languages do you currently use? French, German, English and Danish. Forhåbentlig ikke alle zur en même temps Ork jo, das

Re: [PHP] Re: daemon

2010-10-07 Thread Per Jessen
do). /Per -- Per Jessen, Zürich (12.9°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHPExcel with large files (27,000+ rows)

2010-10-04 Thread Per Jessen
with PHP. If your excel file is or can be transformed to XML, I would just use XSLT. No PHP needed. -- Per Jessen, Zürich (19.1°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Friday's Post

2010-10-02 Thread Per Jessen
Peter Lind wrote: On 1 October 2010 20:21, Per Jessen p...@computer.org wrote: Peter Lind wrote: C# has by now exceeded Java by quite a bit - I've been away from the Java scene since 2002 (when I worked for BEA deploying J2EE on Linux/390), but assuming you're talking about deployed lines

Re: [PHP] Re: Friday's Post

2010-10-01 Thread Per Jessen
further than Fortran, C, Cobol and PL/I, but they're all very much alive and kicking. And will each individually probably be able to muster more deployed lines of code than any other language. -- Per Jessen, Zürich (12.1°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] PHP DNS resolving in chroot-ed environment

2010-09-27 Thread Per Jessen
, but the resolving still fails. strace showed failed accesses to /dev/urandom and /dev/log, but mounting /dev in the chroot didn't help. What does your strace show when you have mounted /dev in your chroot (with -o bind) ? -- Per Jessen, Zürich (10.1°C) -- PHP General Mailing List (http

Re: [PHP] php cli question

2010-09-14 Thread Per Jessen
them in the past, but never looked at in depth to understand all the nuances. Anecdotally, I have done 'unset()' at some critical places were large arrays were used, and I think it helped. AFAIK, unlike Java, there is no 'garbage collector' thread that does all the magic? Correct. -- Per

Re: [PHP] php cli question

2010-09-14 Thread Per Jessen
J Ravi Menon wrote: On Tue, Sep 14, 2010 at 12:43 AM, Per Jessen p...@computer.org wrote: J Ravi Menon wrote: Few questions: 1) Does opcode cache really matter in such cli-based daemons? As 'SomeClass' is instantiated at every loop, I am assuming it is only compiled once as it has already

Re: [PHP] 1984 (Big Brother)

2010-09-12 Thread Per Jessen
not be acceptable. So, what methods would you suggest? I would ask the boss to confirm his presence maybe once an hour and only allow employees access when the last such confirmation is less than an hour old. -- Per Jessen, Zürich (21.4°C) -- PHP General Mailing List (http://www.php.net

Re: [PHP] Standalone WebServer for PHP

2010-09-11 Thread Per Jessen
, that creates it's own web server even if apache is installed. Yep, that's no big deal. A webserver is just some code that listens for requests on port XX, processes the requests and sends back suitably formatted responses. -- Per Jessen, Zürich (12.2°C) -- PHP General Mailing List (http

Re: [PHP] SSI not working on PHP files with Apache

2010-09-02 Thread Per Jessen
Michael Alaimo wrote: Does special configuration have to take place with PHP to let apache process server side include files that are HTML documents? PHP doesn't care, but you will need to configure apache to do both SSI and PHP processing. -- Per Jessen, Zürich (17.8°C) -- PHP

Re: [PHP] Secure Communication?

2010-08-30 Thread Per Jessen
- get your own server and secure it. A leased server is available for e.g. EUR50/month and that money is better spent than you spending hour after hour trying to secure your application to run on an insecure server. -- Per Jessen, Zürich (10.4°C) -- PHP General Mailing List (http://www.php.net

Re: [PHP] Questions about $_SERVER

2010-08-29 Thread Per Jessen
the client. -- Per Jessen, Zürich (17.2°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Secure Communication?

2010-08-29 Thread Per Jessen
for establishing what I think is secure communication between two servers. First thought - you're reinventing the wheel. When I connect to a server via https, I have secure communication. -- Per Jessen, Zürich (16.5°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Secure Communication?

2010-08-29 Thread Per Jessen
Jim Lucas wrote: Per Jessen wrote: tedd wrote: Hi gangl: I realize that the problem stated herein has been solved by others, so I'm not claiming I've done anything new -- it's only new to me. It was a learning experience for *me* and my solution may help others. In any event, I've

Re: [PHP] Secure Communication?

2010-08-29 Thread Per Jessen
HTTP + TLS. I didn't bother reading the rest because I had already had trouble understanding your previous questions. Also, as per another responders statement, using a SSL does not necessarily mean that the server is more secure. Yes, it has no bearing on the security of the server, but using

Re: [PHP] Questions about $_SERVER

2010-08-28 Thread Per Jessen
you the name of the virtual host - I don't know if that is what you're after. -- Per Jessen, Zürich (12.2°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Web application architecture (subdomain vs. sub directory)

2010-08-27 Thread Per Jessen
Tim Martens wrote: Based on advice here and elsewhere, I think we're tending toward a an no framework MVC approach and sub-directory model to get started. As Per so elegantly stated The subdirectory approach is easily rewritten to an internal subdomain structure. So if we need to pivot

Re: [PHP] Web application architecture (subdomain vs. sub directory)

2010-08-26 Thread Per Jessen
. This (in my mind) puts username a level lower than myapp, whereas username.myapp.com does the opposite. -- Per Jessen, Zürich (17.7°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Web application architecture (subdomain vs. sub directory)

2010-08-26 Thread Per Jessen
to integrate with them and to maintain. The subdirectory approach, whereas, is very cumbersome and takes more work at your end to paraphrase the whole set-up should the needs change going forward. The subdirectory approach is easily rewritten to an internal subdomain structure. -- Per

Re: [PHP] Web application architecture (subdomain vs. sub directory)

2010-08-26 Thread Per Jessen
Peter Lind wrote: On 26 August 2010 08:08, Per Jessen p...@computer.org wrote: Tim Martens wrote: Thanks for all your answers. To clarify my question, I'm looking for advice regarding how best to set up users for a web app, e.g., username.myapp.com vs myapp.com/username and the pros

Re: [PHP] How verify whether browser arrived via IPv6, IPv4, domain or number

2010-08-18 Thread Per Jessen
addresses. You need getaddrinfo(), but that is AFAIK not yet implemented for php. Also what is the best way in php to check if an address is IPv4 or IPv6? preg_match() ? -- Per Jessen, Zürich (16.2°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] the state of the PHP community

2010-07-30 Thread Per Jessen
? No and no. Are you a member or any other web tech communities, opensource efforts, or standardization bodies - again, if so which? ACM, IEEE, openSUSE. -- Per Jessen, Zürich (16.4°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] the state of the PHP community

2010-07-30 Thread Per Jessen
Bob McConnell wrote: In chronological order - Languages: [snip] C++ (Still don't understand the purpose of objects or classes). Two words - encapsulation and abstraction. -- Per Jessen, Zürich (17.1°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] the state of the PHP community

2010-07-30 Thread Per Jessen
, the language itself is as 'stale' as maybe C or Java or assembler - the language shouldn't change all that often, nor should the core libraries, but everything else is free to do whatever. -- Per Jessen, Zürich (17.0°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: RE: [PHP] the state of the PHP community

2010-07-30 Thread Per Jessen
Bob McConnell wrote: From: Per Jessen Bob McConnell wrote: In chronological order - Languages: [snip] C++ (Still don't understand the purpose of objects or classes). Two words - encapsulation and abstraction. Both of which are euphemisms that simply mean obfuscation. Certainly

Re: [PHP] socket multithreading problem

2010-07-29 Thread Per Jessen
Ümit CAN wrote: I use PHP socket programming and I wish multithreading operation of the socket . Don't use PHP, use C - it'll save you a lot of trouble in this context. -- Per Jessen, Zürich (15.4°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] exec output to mySQL, How?

2010-07-21 Thread Per Jessen
Tom Sparks wrote: How do I take the output from a command line program and update a MYSQL database with it? command line program | mysql -u user -p -Ddatabase -- Per Jessen, Zürich (22.6°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] exec output to mySQL, How?

2010-07-21 Thread Per Jessen
Nilesh Govindarajan wrote: On Wed, Jul 21, 2010 at 12:29 PM, Per Jessen p...@computer.org wrote: Tom Sparks wrote: How do I take the output from a command line program and update a MYSQL database with it? command line program | mysql -u user -p -Ddatabase I don't think this is what he

Re: [PHP] Image Replication

2010-07-20 Thread Per Jessen
have 3 in a load balanced cluster. Linux servers. How did you go about it? rsync triggered by inotify. -- Per Jessen, Zürich (27.8°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php -l - does it find *anything*?

2010-07-06 Thread Per Jessen
- int main() { char *p; p=0; *p=0; } this is 100% syntactically correct, but will core dump if you run it. -- Per Jessen, Zürich (24.2°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTML in emails

2010-07-06 Thread Per Jessen
to being plain text. We decided to jazz them up a bit, and it worked. -- Per Jessen, Zürich (25.6°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTML in emails

2010-07-04 Thread Per Jessen
straight to sending simple html pages since all modern browsers handle it well. And, it appears to be the way web is going. What are you folks doing? We follow the standard and send both text and html. -- Per Jessen, Zürich (24.5°C) -- PHP General Mailing List (http://www.php.net

Re: [PHP] HTML in emails

2010-07-04 Thread Per Jessen
Rick Pasotto wrote: On Sun, Jul 04, 2010 at 06:31:38PM +0200, Per Jessen wrote: We follow the standard and send both text and html. The text portion is the *only* portion I read. Cool, that is the whole point. -- Per Jessen, Zürich (24.3°C) -- PHP General Mailing List (http

Re: [PHP] protecting email addresses on a web site

2010-06-15 Thread Per Jessen
to email if needed. I can not use javascript for this solution. I wouldn't bother - you won't escape the spammers anyway. :-( -- Per Jessen, Zürich (15.9°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] protecting email addresses on a web site

2010-06-15 Thread Per Jessen
for contact details. Paul It's not my requirement, it's been a legal requirement in the UK for 3 years now. It's a pretty common EU requirement for anything business related. -- Per Jessen, Zürich (16.0°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] getaddrinfo() - what is the equivalent php function?

2010-05-27 Thread Per Jessen
Per Jessen wrote: AFAICT, gethostbyname() only works for ipv4 addresses, so that one is out - dns_get_record seems to be really for dns only, i.e. it does not look at /etc/hosts. Is there a hph function that essentially just calls getaddrinfo() ? Wow, lots of answers to that one. Let me

[PHP] getaddrinfo() - what is the equivalent php function?

2010-05-26 Thread Per Jessen
AFAICT, gethostbyname() only works for ipv4 addresses, so that one is out - dns_get_record seems to be really for dns only, i.e. it does not look at /etc/hosts. Is there a hph function that essentially just calls getaddrinfo() ? -- Per Jessen, Zürich (19.1°C) -- PHP General Mailing List

Re: [PHP] Really impressive work

2010-05-06 Thread Per Jessen
that each piece of jewelry must have the coordinates of each setting in a database so that they can on-the-fly assemble the finished product as per user's direction. For example, let's take the image of the basket pendant showing three stones. Each of the stone locations would have a specific pixel

Re: [PHP] What is wrong with this code?

2010-04-28 Thread Per Jessen
wrong :( Might this be better: public static function getMessage($ec) { $text = ''; if (array_key_exists($ec, $errors)) { $text = $errors[$ec]; } return $text; } -- Per Jessen, Zürich (11.2°C) -- PHP General Mailing List (http

Re: [PHP] getting content exceprts from the database

2010-04-26 Thread Per Jessen
the HTML and extract the text elements. If the HTML is well-formed, this is relatively easily done with XSL, if not, you might need to use Beautiful Soup or similar. -- Per Jessen, Zürich (16.1°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Re: replying to list (I give up)

2010-04-25 Thread Per Jessen
Michiel Sikma wrote: On 24 April 2010 16:14, Per Jessen p...@computer.org wrote: Ashley Sheridan wrote: Is there an actual WoW client for Linux or you run in Wine like environment? Thanks, Tommy I run it under Wine. Wine has come a long way since my first encounters

RE: [PHP] Re: replying to list (I give up)

2010-04-24 Thread Per Jessen
need DirectX and all that? I have some old Windows games (Diablo, Alpha Centauri, Railroad Tycoon, Wolfenstein) I'd love to play under Wine, but so far I've not managed to make them work. -- Per Jessen, Zürich (19.7°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Hello everybody - php newbie from switzerland

2010-04-22 Thread Per Jessen
Dan Joseph wrote: On Wed, Apr 21, 2010 at 8:38 PM, David McGlone da...@dmcentral.net wrote: Are we gonna have to have a discussion on the use of threading? LOL We just might. Personally, I use it to sow holes in the toe of my socks. My newsreader supports threading. -- Per

Re: [PHP] replying to list

2010-04-21 Thread Per Jessen
checked, but I think all the lists I am on behave like this one. -- Per Jessen, Zürich (14.8°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] replying to list (I give up)

2010-04-21 Thread Per Jessen
-All. -- Per Jessen, Zürich (16.2°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] replying to list (I give up)

2010-04-21 Thread Per Jessen
in this respect. Of course there are also lists that work the other way, but the PHP list is far from alone. -- Per Jessen, Zürich (17.0°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] replying to list (I give up)

2010-04-21 Thread Per Jessen
David McGlone wrote: On Wed, 2010-04-21 at 17:07 +0200, Per Jessen wrote: David McGlone wrote: Also, I do not want this discussion to turn into a flame war or anything of such. I am simply just trying to have a discussion and learn why and how there is different behavior here

Re: [PHP] How to do i18n better?

2010-04-20 Thread Per Jessen
is 'prefer-language'. -- Per Jessen, Zürich (12.4°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to do i18n better?

2010-04-20 Thread Per Jessen
Ashley Sheridan wrote: On Tue, 2010-04-20 at 20:27 +0200, Per Jessen wrote: Ashley Sheridan wrote: That's the check I did on the last site i worked on (vicestyle.com) The user agent string is checked for a language and the site uses that. If none is found (bearing in mind that there's

Re: [PHP] How to enable mail function with postfix supported.

2010-04-20 Thread Per Jessen
sendmail equivalent, yuo should not have any problem using postfix. I certainly don't. -- Per Jessen, Zürich (8.2°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to do i18n better?

2010-04-19 Thread Per Jessen
a look at the gettext() mechanism: http://php.net/manual/en/book.gettext.php -- Per Jessen, Zürich (14.9°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: optimizing PHP for microseconds

2010-03-29 Thread Per Jessen
, microseconds are probably not important. Depends on how many of those bundles you expect to be able to produce per minute/hour/day as well as what is supposed to happen with them after they've been assembled. -- Per Jessen, Zürich (10.8°C) -- PHP General Mailing List (http://www.php.net

Re: [PHP] Allowing multiple, simultaneous, non-blocking queries.

2010-03-28 Thread Per Jessen
there in some way? AFAICT (i.e. without having tried it), myqlnd enables you to do asynchronous queries on mysql - the docuementation is a little lacking. Personally speaking, that would be my first avenue of attack. -- Per Jessen, Zürich (8.2°C) -- PHP General Mailing List (http

Re: [PHP] RE: optimizing PHP for microseconds

2010-03-26 Thread Per Jessen
practice, not optimizing, imho. Optimizing is what you do later. I come from the video game world where gaining a frame or two of animation per second matters. It makes your game feel less choppy and more fluid and therefore more fun to play. Well, if you were writing PHP video games, I can

Re: [PHP] Will PHP ever grow up and have threading?

2010-03-26 Thread Per Jessen
Peter Lind wrote: Anyway, I don't think either of us will change point of view much at this point - so we should probably just give the mailing list a rest by now. Thanks for the posts, it's been interesting to read :) Most of it. +1 -- Per Jessen, Zürich (11.6°C) -- PHP General Mailing

RE: [PHP] Will PHP ever grow up and have threading?

2010-03-25 Thread Per Jessen
that is a given in most EVERY other language. Actually, most don't have it built-in, it usually comes in separate libraries and is an operating-system feature, not a language feature. Two notable exceptions I can think of are Ada and PL/1. -- Per Jessen, Zürich (11.4°C) -- PHP General Mailing List

Re: [PHP] Re: Will PHP ever grow up and have threading?

2010-03-25 Thread Per Jessen
the database, but I'm assuming you've already been there). -- Per Jessen, Zürich (11.9°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Will PHP ever grow up and have threading?

2010-03-25 Thread Per Jessen
. -- Per Jessen, Zürich (12.3°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Will PHP ever grow up and have threading?

2010-03-25 Thread Per Jessen
for anyone who has studied computer science - where he or she will already have been introduced to mutexes, semaphores, the Dining Philosophers, race conditions, deadlocks and such. -- Per Jessen, Zürich (12.6°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Will PHP ever grow up and have threading?

2010-03-25 Thread Per Jessen
in parallel, the sooner the request fulfillment completes, the faster it is to move to the next request and complete it right? Correct. -- Per Jessen, Zürich (12.7°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Will PHP ever grow up and have threading?

2010-03-25 Thread Per Jessen
Per Jessen wrote: CPU 100% - rarely, but it happens. Memory 100% - all the time. Disk IO 100% - less than all the time, but it's very busy. FYI, it's actually quite difficult to drive a disk subsystem to consistent 100% utilization over a period of time. Oracle uses asynchronous I/O

Re: [PHP] Will PHP ever grow up and have threading?

2010-03-25 Thread Per Jessen
Tommy Pham wrote: On Thu, Mar 25, 2010 at 1:46 AM, Per Jessen p...@computer.org wrote: * If you could implement threads and run those same queries in 2+ threads, the total time saved from queries execution is 1/2 sec or more, which is pass along as the total response time reduced

Re: [PHP] A cleaner way to do this?

2010-03-25 Thread Per Jessen
if ( ($matches=preg_match(linepattern3,text,match))0 ) { } else if ( ($matches=preg_match(linepattern4,text,match))0 ) { } -- Per Jessen, Zürich (15.9°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Will PHP ever grow up and have threading?

2010-03-25 Thread Per Jessen
Tommy Pham wrote: I'm presenting the argument for threading. Per is presenting the work around using asynchronous queries via mysqlnd. I did read that link a few days ago, Although the user can send multiple queries at once, multiple queries cannot be sent over a busy connection. If a query

Re: [PHP] Will PHP ever grow up and have threading?

2010-03-25 Thread Per Jessen
Peter Lind wrote: I'm not against threads in PHP per se ... I just haven't seen a very convincing reason for them yet, which is why I'm not very positive about the thing. Roughly the same here - I don't think threading belongs in PHP, but if someone decides it's a good idea, I won't

Re: [PHP] Will PHP ever grow up and have threading?

2010-03-25 Thread Per Jessen
)? On average, exactly one per millisecond. /Per -- Per Jessen, Zürich (15.4°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Will PHP ever grow up and have threading?

2010-03-24 Thread Per Jessen
to another language? Of all the enterprise applications I've seen, they used threads. Tommy, that's not about the language, that's a design issue. Run PHP in multiple processes, and you've got the parallelism you seem to seek. /Per -- Per Jessen, Zürich (6.8°C) -- PHP General Mailing List

  1   2   3   4   5   6   7   8   9   10   >