instruction
stringlengths
4
105
output
stringlengths
8
56.7k
How do I go about PHP?
reazalun: Anyone here care to give some opinions about Zend PHP Certificate?
How do I go about PHP?
sammcd: I'm just popping in because you mentioned codeigniter. Code igniter is great, if you are forced in PhP 4. However, there is http://kohanaphp.org Kohana started out as a fork of codeigniter, and is very similar, except that it uses php5's object-oriented features to create a much more elegant MVC framework.
How do I go about PHP?
danielrhodes: You can jump into PHP quite quickly. The syntax is not very different from other languages such as C++ or Java. What takes a little while is learning the built-in functions.
How do I go about PHP?
mlLK: Well, how familiar are you with HTML, MySQL, (or any other db lang), and CSS? In the end, a PHP file is really just parsed HTML, so anything not between <?php and ?> is just good ole markup. It also depends on what you want to get out of it, since PHP covers so much ground, but given that PHP is more attractive f...
How do I go about PHP?
scorxn: Though you may find some sections rudimentary, this is actually a great primer/refresher: http://devzone.zend.com/node/view/id/627
How do I go about PHP?
wbond: a) Starting with tutorials is a logical first step, however they may be some bad advice in there. Writing some simple applications or pages to accomplish stuff is good to get a handle on the breadth of built-in functionality.Please also note that PHP 5 has much better OO functionality than PHP 4. PHP 4 is end-of...
force comments or attach username to downvotes?
jgrahamc: My take (without wanting to seem harsh): get over being down voted a couple of times and don't come up with a technical solution. It happens.
force comments or attach username to downvotes?
ram1024: most of my downvotes are from me being deliberately inflammatory, so i generally know why...a few of them are wonderful mysteries though. fun!
How do I go about PHP?
cbetta: CakePHP is a technical disaster. if you want a proper PHP framework, try Symfony
best way to read ebooks on the computer
pasbesoin: My apology if the following is too detail oriented for HN. I've no affiliation with any of the below, just an interest in reading and researching comfortably on-screen.I was recently looking for a PDF viewer with annotation, and found the following for Mac. Unfortunately, I'm on Windows; otherwise, this lo...
Extreme, but workable cost-cutting measures?
mechanical_fish: reselling windows licenses and moving to UbuntuThat's almost certainly false economy, unless you've already spent the time to switch OSes for other reasons (which is perfectly possible!) and you've got multiple Windows licenses gathering dust.(I would never sell my last Windows license. There's this th...
How do I go about PHP?
oltmans: EDITED TO ADD:Most web hosts support PHP4 or PHP5? Any ideas on this one?
force comments or attach username to downvotes?
brk: What happens when x people downvote the same comment? You have a string of at least x replies that would likely be useless ("lame", "troll", etc.) Then someone would be inclined to downvote those comments, etc.The majority of my karma has come from comments instead of submissions. One of my recent higher rankin...
How do I go about PHP?
thorax: a) Probably start trying to write a site you want and learning from there-- with a background in other languages it's more about "I know the language can do X-- let me search for something like it". When using PHP you can often just google "PHP equivalent of " whatever function you know in C#/Java/JS and there ...
If you were starting from scratch again, what language would you learn first?
Hates_: I'd still choose Java as my bread and butter language.
If you were starting from scratch again, what language would you learn first?
mechanical_fish: Scheme, because of this book:http://mitpress.mit.edu/sicp/Why argue with the MIT folks?Followed immediately by: C, Javascript, and a scripting language (Ruby or Python are good choices).You've also got to work Java in there somewhere, just so you know where people are coming from. It could come first, ...
How do I go about PHP?
ryanwaggoner: I generally recommend PHP newbies start with a framework and I generally recommend they start with CakePHP over CodeIgniter, because CI is much more flexible and therefore forgiving of bad practices which can turn into bad habits. CakePHP is more strict, which probably teaches better design patterns earl...
If you were starting from scratch again, what language would you learn first?
pavelludiq: Python! Instead they tried to teach me pascal! A language that simultaneously sucks and isn't used that much! Good thing I forgot it all after I stopped learning it. Well, okay, maybe it didn't suck, I can't remember, but I tend to forget bad memories, so it probably did.Then again, technically I didn't lea...
force comments or attach username to downvotes?
tptacek: You are making the mistake of paying attention to your votes. Life is too short. Who cares?
If you were starting from scratch again, what language would you learn first?
petercooper: 5-6 years ago there were only a "couple of choices" compared to "dozens" now?Nearly all of today's practical languages were around 5 - 6 years ago.. Perl, Python, C, C++, Java, Ruby, JavaScript, etc. Of the major languages only C# wasn't particularly well developed at that point (and Ruby lacked a good usa...
If you were starting from scratch again, what language would you learn first?
cperciva: Assembly language.I firmly believe that people will never use high-level languages well until/unless they understand how those high-level languages translate into machine code.
Are you working on a desktop software?
inovica: Hi thereMost of the discussion on here is about web-based apps. We create both web and desktop based software. One of our products (SourceGuardian.com) provides encryption for PHP source code. Our experience was to create something that we wanted to use ourselves, as the competition at the time was charging...
Are you working on a desktop software?
utnick: I made a shareware app once that received a grand total of 1 sale lol, but it was an interesting learning experience.- I used e-junkie.com for sales and distribution, it works really well, plugs in with paypal and automates everything- I offered a 4 day demo trial, 1 in 300 people that downloaded the demo went ...
How do I go about PHP?
mseebach: The worst thing about PHP is how easy it is to leave SQL and HTML all over your code.Install Doctrine (ORM) and Smarty (Templating engine) or friends and use it religiously. If you do, you can use PHP for what it's best at: Cranking out business logic at high speed.http://www.doctrine-project.org/http://www.s...
How do I go about PHP?
debt: CakePHP. The documentation is great. Performance is great. The learning curve isn't too bad. It's a framework that will take care of you.Every negative criticism about CakePHP is about two years old and no longer relevant.
Are you working on a desktop software?
old-gregg: Our last big desktop project was free, so I can't comment on anything regarding sales, but distribution was a pain in the ass because it was a Windows product.About 20% of those who downloaded were not able to install it due to the following reasons:* Could not find "where did it go?" after downloading (not ...
How do I go about PHP?
showerst: The other advice here is excellent, I'd just like to throw out a vote for the editor Textpad (http://www.textpad.com/).It's much lighter than eclipse, but still has tons of features (regular expression search & replace is a favorite).Small download, so it's at least worth checking out.
Are you working on a desktop software?
huhtenberg: I'll save myself some re-typing if you don't mind - http://news.ycombinator.com/item?id=322929(edit) actually that whole discussion is relevant - http://news.ycombinator.com/item?id=322630
If you were starting from scratch again, what language would you learn first?
ejs: I started with assembly, moved to C, dabbled in C++ and some of the microsoft solutions (c#, VB), then moved to ruby for web stuff...Cant say I would want to learn in a different order, but I do wish I would have moved out of my assembly language stage faster...
Are you working on a desktop software?
Flemlord: I'm working on desktop software for a financial services vertical. Data consolidation is one of the problems we're addressing and web apps have too many limitations for us to build a good data management tool. We're using an SOA layer so the app should work well for remote users. Think iTunes.We're using WPF ...
If you were starting from scratch again, what language would you learn first?
run4yourlives: Python. I actually wanted to learn it in earnest around 2001-02, but never really pushed myself.Given that I'm now attempting to make it my primary language, especially since django came out, I would love to have had 6-7 years of experience behind me.
Are you working on a desktop software?
tom_rath: For here: Networked desktop software for businesses sold at a per-user charge. Distribution is direct download through the Internet and sales are quite spiffy, thanks.You can sometimes live on eyeballs with a web app but, in desktop land, you need to make something people are willing to pay cash for. If yo...
Are you working on a desktop software?
sanj: only as an adjunct to the web product.
Review our PDF/Web form startup - www.doculicious.com
markets1: I'm not a fan of the name...
Are you working on a desktop software?
dhimes: I write desktop apps with Java Swing. It's wrapped into a .exe with its own icon. I "sell" it as a download from Yahoo store. Buyers can optionally log into the web site and get free upgrades.I like distributing with Java because I want schools to use the app, and when I give it to teachers to try they don't...
Review our PDF/Web form startup - www.doculicious.com
zacharye: I like it, a lot actually. And I don't mind the name at all.The site is very simple to navigate, the home page explains the service well and the examples pick up the pieces.I did browse the terms but perhaps you can elaborate quickly - how secure is the data and how long do you store it? I know an NPO (art sc...
Extreme, but workable cost-cutting measures?
HeyLaughingBoy: Instead of cost-cutting, focus on increasing income. At best you can reduce your costs to zero. Then what?There's no upside limit on income.
Are you working on a desktop software?
sgman: I write iPhone native apps. Does that count?
How do I go about PHP?
santacruz: After 7 years of exp I found that1. Zend Framework - best framework, CodeIgniter is next. 2. Zend Studio - best IDE 3. Smarty - don't reinvent the wheel
Monetizing a Twitter bot?
davidhelgason: "Search for the woman": You know which packages they're sending, where to, and with what providers. Is there a way to help your users save money? And is there a way to make money off that, for example by reselling the shipping services via an affiliate deal like the previous poster suggested?d.
Extreme, but workable cost-cutting measures?
lsc: so long as you can still make money, you need to be careful with this... it is easy to spend an hour saving $10, but if you bill out at $80/hr, that doesn't make sense, unless you can't find any work at all.Personally, looking over my personal expenses, I see I can save a lot of money eating in more. However, I ...
Are you working on a desktop software?
hbien: I make an app for the Mac which is doing pretty decent. Not enough to replace a full time job, but almost enough to cover rent.* For distribution, I just have a website. I also put it up on the Apple downloads listing, which is where most of my traffic comes from.* A bunch of other sites pull data from Apple's...
If you were starting from scratch again, what language would you learn first?
antigravity: Python, then LISP and (SML or Ocaml), then C and assembly and compilers, then Python again.Though I like what Norvig said in http://norvig.com/21-days.html"Use your friends [...] Keep it simple. [...] Play. [...] Given these criteria, my recommendations for a first programming language would be Python or S...
How do I go about PHP?
juliend2: I worked with cakephp, but because of the lack of documentation i'm turning to codeigniter. It just works.Welcome to php! :)
Are you working on a desktop software?
brl: We just released a second beta of our application which is a network security tool platform. Our distribution strategy is to release everything for free as open source and hope that people like it enough to tell other people about it. At the moment we're still not sure what we're going to sell.I should probably...
What is your definition of Artificial Intelligence
lacker: I know it when I see it.
Review our PDF/Web form startup - www.doculicious.com
cera: I think it looks great, and there aren't enough good PDF editing tools. It reminds me a little bit of PDFEscape, so you might want to check them out if you haven't already. Best of luck! -Chris
How do I go about PHP?
drathbun: I see lots of complex answers, but not the answer to actually learning a bit about PHP. My favorite book is "PHP in Easy Steps" by McGrath, published by Barnes and Noble. Very inexpensive.A good intro to the basics, which will allow you to make use of the online docs, which is the best documentation of a prog...
What do you think of Objective-C?
palish: I'm not very familiar with the language yet, but my first impressions have been favorable. Programming for the iPhone has been a breeze. Also, I really like that you can use C/C++ with it. (Not just exported functions; you can interact with a C++ object directly from within a .m file, for example.)
What do you think of Objective-C?
pz: objective c is fine, its cocoa i find daunting. i am used to object.method() syntax so the [object message] syntax was a little hard to parse at first.... but you get used to it.i went from writing a lot of python to writing obj-c so the transition to a strongly typed, compiled-and-linked language was a bit frustr...
Are you working on a desktop software?
patio11: That's my business. I also blog about lots of related topics.Business: http://www.bingocardcreator.com Blog: http://www.kalzumeus.comJust hit $20k in revenue this year does a little happy dance.Distribution: Website. I get people to the website by mostly SEO and AdWords, with an increasing word of mouth cont...
What do you think of Objective-C?
sqs: I really like Objective-C. I had been using mostly Ruby before I started Obj-C (to make a quick iPhone app), and I liked it so much that I ended up going even further and doing about half of my programming in C++. Obj-C was a nice introduction to using a compiled language in real code that did stuff (as opposed to...
What do you think of Objective-C?
ohhmaagawd: In some ways it's a giant step backwards... you have to deal with pointers and header files. And it repeats itself a lot (declare the same things multiple times). String manipulation is awful in Objective C.I would say it's a hell of a lot better than C. But kind of irritating compared to Java or Ruby.
What do you think of Objective-C?
rsayers: I enjoy it, it's my compiled language of choice. Easier to work with than plain C coming from a dynamic language background.
How do I go about PHP?
asnyder: a)Depends on what you consider learning PHP. Depending on the framework you choose, you may or may not actually need to know much PHP, aside from basic syntax. More on this in point c.b)Until yesterday I've been using eclipse PDT, but you'll soon have a love/hate relationship with it, and start looking for alt...
What do you think of Objective-C?
jamess: Personally, I think Objective C is a horrid and butcherous hack that really ought to have died when C++ was standardised. Trying to make C in to some kind of bastard and retarded cousin of smalltalk was never a good idea.
What do you think of Objective-C?
jonhohle: I like how thin the Objective-C layer is above C. All of the language constructs are accessible through pure C method calls, which provide a lot of insight into how the system works.Any time I sit and think about how something is done in Objective-C, it doesn't take long to work out how I'd implement it and C...
What do you think of Objective-C?
delackner: Objective-C + Cocoa is the most productive GUI application development kit I have ever used.If you are put off by the syntax, then you are placing a lot of meaning in the arbitrary weight of your existing habits.
Are you working on a desktop software?
andrewf: I'm not but I have in the past - downloadable with a time-limited trial, and also available in boxed form via mail order and some distributors.The biggest difference I've noted since moving to the web is that on the desktop (Windows at least), you need beta testers.Your users are more distant and therefore dis...
What do you think of Objective-C?
BigZaphod: Objective-C is great - but Cocoa makes it even better. :)
What do you think of Objective-C?
andrewljohnson: Does anyone use Objective C for anything but the iphone?
What do you think of Objective-C?
sil3ntmac: I've been using obj-c for around a year now, and it's growin' on me :)I didn't like it too much at first (funky syntax, different naming conventions, generally crappy string manipulation), but once I started using it, especially in conjunction with cocoa and ib, I really started liking it.It has some cool pe...
JsCrack, an experiment in distributed computing
tlrobinson: It's been done (but for SETI, not password cracking):http://ajaxian.com/archives/massively-parallel-crowd-sourced...However, this requires the client have Gears installed, which is basically no one. There's no reason you couldn't do it in the main thread, as long as the task were easily split up into multip...
What do you think of Objective-C?
Tichy: I have summarized my (negative) thoughts here: http://blog.blinker.net/2008/11/11/impressions-from-the-ipho...I haven't really used it, though, it is just the impression I took away from glancing at the tutorials and listening to the beginnings of the iPhone tech talk.
How do I go about PHP?
floodfx: Take advantage of the object oriented features (classes, inheritence, etc) Write unit tests early and often. Re-read the docs; some of the PHP functions are inconsistently parameterized -- meaning one function expects params in one order and a simliar function expects the params in the opposite order! (Can'...
What do you think of Objective-C?
DenisM: On the iPhone there are two main problems. First is lack of garbage collection. Not everyone can keep track of their allocations easily and the result if unstable programs for the end users. While there is some notion of allocatin pool it has problems - for once it's scoped to call stack, thus making it little ...
What do you think of Objective-C?
davidw: I played with it some about 10 years ago, but at that time it was really in the wilderness and didn't have much practical application, so I let it be. It seems nice in some ways, but I don't really see it making the jump out of MacOS X territory. Who knows, though.
Working Tactics?
waleedka: A friend and I work on our own separate startups and we searched for ways to increase our productivity. We started a weekly challenge. Every week we meet in a coffee shop and set goals that we must achieve by the next meeting. If goals are not met, we commit to buying coffee and deserts for everyone else in t...
Value of Technical/Programming certifications?
SwellJoe: IMHO, I would consider none of them to be relevant. While, in some cases, they provide minimal assurance that someone knows a very specific set of skills to a degree that allows them to pass a test, it is not indicative of the kind of person I would want to hire (I wouldn't say it is contra-indicative, thoug...
Value of Technical/Programming certifications?
Tichy: I took the Java Programmer Certification back in the day, and I remember thinking that it was not even that bad. I think if every programmer in that particular company I had been working for had taken the certification, it might have brought some improvements. At least you got to know some ins and outs of Java. ...
What do you think of Objective-C?
travisjeffery: I like it, very easy to get into. Obj-C and Cocoa are a killer combination. Definitely get Aaron Hillegass' "Cocoa for Programming for Mac OS X" now in 3rd edition.
Working Tactics?
gtani: http://stackoverflow.com/questions/tagged/productivityshouldn't take more than 3 weeks to read thru 187 threads!Like ev'body else, skim/read David Allen's "Get Things DONe", my favorite tactics(not neces. from book) are daily priority lists, turning off productivity devices (email, cell phone, pager, and you do...
What do you think of Objective-C?
frig: Objective-C, the language: it's a nice, thin object-oriented layer on top of vanilla C.It's super-easy to use to make object-oriented wrappers around vanilla-C libraries, compared to C++, and b/c Objective-C is conceptually simpler than C++ there's fewer ways to shoot yourself in the foot.There's not much point u...
What do you think of Objective-C?
tritchey: Behind Lisp, Obj-C/Cocoa is the most fun I have had programming.
Value of Technical/Programming certifications?
gaius: Certifications are contra-indicative in my experience, unless you are hiring someone to take multiple-choice tests (the answers to which are all over the web on "braindump" sites). I've often interviewed candidates with lots of certifications but when asked, so when did you use this feature/language/technology "...
Advertising based business
answerly: Yes- it is absolutely possible to build an ad supported business in the current economy. The key is to focus on a niche with a readily monetizable and under-served advertiser base for which you can be the best source of new customer acquisition.
Working Tactics?
tristmegistus: I found several effective techniques to get myself working in 'The Now Habit" by Neal Fiore. It focuses more on the psychology and why we procrastinate and provides some useful tools to deal with it.An example is to schedule time for fun, instead of work. Schedule times to see a movie, see a friend, ex...
How do I go about PHP?
DanHulton: Late to the game here, but I have to recommend Komodo Edit for your IDE - I've been using it for about a year now and it's just so solid. I've tried others (most recently Netbeans PHP, which is a CLOSE contender), but they just don't do things that Komodo does that I've grown very accustomed to.
Working Tactics?
makecheck: A simple to-do list alongside E-mail (e.g. Lightning plug-in in Thunderbird) is really nice. Seeing lists, prioritizing them and crossing off items can be motivating.When you check E-mail, there's a tendency to want to immediately respond to whatever is said, and this can be very distracting and time-consum...
Feedback about our iPhone & facebook app Eat-a-Rama
elai: Eat-a-Rama is basically a google maps mash up that combines restaurants & bars with google maps. It also throws in a social networking component into it and slick AJAXy interface. (It also shows alot more restaurants with clustering and what not on the map than vs the lame '10 random search results' that google...
ASK HN: How did they break in to my Gmail acct?
kqr2: Are you using https://gmail.com and/or have configured your account to always use https? There are cookie based hacks.http://www.tgdaily.com/content/view/33207/108/
ASK HN: How did they break in to my Gmail acct?
yan: In Gmail, Settings > "Browser connection", set to "Always use https"
What framework is best for someone with a C++ background?
aston: If your C++ fu is really, really strong, you might wanna check out OKWS (http://www.okws.org/). The performance is sick, as you might expect, but I can tell you from experience that it's not for the faint of heart. The asychronous coding makes for some really tough debugging situations, among other things.
What are your goals for 2009?
answerly: I'd say that my overarching goal for '09 is to be a part of the solution rather than wasting time complaining about the problem.
What are your goals for 2009?
pjharrin: My main one is to have my first web app launch
What are your goals for 2009?
soc: make my first 1$ after 6 mos. development (1500 hours):)
What are your goals for 2009?
gaius: To sneak some Haskell into production.
What are your goals for 2009?
mlLK: Get a degree, get out of my parent's basement, and get a job.
Does programming make you happy?
helveticaman: No. I'm hoping it grows on me, but I've had a lot of shitty experiences so far, and not a lot to show for them. Think spending six months trying to install Lisp on a mac, or spending 50 hours installing Linux on a PC. SICP was also quite awful. Finally, I have this nagging feeling of obligation to pro...
Does programming make you happy?
mechanical_fish: Sometimes. Other times it's a tedious obligation. Then there are the times when you're not sure if it makes you happy or not, but you can't stop doing it.If you're wondering if you enjoy programming, try giving it up for a while and see if you keep coming back to it.
Does programming make you happy?
izaidi: For me it's 99% frustration, but the other 1% is the moments when the thing that used to be an idea in my head becomes a part of reality, and those moments feel so good I'm willing to put up with the frustrating ones.
How do I go about PHP?
paulsweatte: The way I've transitioned between languages was to first do a syntax comparison: http://merd.sourceforge.net/pixel/language-study/syntax-acro...Then take a crash course: http://cs.metrostate.edu/~fitzgesu/courses/ics325/summer04/C...Then learn about database interfaces: http://www.kitebird.com/articles/php...
Interesting recent developments in academic computer science.
paraschopra: Yep, on a related note I was wondering recently if there is any website which lists currently hot and buzz-worthy research papers in CS or other fields. I know faculty of 1000 does that for biology but is there any other website?
Interesting recent developments in academic computer science.
jmtame: The Blue Waters project (http://www.ncsa.uiuc.edu/BlueWaters/) is being done in the building across the street from me, I can see it right out the window from this CS room. It's one of those "off limits" things, although you really need to have a use for it first.
Does programming make you happy?
IsaacSchlueter: I believe there's a quote somewhere in Stranger in a Strange Land, where Jubal Harshaw comments that an author doesn't write because he can, or likes to, or because it's the best way to pay the bills–many can't, few do, and it usually isn't. It's just something that must be done, like breathing or defe...
Does programming make you happy?
gaius: Getting stuff done makes me happy. Programming is a means, not an end.
Interesting recent developments in academic computer science.
markessien: In my opinion, it's obvious what the next big thing is going to be. Image recognition, accelerometer integration, multi-touch and so on. Basically, we're looking at the death of the mouse and keyboard a few years down the line.It's starting now, and it's starting the same way the web started - working poorl...
Where does consciousness come from?
eggnet: If we mechanically understood how thinking or consciousness worked, we would have AI. We don't understand, and don't have AI. I hope I was helpful :)
Where does consciousness come from?
chris_l: Consciousness is the brain sensing the mind of the world. But that's just my speculation :)
Interesting recent developments in academic computer science.
randomwalker: In the academic world, the semantic web is pretty much taken for granted. Curiously, it appears that people in the real world have been saying for so long that the semantic web will never happen that they have failed to notice that has already happened!Look at this diagram: http://en.wikipedia.org/wiki/Fi...