instruction
stringlengths
4
105
output
stringlengths
8
56.7k
Bet the farm. Python or PHP?
yourabi: Go with Python. PHP is probably the worst language I've had to use (Single namespace, poor unicode...)Python on the other hand is pretty cool. It can be OO, functional, or procedural depending on how you want to look at it. It also has a lot baked into the standard interpreter and has some really awesome frame...
Bet the farm. Python or PHP?
wvenable: PHP. So in a year down the road, you won't have to make the switch to it like everyone else has.
Bet the farm. Python or PHP?
binglo: Why are you determined to use either Python or PHP in this latest project?I would make sure you have a good answer to that question before using something besides Perl.
Bet the farm. Python or PHP?
bayareaguy: Why two web servers (thttpd and apache) instead of just one, say lighttpd or nginx?
Bet the farm. Python or PHP?
treed: Python. For a lot of reasons. It's easy. It has a lot of libraries. The Python based CMSs are better. And most importantly it's easier to find decent python programmers. The vast majority of PHP guys I have interviewed ONLY know one language: PHP. The python guys tend to be much more well rounded. Of course the ...
Bet the farm. Python or PHP?
mechanical_fish: calendar/scheduling/notifications with some social networking and people matching/search functionality. The site will be highly configurable/maintainable by its community from establishing/interacting within groups to tweeking page layouts.How much of your app can be built by hooking together existing ...
Bet the farm. Python or PHP?
wensing: Python. It is more powerful with an extremely flat learning curve. In other words, you don't hit many walls with it. When you want to do something more powerful, the answer is 'right there'--it fits the brain.This is a bit dated but may help: http://www.artima.com/intv/prodperfP.html
Bet the farm. Python or PHP?
thorax: I loooove Python. But if asked to "bet the farm" on a web app, I'd go with PHP because it's been successfully demonstrated again in again in every form of web app you can imagine. In a year, I'd recommend Python, but I still find Django and the other web frameworks a bit too immature and clunky to do things tha...
Bet the farm. Python or PHP?
sachinag: I spent a lot of time bellyaching about this when starting my company - looking at PHP, Perl (preferred by the devs), and Python (preferred by the advisers I trust).In the end, we went PHP, and it was hugely lucky - we were able to hire a couple of devs on very short notice because we were in PHP, even though...
Bet the farm. Python or PHP?
menloparkbum: I've used all three of the languages you mention for relatively large web applications. People will say PHP sucks because it is ugly and retarded and only has one namespace. People will say Python sucks because of the whitespace issue and mod_python doesn't work on a $5/m shared hosting plan. Perl sucks o...
Bet the farm. Python or PHP?
tubby: PHP. Why? Because if you ever move your app to a hosted server, you'll have tons of hosting options with PHP. Only a few with Python.
Bet the farm. Python or PHP?
andreyf: Python has functions as first-class objects, very simple namespaces (files/folders), generators, and a cleaner syntax not to mention a thriving, growing community, much more helpful/intelligent (at least in my experience) than PHP's.PHP has a lot of coders that are one step about script-copy-pasters.No questio...
Bet the farm. Python or PHP?
talkaboutadate: Why don't you do a small prototype in both, and see where each one takes you? I'm not really a programmer, but I've got a dating web app running on around 50 pages of php.
Bet the farm. Python or PHP?
terminator: The best advice is try both PHP and Python and choose the one that matches your taste.http://www.google.co.in/search?q=php+sucks http://www.google.co.in/search?q=python+sucks http://www.google.co.in/search?q=django+sucks
Bet the farm. Python or PHP?
Hexayurt: Python. PHP is really good for hacking things out, and there's a case to be made for using Python for the back end programming, and odds-and-sods of PHP to extract data into templates and so on - but fundamentally if you have real code to write, use Python.PHP ain't bad, but PHP code is fragile. The language,...
Bet the farm. Python or PHP?
schtog: i never used Perl, one of the few languages i havent even tested.so it has a culture of libraries people say but what kind?making a lot of really high-quality ones like in python or just spewing out tons of buggy libraries with poor documentation and it is hard to find what you need or something in between?
Bet the farm. Python or PHP?
RobertL: Excellent discussion by some obviously very experienced and intelligent people. I haven't used Perl too much, I'm much more experienced in Python and PHP, but I think all are capable languages.I think the most important things to consider are things that you can't really relate effectively to a forum discussi...
Bet the farm. Python or PHP?
mojuba: Don't worry about "Extensive support of libraries and frameworks", you don't need it. All web sites I built, large and small, required only two additional components: the DB glue (typically mysql) and UTF support (mbstring). There may be specific situations when you might want to send https requests or use comp...
Bet the farm. Python or PHP?
metajack: Language isn't as important as the framework you will use for developing the web app. Have you looked at Django vs. Simfony, etc? Why not consider Ruby and Ruby on Rails?I tend to choose Python and more specifically Django.
Can anyone recommend a Venn diagram creation tool?
epi0Bauqu: You can do them in PowerPoint (click on the Diagram icon).
iPhone as WiFi base station?
wmf: A simple matter of programming. Just add AP mode to the wi-fi driver and enable NAT routing in the network stack. I have a feeling AT&T wouldn't allow it, though; they'd probably prefer that you get a more expensive plan if you're going to run a stompbox.
iPhone released: discouraged as I am?
gojomo: You could also root for Google Android.
iPhone released: discouraged as I am?
BrandonM: You could always go with Nokia's S60 devices. I've been extremely happy with my N82 so far, and there's also the N95 or the E90. Seriously, give them a look. You can install whatever you want without ridiculous workarounds, and they are all more capable devices than the iPhone.
iPhone released: discouraged as I am?
andr: Nokia's S60 is a good alternative. A very mature, yet completely open OS. Touchscreen phones coming, too. It would take years for Apple to catch up with Nokia's attention to detail. Too bad they are practically non-existent in the US...
iPhone released: discouraged as I am?
bkbleikamp: Buy Apple stock :)
iPhone released: discouraged as I am?
edw519: "But now I'm just depressed."Why? Because the landscape has changed?People affected by this will just have to adapt and find their place in the new landscape. That's all.The pie is so big there's room for everybody. And if you still don't think so, there are plenty of other pies no one has noticed yet. You ...
iPhone released: discouraged as I am?
jsjenkins168: You are definitely not alone. I'm pretty worried myself. A phone to realistically compete with the iPhone (especially at its new lower price point) is nowhere in site and the walled garden seems to grow with each Apple announcement.AppStore could be another Facebook platform situation where Apple kills st...
iPhone released: discouraged as I am?
nickb: Gotta admit, I was surprised by their new apps. They are absolutely stunning. I heard rumors some time ago that Apple would offload their web apps (.Mac) to Google. Well, these new apps look better (and hopefully work as advertised) than Google's apps. For a company that only dabbles in web development, these n...
iPhone released: discouraged as I am?
xlnt: maybe if you stopped wishing people would be "kicked in the teeth" you'd be a happier person. what you need is a better attitude. as you say, apple made something amazing. we should all rejoice.
iPhone released: discouraged as I am?
LPTS: No my friend you have it all wrong. The badge updates are a fine solution for now. Everything is fine, my friend.I'm a bit concerned with your tone. It's almost as if you don't have faith that the Steve will do what is right. Has he not given us the iPhone, freed us from shitty cell phones, and gifted us, fro...
iPhone released: discouraged as I am?
allenbrunson: it's hardly the case that the other 21k developers got "dicked over!" apple decided they were only going to let a few in during the beta period. i bet the situation will be rectified at some point after the app store launches.the only thing those 4k developers got that the rest of us didn't is a key to ...
iPhone released: discouraged as I am?
jws: I think the notification system will work out. Apparently you can use it to play a sound, "badge" an icon, or display a custom message. That sounds limited, but I think it completely encompasses the vocabulary of the user interface. Think of how Apple's programs work, and the only think I think of immediately miss...
iPhone released: discouraged as I am?
dhotson: I actually think this is going to be a fantastic opportunity for startups.. even though Apple has built some pretty high walls for developersI'm from Australia and mobile internet is currently just way too expensive and so nobody uses it. If the iPhone (and competitors) can drive demand and push prices down, i...
iPhone released: discouraged as I am?
bprater: We needed a leader in cell phones. Until now, it was such a completely disjointed landscape that developing an app for phones was a walk in a field of mines. Companies were busy grabbing for land, but weren't working hard to create a great device. Maybe this is that start of focusing how to create awesome mobi...
iPhone released: discouraged as I am?
paulv: The only problems I have with the iPhone is that Apple decides what software is available and that makes it extremely difficult to write free software for it. There's _no_ reason in 2008 that people should be excited about (effectively) a computer that is actively free software unfriendly. The iPhone seems defec...
iPhone released: discouraged as I am?
pkaler: Having worked on the XBox 360, Sony PS3, Sony PSP this is a HUGE improvement.The walled garden is not as huge an impediment as you believe it to be. Figure out if it is fiscally prudent for your organization to work on the iPhone platform. If not, move on. There are a ton of ideas that need to be worked on o...
iPhone released: discouraged as I am?
Tichy: I will prefer open source phones to the iPhone, of that I am sure. Except I don't like Android much (from a developer's point of view), and Linux on the phone seems to be still far away. For the time being it's like whatever, ALL phones suck, the iPhone just sucks a little less (hopefully).
iPhone released: discouraged as I am?
LKM: Maybe we should wait to hear whether they remaining devs will be approved at a later date. I've seen people approved with absolutely no track record whatsoever, so the requirements can't be too stringent.
What about applying Comet to Hacker News?
JimEngland: An interesting thought, but I personally believe that the small size of HN doesn't justify implementing Comet.
iPhone released: discouraged as I am?
KirinDave: Here's the thing. I think most of us here are rational enough to not degrade into raw fanboy-ism (is that asking too much?). If Apple didn't keep knocking the ball out of the park while simultaneously facing a competition that seems utterly incapable of making an adequate response, we wouldn't be having this...
What about applying Comet to Hacker News?
icey: I don't know about the rest of you, but I would personally prefer a fix to the "Unknown or expired link" problem.
Have you shifted your hours for better productivity?
nostrademons: I did this for a while when I still had a day job. I found that I was much more productive before spending 8 hours at a cubicle, so I went to bed at 9:30 and woke up at 6:30, then got 2 hours or so in before I had to go to work.I've found it's not as helpful now that I've gone full-time, because my produ...
Legality of Republishing News (a la Google News)
wmf: Fair use is an exception to copyright, so it still applies even if a feed says "you can't do anything with this data". I don't know whether fair use applies in your case.Google News certainly gets special treatment, but in the opposite way you intended: they've been sued by newspapers and newswires for behavior th...
Legality of Republishing News (a la Google News)
nostrademons: You'd take the word of random hackers on the Internet over that of your lawyer?Fair use is complicated, and depends on a lot of factors like:a.) how much of the original work you takeb.) how much of your work this constitutesc.) commercial or non-commercial?d.) do you have a positive or negative impact on...
Legality of Republishing News (a la Google News)
shafqat: We use feeds at NewsCred. We've done a lot of research into fair use, and it all depends on the factors mentioned by nostrademons in the comment below. Really depends on what you are planning on doing with/around the news.I would suggest just going for it - if you get sued, you'll get the publicity!
Resources on bots, spiders
tortilla: Regarding "competitive intelligence" you could check out RivalMap for some ideas, which is a cool looking service.http://www.rivalmap.com
Non-cellphone long distance
noodle: skype.maybe its just you, but i've not had problems.
Non-cellphone long distance
LogicHoleFlaw: Maybe an SIP phone and Asterix is the right answer? That gives you real VOIP over an internet connection.
What would you do differently?
swombat: Wtf? How did this masturbatory piece get modded up?
shared hosting
mrtron: I have had nothing but bad luck with shared hosting. I have embraced VPS's, and have had zero problems so far with my slice at slicehost. I am just a happy customer - but maybe I should see if they have an affiliate program :)edit: apparently there is https://manage.slicehost.com/customers/new?referrer=14676...
shared hosting
ichverstehe: Ever considered a VPS? Shared hosting tend to be unreliable – which is natural, you have thousand of users on the same box running all kind of weird PHP scripts andwhatnot.I'd recommend Slicehost. Cheap, reliable and slick.
What would you do differently?
andr: The most recent starting from scratch that I can remember was Palm. No real file system, no legacy anything, databases for everything. Rather quick for its hardware but wasn't groundbreaking.
What would you do differently?
gm: As long as there are people with different opinions, there will be different answers to your questions. We will split up to different "religions" again, since we cannot agree even on whether command lines are a good thing, or on what amount of freedom is a good tradeoff versus security. There simply are too many ...
shared hosting
thomasswift: I'd also give a recommendation for a vps. You get to learn some system stuff, but control over your database great. I used to be on mediatemple running a WP Blog and sometimes thing would bork the database, and it be days before they could restart it. With a VPS, I can make it happen instantly.the setup is...
shared hosting
codilechasseur: no rails, mostly php and python. slicehost is looking really nice. anyone know where the data centers are?
What would you do differently?
bayareaguy: If I could go back in time, I would make a much more serious effort to encourage people I did business with that software patents are a bad idea and that they should always insist on software for which they have sufficient source code to always allow them to legally maintain their systems without involving ...
What would you do differently?
edw519: If I could go back in time, there's one major thing I would do differently. I would:START WITH THE ANSWER, THEN WORK BACK.I wasted way too much time "coding forward" from where I was at to where I wanted to be. I should have just mocked up the final product first, worked my way back to the building blocks, fi...
shared hosting
Mystalic: Why do you want a shared hosting company in a specific area? You can manage your hosting just fine no matter their location if it's shared.And Dreamhost is the king of shared hosting. Fast, cheat, great customer service, employee-owned.
What would you do differently?
watmough: I think all the things you've objected to are 'local minimums' of some cost function.We have Windows because it was popular, then snowballed. We have C because it was the best systems language for the 'best' computers of its day, the PDP's.It seems that between people clustering to a local minimum, and moment...
What would you do differently?
deathbyzen: If I had to do it all over again... I wouldn't have taken my CIS classes so early in the morning. My brain cannot comprehend a linked list before 10am.
What would you do differently?
gojomo: "The big re-write" is a classic anti-pattern. There's hard-earned wisdom hidden in that cruft.
shared hosting
ktom: slightly off topic, but there doesn't appear to be way to direct msg you.I live in the Vancouver area as well, what is the url to your site? what does your startup do?
What would you do differently?
dant: I'd keep files but use tags instead of folders. I like powershell's object based cli, make sure nothing like the windows registry ever existed, the OS would only run byte code, memory would be transactional and grey would not be the default window background color.
Should a tech founder look for a non-tech co-founder?
davidw: Yes: they'll be able to cover things you aren't as comfortable with, and thus complement your own skills.No: since you're 'looking', it'll be hard to find someone you trust thoroughly enough to really share the work with. It's easy for non-tech types to dream up lots of hard things to code.
Should a tech founder look for a non-tech co-founder?
Mystalic: Your best bet, from my experience, is someone with the startup experience, business connections, marketing knowledge, and general know-how to execute on a completely different side of the business while you concentrate on the prototype.But for best results, and to avoid the pitfall davidw pointed out, get som...
Should a tech founder look for a non-tech co-founder?
webwright: Totally totally totally depends on what you're building. B2C? B2B? A business with lots of bizdev ops or no? Investment required or not? Is the core problem (or the way you want to attack it) a technology problem or a sales/distribution problem? Heck, or a design problem?With the general question, I'll...
Should a tech founder look for a non-tech co-founder?
edw519: "Assume a solo tech founder has all the skills needed to complete a given Web application for a startup."A huge assumption.If you're wrong about that and you get a non-tech co-founder, you're toast.Personally, I'd hedge my bets with a second tech and worry about the non-tech stuff later.I have been in the exact...
Should a tech founder look for a non-tech co-founder?
adrianwaj: You'll need both soon enough, then the question is who becomes the CEO out of the tech founder and the business founder and when. If you can make the business founder a CEO comfortably then that would be a plus.
Should a tech founder look for a non-tech co-founder?
tom: All of the skills you mention are valuable if you can find someone with "seasoned startup experience". They're not growing on trees (last I looked from my perch). A couple of questions for you to think about.Do you have the experience in the space you are trying to attack? If not, you best be looking for someon...
Should a tech founder look for a non-tech co-founder?
mdasen: It's a double edged sword.On the positive: they're good at marketing, getting in people's faces, getting the word out, getting people on board, etc. I just can't talk to advertisers so I'd end up with AdWords getting less revenue. I'd be bad at promoting the thing so there'd be fewer users.On the negative: mo...
Should a tech founder look for a non-tech co-founder?
rokhayakebe: Get a Business Graduate with Hacking skills. They exist.When hiring for a startup you can afford someone with A or B. In the worst case scenario you need someone with A and B. In the best case you need someone with A and B (assuming both are skills), and Passionated about what you are doing.It turns out t...
Should a tech founder look for a non-tech co-founder?
prakash: Whoever you find first that meets your hiring criteria.Also I would not put it as a tech vs. non tech co-founder; rather hire for complimentary skills so that as a team you can cover most of the functions.
Should a tech founder look for a non-tech co-founder?
mrtron: One big concern you should have is this: Can you recognize a talented and driven non-technical person?Just as one great developer can do ten times the work as an average developer with far less problems, the same holds true with marketing, business, etc.So, it may be more of a challenge than you expect finding...
Should a tech founder look for a non-tech co-founder?
poppysan: Marketing and funding can be a connections game. in my opinion, it's best to substitute years of sitting on a project with no connection to funding with giving a cut to a connected person with previous startup funding experience. Saves time and headache...
What would you do differently?
ajross: Just had to jump on this: 640k was no more an "artificial" limit than 4G is. The 8086, like all CPUs, had only a finite amount of die space. They chose to implement a 20 bit wide bus, because that fit the problem space of a contemporary minicomputer (the biggets PDP/11 had 4MB). But they didn't have space fo...
Should a tech founder look for a non-tech co-founder?
richesh: Google: Larry Page + Sergey Brin (both technical) EBay: Pierre Omidyar & Chris Agarpao (both technical) Microsoft: Bill Gates & Marc McDonald (both technical) Apple: Steve Jobs & Steve Wozniak (both technical) PayPal: Max Levchin & Luke Nosek (both technical) (Yes, I know Peter Thiel is not technical, at least...
Should a tech founder look for a non-tech co-founder?
aneesh: 1) Build the product 2) Sell the productIn that order. Get whoever you need to do that well.
Should a tech founder look for a non-tech co-founder?
menloparkbum: From personal experience, I'm going to say no, don't get a non-tech cofounder (exception made for clones of Steve Jobs.)There is a lot of nontechnical stuff to do in a startup but it doesn't make sense to start most of it until you actually have something working.
Should a tech founder look for a non-tech co-founder?
clb22: I had this question many times. I think is better to have a tech co-founder, because you need to tryout your product and make buzz on the market. Then, the right people for marketing and business plan will come to you.
How many combinations are possible in a 9X9 Sudoku matrix?
arvernus: Enumerating the Sudoku 9×9 grid solutions directlyThe first approach taken historically to enumerate Sudoku solutions (Enumerating possible Sudoku grids by Felgenhauer and Jarvis) was to analyze the permutations of the top band used in valid solutions. Once the Band1 symmetries and equivalence classes for the...
how to make things easier to fix?
Tichy: Following up on my own question, some thoughts:- in Star Trek, everybody could fix software. I could just say "Computer, add a 'delete' column to the mail folder view". So if hard AI is possible (which I believe), the problem is solvable. Are "simpler programming languages" all it takes?- I think "graphical prog...
how to make things easier to fix?
noodle: i've not actually taken a good hard look at this before, but i've heard good things about iceberg:http://www.geticeberg.com/
how to make things easier to fix?
olefoo: You've touched on a very deep topic, people have been trying to make programming simpler and more 'intuitive' since the beginning.And occasionally someone succeeds in making small limited improvements in specific areas; usually by heavily constraining choices available to the user/programmer. But widespread and...
Best framework to build RIAs?
xirium: RIAs? Rich Internet Applications? Stick with JavaScript. Flash and Flex aren't currently supported on the iPhone or 64 bit browsers. Microsoft Silverlight is Windows only, which will arguably make your software inaccessable to a large pool of early adopters.Recent developments with SquirrelFish will make Safari...
Should I pass on a remotely located co-founder?
swombat: I started a successful business with a friend who was in another city, two hours away.However, he was also my best friend that I'd known for 10 years.Remote is fine, but you need to know the person well in real life, or else there will be many, many miscommunications.
where's a good place to look for smart contract work?
noodle: look on any of the niche job boards.authenticjobs.com is a good start, and it has some links to aggregators where you can spread out your search. also, freelanceswitch.com's job board is decently good.they're not all designed for freelance/contract work, but they do have plenty of postings for it.
Should I pass on a remotely located co-founder?
Mystalic: I shall disagree with swombat. I co-founded a company a few years ago with some remote co-founders I had worked with on other projects. I thought it would be fine. However, there are major barriers to remote co-founders that can kill a business- Inability to brainstorm at any moment- Weakened brainstorming ...
Should I pass on a remotely located co-founder?
oldgregg: I think DHH would say you are doomed for failure unless you are on different continents. :)It probably depends on how self-motivated you both are and if you are keeping day jobs. The biggest challenge I've seen is keeping momentum-- and either distance or outside responsibilities are often huge drags -- but o...
where's a good place to look for smart contract work?
prakash: Firstly, congrats!Try the gigs board on 37 signals: http://gigs.37signals.com/gigs
where's a good place to look for smart contract work?
jon_dahl: I did contract work for 5 years before founding a product company. Most of our work came from two sources: reputation and relationships. Reputation took several years to build, so it isn't 6-month solution.Relationships, on the other hand, can be built quickly. The best relationships for us were relationships...
Should I pass on a remotely located co-founder?
SwellJoe: My current business was started with a co-founder that was nearly as far away as it is possible to be while remaining on the same planet (I was in Texas, he was in Australia...which some folks think is bigger than Texas, for some reason). I wouldn't have chosen a distant co-founder if I were "hiring" someone...
Should I pass on a remotely located co-founder?
richesh: My Co-Founder and I worked together at a consulting firm, we were in the same city. But when we decided to start working on our idea, we were in two different locations.For the first 6 months we worked remotely, and for the last 3 weeks we've been in the same location. And honestly, the amount of productivity ...
where's a good place to look for smart contract work?
ucdaz: Check out meetups, web 2.0 parties, and ppl you know within your hacking community.
where's a good place to look for smart contract work?
thomasswift: My advice: Attend networking events, meetups etc.Tell people you are looking for work, most of my work has come through friends (which you have seem to done)Charge what your worth beginning day one, maybe cut your personal friends a discount, but doing work for next to nothing to build your portfolio is gr...
Should I pass on a remotely located co-founder?
izak30: My advice is if your question is 'should I pass on xx cofounder?' the question is yes. You need to be SURE with any cofounder.If it is somebody you have worked with and know well, it may not matter if they are in a different time zone, but if you have to ask: it probably will.
where's a good place to look for smart contract work?
gexla: You didn't say what sort of contract work.You are doing a "startup" yet getting into contract work is also a "startup." They are both businesses and any business takes time to build up to a point where you can make a living from that business. It also takes time. There will likely be times when you are freela...
where's a good place to look for smart contract work?
initself: I've found small contract jobs through Dice and jobs.perl.org.http://www.dice.com/ http://jobs.perl.org/
where's a good place to look for smart contract work?
bprater: If you have cash in reserve until the end of the year, why not get serious and launch your own product based startup?With some emphasis in marketing, you could quite easily bank $5k-10k from the product and be in a good position to show off your project (that is already making moola!) for winter YC.
Should I pass on a remotely located co-founder?
flashgordon: It really depends, I think. If you know the person or has a very good recommendation from a friend, then Id test it out. I am currently working on a friend of a friend (recommended highly by the latter friend) who resides in NZ (I am in sydney). Comms is a problem. It is a very new thing but I could re...
Should I pass on a remotely located co-founder?
rms: That's a hot domain name... have you owned it forever or did you buy it more recently?