instruction stringlengths 4 105 | output stringlengths 8 56.7k |
|---|---|
Should I support OAuth or OpenID? | pwim: Hmm, OAuth and OpenID are two different beasts.OAuth is for giving your application the ability to access someone elses, without users of your application having to supply their credentials to you.OpenID allows for users of your application to use their credentials for another service authenticate with yours. |
Review Bitme.me - rank urls with Bitly | bravura: This would be useful if there were an API, that let people suck down that aggregated data and remix it. |
What are your experiences with Amazon SimpleDB? | amund: If you use it from an EC2 node it is typically faster, in the experiment on http://atbrox.com/2009/10/27/unstructuredsearchforsimpledb/ I got around 20ms query latency.Regarding reasons for why to use it check out:
http://perspectives.mvdirona.com/2009/11/03/OneSizeDoesNotFi... |
How to jump into "real world" programming? | zackattack: If you're into hip hop then i'd be happy to give you some stuff for hiphopgoblin to work on. http://github.com/zackster/Hip-Hop-Goblin |
How to jump into "real world" programming? | rms: You could try jumping in all the way... http://ycombinator.com/ideas.html |
How to jump into "real world" programming? | jrockway: Write a computer program. Any computer program. Then do that again.(Note: you will probably fail if you write something that someone else wants, rather than something you want. So decide what you want, and write that.)Ignore the advice to not write another blogging engine, or whatever. You need to learn t... |
How can I move to USA? | osipov: Mind if I ask why? US is in a serious decline and the future is looking pretty bleak both politically and economically. |
Is this an idea worth pursuing further? | petervandijck: If you are hoping to turn this into some kind of business or money-generating thing, it's not. You are creating very little long-term value, as the others have noted, it seems mainly an SEO play.I do like the basic idea though, If you really wanted to make it good, you'd have to create much better naviga... |
How can I move to USA? | andr: You have 3 options:1) As an Italian citizen you can go to the US and stay there for up to 3 months at a time using the tourist visa waiver program. You are not allowed to work, but you are allowed to interview for a potential job.2) If you get a job, it is now easy for a company to sponsor you for an H-1B working... |
How can I move to USA? | georgecmu: A better choice would be Canada. For an educated professional with command of English or (even better if it's "and") French, it's very easy to become a permanent resident in Canada. 3 years later you'd be eligible for citizenship and ability to work and live in the United States (on a visa, but with very few... |
How can I move to USA? | nfnaaron: It looks like http://travel.state.gov/visa/visa_1750.html is step 1.Step 2 might be to visit the nearest US embassy or office.Step 3 is probably determined by steps 1 and 2.Step N might involve one or two visits to a specialist lawyer in your country or the US, for advice. |
Is this an idea worth pursuing further? | scrr: Thanks everyone for your input! Those comments are very interesting and we have a lot to think about now. :) |
How can I move to USA? | Larry42: Hi, I'm in a similar situation. I live in Europe and plan to move to the bay area after earning my bachelor degree here in Brussels.I know some of the implications of moving to America, but I am wondering if the following situation could make things easier for me.I have co-founded a non-profit organization (in... |
If there was a bury/upmod brigade on HN, how would we know? | jacquesm: I've definitely seen evidence of 'upmod' brigades, if you refresh the 'new' page with a relatively high frequency (say once every two minutes) every now and then you pick up a new article that is complete nonsense but that already has 3 or 4 upvotes in less than the minute that it is alive.Bury brigades are l... |
If there was a bury/upmod brigade on HN, how would we know? | messel: 1) crap articles rise only as large as the brigade. If they have hundreds or thousands of coordinated voters, they'd be better off at bigger audience sites2) they'd leave a clear repeat user ID/IP trace. So moderator can automate detection of anomalous upvote coincidences3) if they faked new IPs while upvoting ... |
Should I support OAuth or OpenID? | najafali: Yeah, as the other posters have said, they're different things.OpenID allows users to log into _YOUR_ site with a single login that they can use for other sites that support it. An alternative is your regular user/pass login (which you'll have to implement anyway for users without openid).OAuth allows you to ... |
How to become a better programmer? | tsally: It's important to differentiate between the technical ability to build web applications and the craft of programming. It seems you are interested in the former, in which case I would recommend learning a popular framework (Ruby on Rails or Django). While you are learning a framework you'll pick up the base la... |
How to become a better programmer? | tlrobinson: Learn another language. Not just because PHP isn't a particularly good one (IMHO), but because learning new languages inevitably teaches you new ways of thinking about programming.Ruby is good for OOP. |
How to become a better programmer? | NathanKP: I can do everything I need to with PHP and MySQL, however I'm currently working on JSP, and planning to learn Ruby and Python.If you want to learn object oriented thinking I would recommend Java or C++. Fortunately I was already proficient at C++ before I started web programming so I already had a fairly fir... |
How to become a better programmer? | meddah: 91 Ways to Become the Coolest Developer in the World
http://www.techquark.com/2008/11/91-ways-to-become-coolest-d... |
How to become a better programmer? | Zarathu: "improve my PHP abilities to OOP"Reading that made me laugh. PHP's OOP is extremely flawed (among various other things, like their inability to universalize the $needle and $haystack argument order: http://bugs.php.net/bug.php?id=37088), so using PHP to "improve your technical abilities" wouldn't really get yo... |
How to become a better programmer? | daleharvey: to build complex web applications you need to learn javascript, I would also take move along to ruby / python / erlang as well as/instead of php.then I would start bashing out applications as quick as you can, stuff with a smaller scope and a clear end so you can keep them public for quite a while and learn... |
How to become a better programmer? | jacquesm: Hey Paton,The quickest way to become a better programmer is to take a real world problem and then to solve that with a technology that is as far removed from the ones that you are already familiar with as you can imagine.Since you're already in to the imperative mode why not try a functional or a logic langua... |
How to become a better programmer? | csallen: I was in your position not long ago. I'd recommend using Ruby on Rails, which will teach you a lot about OOP and the MVC framework. There are some similar frameworks for PHP (like CakePHP), but Rails' established community and abundant documentation make it a better starting place.Javascript (http://www.w3scho... |
If there was a bury/upmod brigade on HN, how would we know? | ratsbane: Hacker News source: http://github.com/nex3/arc/blob/master/news.arc Check out vote-for at line 1351. I'm looking at the code and wondering how it keeps users from up/down voting for the same article more than once.* It must be there but I'm not yet following how this works. Interesting code, though. I wi... |
What do you think about this experimental twitter app | sandaru1: clickable linkshttps://chrome.google.com/extensions/detail/bfjidghmenmplpao...http://www.conwitter.com/ |
How to become a better programmer? | zaidf: A lot of good programmers aren't fans of OOP.Of course, before you can decide whether you're a fan or not, you should understand it. So I'm all for that:) |
How to become a better programmer? | olalonde: I can't describe how OOP changed my life. You have to learn it. |
How to become a better programmer? | vdoma: I'd say focus on the basics - learn more about algorithms, operating system internals, data structures, concurrency, human-computer interaction, general OO/Functional/Procedural programming principles, etc. Languages are dime a dozen - once you're strong in fundamentals, picking up a new technology/language/fram... |
How to become a better programmer? | Asa-Nisse: Since nobody suggested it, go to college/university and learn about data structures, lists and processor architecture. It will help you become a much more insightful programmer. |
How to become a better programmer? | yannis: Before making any suggestions I would ask what is the definition of a better programmer? Since this can be a bit subjective I will suggest that you strive to become an 'expert programmer'. It is difficult to even define what an 'expert' is, but normally one would recognize an expert as someone that effortless... |
How to become a better programmer? | alrex021: Learn a new programming paradigm. For example, if you are a OOP literate, learn FP. |
What do you think about this experimental twitter app | albertsun: I see the problem you're trying to solve, I'm not sure I like the implementation. Simpler I think would be a way to create lists of users on the fly and see only their Tweets to follow a conversation. |
Does Web Traffic Always Equal Income? | breck: Yes, but the level of income varies dramatically.I've worked on sites that generate on average from $0.001 per visitor ($1 RPM) all the way up to sites with less volume but generate much higher revenue per visitor ($1.25).My guess is the type of traffic you are talking about here is the former unfortunately. In ... |
How do you organize your code on your machine? | breck: My good code I push to github. Everything else I occasionally delete or archive to my dropbox folder.http://breckyunits.com/code/how_i_organize_my_dropbox |
How to become a better programmer? | breck: Sounds similar to where I was a few years ago. Here are my tips:http://breckyunits.com/twelve_tips_to_master_programming_fas...Feel free to email me if you want to talk further. Good luck! |
Does Web Traffic Always Equal Income? | zaidf: Quality of traffic matters a lot. iJigg gets over a million uniques a month. But most of it is from Thailand and thus, we barely breakeven. I know sites getting a fraction of our traffic and making few times our revenue.So yes, traffic means income. But that is super oversimplification. User intent behind your t... |
How can I move to USA? | physcab: Sergey Brin gave a few maybe-helpful links:http://too.blogspot.com/2009/10/journey-of-lifetime.html |
How do you organize your code on your machine? | rsclarke: Two folders, 'sandbox' and 'projects'.'sandbox' is organised by language, with code snippets and small projects in each folder. If anything becomes of the small projects they migrate to the 'projects' folder. Anything in the projects folder means it must be in a repository, git or svn. |
How to become a better programmer? | macco: I wouldn't concentrate so much on certain programming languages, instead I would concentrate on designing programms.
I don't know your background. I guess you are learning on your own, so I would recommend http://www.htdp.org or http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Compute....
Some people will re... |
How do you organize your code on your machine? | algorias: Each project gets its own folder that contains branches, helper scripts, release files, notes, etc. Nothing related to the project goes outside that folder... except:Working copies, demo code, samples, etc of dependencies of my projects are kept separate to avoid polluting my backups with stuff that isn't min... |
How to become a better programmer? | fleitz: PHP is mostly an imperative language with a C-like syntax. In imperative languages with a C-like syntax most OOP is just syntatic sugar on a pointer called "this" with a bit of RTTI checks for casting. If your code is unmaintainable with out OOP, OOP isn't going to help.A far more effective skill to have is to ... |
How do you organize your code on your machine? | Zev: $HOME/Projects/<Project Name>/
$HOME/Miscellaneous/<Language>/<description/
$HOME/College/{Fall, Spring} <year>/<class name>/{Lab, Project} #/
Which is all mirrored in a private svn repo I've got running on a VPN. |
How do you organize your code on your machine? | walesmd: I don't keep any snippets around on my machine - just have a knack for remembering how to get to a specific snippet via Google.Each project gets its own directory that contains everything needed for that project (unless I have a shared framework, library, etc). All the projects are committed to a private SVN r... |
Does Web Traffic Always Equal Income? | antidaily: Ah yes, Allison Stokke. Not only is she cute, she's actually very good at pole vaulting. |
Does Web Traffic Always Equal Income? | alain94040: The obvious answer: try a few different options and report back here on how it went. Put ads on that one page. See what happens.Then try an affiliate link for related books or stuff from Amazon. See if it works better.Don't do anything that you'd feel bad about. I'm guessing that your goal wasn't to profit ... |
Does Web Traffic Always Equal Income? | vaksel: traffic does matter, the more traffic you get the more options you have.5-10K uniques/day? Congrats you can get into the premium CPM networks.1m uniques a month? Congrats you can start direct selling your advertising, without getting hung up on.5m uniques a month? Congrats you can get into premium Google adsens... |
How do you organize your code on your machine? | sidmitra: Two folders,Sandbox: Contains code i'm working on or projects that i still consider active. Some of them i've converted to github.Archived: Contains old projects or code, that are inactive, or somethings that are not on my plate in the near future.For code snippets you might use gist on github, but i tend to ... |
How do you organize your code on your machine? | awolf: ~/Projects/ for what I'm buildingEverything else is in my svn repo that I can access from anywhere with svn+ssh.Recently, I've started putting code spippets that I think I will re-use in my Dropbox. |
Does Web Traffic Always Equal Income? | qeorge: Put another way, are there situations where you can have boatloads of traffic and not make enough to pay for the bandwidth? Do eyeballs really mean all that much every time?Bandwidth is really cheap, so even the worst monetization can cover a $10/month shared hosting account. But that still doesn't mean its wor... |
How do you organize your code on your machine? | gte910h: I have a directory off the root FS for code I own, a directory off the root for each other IP holder and each person's code goes in their own directory. |
How do you organize your code on your machine? | jcsalterego: ~/gh/ is where I throw all my GitHub clones.~/svn/ is where I throw my SVN checkouts (sometimes google code stuff, but mainly just python trunk until it gets fully hg'd)~/scratch/ is where I create subdirectories for my quick-and-dirty scripts, or if I need to `cat` something somewhere real quickly. |
How do you organize your code on your machine? | pquerna: ~/code
~/code/${company_or_topical}
~/code/${company_or_topical}/${project}
Where company or topical are things like 'cloudkick', 'asf' or 'personal'. (I guess you could say, its "who owns the IP").Some of these subdirectories are actually symlinks to encrypted DMGs, again depending on who owns the IP.... |
How to setup scaled-down Craigslist for my struggling rural area? | simonk: There is a few Wordpress plugins that turn it into a simple classified site that work well.http://classifiedstheme.com/
http://wpclassipress.com/
http://wordpress.org/extend/plugins/wp-classified/
http://wordpress.org/extend/plugins/another-wordpress-classi... |
How to setup scaled-down Craigslist for my struggling rural area? | anigbrowl: Ning.com (YC alumnus) offers templates for this kind of thing - you can start with a CL lookalike and remove a bunch of sections to simplify. You could consult local businesses and ask them to participate (free), maybe print up some window stickers or do a press release for your local paper, if you have one.... |
How do you organize your code on your machine? | Calamitous: Everything I'm currently working on: ~/Projects
Older stuff, or projects on hold: ~/Projects/ARCHIVE |
How to setup scaled-down Craigslist for my struggling rural area? | innovate: Does your hometown have a local newspaper with a classified section? That might be a good place to see where the needs are and what sections will be most useful for your community specifically.Get something up and running fast... a modified blog as simonk suggested might be a good way to get it up quickly. Cr... |
How to setup scaled-down Craigslist for my struggling rural area? | NefertitiEgypt: Happy New Year
Nefertiti Egypt Teamwww.nefertiti-egypt.com
www.royal-egyptian-cotton.com
www.nefertiti-jp.com
www.nefertiti-egypt.co.uk
www.wholesaleantiquereproductionfurniture.com |
New Year resolutions and programming/coding projects | arithmetic: I'll start with my own. One of the projects that I'd like to work on, is to build a site with PHP,MySQL and JQuery. It's a really simple idea, but I want to learn JQuery properly and there's no better way to learn a library than to build something that uses it. |
How to setup scaled-down Craigslist for my struggling rural area? | breck: I tried this for my hometown of 100,000 3 years ago. I spent about 50 hours on it (it was called brocktonpost.com). It had amazing features. No one used it.My recommendation: Wait for Craigslist to come in.> less than 15,000 people or soIf 1% of people used this, that's 150 people. You might want to start with a... |
New Year resolutions and programming/coding projects | markerdmann: Learn Haskell! I've been using learnyouahaskell.com, book.realworldhaskell.org, and haskell.org/haskellwiki. If you get stuck, the people who hang out on #haskell (freenode) are both helpful and brilliant.Learning Python and Scheme was fun. Learning Haskell feels like being in an 80s training montage. One ... |
How to setup scaled-down Craigslist for my struggling rural area? | w3matter: Yeah, we have something simple. I'd be glad to let you get the code, or even set it up on one of our servers here. Provided you totally run it.We use it in Jamaica for stuff there.
http://www.brawtalist.comDependencies?
* Ruby on Rails
* Redis |
How do you organize your code on your machine? | keefe: insufficientlycurrently :
master git repository for everything, something like ~/docs
lots of breakdown of documentation
more git repositories under :
~/docs/code/projects - stuff I am currently working on or using
~/docs/code/legacy_projects - stuff that I don't want to die or need for reference, but I've los... |
New Year resolutions and programming/coding projects | ghotli: Flightcaster's Clojure => Cascading => Hadoop infrastructure has been tempting me. Starting with Clojure I'm working my way down the stack in hopes that I'll garner insight as to how we can use this infrastructure or something similar on our own datasets.Statistics with Incanter is another piece of this pie tha... |
How do you organize your code on your machine? | revoltingx: I use eclipse because it has support for a lot of the different languages I have to work with. So I organize my projects by language first under an eclipse workspace folder.~/workspace/perl
~/workspace/erlang
~/workspace/cppThen inside each folder there is a project. And I either create them or import the... |
How to setup scaled-down Craigslist for my struggling rural area? | kbob: Easiest thing would be to set up phpBB or similar forum software, then recruit a few neighbors to moderate.There is no point in applying more technology -- all the
value will come from the users (if you can get them). |
How do you organize your code on your machine? | newhouseb: I have a "Playground" folder with a ton of randomly named projects in it. I like using the word "Playground" because then I don't feel guilty if I don't finish something... |
How do you organize your code on your machine? | johngunderman: ~/projects : where I keep my personal projects~/extern-projects : where i pull other projects from github and stuff, just to mess around with / bugfixes~/src : where I store little scripts or test code, just a sandbox area to mess around.~/test : i send testing tarballs here, basically anything I don't c... |
New Year resolutions and programming/coding projects | yannis: Create a 'Django' for Lisp! |
How do you organize your code on your machine? | JeffJenkins: ~/<Project> for anything active, ~/Content/<Project> for anything I've stopped working on. |
How do you organize your code on your machine? | vlisivka: ~/projects/PROJECT — my personal projects (no longer used);~/projects/package-gen/dst/PROJECT — my personal projects in RPM package format, with automatic build system, various templates for new packages, repository of built binary and source packages;~/work/PROJECT — work;~/bin — various personal scripts and... |
How do you organize your code on your machine? | wendroid: appl/*/*.b
module/*.m |
How to design a karma reward system | JeffJenkins: What I've wanted to try but I have never had the opportunity to was having karma be accumulated on a per-topic basis. I think any time you've got a wide set of topics this is necessary to avoid the issues of people being treated as credible outside of their domain of expertise, and it could help mitigate ... |
How to setup scaled-down Craigslist for my struggling rural area? | Mankhool: I don't agree that CL will come in eventually. What is their attraction point to do so? Listing in your nearest CL designated area is problematic unless 1)Listers always include their town or, 2)People in non-listed towns fail to use CL because they are not listed. I think there is an opportunity to fill in b... |
How do you organize your code on your machine? | ErrantX: exactly the same way - a messThe beauty of a hosted SCM (I use Bit Bucket) is that I only have to remember to "pull" when starting work on a project and "push" when finishing and it is all kept safe :)I swap between about 4 or 5 machines here and at work so the chances of keeping it sane otherwise are low :) |
How do you organize your code on your machine? | jdietrich: Git. |
How to become a better programmer? | jdietrich: Build stuff. Break it. Fix it. Build more stuff. |
How to design a karma reward system | karanbhangui: I'm planning on working on something potentially very similar. Here's an outline post I made a while back: http://karanbhangui.posterous.com/course-learning-aid-propos...Lemme know if you're interested in collaboration. |
How to design a karma reward system | babyshake: It depends on your choice of language and some specific implementation details....and whether you are more interested in the user interface side, the data modeling, or both.There's a range of approaches to motivational systems, and I think in 2010 we'll see some real innovation in this area. For instance, I ... |
How to become a better programmer? | cabalamat: Lots of people like Ruby+Rails or Python+Django, so these are obvious choices. Also, if you choose a system that lots of people use, it's easier to get support from the net when things go wrong (as they are bound to from time to time). |
Does Web Traffic Always Equal Income? | jasonlbaptiste: Quality of your audience is key. You can always grow the subscriber base later, but you can't increase the quality too easily or at all. Look to serve a valuable demographic or niche sector. Someone here said banking. Women is another. Techno geeks like ourselves are another. Sports fans are anoth... |
How do you organize your code on your machine? | cschep: Weird, I thought this would be more common, I use:~/Dropbox/code/<language>/<project name>/it's all backedup and available immediately on all my machines, pretty handy. sometimes I use git inside of dropbox, but I'm still learning git in a real way so not all of my code is in it.This is a fun thread to read, I'... |
How to design a karma reward system | gojomo: Read/watch all the Amy Jo Kim presentations you can find online. |
How can I move to USA? | elblanco: 1) Come over on a student visa. Major restrictions, you have to go to school full-time and you can't work anywhere. But in the meantime you can apply for jobs at places that might sponsor an H1-B visa and/or greencard.2) Apply for a job at places that might sponsor an H1-B visa and/or greencard.3) Marry a U.S... |
How to setup scaled-down Craigslist for my struggling rural area? | dannyr: Jay,Sent you email. I may have something for you. |
How do you organize your code on your machine? | mark_l_watson: I have a system that works well for me, basically separating small test/experimental bits of code from code for customer projects. I'll talk about the layout of book code later.I keep small test/experimental bits of code in sub-directories of top level directories labeled Java_stuff, Lisp_stuff, Scheme_s... |
How to setup scaled-down Craigslist for my struggling rural area? | barmstrong: Google Groups would definitely be the simplest, although not 100% like craigslist. |
How to setup scaled-down Craigslist for my struggling rural area? | shawndrost: Some rural towns have a radio hour that's basically craigslist. If there's a local radio station, I'd guess you'd have more luck with this format than with a website. (Hat tip to "This American Life".) |
How to setup scaled-down Craigslist for my struggling rural area? | spaghetti: Perhaps myhometown.stackexchange.com could be a good start? The format is relatively simple (just Q&A). All the hosting is taken care-of... so one could set up a stackexchange in an afternoon (just seed the questions and do some basic design). |
How to design a karma reward system | Perceval: I've posted this on HN before, but I wrote a long essay about problems with account-karma-moderation systems: http://www.kuro5hin.org/story/2009/3/12/33338/3000Probably too involved for your project, but there are some problems you should be aware of from the get go. |
How to design a karma reward system | Perceval: Here's a blog that might be relevant: http://buildingreputation.com/ |
New Year resolutions and programming/coding projects | barmstrong: Get some more traction for http://BuyersVote.comIt's stackoverflow but for product reviews, critical mass is getting there but not quite. I have some other features I want to add like "awards" which show off the best and worst rated products of the year, month, etc. It would be fun to publicly shame bad p... |
How do you organize your code on your machine? | malkia: Just ~/p~/p/slime
~/p/go
~/p/ccl
~/p/sbclIn ~/p itself I'm putting some .el scripts, .txt, .bat, .sh, .cmd files for various updates (when going to the folder and doing "hg pull", "svn update", "git pull", etc. is not enough). |
How to design a karma reward system | Mathnerd314: http://public.research.att.com/~volinsky/netflix/For all your rating/karma/rewarding needs :-) |
How to design a karma reward system | barmstrong: Related question: does anyone have any info on using a super simple voting system (thumbs up/down, or just up) that does NOT suffer from time bias. In other words, an item might have more up votes just because it's been around longer. |
New Year resolutions and programming/coding projects | Hexstream: Stop trying to tackle very difficult problems and launch my damn site at last! |
How to setup scaled-down Craigslist for my struggling rural area? | ews: There are actually many ways to start a community, many of the best ones have been described here.Anyways, since I am here and I work at CL: can you send me (email on my profile) information about your city and what would you specifically need on a new geo? (specific categories/forums).I can't promise anything (I ... |
How to setup scaled-down Craigslist for my struggling rural area? | Scott_MacGregor: Since there seems to be no profit motive in setting this up, just possible overhead, like site maintenance and getting the word out, if it were me, before going to the effort to build and publicize a new site I would call someone over at Craig’s list and ask them to include your area in their list. Ju... |
How to design a karma reward system | anamax: > I would like to introduce a 'karma reward system' in order to a) motivate people to contributeWhat evidence do you have that any karma system motivates people to contribute the kind of content that you want?Seriously - look at the top karma people on HN. What fraction of them post for karma? Of the ones who... |
How do you organize your code on your machine? | Hexstream: One thing I can tell you: I'll NEVER be satisfied with how my code is organised on a hierarchical filesystem (and don't tell me I can simulate a graph properly with symlinks).I think some sort of tagging filesystem would be appropriate.Also, I hate how most programming tools assume I want to choose a "canoni... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.