instruction
stringlengths
4
105
output
stringlengths
8
56.7k
Learning C
FiveFiftyOne: Brilliant. Thank you all.
sound - electricity?
electromagnetic: I'd say, depending on your scale, the best power generation you're going to get out of sound would be to use a very large and light membrane to catch the sound and tie it to piezoelectric cells.You want to produce the maximum deflection possible on the piezoelectric cells as this will produce the lar...
Learning C
twopoint718: This falls more into the "tips and tricks" category, but I wish someone had mentioned this to me earlier. Once you have a good book on C[1] install all the man pages for the standard library. Once you start writing code, being able to say something like "man strlen" is amazingly useful.I made the most prog...
Learning C
mahmud: Best beginner text after K&R is Kelly and Pohl's "A Book on C"; very newbie friendly and at the same time uses traditional C examples (i.e. memory management, serializing and reading-back record-oriented data stored in structs, file and directory manipulation, string manipulation, etc.)Most other C books will j...
Learning C
mavelikara: I also wanted to learn C, not to learn specifics of the language per se, but to better understand the C/UNIX ecosystem. The book I chose to follow was Computer Systems: A Programmers Perspective. You can get a draft at: http://lsec.cc.ac.cn/~tcui/download/draft.pdf .
Can software qa skills translate to telecommuting gigs?
pasbesoin: James Bach turned QA into an independent gig. There are a few others who have significant public personae. I haven't checked in on his blog, lately; it's here:http://www.satisfice.com/blog/http://www.satisfice.com/recommends.shtmlI don't know whether this will be any use to you. Hope it helps, though.
sound - electricity?
drhowarddrfine: I had not thought of this and I congratulate you on being so clever to think this up. I don't know if it would work but it's well worth considering.
Learning C
plinkplonk: Here is what worked for me.Work through, in order, (1) K & R (2) C interfaces and Implementations by David Hanson (3) Deep C Secrets by Peter Van der Linden (4) Advanced Programming in the Unix environmentGood Luck!
Is there "server" software for a Windows Server?
jodrellblank: How do you set up SFTP?You would need to install an SSH server. The Windows typical way to transfer files for administrative use is RDP with reverse maps, network shares if you have a VPN to the server, the more general way might be IIS as an FTP-over-SSL or WebDAV server.How do you set up a light-weight ...
sound - electricity?
shaunxcode: You may want to check out this guys work: http://www.unews.utah.edu/p/?r=053007-1 "heat -> sound -> electricity"
Learning C
miles: Learn C at Harvard (virtually) for free:http://tinyapps.org/weblog/misc/200904120715_learn_c_for_fre...
Learning C
pasbesoin: It may not be what you are looking for, but if you want a C based intro CS text, this classic is now freely available.Foundations of Computer Sciencehttp://infolab.stanford.edu/~ullman/focs.html1
Learning C
tptacek: 1. In Which I Join The ChoirYou should definitely learn C:* You'll learn the memory hierarchy, which is probably the most important thing to know about performant software.* You'll get 100x better at debugging --- both because you'll have practice, and because most of the tools you use to debug C code work for...
Learning C
avinashv: I learned C a while back, and don't regret the time spent doing so at all. This is how I'd recommend going about it:* Everyone is going to recommend K&R, which is fine. Find a copy of C Interfaces and Implementations as well--very good implementations with explanations of standard high-level structures.* Re...
Learning C
SwellJoe: C Primer Plus was completely useless to me. As I mentioned in another thread, I tried several books on C before K&R and none of them "took". I knew (by some definition of "knew") other languages (several BASIC variants, Pascal, REXX, Amiga shell, a little 6502 and 68000 assembler, etc.) when I started learn...
Learning C
astine: I taught myself C/C++ when I was around 13. I already knew most of the concepts through my experience with Pascal, including pointers, which are harder to use than to understand. What I did have trouble with was Windows as I just couldn't figure out the API. What solved it for me was one of those old 'Game Deve...
Learning C
ohfour: I bought K&R but in the end found http://www.cs.cf.ac.uk/Dave/C/ to be much more useful and accessible - and free!
Need a TI-85 calculator?
zacharye: Calculator is spoken for, thanks guys.
How to sync up the experience for large number of users of a web app?
dxjones: First, you need each instance of your running web app to be synchronized to the same clock, so they can make events occur at the same time.Second, it would probably be best to upload your images from your server to your 1,000 clients before they need to be displayed. This can be done asynchronously, so you se...
What do you think of my new site?
taitems: It says "Survey has been deleted" on the homepage, even though I didn't do anything.
Learning C
JeremyChase: If you can program well in C, everything else seems like both a blessing and a compromise.While K&R is great, my copy is far less used than Pointers on C by Ken Reek. If you can find a cheap copy I highly recommend it. If you are working through K&R make sure to do each of the sample problems. The text is ...
Learning C
voberoi: If you've got the time, I highly recommend taking CS107 at Stanford (for free): http://see.stanford.edu/see/courseinfo.aspx?coll=2d712634-2b....I became incredibly comfortable with C -- memory management, handling pointers, having a very clear picture of how types are represented in memory -- after taking that...
Learning C
anthony_barker: amazon booklist I used to teach myselfhttp://www.amazon.com/Master-C-Programming/lm/9PUKX2J9RNUO
How to sync up the experience for large number of users of a web app?
rabidsnail: Differential Synchronization: http://www.youtube.com/watch?v=S2Hp_1jqpY8
How to sync up the experience for large number of users of a web app?
rmc00: You may want to take a look at comet and long polling. With this method, you can eliminate reliance on a clock (and all the associated headaches).Using comet/long polling, you can sort of mimic pushing the new pictures to clients. This could be ideal because it wouldn't matter when users load the page. Your mile...
Where to look for a job in Cincinnati?
sachinag: http://www.indeed.com/q-programming-l-cincinnati,-oh-jobs.ht... brings up 572 jobs for me. Since you're looking for a steady job, try variations. Also, you're not that far from Lexington and Louisville, so you may want to consider looking for jobs there.
How to sync up the experience for large number of users of a web app?
mindhacker: Comet (http://en.wikipedia.org/wiki/Comet_(programming)) can be used to make sure that all your clients are in sync.rupy (http://code.google.com/p/rupy/) might be a good place to start.
Where to look for a job in Cincinnati?
smanek: Be more specific throughout your resume.For example, the years you attended school and GPA are probably necessary for a new graduate (5 years down the line, you probably won't need them, but now you do).Also, these lines are useless (but they sound promising, so more details could help):"Learn various programmi...
Where to look for a job in Cincinnati?
jfarmer: I hate it when people answer a different question than I asked, but is it really, absolutely necessary to move to Cincinnati?I grew up in the Midwest -- born in rural Michigan, went to college in Chicago -- and I couldn't imagine being a software engineer there right now with the state of the economy.The stori...
Where to look for a job in Cincinnati?
keefe: I grew up in NKY, finished my MSc in CS and Engineering and then moved back to Cincinnati to work and visit with my family for a year and a half before getting completely fed up with the IT market in Cincinnati and moving out to silicon valley. There are a few small consulting shops and the big players - citiban...
Learning C
mroman: I will be trying this myself, from what I can see it would be very helpful for learning C:http://bellard.org/tcc/
Portable Shell Scripting resources?
SwellJoe: The most concise and useful resource I found was from when Ubuntu moved to dash for /bin/sh:https://wiki.ubuntu.com/DashAsBinShIt covered pretty much every issue I had in a relatively large shell script (about 3200 lines including library code).
Where to look for a job in Cincinnati?
enomar: I have heard that the tech market is better in Columbus. It's only 1.5 hours away, so it's close to your family, but not too close ;)
Where to look for a job in Cincinnati?
mberning: I'm a software engineering manager for a smallish company in downtown Cincinnati (manage 5 developers). It is going to be very difficult to find a job because there have been a lot of high profile closings and layoffs in the region, Lexis Nexis being one of the biggest.That being said, I do think you can find...
Where to look for a job in Cincinnati?
pz: skyline chili! if i moved back to the 'nati i'd get a job there. i miss it so... (the canned stuff doesn't come close)
Learning C
kmavm: First, congratulations. You're making the right decision. Programmers who are ignorant of C leave certain roles and problem domains closed off to them. Even if your primary language is something else, not being afraid to roll up your sleeves and fix performance and correctness problems in the compilers and runti...
Where to look for a job in Cincinnati?
mlLK: I'm sort of in the same situation here in Indy (albeit I'll end up with an AS + `green`) and am having absolutely no luck marketing my resume [pdf: http://tinyurl.com/cs9mbp] for entry-level opportunities. Note: you might want to include an active email address in your resumeOne my friends suggested to me that I ...
Where to look for a job in Cincinnati?
tapostrophemo: Have you looked for jobs at nearby universities? UC, MU, etc.?
Where to look for a job in Cincinnati?
bkbleikamp: I grew up in Cincinnati - might try applying to GlobalCloud.net - they are a pretty big web dev firm in Cincinnati.
Where to look for a job in Cincinnati?
bkbleikamp: Have you tried searching LinkedIn and Craigslist? Craigslist is definitely hit or miss and you'll be browsing through a ton of scams, but you might get lucky - some good companies do use it.LinkedIn always seems to have interesting jobs, though I've never actually applied for one on there.
Learning C
spc476: I've only found two books on C worth the money. One is K&R, the other one (which I haven't seen mentioned here) is "The Standard C Library" by P.J. Plauger. It not only presents the ISO standard for the library, but Plauger's commentary on the standard, how to implement the standard C library, along with his ...
Does a company have right to spam in India?
patio11: Are you sure you're receiving those emails from Apple? As opposed to someone perhaps hawking iPods or something? Because everything about that screams generic Indian spammer to me, not "cautious American multinational which is obsessive-compulsive about brand image".
University of Michigan or Washington University in St. Louis?
rms: For CS? And how does the financial situation compare?
University of Michigan or Washington University in St. Louis?
grandalf: WashU: Lots of rich kids. If your parent(s) make under $400K you'll feel poor there. It's a boutique school.UMich: Huge lectures, cold winters, football fans, etc. The honors program and engineering schools are both great.If you're motivated you'll stand out from the crowd at Michigan, whereas at WashU m...
What software do you use for real time remote collaboration?
ivanstojic: There are several tools that you might try to use to work with your clients remotely. Here are a few that I use when I'm traveling abroad:- Skype- Etherpad- VNC (it's my policy to get clients to install VNC servers on their computers, so they can make an outgoing connection to my computer. This lets me view...
What software do you use for real time remote collaboration?
lux: iChat, or when that bugs out on audio once in a while, Skype. We use iChat for screen sharing and video chat fairly frequently, but we do get together often as well for more in-depth stuff.We've had 3-4 hour iChats when there was lots of stuff to cover, and it's worked great. Just don't move your mouse while you t...
What software do you use for real time remote collaboration?
ggruschow: Answer 1: (Snarky) I've used IRC & NCSA Collage on my Omnibook 300 since 1995. Daylight readable screen.. runs on AAs, no updates or worms to worry about since most of the code is in ROM. YEAH BABY! Answer 2: (Serious) If you need to see people, hear people, interact with them on a whiteboard, and show ...
University of Michigan or Washington University in St. Louis?
avinashv: Disclaimer: I go to UMich. I can give you an honest opinion of what life is like as a student here, but know next to nothing of WashU over what grandalf has already said.I'll get out the obvious out of the way: Michigan is cheaper. It's the most expensive public school in the country, but it's public. Wash...
What software do you use for real time remote collaboration?
trapper: The only ones that will work with non-technical users are things that are simple, and I have tried them all.1. Adobe connectnow/connectpro. This is brilliant, and allows bi-directional screen sharing which clients love. It's really powerful when training someone to get them to do the training instead of just s...
What software do you use for real time remote collaboration?
robertdempsey: For remote collaboration w/ voice and video, we use one or more of the following:Yugma (with Skype): http://www.yugma.com ooVoo: http://www.oovoo.comThese allow for screensharing and audio.Yugma has a call-in number, so to avoid fees, we use Skype. ooVoo does both screensharing and audio.
University of Michigan or Washington University in St. Louis?
vermontdevil: Go to a community college for two years to finish all the bullshit required courses (050 or 100 level) and transfer them to either one for your major. Save money and you'll appreciate the intensive courses for two years knowing you won't be so poor when you graduate.
Learning C
colonhyphenp: This course website from the University of Maryland has a very good introduction to C.http://www.cs.umd.edu/class/fall2005/cmsc212/It starts off with the fundamentals then gets into some more advanced principles. In particular, check out the "Jan Plane's Lecture Outlines" link.
Selling the software without the business
JabavuAdams: > [...] that today beats most commercial offerings in its fieldAre your customers telling you that, or is this just something you believe? Do you have customers?
Selling the software without the business
dualogy: OK, so you guys stared at this thing for years, you're sick of it, I understand. Still, since so much effort (presumably) went into it, don't let it go that cheaply. It seems like most of the time, companies buy an installed customer base and/or the team that built it rather than "just" a raw piece of tech. No...
What software do you use for real time remote collaboration?
intranation: I used to lead the development team for Yahoo! Answers, which was split between London, UK and Mission College, CA. Because of the massive time difference (8 hours, or an entire working day), collaboration was hard. We got by with a mix of the following:- Weekly conference calls via video chat. For those w...
CSS framework that works with mobile phone browsers too?
pxlpshr: I've stayed away from mobile browser development for anything other than iPhone and Android. In the past, BlackBerry's user-agent was unique to the phone, not the browser, making it extremely difficult to target ALL the BlackBerry handsets with one swoop. In addition, mobile browsing has been dumbed down — I'm...
Selling the software without the business
rishi: You would get really into the product again if you started making money from it.
Selling the software without the business
edw519: You obviously are committed and passionate and have put in a great deal of work. All the more reason I hate to say it:You have nothing.I hate to be so harsh, but ideas are a dime a dozen and great software written in a vacuum isn't worth much more.What was your inspiration for this? Did you have prospects say...
What software do you use for real time remote collaboration?
gchucky: Related question: what do people use for active remote collaboration, where you want to interact with someone else's screen?I was on a team with people located in several places around the US, and my boss wanted us to try pair programming. We tried VNC for a day or two, and after having huge issues with it, we...
Selling the software without the business
dejb: You might be able to get something going if you release it as open source. I'm sure there are examples of successful open source companies in comparable sectors.
Selling the software without the business
10ren: Maybe it happens, but all the stories I've ever heard are of the form "we tried to sell it, but no one would buy it. So we created the business ourselves, and here we are $X billions later".I'm sure there's selection bias, in that I don't hear about the people who tried to create a business but failed; and I don...
Selling the software without the business
alfonso: I have to agree with some of the other comments. Your best bet is to take a break for a little while. Also why don't you actually post links to the software? It would be great for SEO even if you sell the business.
I can't stand PHP anymore. What else can I choose?
abyssknight: Your options are limitless, really but here are a few:1. Pick a framework to make your PHP work less boring (CakePHP, CodeIgniter, Symfony)2. Ruby on Rails or Python & Django3. Slicehost ftw.These days you can find a cheap host for just about anything except the Microsoft stack and even that you can get fo...
What software do you use for real time remote collaboration?
garyrichardson: We're all in the same city, but we don't have an office space. So:- Confluence/Jira for wiki and ticket tracking- Spark jabber server for chat- I record demos with Screenflow to share with the other team membersWe do meet face to face once a week. We don't have much use for video chat.
Best Python graphing and reporting libraries for web app
paraschopra: Although not specific for Python (it is xml based), I find FusionCharts (http://www.fusioncharts.com/) the best of the breed
A Vesting-Over-Time Scheme for Startups
dryicerx: http://spreadsheets.google.com/ccc?key=rBkybK6z5iSGmpfU-EWOy... to linkify the URL
How much % for the Idea/Concepts behind a Startup
cperciva: the person responsible for the key ideas/conceptsThat's worth approximately 0% of the shares.as someone who risked it allThat's also worth approximately 0% of the shares.working on it a few months before the rest of the team was formedI'd look at this from a perspective of how many months you'll have spent wo...
How much % for the Idea/Concepts behind a Startup
Travis: For my startup, we had 5 people in on it from the beginning. The workload is split evenly, except the President is def. putting more time in than the other guys. We spoke with some funding groups, who said they like to see the President have a greater interest (seems to help by giving someone a bigger vote in...
University of Michigan or Washington University in St. Louis?
JoelPM: Assuming this is for CS or some other type of engineering, see if you can find out who recruits at both schools (who shows up at job fairs, who sponsors engineering expo, etc). When I worked at Xanga we visited UMich to recruit but we didn't go to WashU. Smaller places with a limited recruiting budget will prob...
How much % for the Idea/Concepts behind a Startup
numair: There aren't any rules about this, and anyone who tells you that there are hasn't been doing this for very long. Unfortunately, however, equity is one of those places where you have to assert yourself and potentially be a temporary asshole to get what you want. You should have asserted yourself and your claim f...
Open Source Text Editor
brianto2010: Notepad++http://notepad-plus.sourceforge.netVimhttp://www.vim.orgWhat specifically will you use the text editor for?
CSS framework that works with mobile phone browsers too?
schemmel: We have divided browsers in to classes:1. Android, iPhone, Nokia 2. most blackberrys, windows mobile 3. openwave, UPBrowser etc etcWhen a user visits our site, we determine the class they fit into and show them the appropriate HTML..This gets us a good looking site in about 98% of mobile browsers.
Open Source Text Editor
juanpablo: KDE/Linux: KateGNOME: GeanyWindows: Notepad++Mac: Buy Coda
Open Source Text Editor
chanux: Just to mention: Recently open sourced (not just open source it's free as in freedom), featured on HN, Redcar text mate like editor.
Open Source Text Editor
davidw: ed - ed is the standard text editor.Barring that, emacs.
Any way to see a dead thread?
pg: Just turn on showdead in your profile.
Any way to see a dead thread?
acro: There is showdead flag in your profile which does this.
please review Wordics, a word cloud widget
dxjones: The feature where you display a word cloud over a link seems slow enough that users might find it annoying to watch it load.Some word clouds are made of clickable tags. When users try to click, but cannot, they may not like your clouds as much.
Please Review our App: Weatherbike.com
stuff4ben: From your about page, "you really just want to know 3 things: How hot or cold is it? Is it raining? What are the winds like?" Really, what value are you bringing to the table that going outside for 5 seconds can't do? Honestly, I would find another app to write that actually solves a need.
How do I automatically write to DB when App Engine memcached is about to expire?
wmf: I think treating the memcache as a writeback cache is the wrong model since the memcache could lose data at any time due to failure. You should probably write to the database at the same time you write to the memcache.
Please Review our App: Weatherbike.com
coglethorpe: This is an interesting start, but what I really need is to know what it's going to be like during the evening commute.Possibly you could ad a feature to let a user enter their commute times and get an email, SMS or something to let them know automatically what's up that day.Then, give them an option to ent...
Any programmers here that are able to make a living selling their own programs?
alain94040: Yes.Join the Joel on Software community (http://discuss.joelonsoftware.com/?biz) would be my advice.Don't count on donations is my other advice :-)Selling consumer software: very tough, but can be done by one individual.Selling to businesses: very specialized, much easier to make your first $100K, but you c...
Please Review our App: Weatherbike.com
tudorachim: With NoScript enabled, this happens:ActionController::InvalidAuthenticityToken in IndexController#index
Any programmers here that are able to make a living selling their own programs?
rmc00: Right now, I only sell my services as a freelancer, but I would love to sell my actual software. I found David Heinemeier Hansson's talk at Startup School 08 (http://www.omnisio.com/startupschool08/david-heinemeier-hans...) to be profound in its simplicity.
Please Review our App: Weatherbike.com
yan: I'd like to know the weather in two, four and eight hours also. I can easily see what the weather will be like on my return ride, which is in my opinion, more important.You can just look outside to see how it is now, but the return ride is always less certain.
Any programmers here that are able to make a living selling their own programs?
doubleyooexwhy: I'm trying. I wrote AutoScreen (http://www.16software.com/autoscreen) about a year ago, and I'm getting 2-3 sales a month -- the majority of those sales seem to come from small businesses -- with $0 in advertising (can't afford it, to be honest). I've been kept fairly busy adding new features for my use...
Any programmers here that are able to make a living selling their own programs?
thinkcomp: I make a living running Think (http://www.thinkcomputer.com) and have customers using Exponent, which is a web-based financial management (accounting + payroll + taxes + CRM) program, Whiteboard, our CMS, and Lampshade, our PHP framework.
Any programmers here that are able to make a living selling their own programs?
mgiger: I've been making a living from selling my shareware app EarthBrowser (http://earthbrowser.com) for over 10 years now. It isn't easy competing with Google Earth, but it's possible to do a one man shop if you work smart.
Overcoming the GIL in Python
russell: I have been interested in this issue for a long time, but haven't dug into it enough to be authoritative.The GIL isn't going to be fixed until someone rewrites the interpreter, a task for a genius with time on his hands. I don't think managing the GIL in C will do what you want. If it were easy, someone woul...
Overcoming the GIL in Python
stonemetal: Yep, all true. You may want to check out scipy. It provides a good base for numerical integration and other things you are going to need. It is written in C so perhaps you won't have to drop into C for performance reasons.
Please Review our App: Weatherbike.com
jakewolf: I use weather.gov for forecasts. What would be great is to have alerts if weather falls below or above temp thresholds,forecast for rains increases or other changes which would affect my plans for the day or week.
Please Review our App: Weatherbike.com
timmaah: It is just a rip/copy of http://www.umbrellatoday.com/Which is a site developed by the Thought Bot folks and used as an example during their rails trainings.http://www.thoughtbot.com/services/training
Any programmers here that are able to make a living selling their own programs?
pz: I know its a bit trendy, but I am making a living off of iPhone apps. I don't have any smash hits but have been maintaining a fairly consistent income since I published my first app last December. Right now I am trying to ramp up the number of apps I have and my goal is to match my previous salary at a "hot, young...
Overcoming the GIL in Python
mcav: Also check out unladen-swallow -- they aim to remove the GIL from Python (among other goals):http://code.google.com/p/unladen-swallow/wiki/ProjectPlan
Any programmers here that are able to make a living selling their own programs?
nickpp: I very much enjoyed the answers to this very question on Digg (oops sorry I mean Reddit):http://www.reddit.com/r/programming/comments/8f4dk/any_progr...
Overcoming the GIL in Python
jaydub: This may be of interest:"Stackless Python allows you to use lightweight threads (tasklets) that can be switched with less overhead and it allows for cooperative multitasking with the intention of making async programming easier. This helps with IO bound applications where you can have tens of thousands of taskl...
Has HN had a facelift or is it just me?
alexk: it's just you :)
Any programmers here that are able to make a living selling their own programs?
ssprang: I'm making a living with Brushes, a painting app for the iPhone (http://brushesapp.com). I started developing it about a year ago, and it's been on sale since August 2008. Sales didn't really take off until January, when the work of one of my artists got picked up by a lot of blogs (and eventually Gizmodo). It...
Has HN had a facelift or is it just me?
genoa: try this:sudo apt-get install msttcorefonts sudo fc-cache -fv
Any programmers here that are able to make a living selling their own programs?
jamroom: I've been selling Jamroom online for almost 6 years - supports me full time + 2 part time developers, and a handful of designers as well.