skysight-inc/HackerNews huggingface dataset:
I've been working with php for about 10 years now. I have to say that I really enjoy frameworks. They make my job a lot easier. Before I started using frameworks I already built one of my own without realizing it.

To start off with I had my own classes to make tasks a little easier. Most php applications deal with a database of some sort, because of that I created a database class that helped me connect to a database and get the information I need. Same with templates. I used smarty since I didn't see a need in making my own. I had my own directory structure and config files for everything. When I was working on a site that needed something was usually when my 'framework' got updated.

Then I started reading about frameworks. I have used most frameworks in one way or another. The one that I prefer over other php frameworks is symfony (symfony-project.com). Why? They use doctrine as an ORM. They already have best practices built in. It's not as 'bloated' as other frameworks. Take CodeIgniter for example. Then go take a look at Kohana (which is a stripped down version of it). Once version 2 comes out they will have PHPUnit bundled with it. They use existing open source software instead of reinventing the wheel and making one for that framework only.

What is the benefit to you as a php programmer to use a php framework? There are a lot of things to take into consideration when creating a web application such as security. Are you escaping user input before you use that input in a MySQL query? What about user session management? There is more to consider, but hopefully you should get the idea. You start to see yourself repeating the same code after awhile so you start making classes or functions that make your job easier.

