Hacker News new | past | comments | ask | show | jobs | submit | SkippyZA's comments login

Native will always perform better.

I personally use Cocos2dx HTML5 which then can be compiled to native iOS and Android code, and can be run in a browser.


Great job. I have been working on a similar Google Reader replacement using Ruby and Ember.


IMAP is great. I am now having all my email address forward to Gmail and then use the Gmail app on iOS.

The more that is in the cloud, the happier I am


And the more that is in the cloud, the happier the NSA are too. It's win-win!


Don't they consider email left on the server after a period of time to be abandoned and therefore they are able to read the contents 'legally'?


Email stored for less than 180 days requires a search warrant to access. But... email which is opened may be considered to be on the server "solely for the purpose of providing storage or computer processing services", in which case a court order (subpeona, etc) is required. Court orders are easier to get than search warrants.

See: http://en.wikipedia.org/wiki/Stored_Communications_Act

At the end of the day, if you have information that you truly want to remain private, it cannot be turned over to a third party and should remain in your home.


I have just been on the job market looking for a senior PHP position. There were so many companies that requested tests from me. Either in the form of online tests, or tasks which I had to complete and return. While I do understand the need for them (having had to hire other developers), some of the requests were quite outrageous.

1 particular company basically wanted an entire application to be developed in an evening, and I was giving strict instructions to focus on security and not allowed to use external libraries. After submitting this elaborate task, I was still criticized on using PDO (which is standard with PHP...).

IMHO, sometimes the lengths employees go through to find a developer are so ridiculous that they actually drive away people.


mitmproxy = Malcolm in the Middle Proxy?


Mitm=man in the middle


Couldn't agree more with E_ALL|E_STRICT.

The current legacy system I am maintaining took me 2 weeks to clear up 90% of the NOTICE errors for using undefined variables etc.

Dirty code is dirty, and it is because of this that PHP has received so much negative publicity.


The completely brain dead naming conventions for function names (or rather, the lack thereof) is another. PHP has grown organically, just like the web, to fill a very irregular shaped niche and it shows that history in all the gory little details. That said it made me more money than any other programming language combined (including C, but it's a very close second).

Probably a lot of people have similar feelings towards Ruby, getting stuff done is what pays the bills.


I haven't seen anywhere near the same level of hate for Ruby - and I can't help thinking it's because PHP is objectively worse. A lot of the problems listed in the article wouldn't arise in a language with a better module system (such as Ruby), for example.


Quick! Was it ($haystack, $needle) or ($needle, $haystack) ?


Or better still... one where it doesn't matter:

http://www.php.net/manual/en/function.implode.php


Ctrl+l is my most used command. I need a clean terminal


Huh. I've always just called "clear".


Same here; and love that it doesn't clear the command line you're currently typing.

Does anyone know if there's a key command for clearing the scroll buffer?


Does anybody know if there is a command for creating an infinite stream of the character "y" + carriage return ?


yes(1).


I second this, I also find myself impulsively smashing enter multiple times sometimes between commands, if I am typing in a series of commands, its just so my brain can catch up with what I want to do.


Cmd + K on the OS X Terminal.


That's gold. I've been using "clear" this whole time and hated it, particularly since I'm used to "cls" from MS-DOS. So, for me, the way to clear the screen was:

cls <enter> clear<enter>

lol.

I see Cmd + K on the menu now, but I guess I wasn't curious enough to poke around. Thanks a bunch.


Nice

Ctrl+D for quick logout too.


didn't know this hotkey existed.. nice


Choose to go HTML5 + Phonegap and we could possibly talk


Please don't. This needs to be a slick native experience. It's too bad I'm still cutting my teeth on iOS as this looks like a fun first project!


Like you say, it's normally just for eye candy


The lack of internal documentation may turn away a small bunch of people, but definitely not a reason to discredit the language.


This has less to do with the language and more to do with the ecosystem. If you ever get to a point where you need to extend the language your out of luck with PHP. Sure for most PHP users who cares they are just using it as a glorified CGI interface ,but if your building a product off it think twice you will reach a point where you will either have to rewrite everything or wade through the undocumented internals of PHP.


If it's such a big deal to you, why don't you contribute some documentation?


Or, you know, rewrite the entire engine so it compiles into native C code or something. The fact that Facebook found that task preferable to hacking on the undocumented internals for performance says just as much.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: