151 items tagged “programming”
2012
Which language and framework would you use today?
Unless I had a very good reason to use something else (a pure websocket/real-time collaboration app perhaps) I’d go with stock Django on PostgreSQL and maybe a bit of Redis. Simple, powerful, stable and works reliably.
[... 50 words]How can some really large services (like Dropbox) afford to use Python as a primary language, if it’s one to two orders of magnitude slower than other, compiled languages?
Because raw language speed often doesn’t matter that much. In the case if Dropbox the client software spends most of its time waiting for bits to load from the network or from disk. Most large websites spend their time waiting for the database. You can’t speed up network or disk performance by using a faster language.
[... 91 words]What are the ways to show enthusiasm about programming?
Have cool side projects to show them.
[... 22 words]What programming language is primarily used in the making of big budget console games?
C++ still rules the roost here, but many games also integrate a dynamic scripting language of some kind for scripting level logic and so on. Lua is a popular option for this.
[... 52 words]What are some programming conferences and events being held near Detroit, MI?
We have a crowdsourced listing of conferences and events in Michigan here: Conferences in Michigan | Lanyrd—two that might be relevant to you are Agile and Beyond 2013, 9th March 2013 and Kalamazoo X Conference 2013, 13th April 2013
[... 83 words]How do I really learn coding?
Build real websites. Find a project and work on it. A personal blog is a great project as it can be simple to start with and get more complex over time.
[... 44 words]Django (web framework): What are the Best Practice For Displaying another Website from yours?
This isn’t really a Django-specific question—the answer would be the same no matter what server-side tech you use.
[... 121 words]How did Simon Willison learn programming?
My dad taught me to program at first on a Commodore 64 when I was about 7. I only found out many years later that he’d had the “how to program” manual on his left hand side, me sat on his right hand side and was only ever a couple of pages ahead of me in the book!
[... 259 words]To become a better developer ? To read more OR to create/contribute to open source projects?
Contribute to an existing project, rather than starting one yourself. There are a bunch of benefits:
[... 231 words]How should one go about designing a simple web based collaborative text editor?
Take a look at the open source ShareJS library, which implements a bunch of the fundamental (and extremely tricky) algorithms you need to get collaborative editing in the browser to work well: https://github.com/josephg/ShareJS/
[... 53 words]Any source available to download sample data (in 10+ GB) for testing?
Wikipedia has some pretty interesting dumps, in both XML and SQL format: http://meta.wikimedia.org/wiki/I...
[... 100 words]How can I learn more about server-side technologies?
Get yourself a VPS, set it up from scratch and run some non-critical websites on it (nothing with private user data since you can’t be sure you’ll set it up securely). Both Slicehost and Linode offer a good set of guides to a whole host of common tasks:
[... 109 words]Is it bad practice to have a variable that has the same name as a function?
Yes, it’s definitely not a good idea. In Python functions and variables share the same namespace, so if you create a variable with the same name as a function you won’t be able to call that function.
[... 93 words]What is a development framework?
The most useful distinction, in my opinion, is to think about the difference between a framework and a library.
[... 271 words]Did Mark Zuckerberg have any knowledge on building scalable social networks prior to starting work on Facebook?
I’m going to bet he didn’t have this knowledge, simply because back when he launched Facebook in 2004 almost NO ONE had this knowledge—there simply weren’t enough “web scale” products around for the patterns needed to run them to be widely discussed.
[... 143 words]Should I use Dropbox instead of Git for 2 coders? In terms of going really fast and working on things at the same time, I’m thinking it may be uber productive to use Dropbox for it’s instant syncing instead of Git/Github. What are the pros/cons?
Dropbox is definitely the wrong tool for this—you’ll find yourself running in to all sorts of weird problems very quickly if you attempt to use it this way.
[... 119 words]Do country/city IP addresses always stay the same?
Yes, they can change—and there isn’t much central control. IANA dish out IP blocks to regional authorities, who hand them on to ISPs,who distribute them to end users... But the ISPs might cover multiple cities or even countries. You can read a bit about this process here: http://www.iana.org/numbers
[... 154 words]Does Amazon have a API for websites to utilize order and delivery fulfillment?
The Amazon Fulfillment Web Service used to handle this http://aws.amazon.com/fws/—but their site now says "Effective June 2012, Amazon Services will no longer support Amazon Fulfillment Web Service (Amazon FWS). All functions and services currently supported by Amazon FWS are currently available through Amazon Marketplace Web Service (Amazon MWS)." So I guess you want the Amazon Marketplace Web Service: https://developer.amazonservices...
[... 82 words]What’s the best way to learn how to scale web applications?
Read “Building Scalable Websites” by Cal Henderson. It’s a few years old now but still very relevant—it basically covers everything he learnt the hard way scaling Flickr. It’s a really fun read, too.
[... 98 words]Will I be able to make a decent eCommerce website just by learning coding from Codecademy?
I have more than ten years experience building dynamic sites, and I’d still personally much rather use a hosted service like http://www.shopify.com/ than build an eCommerce system myself.
[... 51 words]What are the best resources for learning regular expressions?
The O’Reilly book on Regular Expressions is absolutely superb. It will help you build a much deeper understanding if how they actually work than any online tutorial I’ve seen.
[... 62 words]Why are front end developers so high in demand at startups if front end development is relatively easier than other fields of engineering?
You’re starting with an invalid assumption. Front end development is absolutely not “easier” than other forms of engineering.
[... 333 words]Which core programming principles apply to all languages?
YAGNI: http://en.wikipedia.org/wiki/You...
[... 17 words]Wouldn’t an ASCII cellular automaton in javascript be the simplest starting point to teach/learn programming?
Absolutely not. The first step in learning to program is understanding that a computer can be quickly made to do something useful by executing lines of code. Personally I’m a big fan of firing up something with an interactive prompt (like Python, or even Firebug or the Google Chrome JS console) and demonstrating that typing a line of code hitting return will get a useful response.
[... 87 words]Can Scala gain wider usage than Java any time soon?
No, because Scala is harder to master than Java.
[... 54 words]What is an intuitive explanation of Unicode and why a programmer needs to know it?
Check out “The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)” by Joel Spolsky: http://www.joelonsoftware.com/ar...
[... 55 words]Tech Startups: What skills/technologies would the ideal technical co-founder possess?
The most important indicator is: can they ship? Can they prove that they know how to take a project from idea to running code deployed to a server somewhere with actual people interacting with it?
[... 109 words]Do people still write and compile programs from the command line, instead of an IDE? Why or why not?
Being an expert with command line tools gives you super powers.
[... 94 words]