Should you use php without a framework? You can, but you will essential be creating your own after awhile. IMO it's best just to research a few different ones and find the one that best suits your needs since you can leave the framework development to other guys while you focus on creating a site. For me, symfony best fits my needs. Others may want to check out CakePHP or other frameworks. I never cared for Zend Framework, but use the zend library.
To get a picture of what's going on, try logging in to your shell and install htop. It's a great little utility that shows you load averages, memory usage (broken down in to used, buffered, and cached memory in real time. Very handy.
Didn't see the "More Options" link, so sorry I offended you. My statement is still correct in that if you add a Pro account to PayPal, the merchant account becomes the cheaper option in most cases. Also, I would be willing to bet that most merchants who process high transaction size and high volume with PayPal are using Pro accounts.
Apple Patents: All-Metal Touchpads, What Wondeful Future Does New Tech Suggest?
Exactly all of that!

Everytime I tried to use any of these PHP frameworks, I got frustated because they demand you to be stucked inside the "convention over configuration" and you can't do anything more complicated into your code without having to read a lot of docs about how to make something outside the "normal code". You always have to inherit you controller from something else.

This is why I built a framework fomr the ground ( http://github.com/rabc/Simple-Framework ). Just because I wanted to craft my own code.
I don't think the point of the article was the "hacking" so no reason to really breakdown how good of a hacker Altucher is/is not.
Gotham is New York.
Fun fact: Finnish Frontier Guard is currently training their Turkish counterpart in border control / illegal immigrant prevention. I heard it yesterday in person from Finnish Minister of Interior.
Geographically it makes no sense, but immigrants become everyone's problem after they reach any EU country.

I guess this means that Schengen countries have extensive cooperation and will adopt joint standards in time.
Fergalicious Python
Let the editing begin!
> Summing it up, a framework tries to save you work by make you define an overly complex configuration, that has to accomodate every possible use case.

I was disappointed that the author constructs his arguments against frameworks by using Zend, and Zend alone... when there are things like Symfony, Cakephp (which I'm a fan of) and Code Igniter. It is what allows him make a generalization like the one above that is flat out wrong for frameworks like codeigniter and Cake.

I've been a PHP guy for many years (still am) and I know that as you program more and more in PHP, you come up with a way of doing things that eventually become your own sort of framework ... so the people that really appreciate frameworks are more experienced developers (no insult to newbs) because they can more easily recognize all the problems that these frameworks solve for them ... to newer programmers it looks like bureaucracy, magic and stuff that gets in the way of them actually expressing their ideas in code.

I know. I was one of those guys.

So yeah ... You can use PHP without frameworks and if you like doing that, then keep doing it ... however, I would advise any PHP developer to keep an eye on the major frameworks and keep evaluating ways that they can save you time and effort as you take on more complex applications with bigger and better teams (yes ... you actually get to develop code with other people as you take on bigger projects).

PS: My only complaint with the PHP framework I like ... CakePHP, is that it can be a bit slow and the documentation can be truly horrendous ... to where you have to go digging around in the source code to figure out the things you can put in the $options array in a call like this ...

checkbox(string $fieldName, array $options)

Things like that, I bet, slow its adoption.
> Hence we end up with c-programs with accidentally embedded lisp implementations.

See Greenspun's Tenth Rule: Any sufficiently complicated C or Fortran program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp.

And of course the famous corollary: Including Common Lisp.

http://en.wikipedia.org/wiki/Greenspun%27s_Tenth_Rule
If you actually read up on Somalia you'll find that in many places they're actually doing just fine with no government. The places with problems are 1) the places controlled by the pretend government, and 2) the places where UN&co try to hand out aid.
Have you used symfony? Yii is one of the few I have not had the pleasure of working with and would be interested to see how it stacks up against symfony. Seems like they both have similar features.
It was probably not answered out of Sennheiser USA division but the basic premise is that there's better material being used and you get a leather "nesting bow" for the premium price. Is it worth it? Probably not.
Such abuse of the templating system is why I dislike C++.
http://msdn.microsoft.com/en-us/default

I like how they have embraced that saying.
It looked like it was one of your central points. Germany is more socialist than the United States, and has been for decades, and their poor are immeasurably better off. If the study of economics is so easy, nika, I recommend it. Seriously.
If that is the case, then the title is pure link bait; the article wasn't about MTV.com; and the closest to a hack is the social engineering (to whatever degree) used to get the friend to the MTV beach house.
No, they don't claim to run soup kitchens or housing for the homeless. They are an organisation that gives out housing advice and lobby local and national government on housing issues for the poor. And, yes, they employ lawyers.

However the UK Government's 2009/10 social housing budget was £3.3bn. £50m is a drop in the ocean in this sector.

http://www.bbc.co.uk/news/uk-politics-11570923
You can, but you wouldn't probably, like you wouldn't use Python / Ruby without frameworks. You can 'easily' code things from scratch, but you'll forget a lot of (trivial) features or have tons of bugs in things which are supposed to work. It'll take most people longer (while delivering worse quality) to get it done without a proper framework than with, even though a lot of programmers think they can do better on their own.
That's along the lines of one of the bigger proposals I've seen - to cover large inhospitable and hot places like the Sahara. It doesn't have to be with expensive photovoltaic panels, you can take Spain's route and use the mirrors-heating-molten-salt technology instead.
Reddit AMA: NASA Engineer
If the network has significant feedback, couldn't these slower "backward" signals be understood in a similar fashion as a fast-moving propeller that appears to reverse direction? I'm curious about how they measured this, but I don't have thirty dollars to spend.
In the real speccy, you could double the horizontal resolution from 192 lines to 384 lines, and also get different colors for each 8x1 (or 8x0.5 if extending to 384) by changing the screen bitmap while the scanline is being generated.

Pixel timing accurate emulators exist -- in fact, C64 games written after ~1990 are useless without it.
> 9000 users don't seem that many to make the server run slow...

I second that, especially when you have moved mysql on a separate server. I'm sure you're missing something basic here (as happens to many from time to time :-)).
Seems like the same phenomenon described in the python paradox essay:
http://www.paulgraham.com/pypar.html
Wish the code was available to take a peek at. Talking about optimizing transformations, the Stalin scheme compiler is quite freakily good at that.It would have been interesting to run this code through Stalin and see what happens.

From the author Je rey Mark Siskind's research statement:

