instruction
stringlengths
4
105
output
stringlengths
8
56.7k
Tomato or DD-WRT for my router?
gojomo: I run tomato and like the features but I'm considering switching, because it takes up to 30 seconds for my laptop to connect. (Connection was almost instant with the stock firmware, and is very quick everywhere else... So Tomato seems the culprit.)
Tomato or DD-WRT for my router?
jodrellblank: I run OpenWRT with the x-WRT UI: http://x-wrt.org/ (I think).There are lots of options that look as though they would be cool, but I mostly use it as a plain ol' WAP.
Tomato or DD-WRT for my router?
phoxix2: I like DD-WRT for my router as well. Its just plain awesome, and their router compatibility page tells you exactly which model's do and do not work, and if what extra steps are needed to install the DD-WRT firmware.I will warn you, and I'm not sure if this issue exists for other *WRT firmwares, but PPTP VPN a...
Tomato or DD-WRT for my router?
rms: Tomato, the extra memory makes a difference in performance.
Tomato or DD-WRT for my router?
akamaka: Tomato.I ran DD-WRT on a WRT54GL for a few months, and during this time, I kept experiencing intermittent connection problems. I spent hours and hours poring over packet sniffer logs, and finally discovered that the router was the problem.So I tried switching to Tomato, and it worked perfectly.(That was 2007,...
Tomato or DD-WRT for my router?
matthall28: I prefer DD-WRT to Tomato. Just find that it has more features and that there is a lot more that you can do with it. I've used both though on a WRT54GS V2
Tomato or DD-WRT for my router?
quellhorst: I just used DD-WRT on a new wrt54gl I got. It works fine and I have a working wireless bridge from my older white russian wrt54g.
Setting up a home media server, recommendations on hardware/apps?
thomaspaine: boxee is awesome and runs on ubuntu.
Tomato or DD-WRT for my router?
oomkiller: DD-Wrt has a great feature set, and is pretty stable. It also has lots of expandability options. I would also recommend OpenWRT if you want even more expandability. OpenWRT has its own package management system with thousands of packages.
Setting up a home media server, recommendations on hardware/apps?
nixme: What's a Hackintosh PC w/ Ubuntu? Isn't that just a PC running Ubuntu? Or are you dual-booting with OS X?I'd recommend getting a video card with HDMI out. Just one cable to your TV or receiver. Check out the Intel G45 line.
Coding Quickly; How?
jerf: "How do I get to Carnegie Hall?""Practice, practice, practice."One thing, though: "Fast programmers" are not monolithic. Yes, you will be faster in an environment where you are not constantly looking up API functions. The world's fastest Perl developer that has never encountered Erlang is not going to turn into a...
Coding Quickly; How?
tdavis: If you're a novice, of course it is normal to consult outside resources a lot. With PHP it will require an obscene amount of memorization since there aren't really any strict naming or parameter conventions within the builtins lib. Plus, you've got to recall everything about the framework, too. I've been develo...
Coding Quickly; How?
vito: Consulting php.net isn't an issue. I've been programming PHP for years and the language is so inconsistent I wouldn't be surprised if even the developers check their documentation every so often.But, please, don't code for speed, code for quality. I can't tell you how many cesspools I've seen as a result of "rapi...
Coding Quickly; How?
stanleydrew: I've been programming ruby on rails apps for about 9 months now and I can tell you that things definitely speed up over time. I still have a few browser windows open with the ruby and rails apis ready, and I still make heavy use of google to solve problems quickly. I think it's the little steps that indivi...
Coding Quickly; How?
fortunado: For me, it's all planning. I consider myself a terrible coder, so I have to lay out everything first. Working from that plan, I get things done fast.Think of it like giving a speech. Write the speech, revise it, and then go over it in your head (The "practicing in front of a mirror" part doesn't really apply...
Coding Quickly; How?
quantumhobbit: I think that the more you code in a language the quicker it will come to you. For example I can usually churn out python, which I've been using for a while. However I'm just starting Objective-C and I need to consult Apple's reference library every other line of code. But it's not like riding a bike. ...
Tomato or DD-WRT for my router?
car: I've used both, and like Tomato better. It has a nicer AJAX based UI, SVG bandwidth graphs, and is pretty well layed out. Lot's of nifty attention to detail in the UI, e.g. wireless network neighborhood to find unoccupied channels.Have been using it for a couple of years, even running a startup's infrastructure be...
Tomato or DD-WRT for my router?
blackman: tomato has a simple ajax interface and really good QoS functionality which is what attracted me to it. I haven't tried the others.
Coding Quickly; How?
mahmud: "Is it normal practice to consult php.net and google like mad when developing?"If by php.net you mean the language manual, then yes. You will consult the language manual less and less, but you will always have new libraries to pick up, not to mention platform documentation.Eventually you will know so many diffe...
Coding Quickly; How?
likpok: You will eventually memorize the important bits of a language, and that will make your time decrease. Furthermore, you may learn a new style/language where the paradigm just "fits" you right. Both of these will make your times decrease, although a quick time is not necessarily a good thing. Remember that oopses...
Coding Quickly; How?
justlearning: more practice. reading code also helps.But if coding, anything new (anything meaning - anything outside the domain(or even the current library) can put me off. When this happens,I feel like i have no control over the language, then I look it up and find more features, better ways to implement it, get dep...
Coding Quickly; How?
mronge: I found to do something well, with clean code, documented methods, and tests, it takes more than a few hours. I operate on days not hours for those sorts of things.Now if it's a quick script and not production code, then I'm usually pretty quick.
Coding Quickly; How?
ojbyrne: It takes about two years to become deeply proficient in any language/framework. Up until then you'll get faster, look stuff up less, and churn out code faster.Unrelated to that is the domain-specific knowledge, which has a different effect - you don't get faster, you learn what code to write, and more importan...
Tomato or DD-WRT for my router?
Sidnicious: I would go with Tomato unless you want customizability.Last time I checked, DD-WRT was just a set of packages on top of OpenWRT, so going with straight OpenWRT lets you add only the functionality you need and customize everything to your heart's content. I would choose that route over DD-WRT. However, I did...
Tomato or DD-WRT for my router?
thumbfinger: Tomato has a better UI. DD-WRT maybe has a few extra features (that you'll never use)Go with tomato, its bandwidth monitoring options are awexome
Coding Quickly; How?
spoondan: Focus on being efficient rather than quick. Charging off in the wrong direction will slow you down. Paralyzing yourself by over-complicating decisions will slow you down. Move forward at a steady rate and you will get things done faster.Of course, there is an element of experience and practice. To mitigate th...
What are your must-have apps?
8-bit_Blaster: The following five programs are some of my favorite staples to install on a fresh copy of Windows XP:1) Notepad++My favorite free, open source text editor. Gets the job done.2) Mozilla SunbirdSunbird helps me keep track of what I have to do with calendar and to-do list features. Open source!3) Google Pic...
Coding Quickly; How?
patio11: I measure my production time in days, not hours, so any tips on just how to "code quicker"?Code less.That isn't being flippant. Code you don't write is code you don't have to debug. It is code you don't have to integrate with your other functions. It is code you don't have to refactor. It is code that requ...
Coding Quickly; How?
nostrademons: You still consult Google and the language reference, but much less frequently. Generally, if you want to get feature release time down to hours instead of days, you'll need to have the "core" of the language in memory. That usually includes language syntax, string methods, data structures API, whatever ...
Coding Quickly; How?
donniefitz2: I can hardly remember what I did 5 minutes ago. No programmer has a mind index of all of the libraries in PHP. If you have that kind of memory, consider an extended visit to Vegas.
Coding Quickly; How?
themullet: Development environment. Get auto complete and api lookup in your dev environment.Keep it simple. Most php you need to do can be done with a few commands (function, str_replace, mysql_query, while(mysql_fetch_array), includes and logic statements)
Programming and Shaping Minds?
nostrademons: Boy or girl? I think the assumption is going to be "boy" unless you specify otherwise, but I'd recommend different things for different sexes...For boys, I'd probably start with games. Maybe Python and PyGame? I've heard pretty good things about it. JavaScript makes a good first language as well, sinc...
Coding Quickly; How?
keefe: Sharpen your tools and remember the problems you are trying to solve. Building software is just like building anything else and the first effort should be getting your tools in the proper state - that means having a good IDE, a good and private workplace, clean directory structures on your (hopefully linux) PC. ...
Programming and Shaping Minds?
travisjeffery: I think the kid need would know a bit more math first (than a typical 8 year old would) and then move to something like http://pine.fm/LearnToProgram/
Programming and Shaping Minds?
dca: I've had good luck with Scratch from MIT in teaching my children. http://scratch.mit.edu/They seem to pick up on the basic math concepts pretty quick (i.e. to move the character up, I need to add something to this X variable...).Its a lot like Squeak (I think a derivative), in that they can paint the objects they'...
Programming and Shaping Minds?
amichail: Try Game Maker: http://www.yoyogames.com/gamemaker
Programming and Shaping Minds?
dsil: Check out LEGO Mindstorms, it's basically LEGO with motors that you program. I think something physical attached to the (abstract) programs would be a great way to start.It's recommended for ages 10+, but I'm sure a bright kid with an adult helping would love it.
Programming and Shaping Minds?
3dFlatLander: Eight seems a little young, I think most start in their early teenage years. My own experience was to start with HTML and Javascript, and from there I moved on to Perl, C and the like.I think HTML, Javascript, and CSS make a great starting point. Web pages are something you can show off to your friends--I...
Programming and Shaping Minds?
donniefitz2: These are all great suggestions and I'm seriously looking each of them over. Thanks to the HN community.
Coding Quickly; How?
stan_rogers: Coding is a lot like cooking. Sure, it's fun to cook from scratch, but if you're running a restaurant (cooking for a living, in other words), you'd better learn to get most of the hard work done before the dinner crowd hits. "Mise en place", they call it.Developing works pretty much the same way -- they ke...
What happen with Friendfeed?
slater: They just switched to a new layout, maybe it has something to do with that?
Programming and Shaping Minds?
lkozma: Logo and Turtle-graphics might still be the best way to get started:http://en.wikipedia.org/wiki/Logo_(programming_language)The advantage is that the kid can see immediate visual effect of the code, it is easy to understand and it can introduce more advanced concepts (functions), also it might direct curiosity ...
Coding Quickly; How?
whacked_new: "just know" is long-term memory. That's the technical, correct term, and is exactly what it says.And at expert levels it is what separates the truly good programmer from the novice, and even the "talented" young. Realizing this, as long as you keep learning, no fear. The only price is continual practice: e...
Programming and Shaping Minds?
jey: A nice simple language like Python would be best, and no, 8 is not too young, especially if the kid shows interest. The kid should be given lots of sample code, and encouraged to modify/extend it. I think there's plenty of substance in text-based programming to hold his/her interest, but one of the robot programmi...
Coding Quickly; How?
jasonkester: When you hear us talking about how fast we can move, we neglect to point out the years of moving slow that got us to this point.I have 10 years worth of C# and Javascript libraries that I've written to handle just about any situation I can come across, as well as a home-built data framework that's more pow...
Programming and Shaping Minds?
alexgartrell: javascript. Everyone has a text editor and browser. Plus young kids can use it to screw around in school.
Coding Quickly; How?
nazgulnarsil: stop reinventing the wheel. if you run into a problem chances are hundreds of others have run into the same problem and a reusable chunk of code is available.
Coding Quickly; How?
10ren: I wrote the first version of my app in 2 hours - but it took a year of iteration to become a salable product.(1) the first version worked, but it was the minimal feature set you could imagine. That's one way to code fast.(2) The 2 hours doesn't include thinking about it, designing it and using other tools in the...
Programming and Shaping Minds?
lcordier: First thing, don't underestimate kids' ability to learn new things, it is important to keep them challenged.I would recommend,http://www.greenteapress.com/thinkpython/thinkpython.pdfPython got the turtle, so no need for logo.Videos makes things easy.http://showmedo.com/videos/pythonGames are also a great moti...
Coding Quickly; How?
peterbraden: Not to language flame, but I think that php has a longer learning curve in this respect. Because of the huge number of functions available, there's a lot to memorise.Learning an API is the hardest part of any new technology because of all the rote work.Contrast this with something like python/django or rub...
Programming and Shaping Minds?
stan_rogers: If money isn't particularly tight, or if the family already has a licensed copy, Flash and ActionScript make a particularly good start. Like Logo, the kid can make things happen nearly immediately, but since ActionScript has a syntax that is similar to "real" languages in common use, the habits gained are ...
Programming and Shaping Minds?
noss: At that age I had started programming BASIC on my C64 a year earlier, copying the examples from a book targeted at adults and written in a language I did not know (english). [Only slightly bragging, but here is what i want to say:]The teaching material does not have to be all that pedagogical, but the motivation ...
Coding Quickly; How?
TweedHeads: Good coders copy, great coders steal.Google is your best weapon.Always wear your balaclava while coding.http://www.thermalshop.co.uk/balaclava-season-pi-135.html
Programming and Shaping Minds?
J_McQuade: I'm going to go against the grain a bit here and recommend that the parents try to pick up an old 8-bit micro for the kid.When I was a young'un, I also had a major fascination with computers (guess it didn't wear off...) and managed to badger my mum into getting me a ZX Spectrum 128 from a car boot sale in t...
real world examples of numbers with 3 decimal places
spooneybarger: baseball batting averages.
Programming and Shaping Minds?
izak30: Microsoft put out Small Basic a little while ago. It's actually a lot of fun, and really simple (well... for me... the kid would be the real test) to pick up.I did a quick overview here http://www.issackelly.com/Blog/entry/Hands_on_with_Small_Bas...
Coding Quickly; How?
tom_b: I google more before deciding how to code to a specific problem. I want to understand the problem better, see how it's been approached by others, if there are standard approaches, etc. This helps me crystallize my thoughts and get quick prototypes put together.Your question is about your "internal toolkit" and...
Coding Quickly; How?
edw519: My 2 biggest helpers to "coding quickly":1. I have written over 10,000 programs, but I have started about 5 of them from scratch. I just grab the closest thing and proceed to change it. I realize that doesn't help you much right now, but it tells you the same thing you'd hear in any endeavor: start building ...
real world examples of numbers with 3 decimal places
vaksel: stock prices gas prices(granted they use 9/10 as a fraction, but it can be stretched)p.s. you'll be happy to know that if you search google for "real world numbers with 3 decimals" this thread is the #1 result
Coding Quickly; How?
joubert: Think, then think again, then code. Visualize. Code structure should morph as you discover the problem more. If you feel like a contortionist, you're probably doing it wrong - think Cirque du Soleil acrobat instead.
real world examples of numbers with 3 decimal places
ComputerGuru: temperature averages?
real world examples of numbers with 3 decimal places
niels_olson: Medicine: the pH of an arterial blood gas (ABG) sample is typically given out to 4 digits. 7.380 is about normal. 7.211 might seem about the same as 7.219, but if one sample is 7.211 and 15 minutes later it's 7.219, you're doing something right. If it's 7.219 and in 15 minutes it goes down to 7.211, someth...
Coding Quickly; How?
jcapote: Switch languages.
real world examples of numbers with 3 decimal places
tokenadult: I'm an elementary teacherDefinitely baseball statistics for that audience. Also finishing times for sprints to thousandths of a second.Not to answer your question, but to suggest useful resources for elementary math teaching, I'll suggesthttp://www.amazon.com/Knowing-Teaching-Elementary-Mathematic...an esse...
real world examples of numbers with 3 decimal places
dxjones: How about measuring distance using the metric system. How tall are you? How long is your hair? (in metres) How big is this room? How far is it to your house?They should be able to convert from being 127 cm tall to being 1.27 metres tall, and then be able to run around measuring things that are a fraction of a...
Programming and Shaping Minds?
jokermatt999: I'd recommend Invent Your Own Computer Games with Python (http://pythonbook.coffeeghost.net/book1/index.html). It's free online, and it geared towards exactly that kind of age and setting. It's written for a beginner at programming, and most kids would probably love writing their own games.
Any tips for living cheaply in SF?
ashleyw: I have never lived in SF, nor have any plans to — but what are your reasons to be there? Surely it'd be easier (or should I say cheaper) to work out of Seattle?
Any tips for living cheaply in SF?
villageidiot: No, you're not crazy. Give it a shot. What do you have to lose really? Whether you will actually be able to find work is a question mark but as long as you have enough money so you won't be sleeping on a park bench, why not? Ah, to be 18 . . . worst year of my life . . . hope you make a better time of it...
real world examples of numbers with 3 decimal places
cromulent: 1/8 = one slice of pizza
Any tips for living cheaply in SF?
thesethings: Regarding the weather, I've lived in both places, San Francisco is much colder in the summer than Seattle. San Francisco, and most of coastal Northern California, barely has seasons. Though Silicon Valley and the East Bay (Oakland, San Jose, etc) do get warmer, San Francisco, being surrounded by water on...
Any tips for living cheaply in SF?
thesethings: I would really try to get a little bit of additional income, your numbers are very tight. Plus, you don't want to move to another city to stay in your room the whole time because you're broke, you want to enjoy your time in SF. $700/room is doable but still quite rare (especially without strange catches, l...
Any tips for living cheaply in SF?
ashishk: "a) Will it be easier to pick up some part-time C++/Rails gigs in SF bay than Seattle? I'd really like to have some continuous source of income so I'd have money to come back/extend my runway."--Probably. As a rough lithmus test, you could run searches on startuply/ craigslist for both cities and compare the n...
Any tips for living cheaply in SF?
mr_cheese: a) probably -- SF is full of programming jobs b) maybe -- rent isn't cheap (unless you live in a scary neighborhood) and finding a room to rent might be tough c) it's rarely hot in SF -- it's usually mild to cool during the day, and often cool to cold at night e) nope -- you should have a good time, especial...
Any tips for living cheaply in SF?
geuis: Contact Justin.tv. They're looking for summer interns
Any tips for living cheaply in SF?
flipbrad: In a down economy, with huge unemployment in the valley (lots of competitors, unless you're unique in some way?) are you not better investing in yourself by continuing college?
Any tips for living cheaply in SF?
swombat: If I fail I'll go back to living with my parents/continue college in the fall.Why not just do it from home? I don't really see the benefit of moving to SF. You'll reach Ramen profitability a lot more easily if your costs are $0. You might even start college with something that most students can only dream of: ...
Any tips for living cheaply in SF?
notdarkyet: Why? Is there really a point to moving to SF? I see no plan here and really no reason for you to take such a leap, so why bother wasting your money just to move locations for the summer. Anything you would be doing there could be done from where you are. Save your $3000, continue working on what you have...
Any tips for living cheaply in SF?
cog: (Background: I came from grad school in Seattle to SF for my job.)(a) Freelance work is heavily dependent on contacts. If you don't have contacts then it's a crapshoot. Maybe you'll luck into something, maybe you won't.(b) For housing, scan http://sfbay.craigslist.org/sfc/sub/ ; $700 is not impossible, but you'l...
Any tips for living cheaply in SF?
gojomo: I live in SF, it's a great city, and if "living in SF/bay-area" is your dream, go for it.But that's not quite the same dream as "reach ramen profitability on my web project". In fact, the two dreams may conflict. Moving to and learning a new area takes a bunch of time and money, and the bay area (especially SF ...
Any tips for living cheaply in SF?
TomOfTTB: I’d do it if I were you.I won’t lie. In my opinion the chances of success are slim to none. But this is the best time of your life to take a chance. The more adult you get the less able you are to take huge chances. So as long as you hang on to enough money to get yourself home should things go bad I don’...
Any tips for living cheaply in SF?
csomar: you still have few time, if you are capable work hard on sites like rent a coder and make some extra cash.. but I'm against going with $3,000 it's way too little and no one knows what may happen
Coding Quickly; How?
santacruz: Pre requisites: 1. Type without watching on the keyboard. 2. Use IDE with autocomplete (Zend Studio in your case) 3. Use Zend Framework of CodeIgnite 4. Read a lot how to do it before you do it.After some time you will have enough experience not to think how to implement this or that - this is most important...
Any tips for living cheaply in SF?
AmericanOP: I'm a SF res about to graduate university. If you make it down here I'd be happy to help you survive/show you where locals have fun.That being said, another student programmer and myself are working on a startup in Ruby. Interested angel, that kind of thing. If you think you can contribute, I'd be willing t...
Any tips for living cheaply in SF?
sgharms: A) Extend your runway – heh you may just find a reason to never leave, happens often there.B) I don't know what your transit costs are going to be, SF has wonderful transit. You could make the investment in a Muni pass and be able to explore one of North America's most beautiful cities.Many SF apartments in...
real world examples of numbers with 3 decimal places
modoc: Interest rates (such as for mortgages) are often in three decimals e.g. 4.875%
Any tips for living cheaply in SF?
dangrover: I think you can totally live on that budget, if you play things right. You might also look into living in some neighboring cities that would allow you to commute for events, but you could live on that budget in San Francisco proper if you were careful.I think you should just plan on the 2.5 months though and...
Any tips for living cheaply in SF?
peterbraden: you can get pretty cheap rent if you don't mind living in sketchy areas. I lived on treasure island for a few months, and besides feeling like the set of a zombie film, it was alright living for ~600pmI lived in the mission for a little more. Definitely try the east bay for cheap rent- if you don't mind g...
Any tips for living cheaply in SF?
octane: $3k isn't going to last you very long in San Francisco.
Any tips for living cheaply in SF?
wannabetechgeek: Sure you can do it. From 2002-2004, I lived on about that much per month, but it wasn't easy.-Rent was under $500 - you can still get these prices. Sublet a room in a house with some other young people. - Electricity/internet bill - $35. - Cell phone - $50. - Bring down your bicycle and bike for...
Are any companies integrating social networking with digital cameras?
ScottWhigham: TwitPic already lets you do that, doesn't it? I'm surprised that the Facebook iPhone app doesn't let you (I haven't looked). IMO this seems logical and, for that reason, I would assume Facebook, Flickr, et al are working hard at putting that together.
real world examples of numbers with 3 decimal places
jlees: Not sure if this is how it works in the US but our petrol prices are often technically 3 decimal places. 1.059 etc.
Any tips for living cheaply in SF?
newy: On a related note - anyone familiar with the Berkeley area care to share some tips about housing (places/buildings to avoid, where all the free-wifi coffee houses are, etc)? Please drop me an email at me [at] euwyn.com
real world examples of numbers with 3 decimal places
jraines: Lap times in F1/NASCAR?
What does the Google Ocean team do?
sowbug: It's a codename having nothing literally to do with water or seas. The codename is for a released product.
What does the Google Ocean team do?
nico78: isn't it part of Google Earth, ocean-floor mapping?
What does the Google Ocean team do?
nx: Because it was THAT hard to Google it, right? http://www.google.com/search?q=google+ocean
"How-Tos" for Rolling Your Own Short URLs?
ScottWhigham: You can write the basics of that sort of thing from start to finish in half a day - easy stuff. You need:1) Database table to store the "codes" - two "main" columns: Code, DestinationUrl2) Random code generator to generate the "Code"That's really the gist of it.
What does the Google Ocean team do?
colinplamondon: http://tinyurl.com/cdlspk
"How-Tos" for Rolling Your Own Short URLs?
zaidf: input.php - input box asking for url. call create.php on form submit.create.php - generates random string, adds url and random string to urls tableredirect.php - takes random string. finds url associated with it. redirects.htaccess - catches http//domain.com/<random string> and maps it to redirect.php
Any tips for living cheaply in SF?
fourstar: LOL. Good luck. SF is expensive. $100 for food? Yeah if you are a 90 lb asian female.No the weather is not hotter than Seattle. It's cold here. Also, good luck trying to live off of $1,000 per month. Rent alone will be close to that.It really doesn't help to live out here despite what everyone else says regar...