Better HN
topnewbestaskshowjobs
Log inSign up

dancecodes

-24 karma · joined Jul 29, 2013 (13y ago) · 98 submissions

Submissions

comment 13y ago · link · parent

fixes:

more refine answer: just use spl_autoload_register

comment 13y ago · link · parent

more refine answer: just use spl_autoload_register

comment 13y ago · link · parent

very cool,

thanks!

comment 13y ago · link · parent

I think beginning big programming boom on the west

comment 13y ago · link · parent

learning to code is easy than understand code and review, but understand code more important than code. If you understand code - you know all. Try to understand linux kernel code or gcc

comment 13y ago · link · parent

its cool

comment 13y ago · link · parent

why not use something base of PEAR coding standards ?

public function foo($bar)

{

  //
  //return (bool) $bar;
  //
}

This can help: http://www.gnu.org/software/emacs/

http://pear.php.net/package/PHP_CodeSniffer/

and enable flymake php linting

comment 13y ago · link · parent

Why you use multiple namespaces in single module? It is not good practise and smell. Official documentation don't recommend this.

comment 13y ago · link · parent

you mean spl_autoload

http://us.php.net/manual/en/function.spl-autoload.php

comment 13y ago · link · parent

needs for speed can be satisfied

comment 13y ago · link · parent

??? this is not argument - spl_autoload very fast its allow only one call to load module - all developers use spl_autoload

APC its legacy and crappy as opcache. I think its smell from Zend. They stop (in old time) because their close ware Zend Studio must sell. And other get pain from that legacy. Im sorry.

check here for start: http://talks.php.net/show/w2e09

comment 13y ago · link · parent

without autoload its seems useless and as monster. Its seems as broken by design.

comment 13y ago · link · parent

yes its smell

comment 13y ago · link · parent

I just saw some lines from GAE for PHP and saw very inconsistent and not quite code.

All modules use require_once... well, well...

And other many issues...

But looks as massive code. Maybe translated automatic.

comment 13y ago · link · parent

very cool idea and also some of set of sites can be similar as pipe commands for shell

comment 13y ago · link · parent

the same here :) thinking thats about history

comment 13y ago · link · parent

so where comments here?

comment 13y ago · link · parent

python is nice

comment 13y ago · link · parent

suggestion: add to console echo when pressed something in your demo

comment 13y ago · link · parent

If you need some help for any info about initial Erlang ask me.

For start:

http://www.maht0x0r.net/library/computing/erlang.pdf

http://www.erlang.org/erldoc

http://rosettacode.org/wiki/Category:Erlang

http://ruslanspivak.com/2007/09/09/erlang-for-python-program...

and you need emacs24+ for good ide and programming with erlang or just use interactive shell erl for initial start.

comment 13y ago · link · parent

sorry for my English I just mean about these pdf - saw but not see any seriously. I mean that PHP is very seriously but I want some features of Erlang. I love PHP and programming with it but I need pattern matching and long running processes.

Tuples need because they more simple for understand and matching then lists and strings. Tuples can simple converts to lists and back. Tuples more effective with memory.

Only one class can implement tuples now its SplFixedArray. But there bugg when you call createFromArray in own custom class derived from SplFixedArray. Also with small count uts slow.

Try test Erlang and see his power. I hope you think will too, that PHP needs with Erlang features.

comment 13y ago · link · parent

PHP must be more functional and use concepts of Functional Programming but without lost current features.

comment 13y ago · link · parent

dont see any PHP Seriously.

Its just baby garden. Im sorry.

PHP will be Seriously if will use major Erlang features: processes, pattern matching, atoms, lists, tuples

comment 13y ago · link · parent

nothing appropriate, gentoo and Im too lazy for fixing it (=^‥^=)

comment 13y ago · link · parent

dont need ask for something happen

comment 13y ago · link · parent

without flash of course there

comment 13y ago · link · parent

video not work in ff linux

comment 13y ago · link · parent

suggestion:

please add your engine to http://mycroftproject.com/search-engines.html?name=buzzsumo

comment 13y ago · link · parent

i think its will explosive trend to internet

success to you

comment 13y ago · link · parent

looks nice

my test about gentoo - passed!

1234