instruction
stringlengths
4
105
output
stringlengths
8
56.7k
How useful is Pair Programming?
snprbob86: This was discussed on HN recently. Lots of good comments here:http://news.ycombinator.com/item?id=490173
How useful is Pair Programming?
philcrissman: If you have access to trade journal type archives (IEEE, ACM, etc) you can find a lot of articles/studies on pair programming. Most of those that I've seen tend to be positive in their attitude toward pairing, though it's sometimes hard to tell if bias is at work there; also, many are in an academic setting environment rather than a corporate or startup/consulting environment, which may lead to some different results.If you're a student, or know one, it's very probable that your school's library might have online access to some of these journals. If you want statistics, that might be a good place to start.
Web 2.0 and The Four Steps to the Epiphany
cubicle67: Any chance of a quick outline of what the four steps are?
Twitter in the news: is this all PR?
ivankirigin: You can't pay for PR this good. P Diddy, Shaq, Ellen, Kutcher, Fry, etc.They tell people about it because they like it. They probably like it for reasons that are different than normal people.They want to maintain relevance as celebrities. Twitter is a way to do that.
How useful is Pair Programming?
jimfl: Three words: Pair as needed.
Twitter in the news: is this all PR?
kyro: For those who have said that Twitter is far from mainstream, let me tell you, you're wrong.Almost every major radio station here in southern California, ie KISS FM and POWER 106, encourage their users to follow them on Twitter. The other day, I was watching the Martha Stewart show, don't ask why, and she mentioned her Twitter account, asked how many had an account, and encouraged all who did and didn't to follow her. This morning I'm watching the Today show, and one of the anchors mentions Twitter and how it's blowing up. This, on top of the fact that many big time celebrities are using the service, has definitely convinced me that Twitter is here to stay, at the very least, as a wildly successful media tool.
Channels to Venture Capital
pg: 1. http://ycombinator.com/topvcs.html2. Find the shortest path in your network of friends to someone who is a founder or early employee at one of their portfolio companies, and ask them to introduce you.
How useful is Pair Programming?
seshagiric: The bloke in my next cubicle practices it and I hate it!All day long they are always discussing where to put an if condition, assert or what to name their variables. And fuck I cannot concentrate.
Web 2.0 and The Four Steps to the Epiphany
eries: I strongly believe it's a valuable resource, especially for web 2.0 companies. You can read my review here:http://startuplessonslearned.blogspot.com/2008/11/what-is-cu...And how it fits in with agile development here:http://startuplessonslearned.blogspot.com/2009/03/combining-...
Best networking venues in SF to meet programmers
catch23: Hah. Don't waste your time on any of those... You'll probably meet the wrong kind of "programmers" at those events. I would say stick with the language meetups (Ruby, Python, etc) and attend SuperHappyDevHouse. Also visit coworking facilities, you might find interesting people there as well. I tend to meet some of the brightest hackers at coffee shops, but ymmv.
Would you employ someone in exchange for equity?
floozyspeak: What do they bring to the table and how badly do you need them?
Would you employ someone in exchange for equity?
lethain: Do you want this individual as a co-founder?, because that is essentially the role they would be stepping in as. At minimum you would need to write a solid vesting plan of some kind, to prevent the individual from quitting in a month and taking the equity with them.That said, I would be somewhat suspicious of the situation where someone is willing to work for only equity. Are they already independently wealthy? Are they having trouble finding paying employment?
Review my site TweetBoss (www.tweetboss.com)
Steve0: Very nice work! Good idea and love the implementation. Still some work to do, but you've probably noticed this as well.It's better to group synonyms, like "IE8" and "Internet Explorer 8", but how you would implement this is a mystery to me.Also some content are duped stories on different sites, maybe a filter could fix this.
Feedback on my idea?
pclark: sounds like a blog: something famous for requiring about an hours work - do it, post a link here and keep it up to date for a few months.
What is a fair hourly rate split btw consultant and consulting company?
icey: Which way is the split going? You're a little unclear here.A 60/40 split, with the consultant taking 40% is standard fare in many markets, but I have heard it's often less favorable in NYC, Boston, DC and the Silicon Valley. I have never consulted for a firm in any of these locations, so I can't provide an answer.If you're talking about a 70/30 split with you taking 30%, I would say it mostly depends on whether or not the 30% is adequate for you personally.If you're talking about a 70/30 split with you taking 70%, you would be very hard-pressed to find a more favorable split.
What is a fair hourly rate split btw consultant and consulting company?
goodgoblin: Here is a link on the subject: http://www.javalobby.org/java/forums/t19707.html
Channels to Venture Capital
staunch: Bootstrap yourself until they come knocking on your door.
Feedback on iPhone app address book cleaner
terpua: We are still in the process of getting approved by Apple.Direct links: http://www.pikitchen.com/cleanbook.htmlhttp://www.pikitchen.com/cleanbook-jr.html
Do you enjoy programming or do you see it as a means to an end (start a business)?
amichail: http://news.ycombinator.com/item?id=515463
Do you enjoy programming or do you see it as a means to an end (start a business)?
noodle: nothing in and of itself is enjoyable to me.i can have lots of fun programming, and also absolutely no fun. it depends on what i'm doing and why. same thing with reading. same thing with sports. same thing with anything.edit: also, zombie thread http://news.ycombinator.com/item?id=515463edit2: beatten by amichail
Do you enjoy programming or do you see it as a means to an end (start a business)?
davidw: If you don't enjoy something about programming, I don't think you're a "hacker", to put it bluntly. The something doesn't have to be writing code, but might be solving problems with computers in a more general sense.
Where can you find Government Startup Resources & Grants?
tjr: If you're doing something that meets the criteria...http://www.nsf.gov/funding/pgm_summ.jsp?pims_id=5527&org...
Review my site TweetBoss (www.tweetboss.com)
catch404: Wish I could upvote this x100 - Great idea, it's exactly what I need! Well done :)
Do you enjoy programming or do you see it as a means to an end (start a business)?
daleharvey: Both for me, I dont enjoy coding for the sake of coding, I enjoy the process of creation.
Do you enjoy programming or do you see it as a means to an end (start a business)?
brianto2010: Yes, I do enjoy programming. Sometimes, it is a means to an end for me (as in to accomplish a task, not a business), but is nonetheless fun.Typically, I find the most enjoyment out of programming when I am working on projects I want to work on. The sheer joy of seeing your creation come to life from your own two hands is immeasurable. Even fighting (and conquering) bugs and the compiler is thrilling, despite the superficial swearing.Programming as a means to an end is also enjoyable, given certain circumstances. For example, I still feel a rush when I crank out a memorized quadratic solver program or trapezoid rule program on a TI-83/84 for a friend or classmate in math class. Also, I get my work done much faster.However, programming as a required task is unpleasant. In my AP Computer Science course, I am required to create derivative "Bug" classes from the GridWorld API and hand it in. It is utterly boring! I feel like a code monkey every second while programming that monstrosity. It offers no benefit for me at all. The only thing I get out of the ordeal is a stupid little number (actually letter) that goes on my transcript. By the way, I also learn all essential topics (like data structures) outside of class, so I really feel like I am not missing anything interesting or useful.At the risk of being proved incorrect or downmodded, I will offer an analogy:Programming is like an arts-n-crafts class when you were a child. You get to create neat-looking bracelets, necklaces, ceramics, or origami in a relatively short time, but with full excitement. Best of all, you get to keep your creation and treasure it forever. That is the true reward.Programming is also like a pointless required class in grade school. You do relatively boring projects just to fill out the graduation requirements and the only reward you get is a small number placed in the top-right corner of your paper which might give you bragging rights, if at all.For me, programming merely for the hell of it is fun.
Startup Share Distribution for New Comers
hims10: http://sethgodin.typepad.com/seths_blog/2009/03/advice-on-eq...
Anyone know anything about Lua?
sgoraya: I've used Lua for video game scripting - it was pretty quick and easy to learn (I had a C/C++ background).There is a relatively large community of help - I got a lot of tips from the list-servs.Not hard at all to find coders with Lua experience - I assume most will have a video game coding background, but should be able to get something coded for you - post it on Odesk, rentacoder, et. al. and you'll have no problems
Anyone know anything about Lua?
triplefox: Lua is well-liked because it's runs very close to C and easy to embed against, it's Algol-like, it has no dependencies beyond C itself, and it performs decently. It isn't as widely used as Python or Ruby because being embedded means it has a tiny standard library, and correcting that would go against the strengths of the language. (There's code and libraries out there, but it's all fragmented)That said, the community is out there, and pretty widespread.
Review my site TweetBoss (www.tweetboss.com)
raamdev: Very cool.Slight bug with the refresh counter. I clicked the TweetBOSS logo to refresh the page when the counter was at 0.2 min(s) and the counter updated to "Next Refresh In: -0.1 min(s)". ;) (Subsequent refreshes showed the correct countdown.)
What's the purpose of the resistor in this circuit?
tocomment: I understand what circuits do a lot of times but I never understood why there's always a resistor even on simple circuits. And how do you decide when to use one, how do you know what resistance to use when designing a circuit?This really simple circuit illustrates my confusion.
What's the purpose of the resistor in this circuit?
brk: It's a pull-down resistor.Without it, when the temp sensor/thermistor was at infinite resistance, the Arduino pin would essentially be floating, and you'd get erratic readings.A pull down resistor is usually proportionally very high resistance in relation to the sensor or other device that is the variable in the circuit.If it were tied to Vcc, it would be a pull UP resistor, but same concept.The idea behind it is that the pin is never just left "open". If there is no voltage coming through the sensor (temp sensor in this case), then the resistor pulls the pin to ground and you would get a reading of zero volts.You want the resistance of the pull-down (or pull-up) to be high, 10K-100K are typical values. Voltage drops across all elements in a circuit, in proportion to that elements resistance in relation to the total circuit resistance.If the temp sensor ranged from 0K to 10K, and you used a 10K pull-down, then you would have a range of 5V-2.5V for readings at that pin. As you scale up the value of the pull-down resistor, you will get less voltage drop across that resistor, meaning that you have a wider voltage range at the input pin for the same temperature variance, which results in more precise readings.
What's the purpose of the resistor in this circuit?
jussij: Given that : V = I x RWhere: V = voltage I = current R = resistenceFor this circuit: R = VR1 + R2 V = 5 I = 5 / (VR1 + R2)That means the voltage at analog pin 0: VO = 5 - I * VR1 = 5 - VR1 * 5 / (VR1 + R2)So if you did not have the R2 resistor: VO = 5 - VR1 * 5 / VR1 = 0
What's the purpose of the resistor in this circuit?
tjic: It's a voltage divider.http://en.wikipedia.org/wiki/Voltage_dividerCaution: I'm a CS major, not an EE, so your probably want to verify my assertion before trusting it...
What's the purpose of the resistor in this circuit?
orblivion: Most simple answer I can give:If the resistor were replaced by a wire, the pin would always be connected to ground, rendering the thermistor irrelevant.If the resistor were removed and ground disconnected entirely, the pin would be connected, through the thermistor, to +5V, again rendering the thermistor mostly irrelevant.It needs to be part of a ratio of resistors in order to vary between 0 and +5V.
What's the purpose of the resistor in this circuit?
djahng: voltage divider: v_analog = 5V * R2/(R2 + VR1)it's pretty meaningless by itself, you also need to know the bit resolution of the ADC and reference voltage.
How do Mac software developers make realistic icons?
hbien: Check out http://iconresource.net/
Anyone know anything about Lua?
corysama: Although their syntaxes differ, Lua and Javascript are functionally very similar. Lua is like Javascript without the burden of maintenance-by-committee.Lua is very small, very portable, very easy to embed and extend in C/C++ based apps and is one of the fastest interpreted languages available. These features taken together are why Lua is the industry standard for runtime scripting in games.You should be aware, however, that unlike Ruby or Python, Lua's standard library is intentionally minimal and available add-on libraries are relatively sparse. The intention is that you are not inheriting a fat body of functionality when you adopt Lua. Instead you are starting with a slick, flexible core and customizing it into exactly what your app needs.
How do Mac software developers make realistic icons?
tvon: You might have better luck asking in the MacThemes forums: http://macthemes2.net/forum/index.phpAlso, the "so you want to make an icon" thread might be helpful: http://macthemes2.net/forum/viewtopic.php?id=16791388(I'm not a graphic designer so I can't really say how much help that will be)
Where is the best place to host an ASP.net app/site?
timothychung: I am 100% no expert and without experience in hosting.Just some comments for you:Rackspace is a big company. Maybe you can have a look there?Maybe PeakInternet is good too? They host StackOverflow.com.
Where is the best place to host an ASP.net app/site?
nreece: I'd highly recommend DiscountASP.NET - http://discountasp.net
How do Mac software developers make realistic icons?
Zev: Unless the developer is particularly talented, they most likely outsourced it to a company that specializes in graphic design / icons. A very good (and expensive) icon making company is Iconfactory (http://iconfactory.com).However, I think you were asking how to learn on your own? In that case…Short answer: Pick your tool and get to know it very well. Photoshop is my recommendation.Get on twitter and follow some graphic designers / icon makers. There's a lot of very good artists on twitter who don't seem to mind answering questions about starting off.Longer answer:Pay close attention to detail. It doesn't matter if you won't see it 99.99999% of the time, the overall icon looks better if you act as if that .00001% will come up daily. You know how you want to account for every possible edge case when coding? Do that, only with art.Know what you want from the icon. Match it to your product. I don't just mean what you want it to look like. What about your app do you want it to represent? Will your icon have a Dock badge that shows off information? etc.If you start with a vague goal of "Making a realistic looking icon for my program that does $foo", you won't get a very good icon. But if you start with "I want to make an icon for program $foo that identifies it as being an app for $bar", you'll end up with a much better result. Look at Pages.app. Gorgeous icon from Apple. Its undeniable that its an inkwell and a pen. But its not very realistic. But it fits in well with what Pages.app does; Typographic layout and creation.Few examples of details. Since you mentioned Cultured Code, we'll look at Things.app:- If you open the App.icns it comes with in Preview, you can see lines for individual sheets of paper in the front of the tray, and if you look at the back corners of the paper, its not perfectly aligned.- Lighting. Theres a ton of attention to lighting in this icon. The paper has a slight gradient around the paper, so its not one consistent shade. The tray keeps up with this lighting as well, if you examine how the tray looks in the front left corner vs the front right corner. And if you look at the back corner of the tray (or the bottom dip in the front), you'll notice there's a slight highlight in the left corner, but not the right corner. Even the check mark on top has a gradient on it.- The curve on the corner of the icon match the curves found in Mac's (same curve in iPods and iPhones, if you're curious).//edit: The link tvon gave to a thread on MacThemes is full of great links to read.
Anyone know anything about Lua?
Tangurena: We were looking to add scripting to one of our products. The choices ended up getting narrowed to Lua or Python. Microsoft's support for Python (as IronPython) tipped the scales for us (we're a Microsoft shop, so if MS makes/supports it, our boss goes that way).I thought Lua was a better fit, but I got overruled.>Is it fairly easy to get rolling with?Yes. I thought so.>Is there much of a community of Lua hackers?I suspect that since it is a Brazilian invention, that they're be a lot more down south.If you look for books on Lua, there aren't a lot of them.
Anyone else generating massive amounts of business ideas?
amayne: I created Get Rich Swift a few months ago to inspire others. I've already inspired one start up. http://getrichswift.com
How do Mac software developers make realistic icons?
Zarathu: I was just asking myself this question the other day. I really hope to see some good responses here, soon.+1, for sure.
Anyone else generating massive amounts of business ideas?
quizbiz: I confess: I have a problem focusing.
Anyone know anything about Lua?
bayareaguy: Lua is my favorite language to use when I need to make some systems level code configurable or extensible in simple ways.Based on the traffic at http://lua-users.org/lists/lua-l I'd say there is a small but healthy and growing community.
Anyone else generating massive amounts of business ideas?
sutro: Do I generate massive amounts of business ideas? No. Do I create massive cloud-based high-touch paradigm synergies? Yes. Do I like buzzwords? Massively. Do I always talk like Donald Rumsfeld? Yes.
Anyone else generating massive amounts of business ideas?
nazgulnarsil: every business lives and dies by its client list. managing that client list is your primary business. everything else is secondary. the person who is the best at managing clients will make more money than the person with the highly efficient technical solutions.
Anyone else generating massive amounts of business ideas?
charlesju: It's easy to come up with ideas. Hard to come up with good ideas. Almost impossible to come up with the killer ideas.
Where is the best place to host an ASP.net app/site?
dannyr: I was on DiscountAsp.net amd the service was very good. However they don't support managing multiple websites.I went with Mosso instead but it's quite expensive, $100 per month. In spite of the cost, I'm very satisfied with the service. Their control panel is also very good.
Anyone else generating massive amounts of business ideas?
callmeed: Yes, and it drives my business partner crazy.
Anyone else generating massive amounts of business ideas?
wyclif: Ideas are easy. Execution, not so much.
why not just use Eclipse?
issactrotts: You can get decent file navigation in Emacs by using Nav (Google for emacs nav), but it won't help with other Eclipse features that Emacs doesn't have.About refactoring of scripting languages, Python has Rope, with bindings for Vim and Emacs. It's not a comprehensive or bug-free solution, but it's a start and has at least one solid developer. I submitted a report for a tough Rope bug and one of the Rope developers fixed it in a few days.
How do Mac software developers make realistic icons?
tydok: You could use a 3D software to render beautiful images and then with that images as a visual guide you can create icons, ie in Photoshop, by using layers and vectors.
Anyone else generating massive amounts of business ideas?
wheels: "Anyone else generating massive amounts of business distractions?"There, fixed that for you.Giving serious thought to one idea per day seems somewhere on the line between hardly possible and a huge waste of time.I can go to the local founders meetups and pick you out a couple dozen people that generate loads of ideas. The ones you'll want to meet though are the ones that have seen a couple of them through by getting behind them and pushing.
What's the purpose of the resistor in this circuit?
jgrahamc: As others have pointed out this is a voltage divider. But what's not been pointed out is that this type of voltage divider is not ideal because the load applied to the output voltage can alter the voltage itself. It's very important that the load applied draws very little current (i.e. has a high resistance/impedance) otherwise the voltage divider's output voltage changes.The best way around this is to use a voltage divider to produce a reference voltage and feed that into an op-amp that adds the reference voltage to the voltage coming from the device to be measured (in this case the thermistor).As an example of this see my blog posting on building a temperature probe for the OLPC: http://www.jgc.org/blog/2008/03/building-temperature-probe-f...
How do Mac software developers make realistic icons?
conanite: you might like to take a peek at http://iconfu.com - it's pixel-oriented, only for smallish icons, not the great big vector icons you get with Illustrator. Some icon design resources are listed at http://iconfu.com/resources/list/icon_design/0.html(iconfu is my current project, please be nice :))
How do Mac software developers make realistic icons?
koenbok: We [http://www.madebysofa.com] make some icons too and use a mix of Cinema and Photoshop. We mostly sketch in 3D to get the lighting right, and then redo the entire icon in Photoshop ending up with a bunch of shape layers with lots of layer styles.
Anyone else generating massive amounts of business ideas?
AlexTheFounder: As they say: strategy is all about what NOT to do
What is your I/O ratio?
csbartus: freelancer, ruby and rails, 60% learning, 40% coding
Do you enjoy programming or do you see it as a means to an end (start a business)?
CyberFonic: Well you did say "programming". It's enjoyable. It's the trundling through API's and frameworks that's a huge PIA. Fixing other peoples' badly written code is hard yakka.I don't think that you can succeed in a business that involves lots a programming without enjoying it.
What is your I/O ratio?
jncraton: I'm a student, so currently I'm probably at about 95% learning and 5% productive coding.
What's the purpose of the resistor in this circuit?
avishvak: I request you to look at it differently from all the other posts. This resistor is a constant current sink. Albit a mediocre one. but its just a penny [a paisa in india] This thermister needs to sink a constant current in order to produce a temperature dependent voltage at its bottom leg. Normally, about a milliamp does the trick.A resistor is a meiocre surrent sink because its own voltage drop is current dependent. these would be better choices [lot more expensive, but hugely more accurate] http://octopart.com/search?q=constant+current+sinkavishak, new delhi india
How do Mac software developers make realistic icons?
arth33: I really like Sebastiaan de With's stuff. If you read his blog he sometimes explains the development process he uses. Here's a post he had on an icon he made for Hyperspaces.http://blog.cocoia.com/2008/06/13/faster-than-light-making-t...Icon Resource is also a good place to get information.http://www.iconresource.net/
What is your I/O ratio?
nreece: 20% time learning, 80% time coding. Mainly PHP and ASP.NET.
How do Mac software developers make realistic icons?
jemmons: Sadly, there's no real trick to it other than being a good graphic designer. Please note this is a career unto itself with all the traps and pitfalls "career" implies. Before you decide to spend a weekend learning Photoshop to cook yourself up an icon, consider the scorn with which you would look upon someone who turned out an application after only a week of study of the frameworks, languages, philosophies, and methodologies involved.If you care about your application's icon[1], your users will thank you to hire a professional.[1]: And you should. As the HIG says, "Application icons are the most visible to users. Since they are seen in the Finder and the Dock even when your application is not running, they form a significant part of a user’s first impressions" (http://tinyurl.com/d82lkq)
What's the purpose of the resistor in this circuit?
tocomment: Thanks for all the answers. It's starting to make sense now. Maybe I'll do better actually starting to build circuits than from reading books.
Anyone else generating massive amounts of business ideas?
troyto: Six months ago I also had tons of ideas. I chose one, and stuck with it. Pick the one you're most interested in or you'll never follow through!
How can I get up early in the morning?
csuper: If you’re able, you should do what comes naturally. Are you a night-owl or a morning person? If you’re asking about how to wake up earlier, I’d guess the former.I’m simply more productive and creative in the AM, so I rise each day at 5:30. For me, knowing when I'm the most please with my own production is my motivation. But, by the time 2 or 3 rolls around in the afternoon I’m all out of juice. And truth be told if I wasn’t in a corporate environment I would likely take a nap at this time to recharge.
How can I get up early in the morning?
jacoblyles: These things work for me:Go to bed earlier at night. Leave your blinds open to let natural light come in in the morning. Have a deadline due the next day.
How can I get up early in the morning?
Xichekolas: I'd recommend sleeping in a room that gets sunlight as early as possible. As the room warms up (and gets brighter), you'll naturally wake up less groggily.If your schedule can handle it, try just going to sleep when you are tired and seeing when you wake up (ie. don't use an alarm at all).I tried this for about six months, and the following happened.The first week or two I slept upwards of 10-11 hours a night, and woke up in the afternoon.The next couple months, my schedule kind of rotated around the clock (I'd wake up about 30-45 mins later each day), but I only slept 8-9 hours.By month four, I was only sleeping 7-7.5 hours at a time, and my schedule rotation had slowed to where it was only shifting about 15 mins a day.The best part was that I always woke up extremely fresh and ready to go. I never felt like the walking dead, and generally was happier.Before I tried this, I thought I was a night person, just because I always seem to stay up too late and dislike waking up... but I realized what I really liked was the quiet, and found that early morning quiet time (4-7am) was actually more productive, just because I wasn't worn out from a whole day of being awake.Sadly I had to return to a day job for a bit before grad school, so now I survive mostly on coffee, but it was fun to try when I had the chance.
Review my site TweetBoss (www.tweetboss.com)
JustAGeek: Very useful! Added to the links I visit every morning. Thanks a lot for this webapp!
How can I get up early in the morning?
andhapp: Sleep on the couch...you will be uncomfortable and definately get up early.
How can I get up early in the morning?
HeyLaughingBoy: I have two Rhode Island Red roosters that are both quite loud. I only need one; do you want the other?
How can I get up early in the morning?
pg: Go to bed earlier at night.
Anyone else generating massive amounts of business ideas?
neilo: Fill a book and sell it. OOP! Write that one down :)
How can I get up early in the morning?
jwilliams: Wake up early. Go to bed when you're tired. Don't work on a computer past "X" at night (X varies for a lot of people, but usually an hour- from when you want to sleep).Not sure what it is, might just be not winding down -- but the light of the screen probably doesn't help imho.
How can I get up early in the morning?
apgwoz: Drink lots of water a few hours before you go to bed, and use an alarm clock. I often find that I'm up before it goes off, but if for some reason that doesn't happen, the alarm clock wakes me up.
How can I get up early in the morning?
codeodor: If you do not sleep enough, your life will be shorter!
How can I get up early in the morning?
jamroom: have children - you will quickly become an early riser ;)
How can I get up early in the morning?
Kirby: It depends on your biochemistry to a large degree. Some people need hardly any sleep, some do _much_ better work if they sleep a full night's sleep, which can be defined anywhere between 6 and 10 hours. Some people do well on a 24-hour clock, some don't. Minor sleep disorders are common and often not diagnosed.Don't worry about anyone else (one of the luxuries of a lot of tech jobs), find the schedule that leaves you feeling alert and awake and able to get things done. If you need 8 hours of sleep to be able to code the next day and not walk through the day in a haze - that's you. If you do well keeping a fixed schedule and not deviating, that's great. But if not, don't fight it, listen to your body.Similarly, some people can code for 10, 12 hour stretches. Some people stop doing useful things after 4 hours without a serious break. Experiment, find what works for you, and _do not_ expect other people to work like you do. Focus on end goals, not processes.
How can I get up early in the morning?
adityakothadiya: 1. Plan in the evening what exact tasks you are going to do in the morning. Come up with detailed tasks - code this function, debug this issue, write follow-up emails, etc. If the tasks are not defined, then it's hard to push yourself to wake up early in the morning.Basically you need a reason to wake up in the morning. If we don't have reason, then even if alarm rings, we snooze it and procrastinate waking up at the decided time.Do all brainstorming, planning, HN/news/blogs reading in the night. And decide a clear action plan for the morning.2. Sleep early. One of my advisers sleeps at 10-10:30 in the night, and wakes up at 4am. I tried following same pattern, and it worked flawlessly. I used to get solid work done in 4am-8am before I go to my day job.
How can I get up early in the morning?
sprsquish: My wife is out the door very early in the morning. I make sure I get out of bed when she comes in to say goodbye for the day.My alarm clock has proven ineffective. I'll wake up an hour after it should have woken me up and realize I turned it off in my sleep
How can I get up early in the morning?
SwellJoe: Do it consistently. I just started rising at 9:30 (this is early for me) every day a few weeks ago, and I now wake up naturally without the alarm, and usually by 9. It only took about four or five days with the alarm and going to bed at a reasonably consistent time (between 1AM and 2AM) every day before I was comfortable waking at this time. I even "slept in" this morning after waking naturally at about 7:30...I rolled over and went back to sleep and got up again at 9:15 feeling pretty well rested. I often take a 20 minute nap between 4 and 6 in the afternoon.I'm a lifetime overachiever in the field of sleep. If I can convert to a 7-8 hour sleep schedule, anybody can. And I've found that consistency is about the only way I can do it without feeling like crap during the day...so no more all-nighters, no matter how awesome whatever I'm working on is.
How can I get up early in the morning?
breck: Exercise, get to bed earlier, and move someplace where it's not 20 degrees in the morning.
How can I get up early in the morning?
axod: Have kids.
How can I get up early in the morning?
sounddust: I had this problem for nearly my entire life, and I finally solved it about 3 years ago. For me, I had to fix every problem that was affecting my sleep at the same time. If any one of those problems crops up again, then I won't be able to sleep properly until I resolve it. Anyway, for me, it involved the following changes in my life:1) No caffeine after 5-6 PM, and generally less than 100mg of caffeine per day.2) Exercising for at least 30 minutes/day, 3-4 times/week (but not right before sleeping). Although in my case, it's closer to 5 hours total/week.3) Avoiding too much artificial sugar in a given day. I limit it to one "thing" (pastry/small piece of pie/etc) per day. After that, just eat fruit.4) Keeping the area in which I sleep completely free of things that would distract me from sleeping. That is, I absolutely never use my laptop, watch TV or do anything similar while laying in bed. At least for me, this has turned out to be really important (and something my doctor recommended).Also, some things that might help:* Create a routine; start each morning with something you enjoy (coffee or watching tv or catching up on your news).. You'll find it gives you an incentive to wake up, rather than if you knew you were just immediately getting ready and leaving* If you feel less tired than normal on a particular day, you can drink chamomile tea, or warm milk, both of which seem to mildly increase sleepiness.* If you're overweight or in bad physical shape, then you will sleep much better after getting in shape. So if this is the case, you should work to make it a priority.
How can I get up early in the morning?
kingkongrevenge: There's no reason to get up early in the morning. This is one of those things like marathon running and vegetarianism. For totally irrational reasons people think they're doing something worthwhile just because doing it sucks.
Anyone else generating massive amounts of business ideas?
vlod: enjoyed your post. i think more application rather than process improvement. i will definitely try and think more along those lines.do you have blog (if so add it to your profile). i would enjoy more of this. thanks again!
How can I get up early in the morning?
tptacek: I've had this problem forever. When I was in high school, I'd stay up all night, go to school at the end of my day, come home and sleep until midnight.To the extent that I've solved it, I solved it after I had kids, and sleeping until 1PM became untenable for the family.The answer for me? Wait for it: waking up early every morning.I've learned that there is absolutely no way to predict when I'm going to fall asleep at night (even if I eliminate caffeine, use-bed-only-for-sleep, avoid stimulating reading before bed, etc); the only habit I've deliberately changed is that I never code after 10PM (a surefire way to look up and have it be 4AM).Nope, what works for me is, whether I got to bed at 12:30A or 4:45A, I'm out of bed with the kids at 7A. If I have a bad night, I'll fall asleep the next night before 12A. Won't have any choice.A day, a couple days, a week in sleep dep, not worth the life stress of starting the day in the afternoon.
Examples of Apps with Lots of Data
jncraton: If you aren't already familiar with the various web-based DB to tools, that wouldn't be a bad place to start.The basic admin interfaces from Rails or Django are probably simpler than what you are looking for, but you might get some ideas. You've probably used it before, but exploring phpMyAdmin might be helpful to get ideas for features and improvements.
How can I get up early in the morning?
sjs382: Have something to do once you get up, a reason to get up. I had the same issues before I started to go to the gym in the morning. This has really fixed my sleeping routine.If I don't have a reason to get up in the morning, I'm much more likely to stay in bed before I go to sleep again.
What's the best web programming language?
noodle: there is no best language. they're all tools in a toolbox. you can smash a nail in with a screwdriver, but its easier to use a hammer.the question is, what do you want to do? are you new to web development and want to learn a language? do you have experience with other languages? etc..
How can I get up early in the morning?
shard: Sleep is a important component of health, along with nutrition and exercise. Life's too short to be unhealthy for a major part of it. You should get all the sleep your body needs.
How can I get up early in the morning?
ryanwaggoner: Getting up in the morning used to be one of the central struggles of my life (seriously), but I rarely think about it now and I'm almost always up by 430am, which is something I never thought would happen. Here's my story, if anyone is interested.I've struggled with getting up my entire life, and so has my entire family, immediate and extended. My 18-year-old brother regularly sleeps until 1pm, as do many of my cousins and their parents. I was homeschooled growing up and the day didn't typically start until 11am. In high school, I got suspended numerous times for missing my first few classes. I joined the Navy out of HS and I pretty rarely had issues with being late because I overslept, because the military is very effective at putting the fear of God in you regarding the consequences. I still always slept until the last possible minute before getting up. After the Navy, I went back to finish college and ended up taking about 30 hours worth of classes every semester, which helped some, but I still overslept and was always jumping out of bed and rushing to class at the last second. I very often would sit down in class about 5-10 mins after having been sound asleep before. My wife was very frustrated, and I was frustrated with myself. I was sure that I had some kind of sleep disorder, especially since my whole family is like this.So what changed? Mostly what changed is that I realized what you've realized: life is too short to sleep it away. My central problem has always been the actual act of getting up; once I'm up and awake, I'm fine. So I started looking around and I found this article by Steve Pavlina:http://www.stevepavlina.com/blog/2005/05/how-to-become-an-ea...Basically, his method is to practice getting up, in the middle of the day. Bizarre (and embarrassing), but it works. I did this every day for a few weeks, and I immediately noticed a difference.The other big thing I did was go to bed early. Not earlier, as I typically went to bed at 1am or 2am, but early. Like 8pm. I'd go to bed at 8pm for a week and get up at 5am. That was more sleep than I usually got, and since I was doing it consistently, it got easier over time. Then I started going to bed a little later and now I usually get to bed between 9pm and 10pm. Because I'm consistent, I get better quality sleep and I can get by on 7 hours consistently.I know it's frustrating to have someone tell you to just go to bed early, but I found that it's a lot harder than it looks, especially because you've almost always got way more to do than you have time for and it feels like you should work on some of it rather than go to bed. The key for me was realizing (after some "split-testing") that I get probably 2-3x more accomplished in the four hours from 5am - 9am that I do from 10pm - 2am.A few other things that I found vital: - no caffeine after noon - no computer or tv within an hour of bed - keep room as dark and quiet as possible while sleeping - try to keep the same schedule on weekends - alarm clock in different room - once you're up, immediately splash water in your face - exercise several times per week - track your progress!Try this for a month. Most people I know who have become early risers would never go back. There's something incredibly rewarding about hitting 8am having already had breakfast, worked out, showered, knocked out a bunch of emails, read all your blogs, and built two new features. In San Francisco, that means you're about two hours from when most folks even start working :)Good luck!
How can I get up early in the morning?
DanielBMarkham: Life is too short to be muttering through the day like a zombie, either, so you're going to need to sleep as much as you need.Keep going to be earlier until you wake up when you want. Stop using an alarm clock. Be consistent.I haven't used an alarm clock in years, and when I need to get up at 3:30 to hit the gym, its not a problem. Of course, I'm going to bed 8 hours before that too.You can't cheat the math. If you want to get up earlier, as pg and others said, go to bed earlier.EDIT: By nature, I have the damnedest time going to bed. I'm always immersing myself in a programming problem or a TV show or some other time sink (worthwhile or not). To fix this, I started taking melatonin an hour or so before I plan to go to sleep. I know its helped me adjust my sleep/wake cycle.
How can I get up early in the morning?
hairic: I fast to reset my sleep cycle. I can only tolerate 10-12 hours of no calories, but longer supposedly works better. I try to maintain it by not eating during my desired sleep schedule. So if I'm up all night coding, no calories are allowed.Story about it was even posted here almost a year ago. http://news.ycombinator.com/item?id=199394
How can I get up early in the morning?
mping: Find something cool to do the next day. Regulate your body and mind so you can sleep well and wake up early.
What's the best web programming language?
gcheong: Have a look at: http://philip.greenspun.com/seia/
Examples of Apps with Lots of Data
Tangurena: I can't think of any public facing ones at the moment, but a couple of prior (subscription or you had to have a series 7 type license) sites I've worked on would let the user get the data as an excel spread sheet. Sorry.