It uses the results of flow analysis to perform life-time analysis,
escape analysis, points-to analysis, and must-alias analysis. ...
It also uses the above analysis to support flow-directed region-based
storage management, where run-time garbage collection is replaced
with static allocation and deallocation on a per-abstract-value
and per-program-point basis. It also performs flow-directed
lightweight CPS conversion,.. to support extremely efficient first-class continuations.

It is quite remarkable that even without any type annotations Stalin can hold its own against a hand written C and often beat it as well.

http://en.wikipedia.org/wiki/Stalin_(Scheme_implementation)

(Has escaped chrismonsantoization)
Man, you keep making it on Wednesday. I would love to attend but all my soccer league games are on Wednesday. Hopefully the March one is before the 16th.
Tata Docomo introduces 57 and 103, World cup recharge
Alternatively they could just have type "Audi accelerate problem" into Google.
Is Google Apps for Business any faster than the free version?
My Gmail account is getting pretty full - around 78%. I could either delete some old messages and large attachments, or upgrade to the $50/year version. It's also getting really slow - both to load, and to search messages. I'd be more inclined to pay the $50/year if it made it faster, too - but I didn't see this mentioned on the comparison page and didn't have much luck finding the answer with google. Thanks!
Isn't the real problem here that we rely on "academia" to be the "experts"? I know a number of very accomplished and intelligent folks that did not pursue PhD and have done phenomenally well in their own research. But sadly many, for credibility's sake, had to advertise themselves as think tanks. Why can't we just put the damn degrees down and listen to the person to judge their competency??
I guess illegally entering mtv.com and doing something with their mail server counts as a hack.
Good luck with the project. Remember less is more; especially when handling copious amounts of data. There's nothing wrong with making a tool that has a touch span of 45 seconds, provided the user leaves with everything or more than expected.
I'll be there
Not bad, but far from a whole solution. Background: used to work for one of the raceway-pond based companies trying to commercialize this technology.

The current frontrunner, IMHO, is NASA's Algae Omega project, to grow freshwater algae on sewage in membrane bags in the ocean. But there are serious problems. The one that isn't likely to be solved is the photosynthetic limit: plants just aren't very efficient at turning solar heat into chemical work.

Yes, we will have more algae biofuels over time. No, this will not replace petroleum singlehandedly.
There is no way to claim that back? To be honest with you, I worked in the US for over a decade and I consider everything I paid into SS a waste. If I end up keeping my citizenship (unlikely), by the time I would be able to draw it would probably be $100/mo or something ridiculous. It could easily cost me much more than that in wasted tax dollars before I retire.
> Can you do a website in plain ruby as easily?

Don't know about Ruby, but as for Python - yes, you can. There is Python Server Pages in mod_python, which are similiar to mod_php.

However, mod_python is ugly (in a same way mod_php is), so it's generally frowned upon and considered to be Bad Thing.
Just as Silicon Valley can be a good idea for a lean startup, Manhattan can be a good idea for the top tier of homeless person: The creativity, variety, and drive of the panhandling there is many levels above what you'll see elsewhere.

...I'm not sure where I was going with that, but even at $10/night that's the same you're paying in Pittsburgh.
Symlink race bug/attack with Ruby FileUtil
Infamous Java Floating Point Bug Finally Fixed
Actually, Web 1.0 was all about eyeballs. Revenue is for real estate guys.
Purely curious, what was Qatar like?
I agree completely and my experience/progression through the years was exactly the same as yours.

I didn't end up using Zend, but I've always looked at the various frameworks and "stole" some of the ideas and applied them to my own.

I do believe developers that say you don't need a framework simply haven't created very many different projects - OR - They've been using the wrong framework.
SCJP Exam for J2SE 5 by Paul Sanghera
(it's designed for people taking the cert but it's pretty good)

