instruction
stringlengths
4
105
output
stringlengths
8
56.7k
How do you meet a hacker to start a startup with if you are not in college?
burp: "Other", obviously.
How do you meet a hacker to start a startup with if you are not in college?
menloparkbum: Get a job somewhere other hackers are working.
What would you do with 4 lisp hackers and a designer somewhere in central europe?
menloparkbum: What would you do with 4 lisp hackers and a designer somewhere in central europe?I'd watch them try to replace a lightbulb and take notes on all the hilarious punch-lines that ensue. Alternatively, you could see what happens when they walk into a bar.
How do you meet a hacker to start a startup with if you are not in college?
IsaacSchlueter: Move to Silicon Valley.Join this group: http://entrepreneur.meetup.com/1737/Work for a company that has a lot of hackers. (Google and Yahoo are both very good choices.) You want quantity.Don't go back to school, it's a waste of time and money.
How do you meet a hacker to start a startup with if you are not in college?
DaniFong: Get a job working at some other startup. You'll geta) Experience in startupsb) Contacts with all sorts of startuppy peoplec) Moneyd) Stock, which could be worth a lot someday, if it pans oute) Freedom and a bunch of contacts of good people recently out of work, if it doesn't.Also, there are a few non-startup startuppy places. Google and Mozilla rank pretty highly up there. I hear Amazon is pretty good too, though the location isn't as good."Startup" conventions are pretty low on intellectual content. Startup School is the only one I'd go to. On the other hand, tech conventions are pretty good: Foocamp/barcamp/superhappydevhouse/pycon/ruby meetups are pretty good. Also, there are a lot of startuppy people in the bay area javascript meetups, if you're in the area. http://javascript.meetup.com/4/Finally, contests in programming (ICFP, SPOJ, ACM, Topcoder) and math (contest in math modeling, the Putnam), and engineering (DARPA grand challenge, the solar car project, robotics contests) are a good place to find smart, project oriented people with a lot of technical depth, drive, and follow through, though you will often have to sell them on the idea of starting a company.Good luck!
What would you do with 4 lisp hackers and a designer somewhere in central europe?
Spyckie: Q1: I would leave them alone for now. Sorry, but unless I know what my relationship is within the group, I would treat them like outsourced work (which means, I would avoid). There's just too many things that can go wrong - they may have gone belly up for a very good reason (ie - they maybe can't read the business trends or have no sense in user interface design).If I were to do anything, I would help them find contract or consulting work and keep in touch to learn their capabilities - no need to rush into things.Q2: Again, I would leave them alone, or I would give them the idea to work on (while leaving them alone). This is sounds like a recipe for disaster to me - a group of 4 people being given some work to do by an outsider, and the group of 4 doesn't like the idea enough to sacrifice for it...If I'm missing some information that would change my views, please feel free to give it.
What would you do with 4 lisp hackers and a designer somewhere in central europe?
hopeless: Hire out the designer and use the money to retrain the lisp hackers to do something useful?I'm guessing that punchlines aren't what you were looking for though. You seem to be looking for a problem (a startup idea) that requires a particular solution (4 x hackers with a lisp and 1 x chilled-out designer). That seems the wrong way around to me. And frankly, if ideas are the easiest thing about a startup, you should worry if you can't come up with your own to be passionate about.
What would you do with 4 lisp hackers and a designer somewhere in central europe?
blender: The next new new thing?
How do you meet a hacker to start a startup with if you are not in college?
aristus: Plan A: Lived 10 years in Miami. Hosted dinners, worked on dozens of projects, ran open source projects, etc. Real Hackers met: 2, maybe 3.Plan B: Moved to SF, worked at a trendy startup. Real Hackers met: are you kidding? I pass 12 of them on the bus every day.
What would you do with 4 lisp hackers and a designer somewhere in central europe?
redorb: honestly your best bet is freelance work , that could perhaps turn into a saas model...
How do you meet a hacker to start a startup with if you are not in college?
psyklic: An equally difficult question: How do you meet a hacker to start a startup with if you ARE in college? ;-)
How do you meet a hacker to start a startup with if you are not in college?
KirinDave: Get proactive, find other hackers. If you can't find other hackers, it's because you aren't looking.Physical location isn't necessarily important. I got into my first open source project remotely and that work actually led to a bunch of other jobs that got me pretty much smack dab into the SanFran startup scene.The key to getting other people to work with you is to wear your passion for a project on your sleeves. People of a like mind will be drawn to that.P.S. Why would you have to go back to school to learn a new programming language?
How do you meet a hacker to start a startup with if you are not in college?
tlrobinson: "Go back to school and learn a new programming language."Semi off-topic, but if you're in school to learn programming languages you're doing it wrong...
How do you meet a hacker to start a startup with if you are not in college?
breck: What do you think of this idea:http://www.justhackit.com
What would you do with 4 lisp hackers and a designer somewhere in central europe?
stcredzero: I'd do a Lisp operating system. The Lisp VM would be a part of the kernel. User Mode C programs would compile to Lisp bytecode and would all run sandboxed. Then I'd add support for languages like Ruby and Python by compiling them to Lisp.
How do you meet a hacker to start a startup with if you are not in college?
CRASCH: Posting a question on Hacker News about how to meet Hackers is a good start. If you are not in SC, which you are most likely not, you might post where you are.I'm always trying to meet more hackers in my area which is Denver.
What would you do with 4 lisp hackers and a designer somewhere in central europe?
bjclark: Q1. Throw up a portfolio site for them and hire them out at 2x what you have to pay them.Q2. Taken care of in Q1.
What would you do with 4 lisp hackers and a designer somewhere in central europe?
mechanical_fish: Plan A: Stage a programming contest in which the 4 CL programmers compete for the honor of being your cofounder. The graphic designer can act as judge.(You may have better luck with 2 teams of 2. That's the conventional wisdom around here, at least -- better for everyone to have a cofounder.)Plan B: For extra credit, try the Ender's Game version of Plan A. Make the contest be "building a product that people want" and have each of the CL programming teams work on its own project. If, at the end of six months, any of the projects is attracting users or (praise be) making money, offer to invest more money in those projects.
Netbooks for hacking and development?
saundby: I use an EEE 701. I mostly work at the command line with Vi for programming. Occasionally I'll look at code in KWrite. If I need an IDE, I often use Arachnophilia, which is a pretty stripped down but easy to configure IDE that recognizes syntax for a number of languages.You can also use Eclipse or NetBeans, but it takes a lot of configuring. For myself, I ended up taking both off my drive, since I found that I was doing most of my work in a terminal window even after I'd cleared up a reasonable amount of screen space in both.It depends on what you want from your dev environment.And if distraction is a problem, turn off wireless. ;)
How do you meet a hacker to start a startup with if you are not in college?
pageman: work in a coworking space http://coworking.pbwiki.com/
How do you meet a hacker to start a startup with if you are not in college?
ambition: People are drawn to success. Spend some time building your own value by making something cool. If you are impressive more people will want to meet you and more will come out of the people you meet.
How do you meet a hacker to start a startup with if you are not in college?
vulpes: One thing that hasn't be suggested is Twitter, twitter with local people and a lot of times you cross some amazing individuals
How do you meet a hacker to start a startup with if you are not in college?
michaelneale: Find us online? My details are available on HN - probably too much info online :(
What would you do with 4 lisp hackers and a designer somewhere in central europe?
bayareaguy: With cloud computing becoming popular I think there is a very good opportunity in the future for a big lisp system whose primitives kept ugly clustering issues hidden from a typical developer.With that in mind, I would have them choose a few kinds of applications suitable for EC2 and then give me a proposal on how they would build a platform for other non-guru lisp programmers to easily run lisp programs that would make good use of as many EC2 instances as were available. It's no good if they come up with something only they can use - whatever they propose has to be usable by someone who may have only read SICP or the little schemer.Should the selected application area have reasonable market potential, I'd then try and find some potential customers or partners. Ideally these would be indifferent to how their problem was solved but could understand why lisp+this platform is a good fit for their problem.If no idea produced by the team made sense to any potential customer, then I'd give up on them and go find some other team.
What would you put on the wall behind your desk?
cmos: A big sign that says "I rock this world"
What would you put on the wall behind your desk?
brk: I would put something that is non-obvious and hopefully marginally unique. This would likely mean nothing with a Dilbert, xkcd, or space theme.My walls tend to have unique artwork, and/or framed versions of my own photographs. I like when my office wall art can inspire a conversation vs. a "heh heh, funny" sort of response.
What would you put on the wall behind your desk?
qhoxie: I actually have the map of the internet poster in the room where I do most of my work. I get a kick out of it as do visitors.
What would you put on the wall behind your desk?
asp742: Genealogy of Rock/Pop Music http://www.historyshots.com/Rockmusic/index.cfmDNA Portrait http://www.dna11.com/Fotoflōts of your own pictures http://fotoflot.com/
What would you put on the wall behind your desk?
Morieris: I had this up over my desk for quite a while:http://www.astro.princeton.edu/~mjuric/universe/People always asked what it was; my standard response was "The universe. All of it."
What would you put on the wall behind your desk?
tstegart: A map of the world. It reminds me that one of the reasons I'm trying to do the things I'm doing is to be able to travel more often.
What would you put on the wall behind your desk?
maxklein: I usually put a picture of George W. Bush, sometimes I put David Hasselhof. It's great to be free to do what I want.
What would you put on the wall behind your desk?
vaksel: a picture of a window looking out on some exotic location
What would you put on the wall behind your desk?
Alex3917: When I get an office I'm planning on framing the covers of books that have inspired me and putting them on the wall. It would say something about myself, be a good conversation starter, and also make people who use their degrees as a crutch uncomfortable. An all-around win.
What would you put on the wall behind your desk?
misterbwong: Currently have these printed and posted on the wall for fun:McCarthy - Programming: You're doing it completely wrong http://lemonodor.com/images/mccarthy-youre-doing-it-wrong-s....Djikstra - Quick and Dirty: I would not like it http://flickr.com/photos/mando/1591358554/Picard - Facepalm: Because expressing how dumb that was in words just doesn't work http://www.forumammo.com/cpg/albums/userpics/10071/picard-no...
What would you put on the wall behind your desk?
mickt: A window.
What would you put on the wall behind your desk?
Erwin: VisiBone have some very nice quality laminated reference charts, booklets etc.: http://www.visibone.com/ -- their JS/CSS references have very high information density.
What would you put on the wall behind your desk?
truebosko: I wish I could put a poster up but I fear the customers. See, since we are a retail/online shop (guess which part I handle), we have one big warehouse that we turned into a pseudo office/showroom. The office is nicely away from the show room but there's no walls, so customers can easily see me, and everything behind me.It's a nice setup, very open, but I guess that restriction kind of sucks. :/ Of course, I could always put up an appropriate poster..
What would you put on the wall behind your desk?
weegee: The 'Photographic Truths' poster by Ted Orland
What would you put on the wall behind your desk?
felideon: The History of Programming Languages poster from O'Reilly.http://oreilly.com/pub/a/oreilly/news/languageposter_0504.ht...
What would you put on the wall behind your desk?
tom_rath: I find a Sword of Damocles helps.
What would you put on the wall behind your desk?
sspencer: I have Edward Hopper's "Two On The Aisle" behind me. It's one of my favorite Hopper paintings, and people often comment that they think it is a nice change from everyone's maps of the internet and automotivators.http://www.toledomuseum.org/Images/Art/Modern/1935_49.jpg
What would you put on the wall behind your desk?
shadytrees: A Foe-Glass. I've said too much.
What would you put on the wall behind your desk?
noodle: i have a bunch of personal stuff. my diploma, some of my more difficult certs, some black belt certs, pictures, and stuff.
What would you put on the wall behind your desk?
asnyder: I would put the Richard Feynman "Think Different" poster behind my desk. There were 2 different versions made, either would do.http://images.google.com/imgres?imgurl=http://www.artiges-hf...
What would you put on the wall behind your desk?
gills: paint.
What would you put on the wall behind your desk?
mattmaroon: I have a really awesome hand made metal clock. The time is still not adjusted for daylight savings.
What would you put on the wall behind your desk?
sanj: Fingerpaintings from my kids.
What would you put on the wall behind your desk?
gaius: A giant mirror. For the Feng Shui.
What would you put on the wall behind your desk?
pyroman: I would put a picture or paining of myself sitting at my desk. It would be like the Colbert painting.
What would you put on the wall behind your desk?
Locke: I've always wanted this:http://despair.com/limitations.htmlFor some reason I find it inspirational even though it's not supposed to be. My brain must not be wired correctly.
What would you put on the wall behind your desk?
maurycy: Actually, nothing.
What would you put on the wall behind your desk?
viggity: I have both an actual United States Flag (not a picture) and a portrait of the Iwo Jima Memorial at sunset.
What would you put on the wall behind your desk?
manvsmachine: right now have a print of Nature's "Relationships Among Scientific Paradigms": http://informationesthetics.org/node/20and xkcd's "Dreams": http://xkcd.com/137/
What would you put on the wall behind your desk?
gtani: linux kernel posterhttp://www.makelinux.net/kernel_map_posterOR the one that looked like the milton Bradley Simon game
What would you put on the wall behind your desk?
Zev: I've been debating about getting an Ork poster (http://orkposters.com) of Manhattan, but there are a few other cities that there's posters for as well.
What would you put on the wall behind your desk?
rms: http://www.theodoregray.com/PeriodicTable/posters/
What would you put on the wall behind your desk?
Ardit: The magnificent painting, I think from Michelangelo? Of god and man almost touching their index finger.
How would you handle this design dilemma?
aston: In general, I think navigation trumps everything. Assuming the user knows they're navigating, they're expressing intent to leave whatever they're currently in. Any roadblocks will be an annoyance.
How would you handle this design dilemma?
qhoxie: I agree that navigation is generally paramount, but some considerations:I don't think that silently discarding the data is the best option. Depeding on the flow of the site, it is possible that notifying them that data will be lost is an option, but also a hinderance to their navigation. Based on that, something to explore would be saving the data to be repopulated when/if they return to the form. Obviously that can be a lot more complex than it sounds, so it would take some planning to make it fluid.
How would you handle this design dilemma?
blogimus: Is the data in the text box to be validated only when leaving the box, or during typing (I'm not assuming browser or native application here)?As qhoxie mentioned, not simply discarding but warning the user or saving a cache if the text box contains more than a simple few characters.When/if the user returns to the page/panel/dialog, scope is immediately brought back to the "unfinished" box and validation can continue.
How would you handle this design dilemma?
jds527: Suggestion:Alert box/modal window/whatever: "This will discard the information you entered in [xxx]. Continue?" a la Safari's "Are you sure you want to reload this page? You have entered text on ... If you reload the page, your changes will be lost ... reload anyway?".
How would you handle this design dilemma?
gstar: How does the design of your site work? Can you persist the data into the pages that they navigate to?
Idea for startup: Comment Tracker
Alex3917: http://www.crunchbase.com/company/backtype
legality of re-using publicly posted material
ryanmahoski: If you encourage or openly tolerate the sharing of copyrighted materials, that is considered illegal and you can be sued for it. To be safe, discourage such activity. Instruct the community to post their own scripts or scripts they know to have been shared in the open - and then trust your community members to do the right thing. In a large community, you can't possibly police everything. So follow the YouTube example. If a developer or lawyer claims to own a script that one of your members is thought to have illegally posted, censor the file and inform the member. Ban repeat offenders.
Idea for startup: Comment Tracker
kobs: http://wiki.co.mments.com/Introduction
Idea for startup: Comment Tracker
catone: http://co.mments.comhttp://commentful.blogflux.com/http://www.cocomment.com/I've had limited success with all of them -- but I also haven't tried any of them in a couple of years.
What does Ruby have that Python doesn't?
davidw: I don't think Python lacks much, if anything. It's a very fine language, with a great community. Over the years though, I just lost interest in it, and have come to prefer Ruby after having rediscovered it because of Rails. It's pretty much a matter of taste: I like the syntax and convenience more.One (fairly minor) real world case where the syntax makes a difference is in web templates: you can use Ruby pretty much straight up to do templating, but Python requires more hoops and hacking, due in part to the whitespace issue. I like the fact that Ruby is flexible enough to be used as-is for templates as well as other code. BTW, it also needs to be said that that is the only place I've ever noticed the whitespace issue being any kind of problem: it's not the big deal that some python detractors make it out to be.In short: if you're happy with Python...great! Keep using it, you made a good choice. If you want to learn another language, pick something a bit further from it... say, Erlang, Tcl, Java, or C, depending on what your needs are.
What does Ruby have that Python doesn't?
rit: I've always taken the approach of learning both and deciding for myself. If you're interested in true proficiency and building something for yourself, go with whatever rings most true to you.I liked Ruby, but found that Python clicked better for me. That, and call me crazy - but I prefer quiet competence to foaming at the mouth zealotry. There are plenty of people who rave about Python - but they've been doing it for a lot longer than the Ruby people (simply age of language).Ruby also has gotten lots of people hooked via Rails, and that seems to be where most of the evangelism is coming from.(edit: commented to clarify my meaning below, in another comment: http://news.ycombinator.com/item?id=283771)
What does Ruby have that Python doesn't?
Alcides: Rails. but you have Django which is better ;)Seriously, I envy ruby's blocks and being able to redefine a class later in your code (monkeypatching-easy-syntax).Oh, and Shoes :)
What does Ruby have that Python doesn't?
jonhohle: this is never really brought up, but objects in ruby fully encapsulate their instance and class variables. the only way to get at them from the outside is by sending an object a message asking for them (like Smalltalk or Objective-C). what appears to be setting a property on an object, is really calling a method: `foo.bar = 5` isn't directly setting the property, its calling a method named `#bar=`in my opinion, this is powerful and elegant.that being said, i have little experience with python, but what i've seen never wowed me. it seems like it has a well written collection of libraries, but that seems to come from the community more than the language. correct me if i'm wrong.
What does Ruby have that Python doesn't?
simonw: Two good things and one bad thing. The good things are multi-line lambdas (which Ruby calls blocks) and loose syntax rules, which I found weird at first but is the secret behind all of that DSL stuff.The bad thing is the cultural tendency of the Ruby community towards monkey patching, which in my opinion trades long term maintainability for short term convenience.
What does Ruby have that Python doesn't?
gaius: My experience is that the languages are similar in terms of features, but the communities are very different and there isn't much overlap between them. Ruby types tend to be younger, focussed on the web, probably employed as full-time developers. Python types tend to be older and not employed as developers, but write code as part of their main jobs. Python people often have experienced a nightmare of unmaintainable Perl, that is why there is the insistence on there being one right way to do everything (which is the exact opposite of what Perl people believe). Ruby people (being younger and hence less experienced) haven't, which is why they talk about expressiveness and do things like monkey-patching. Neither group is "smarter" and neither language is "better". The choice is a choice of what community you want to join, not a technical one.
What does Ruby have that Python doesn't?
jazj: Rails.
What does Ruby have that Python doesn't?
maxklein: The languages are similar enough that it does not really matter. Just pick any, but make sure you balance it out by also knowing a low level language or a functional language.Remember this: Every language you learn is a big investment in time and energy, and I don't think many people can be really proficient in more than 2 or 3 languages. Some can, but not most.So, choose wisely, because you will likely be using that language for a long time to come. I personally prefer python because it's more widespread and right now, you have more available to you when you know it than with ruby.
What does Ruby have that Python doesn't?
olavk: I prefer Python, but I am somewhat envious of Ruby blocks. Also I like the idea that method calls are messages.
What does Ruby have that Python doesn't?
pdubroy: Hype? ;-)
What does Ruby have that Python doesn't?
subwindow: It isn't so much about language features, as both languages are roughly equivalent in that sense.It is about how the language makes you feel. If you're going to be spending >5 hours a day writing in some language, it is of great importance how that language makes you feel when you write it. Simply said, writing Ruby makes me happier than I've ever been while writing code.Python is to German as Ruby is to French. You can get roughly the same message across equally well in both languages, but French just sounds so much better.
What does Ruby have that Python doesn't?
tokipin: personally i don't like the 'one way' mantra that Python is designed by, because it seems to imply a couple things. 1, the language is probably not as flexible and powerful as it could be. and 2, the design goal is similar in nature to that of production languages, eg Java which forces object orientation. the intentions are good... to allow the construction of readable, maintainable software by normal humans, and Python is at least not as retarded about it as Java, but i have found that languages which constrict aren't for meso to me Python seems more of a team production dynamic language than one where i can get into flow and crank shit out
What does Ruby have that Python doesn't?
demallien: There really isn't a huge difference between the two. For what it's worth, I personally prefer Ruby because it has better support on the Mac - Apple use ruby a fair bit themselves. For example, the command line tool gen_bridge_metadata (supplied by Appleto make it possible to access system frameworks written in C from scripting languages) is itself a ruby script. I notice that on Linux it's the reverse - python seems to be the preferred scripting language.But don't take my comments as saying only ruby is supported on the Mac, or only python on Linux - in reality it's only a light preference one way or the other.
What does Ruby have that Python doesn't?
thisisnotmyname: The lack of built-in regular expressions is a pain point for me.
What does Ruby have that Python doesn't?
jrsims: I really like Python, but it doesn't have an equivalent to CPAN or RubyGems.I'm actually quite puzzled by this.
What does Ruby have that Python doesn't?
raganwald: They're both impressive, modern languages. What I find interesting when comparing Python to Ruby is how much Python isn't like Lisp. Matz has said outright that he considers Ruby to be "MatzLisp" and it shows, whereas Guido has absolutely no problem chucking Lispy things overboard--like multi-line anonymous functions--if they do not fit the rest of the language.Instead, Python finds another way, like powerful list comprehensions that can be used wherever Ruby would use blocks and maps.So I would say you can learn some very interesting things from either language, and there's a good chance they will be different interesting things.
How do you organize your code?
truebosko: I have a similar setup to you and I agree, mine isn't optimal but it works (for now). Basically it's:/dev- /dev/py-+ /dev/py/projectA-+ /dev/py/projectB- /dev/lisp..etc- /dev/php.. etcAnd so forth. I like having all my code in one area but still separated enough that I can easily fetch what I need.I also have some "global" folders for things like Javascript code, random HTML/CSS junk, and so forth
How do you organize your code?
ichverstehe: Throw everything in ~/work/my_awesome_hack .. you really need a lot of projects before that gets unorganized. Deprecated code that I never touch is in ~/work/_oldies.
What does Ruby have that Python doesn't?
gtani: Well, they're both foundational languages, pretty much, not in the sense of this blog, i.e. most instructional languagehttp://mvanier.livejournal.com/998.htmlbut in the sense of can you put up a significant web app in 2 or 3 days, do lots of companies use it (along with C, java, C#, javascript).r vs. p can't be reduced to 15 bullet points, but one of the best things i remember is Alex Martelli in 2003, so he was talking about ruby 1.6 and python 2.3, i believe, but still validhttp://groups.google.com/group/comp.lang.python/msg/28422d70...and here's the last thread from May.http://news.ycombinator.com/item?id=157269There's the other killer apps: Python: twisted, zope, SQLalchemy, mercurial. Ruby: rake, capistrano, rspec, adhearsion, merb, puppet, metasploit. I'm sure python has a bunch more, but i've been living in rails-land.
How do you organize your code?
makecheck: I used to have projects organized in a root, but I found that I spend so much time visiting specific ones that it's easier to have them directly in home.So now I have, e.g. ~/ProjADev instead of ~/Development/ProjectA. It's much nicer for quickly reaching them in new shells.Under the project I typically have one subdirectory ("svn") to represent the checkout, so there's "svn/trunk", etc. This allows me to easily add project-related scrap files that clearly aren't meant to be checked in.As for organizing what is checked in, my approach is not typical. :) For instance, I don't believe in separating headers and source files...I find it extremely inconvenient to have them in different places, so I dump them in one place.
What does Ruby have that Python doesn't?
Zak: First class symbols are the big one, I think. Of course, we all know about Python's brain-damaged function literals.
What does Ruby have that Python doesn't?
eznet: I think that a lot of the popularity of Ruby came not so much from Ruby itself, but Rails. I think that with the emerging popularity of Django, you are likely to begin noticing a similar influx of Python enthusiasm...
What does Ruby have that Python doesn't?
iamnirav: I like how this conversation has gone on for so long, but on the whole, everyone's still polite and detailed in their responses. :-) warm fuzzy feeling
How do you organize your code?
raju: I guess my answer is a longer one than you would want, but I will put it out here anyway... I use Windows, and the first thing I do is move my home dir to C:\home\raju. This is where everything thats I will ever need to backup resides along with another directory, C:\projects.To answer your question, my projects directory looks a lot like truebokso's, with sub-dirs language based (with does not work all the time) and sub-directories to individual projects.Console on windows gives you the ability to wire up the console opening up in any directory, and so I use that to get to any project I am working on at a particular point in time.I blogged about this arrangement a while back -http://looselytyped.com/2008/05/04/windows-reinstallation/Hope this helps.
What does Ruby have that Python doesn't?
waldrews: Though I'm pro-Python on maintainability grounds, there's one Lispish feature Ruby has that I wish were available in Python, that's not even in the Py3000 spec: continuations. The Ruby community doesn't seem to be too enthusiastic about using them though. We're just beginning to see continuation-based web framework experiments on Ruby, in the spirit of Seaside in Smalltalk.The continuation-based web frameworks make state management on the server transparent; but they have a scalability problem since state can't move between servers or even be taken out of memory on the same server.Now once somebody makes serializable continuations practical - certainly a hard problem - it would be a jolt to web development on at least the same that Rails has been.
What does Ruby have that Python doesn't?
tptacek: What the hell, they're only karma points:I lived with Python for 4 years before I lost an argument at my own company and had my project moved to Ruby. I've since moved in with Ruby and haven't looked back.* Everything in Python feels like a symbol table hack. Private methods? We have those! Just exploit this bug in the class symbol table lookup code!* First-class symbols. There may be little difference under the hood between a Ruby interned string and a Python string atom, but there's definitely a difference syntactically. This is a difference that is hard to articulate, but if you've written much C, it's like having every "enum" you could ever want predefined for you, and completely eliminates "magic numbers".* Blocks and lambdas. I've read GvR's take on this. I know he thinks a named function is just as good --- maybe even better! --- than an anonymous function. I had nested named functions/functors in C++ and Java. Even Tcl "uplevel" is better than Python's castrated lambda.* Method definitions in Ruby don't need to accept a "self" argument. Again: all of Python feels like a symbol table hack to me.* Ruby has first-class Regexps. Python has an "re" library. You know what else has an "re" library? C.* I haven't found an expression that is better written as a list comprehension than as a map/reduce/select expression.There are painful things about Ruby:* The FFI is immature. Outside of Common Lisp, Python ctypes may be the best FFI out there.* I never got Python to crash on me (at least, not where it was Python's fault). I crash Ruby once a week.* Ruby is palpably slower than everything. If performance matters to you and you don't know C, you may be better off in Python.* The community is led by the nose by Rails developers, which can at times feel like a worst-of-all-worlds grab bag of methodology programmers, web designers, and dabblers.
What does Ruby have that Python doesn't?
iamelgringo: About 6 months ago I decided to learn either Python or Ruby because I wanted a language to write webapps and simple computergames fast.If you're after writing simple computer games fast, then you might have a look at Pygame: http://www.pygame.org/news.htmlThere are also a number of visual effects companies (ILM, Dreamworks) that use Python as their system scripting language. I don't know if it's because of that community, but I find a number of graphics/games libraries in Python: http://www.vrplumber.com/py3d.py and http://vpython.org/Blender the open source 3D modeling program used Python as it's scripting language last I checked: http://www.blender.org/I don't know if Ruby has libraries like that or not. I've only used Ruby to mess around with Rails.
How do you organize your code?
grandalf: my main projects go in /home/myusername/and the rest go in /home/myusername/projects/and stuff that I'll delete soon goes in/home/myusername/test
How would you handle this design dilemma?
solost: If you are using some sort of enter button to have the user submit their data and they fail to do so before navigating away from the page, then navigation should happen and the data in the text box should be lost.Otherwise the text box data should be acted upon as soon as the user hits the submit button.
Idea for startup: Comment Tracker
sameerpatel: For comments that have RSS feeds, you can add it to zaptxt to monitor via Skype, IM, Email, Mobile. No FF toolbar, but a browser bookmarket is available
How do you organize your code?
rcoder: I mirror all my code and projects between my home and work systems, so the layout is vaguely like this: ~/Projects/ /work/ /account-tools/ /courseware/ /system-mgmt/ /personal/ /blog/ /throwaway/ /org/ /fundraising/ /public-site/ (etc., etc.)The meaning of the 'work' and 'personal' directories should be apparent, and 'org' is for non-profit volunteer work.Each project is under some sort of version control, but it could be CVS, Subversion, or Git, depending on how many years ago I last worked on it.
How do you organize your code?
speek: This is what I use at my office:TPL (three letter code for client Tippingpoint Labs -> TPL)-> ~Resources (global resource files)-> ~Information (research for the client)-> TPL08-01Website (client ID + last two digits of the year - job ID---> ~Resources(resources for the job)---> 080210 (date coded, 10th of February, 2008)---> 080220 (date coded, 20th of February, 2008)------> actual stuff inside-> TPL08-02CookieRecipe..etc-> TPL08-999_IT..etcAt home, I just use three directories: /school, /work, /play. School has all of my school stuff in it (it's subdivided into year and class), work has all of my work stuff in it (a less intricate version of the above), and play is just a dump where I plop files.
How do you organize your code?
procyon: I primarily like using console while working on a project. I have a centralized location which is connected to my "very-rudimentary" version system. I have written small scripts which run every single time I fire up console. At times, I have project specific console scripts all reside on my desktop. I have global key shortcuts to open up consoles for commonly used projects. Simple aliases and scripting trick is kinda abstraction over the actual code organized in folders. I find it eminently helpful since I use Linux and Windows both quite frequently, so it keeps everything consistent for me.
How do you find interesting stuff to read besides HN?
blender: Feel that way sometimes myself...I do like The Register:http://www.theregister.co.uk/headlines.atomThe have a slightly European bent (which is refreshing at times) and take sarcasm to new heights.Cheers