Josef Kufner

Results 43 comments of Josef Kufner

> I wait some other coments for this part, make tty, make bash or make terminal ? make shell

It may be a problem in one of the scripts Symfony registers in Composer. Try to add `-v` (verbose) option to get more details, i.e., stack trace.

It is better to replace everything not-allowed with a hyphen. I.e., `/[^a-z0-9-]+/` with `-`. Then there is no need to replace the whitespace separately an it behaves better in edge...

@o-alquimista I've amended the commit, please see https://github.com/o-alquimista/demo/pull/1

> the var directory should have 777 permissions Not true. The directory must be writable by the web server, but it should not be writable by everyone, so attackers cannot...

The attacker don't have to be logged in as a user. He may use some security hole to write a file somewhere and then somehow execute it. If he cannot...

@bocharsky-bw Not using migrations is not best practice. @lsv There are no migrations because nobody made them. One important thing discussed earlier is to make demo work without running migrations...

@BurningDog How do you update the document during transitions? The loading of the state is only a half of the answer. (Very nice example, btw.)

@BurningDog Thank you. So if I understand correctly, there is no encapsulation of the entity and the state machine to enforce the modelled behavior and deny any other modifications.

Some related links I found (but have not tested myself): - https://web.archive.org/web/20140223074625/http://blog.dexetra.com/post/47690372822/2010-09-get-current-playing-track-info-from-html - http://stackoverflow.com/questions/3616956/how-to-get-current-playing-song-details-from-mediaplayer - http://sudarmuthu.com/blog/finding-the-songtrack-which-is-currently-playing-in-android/ I hope it will help.