Effective Java (teaches you the common pitfalls)
Concurrency in practice (if you're doing multithreaded stuff)
The example screenshot in the app store is upside down.

Is there no confirmation dialog when I shake the screen? I'd be worried I'd accidentally erase before "saving" especially since shake=undo in many apps.
Steve Jobs, Mark Zuckerberg, Larry Page, Carly Fiorina
And Android for that matter. I really don't see podperson's point; what Android builds have broken backwards compatibility?
I checked this out over a year ago and I couldn't go through with MIT OpenCourseWare classes because of lack of subtitles for many of their videos... But now I'm pleasantly surprised to see they added subtitle supports for Python classes! Kudos to MIT for recognizing that there are many disabled/foreign students keen to learn from their OCW materials.
Well, they let me sign up so it must have happened already.
Hmm... So if I want to have $0.99 payments, it will cost me 32% to go with paypal or 26% to go with setting up my own merchant account, and both are only for domestic payments.

Suddenly Apple's 30% for payments from ~100 countries sounds like a bargain.
Yep, there's a confirmation dialog.

Didn't realize about the screenshot - will fix.

Thanks!
Watch for the 8 month wtf collapse, stay in bed for the requisite week, and then just get back up again.
The paradigm changes when browser vendors can auto-update with releases that are a few hundred KBs in sizes (i.e. Google Chrome).
I too was one of those guys :) You struck gold there.
It was a compliment. Carry on
I was in this program at IU, and later worked with Jonathan at Cisco-- and I actually remember this exact story being told by one of my AI's in class.

Guess it's become part of IU lore :-)
It's kind of funny that they built their (very similar-looking) iAd with HTML5, and then went ahead with a Flash marketing site. Seems like there could have been some shared resources there.
> Just use Apache/IIS/other as controller.

You must have some really interesting understanding what controller is…
Obscurity: Does Changing Your SSH Port Lower Your Risk?
That's awesome to know. And I really think you guys should do a writeup about the experience... :)

I bet folks here would love it too.
That's totally correct, no offense taken, just wanted to make sure you saw that we'd included it!

You are totally correct that for merchants that process decent volumes, a merchant account is usually the better bet.
My statement wasn't meant as a disparagement of biologists. Simply that there is a lot of "conventional wisdom" out there in the world that turns out to be false.

When I started grad school (mol bio/genetics), there was a laundry list of things that "never happened in biology". By the time I finished grad school a lot of those items were removed from the laundry list.

And, as I'm sure you're aware, the inability to find something is not evidence that it doesn't exist.
why are all this guys articles on the front page of hn? They're just pointless crap not worth reading that culminate in "follow me on twitter I'm a super cool guy".
Would you mind telling us what has happened since?
It's not just Apache you need to configure - PHP ignores Apache's directory access configurations entirely, you need open_basedir and preferably something like suPHP.

Disabling shell functions (system, exec, etc.) is also a good idea, unless the application itself requires them (e.g. if the host is too stupid/lazy to have the imagick extension installed and tells you to call /usr/bin/imagick instead...).
Still a dealbreaker for me. I don't want people to bookmark or search engines to crawl my domain prefixed with "www". That seriously offends my sensibilities.
tl;dr 'shopped.
At their QML/Qt training 2months ago they were handing out free Meamo phones.
Zynga’s new funding values Farmville, CityVille maker at $10B
That sabbatical is precisely why I will never ever promote Internet Explorer. It was ridiculous. I don't even care if suddenly MS produces the best technical browser available (highly doubtful, but even so). I don't care if it's a new team because it's the same company, and yes much of the same leadership. They blew it and they don't get another chance.

They had the best browser back when IE4 launched. Given the amount of pain IE has caused over the years, it surprises me that any self respecting web developer could ever forgive them.

"IE you are dead to me."
Photo of Steve Jobs at Obama tech dinner
Pity the man without whom most of these people would never had made it was not in the table - Tim Berners-Lee
Exactly - it sounds like he might have stumbled into the wrong lab. Like you, my experience has been very different, but I've certainly heard stories like his from house mates. It seems we were lucky.

The other thing that occurred to me when I read this, was that he's constructed a false dichotomy for himself: work in a world-class place, which is probably indeed much like being an olympic athlete, or work in an absolutely rubbish place, which can't really support your research. Anything missing in the middle??
Although hydroelectric power is cheap and carbon-free it causes serious habitat destruction. It's unlikely that significant new hydropower facilities are going to be built in the developed world, and in fact, the ability to produce hydropower is endangered by siltation and climate change.

The availability of hydropower might be enough to use as a buffer, given favorable assumptions, but note that this would cause violent fluctuations of water level downstream of the dams... And many dams are already facing criticism of the water-level fluctuations they cause today. The level of habitat disruption involved is in the "pave the earth" category.
This discussion seems misguided.

Reading the mod page, it sounds like it's about removing/adding some foam behind the driver (which is the identical between models) to alter the high-frequency response. Unclear if it increases or decreases the high end signal -- but ultimately whether you like the sound one way or another is a matter of taste. Personally, I find most headphones way too bright, but YMMV.

I have a pair of Sennheiser 480s that i've owned and used regularly since 1989. I've replaced every part except the drivers at least once. For me, paying more money for the 595s for a beefier headband and higher quality materials would make sense because these are a long-term investment. Or at least the 480s were then. Not sure what the build quality is like now.

The idea that they're "crippling" one vs the other like a piece of computer hardware seems to miss the point.
This doesn't take your market into account. For example, my Dutch debit card isn't compatible with international credit-card numbers. My paypal-account is directly connected to my bank account (direct debit), so it practically works like a credit card, but I can only use it online. This means that I'll only order stuff at websites which support Paypal.
See also: http://news.ycombinator.com/item?id=2236017
See also: http://news.ycombinator.com/item?id=2236093
Let them eat veggies: Obama has dinner with Steve
That's true for $0.99 app purchases. Apple has a lot of power in that they can pool the transactions and actually charge your credit card not for $0.99, but for all your purchases over a certain time period. This is something an individual app maker couldn't do and makes perfect sense for Apple to do.

Where I think Apple is egregious is in their subscription pricing... for example, 30% is a lot to take on a $15 kindle book or $8 netflix subscription
>> So who won in this debacle?

The author does not mention the advantages that would come to GM as a result of this recall. Since the gov is an owner of GM, you could argue there was a potential conflict of interest here.

See this ->>>

"GM isn't wasting any time taking advantage of Toyota's weakened position after its massive recall and sales stoppage. The General has just announced new incentives for current Toyota customers.

In a phone call to Inside Line, a GM official said the new offer consists of zero percent financing for 60 months on most Chevrolet, Buick, GMC and Cadillac models. Cash buyers get $1,000 toward a down payment and lease customers can get a waiver of three payments up to $1,000.

To qualify for the incentives, customers must show proof that they own or lease a Toyota.

This is starting to get interesting. "

http://blogs.insideline.com/straightline/2010/01/toyota-reca...
Also agree with this. I'd be happy to help you by taking a look and sharing my thoughts on where improvements can be made in the DB structure, configuration, scalability, as well as places where caching will give good results vs implementation costs and effort.

Feel free to email me, address in profile.
i guess they really stir something deeply inside of you. thanks!
You have a great method and you will one day strike the right vein.

My assessment, from being a student of entrepreneurship, is that the success stories reflect a mixed bag. Some are methodical and swear by it (ask, build, deliver), and others are hunch oriented and lucky, though the latter is clearly a much larger risk and the path to profitability akin to winning a lottery.

What do the Ivy League MBA's have to say on this?
I was more irritated by the fact that the entire movie was clearly ripped from the chapter "Harmonic Labyrinth" from GEB.
http://visitsteve.com/made/selfcontrol/
Set your prejudices away and contact him. You may be surprised.
Old but still true (by the the creator of PHP): http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC...
> I reckon they shipped IE7 at exactly the most damaging time for the web

Mission accomplished, then.
Is that Eric Schmidt front left ?