instruction
stringlengths
4
105
output
stringlengths
8
56.7k
Does anyone else miss "Ask HN?"
someperson: pg recently created this page: http://news.ycombinator.com/ask
SOAP vs REST, which one do you prefer working with ?
arnorhs: REST wins. Hands down.I generally find it very tedious to work with web services using soap. Arbitrary variable types, complicated error reporting etc. You can fall into all kinds of problems with different standards etc...It's fine when you're a little experienced with SOAP (which I unfortunately am), but I d...
Anyone interested in a Sydney HN Meetup?
peterwnicholls: Id be keen! peterwnicholls@gmail.com
Which oral language (after English)...
edanm: I'd vote Spanish (lots of countries speak it, which makes it a good language). Or Chinese - more people speaking it than any other language, I think.BTW, I started learning Spanish using the "Pimsleur method". It's an amazingly easy and quick way to learn a language, If you're looking for a way to learn a new la...
Please review my site/app - Dokuments.com
jkahn: First impressions on the marketing (no time to test the software, sorry):- I looked at the site and almost clicked away. There is nothing "grabby". Why would I use this? What would people that land on your site be looking for? Try answering some of those questions. Second thought: I see you have included this lo...
What to do? Received a Cease and desist letter
nudge: I'm not a lawyer, but I would have thought that trademarks are balanced by common sense and context. So, if you have a shoe company called London, and I call myself London, you have no claim against me unless I'm also selling shoes (because it seems like I'm representing myself as you), because it's a reasonably...
SOAP vs REST, which one do you prefer working with ?
jjs: REST, by a mile.I've written programs and frameworks that handled both SOAP and REST before, and no, you can't have them, because SOAP needs to die.
Which oral language (after English)...
quant18: You could try learning something really obscure. As far as I know I'm the only hacker within 1000 miles who speaks any Mongolian as well as fluent English. Someday, two buyers are gonna show up in that market and keep bidding against each other till my rates go to the moon! Dreaming about that day is much more...
SOAP vs REST, which one do you prefer working with ?
pquerna: I've hated being a USER of APIs built on frameworks that output multiple APIs, like SOAP/REST/XMLRPC all at once.You end up with unnatural APIs in the 'REST' api.Don't get caught up in the details of 'rest', focus on developing the API for your users -- think about what Calls they need to make, make it simple,...
SOAP vs REST, which one do you prefer working with ?
mseebach: The promise of SOAP is really cool, but I've found that you end up making countless special cases and arbitrary error handling anyway.The more complex and potentially fragile the in- and output of your service is, the more attractive XML becomes, since XML can be independently validated. If you have no such n...
Does anyone else miss "Ask HN?"
chrislo: The other thing I miss is Hacker Hacker News (http://hackerhackernews.com/) - I wish something like that were built into HN.
Getting on the "Ask HN" list.
cperciva: It looks like items on /ask are now ranked the same way as items on /news -- so yes, posts with no votes won't get onto the list.Personally I'd be happier if /ask was in pure chronological order.
SOAP vs REST, which one do you prefer working with ?
mattdw: REST, please. You can generally bootstrap a REST client from any language with basic HTTP and XML/JSON/… libs (ie. basically every language.) On the other hand, doing SOAP without a dedicated library is a path to pain and suffering, and not every language has such a library. Additionally, the complexity makes i...
SOAP vs REST, which one do you prefer working with ?
arethuza: The single most common SOAP interface that I have seen is something like:string DoStuff(string request)Where the request and the result are already XML documents!SOAP has taught me to fear any technology that starts with "Simple" - it won't be.
Anyone interested in a Sydney HN Meetup?
3KWA: indeed!
Does anyone else miss "Ask HN?"
imp: I've found myself going through the HN archives when I'm looking for advice. Part of the issue with fewer ask HN questions may be that a lot of common questions have now been answered. I do think those posts are more fun to read and comment on though.
SOAP vs REST, which one do you prefer working with ?
tobyhede: REST.So much easier to explain and consume.Plus, a modern framework like Rails essentially bakes the REST API in for you. Some of my apps are now really consumers and coordinators of Ajaxified JSON requests backed onto Rails.
Getting on the "Ask HN" list.
revorad: Incidentally, since this particular post of yours has now got some votes, why don't you re-post your earlier question here?
What code have you read recently?
giu: I had a look at the Haskell Prelude code: http://www.haskell.org/onlinereport/standard-prelude.htmlLots of good code in there, especially in regard of simplicity and beauty. If you're diving into functional programming, be sure to have a look at it, even if you're a beginner like I am.
Does anyone else miss "Ask HN?"
jacquesm: All the ask hn's are now grouped together and linked from the top of every page. It's actually much easier to find them now because they effectively have a longer life than they ever did before.
SOAP vs REST, which one do you prefer working with ?
olalonde: The consensus seems to be REST all the way (and not to implement multiple interfaces to the same API). Thanks everyone for the feedback! We're building this web service for people like you so your opinion is invaluable :)
Should I believe the results of our A/B testing?
po: So you're saying the sale was basically yours to lose? I would think that if the results of your tests say it was significant (assuming you ran them correctly), then it probably was. If you have data, then you should use it to your advantage. What exactly makes you not trust it?It sounds like the question you mean ...
What code have you read recently?
vital101: Aside from the spaghetti code that my predecessor wrote, I've been reading a book called "Clean Code: A Handbook of Agile Software Craftsmanship" by Robert C. Martin. The code in the book isn't always interesting for content, but rather for style and craft. He does a great job explaining industry best pract...
SOAP vs REST, which one do you prefer working with ?
vsync: I actually quite like XML-RPC.SOAP is too complicated for simple services and from everything I've seen REST only defines the URL layout while the format of the data is up to you. So you end up sending some XML-RPC like thing over the transport.Then there are issues like GET requests getting arbitrarily limited...
What code have you read recently?
olalonde: I'm currently reading "The Ruby Programming Language" (coming from a C/C++/PHP background). I'm looking forward to write my next web app using RoR.
Anyone interested in a Sydney HN Meetup?
huwshimi: I'm up for it. Are you organising?
What code have you read recently?
Jim_Neath: I generally have a quick read through the code of plugins on Github before I used them.
What code have you read recently?
namp: This book deals with effective code reading: "Code Reading: The Open Source Perspective" http://www.spinellis.gr/codereading/
What code have you read recently?
revorad: I have been reading the R base library code, mainly to understand the graphics functions. I'm amazed how simple and ordinary it looks. I have never worked on a big software project and it's exciting for me to see how something powerful is built from small chunks here and there.Last year I spent some time readi...
Anyone interested in a Sydney HN Meetup?
andre3k1: I too am at Sydney Uni. Would be keen for a meetup!
What code have you read recently?
Popcorn: http://github.com/kohanaI learnt a few things from the Kohana source. How not to use regular expressions for validating certain strings (URLs) for one. filter_var can do this and a lot faster too.I suggest anyone who's interested in PHP to take a look.
What to do? Received a Cease and desist letter
rubyrescue: are you in the states? if so this could be a DMCA issue vs copyright...
What code have you read recently?
ntoshev: Tornado web server. It's extremely good code solving hard problems with a great attention to detail and in a minimal way. Highly recommended.
What code have you read recently?
silentbicycle: I've been reading some BSD userland source (awk, sed, trek, and OpenBSD's netcat) parts of Lua and OCaml's VMs, Redis, and Joy. Awk and Lua's source are particularly good, IMHO.The code that had the biggest impact on me lately was the original J interpreter, though: http://nsl.com/papers/origins.htm . It...
What code have you read recently?
eswat: Been looking at the MongoDB functions for the past few days. Interesting to see what has changed in them from previous releases.
What code have you read recently?
agentultra: lispbuilder-sdlHacked together a game while doing laundry the other day with it. Read the source later to get an idea of what was going on under the hood. It's good stuff.
What code have you read recently?
mdg: I have read through dmenu a few times the past couple days.
SOAP vs REST, which one do you prefer working with ?
kls: To answer you other question, yes their is nothing precluding you from using both. I know off the top of my head that Java has JAX-WS and JAX-RS which provide SOAP and REST endpoints respectively. Most languages and frameworks will have something similar.
What code have you read recently?
cake: Reddit's source code : http://code.reddit.com/I'm far from being done and don't intend to read all of it, it isn't easy because it's huge !
What code have you read recently?
Raku: I have read through the modifications made to the Linux kernel by the Xenomai project ( http://www.xenomai.org/ ) lately. Its interesting to read up on how they work together with Linux in a symbiotic way. Gave me some insight into how they created a dual kernel system.
What code have you read recently?
SMrF: I highly recommend reading through Lamson. Zed Shaw's rants may rub me the wrong way on occasion, but he's a seriously good coder. Lamson is fantastically well-written and documented.
What code have you read recently?
rhythmAddict: Code Complete 2nd edition
What code have you read recently?
abyssknight: Been reading the OpenCV Python extension samples and writing a couple small apps.
What code have you read recently?
Groxx: I haven't read through it yet, but CoffeeScript's source is particularly well documented:http://jashkenas.github.com/coffee-script/I realize it's a huge investment to make, but dammit, every open source project should do something like this.
What code have you read recently?
francoisdevlin: The Clojure core is usually a good read, as is a lot of contrib.
What to do? Received a Cease and desist letter
francoisdevlin: Get a lawyer
CISSP without experience ?
dpritchett: Ask your local whitehats for advice. Bonus points if you can get to a meetup and start making connections.I am pretty sure that making positive associations with local white hats will be more likely to get you your first security job than a certification will.
Ask HN:How many screens for coding at one's best?
dpritchett: I find that the physical separation between two monitors helps reinforce the idea of separate workspaces for me. Running two windows side by side in a single workspace has never been comfortable for more than a few seconds.
What code have you read recently?
allenp: Simcity source code - http://code.google.com/p/micropolis/This has a few different versions (even python) and is pretty solid/concise due to the hardware restrictions of the late 80s.
What code have you read recently?
locopati: Spring source code - seeing how the internals connect comes up a lot when figuring out how to inject new functionality
Ask HN:How many screens for coding at one's best?
wanderr: Honestly I think more, smaller, monitors are better than fewer big ones. Given my choice I'd happily take 3 22" monitors or even 2 21" monitors + 1 19" monitor if push came to shove. I can usually see all the code I need in one 21" monitor just fine, but usually need another one for reference of some kind: doc...
references for pros and cons of a business PayPal account
gspyrou: You try Eventbrite http://www.eventbrite.com/t/how-to-sell-tickets-online
SOAP vs REST, which one do you prefer working with ?
wanderr: SOAP is ridiculously complex, which makes it annoying and slow. Rest has its own set of problems and annoyances, including lack of compatability with browser plugins (because browsers don't expose the http codes), and the awkwardness of trying to fit everything into the verbs offered by http, and the fundament...
Ask HN:How many screens for coding at one's best?
apowell: Have you experimented with 2 x 24" (1920x1200, not 1920x1080) running in portrait mode?
Does Apple's new section 3.3.1 mean I cant use Boost?
st3fan: No you can use whatever library you wish. Boost is C++ so you are fine.Also, the whole clause is there to prevent Flash from happening on the iPhone. There really is not that much to worry about.
SOAP vs REST, which one do you prefer working with ?
thstart: I can tell this after 5 years and 20+ Data Quality web services created for actual users paying actual $'s.Create separate SOAP, XML, REST services on different http addresses. That way you cover 99% of users. Different http addresses allows you to scale via different functionally isolated servers.SOAP is good...
Copying the ACM library (and others)
balding_n_tired: Now and then I pay the $50/year fee to be able to use the library at the school where I got my masters. I've never looked into whether this would provide on-line stuff. You might want to see whether your university offers anything comparable.
Please review my OpenCourseWare Search Engine
bwelford: Even though it only has the MIT OCW data so far this is a most impressive and user-friendly interface. Congratulations, I'm sure it will appeal to a wide audience. Sorry but I'm not in your market niche so I do not know what's available from other institutions.
SOAP vs REST, which one do you prefer working with ?
jonsmock: http://stackoverflow.com/questions/686634/soap-whats-the-poi...[Disclaimer: I answered here http://stackoverflow.com/questions/686634/soap-whats-the-poi... ]
Frameworks for real-time collaboration in a web application?
nudge: Lunascript(http://www.asana.com/luna) looks pretty exciting but I don't think it has been released yet.
Frameworks for real-time collaboration in a web application?
andreshb: Does any one else have this problem? If so, would you pay for the solution? If lots of people answered yes... this could be a product for a startup!
What code have you read recently?
terminus: Linux kernel for some time. Not the most well documented, but is full of great examples of how to wring every little ounce of performance from the machine. And, inspite of the low level nature of the code, it's beautifully modular.
How would you feel if you were Gray Powell?
matthavener: Duh, put adwords on all my personal pages! (joke)
Please review my OpenCourseWare Search Engine
Cinnamon: Cool project! How did you get Sphinx to index MongoDB?Link: http://www.ocwsearch.com/
How would you feel if you were Gray Powell?
dutchbrit: I think it's pretty childish on Gizmodo's behalf, what extra value does it bring to anyone besides getting a kick out of public humiliation.
Please review my OpenCourseWare Search Engine
Serene: Indexing lectures instead of courses is more useful.
Frameworks for real-time collaboration in a web application?
comster: I'm really excited about node.js for instance, but I find it's still changing the API etc, makes it hard to use just yet.
What to do? Received a Cease and desist letter
jamesshamenski: I know the folks at linbblad Expeditions. drop me a line with your site and i'll see if i can help. james of Adventurelink.com
Please review my OpenCourseWare Search Engine
justliving: nice! looks like a useful service! The search was pretty snappy! Was impressed.regarding the overall design, I think that a new make-up might not hurt ;)What's your business model (if there is one), or are u doing it just for the fun of it?Either way, keep up the good work! cheers
How would you feel if you were Gray Powell?
faramarz: I wonder if Apple has grounds to legally fire him.It's probably a good opportunity for Apple to handle this case with delicacy and earn more brownie points.
How would you feel if you were Gray Powell?
pierrefar: Apple has an opportunity here: if they publicly signal their support for him, they will earn a ton of goodwill and make Gizmodo look even more idiotic. If Apple fires him, Gizmodo would have won.
What to do? Received a Cease and desist letter
newobj: You've been receiving emails from the source, or from the source's laywers?
Fairly Hotel/B&B on bay area
jason_slack: where in the bay area? It is pretty large!I am in San Jose.
Fairly Hotel/B&B on bay area
pg: http://airbnb.com
When are GUIs important?
mikecane: Functionality is what the program does. The GUI is what helps the user exploit that functionality in the least number of steps and with clear prompting.See this for an example of UI/UX importance: http://ipadtest.wordpress.com/2010/04/20/when-will-lenovo-an...
Frameworks for real-time collaboration in a web application?
mahmud: One you have a prototype push link up and running; server and client able to reach each other on demand, the rest is just a simple matter of user authentication, managing timestamps, and maintaining consistency between the server side data-structure modeling the shared "object" being collaberated on, and the di...
Please review my OpenCourseWare Search Engine
kees: Very useful product. This is a service I'm actually going to use. By the way, If you change your name to something more generic, add a couple of other educational sources to you engine as well, you will be google as academic earth is youtube.
Refer Madness [critique my idea]
TodoneApp: Most people I've presented this idea to don't have much to say about it. If you had a similar reaction, I'm curious, is it because:1) tl;dr 2) tried to read it, but fell asleep/zoned out 3) read it; didn't get it 4) don't think it's monetizable 5) too trivial 6) already busy building itThanks :)
Fairly Hotel/B&B on bay area
NonEUCitizen: http://hotels.homesteadhotels.com/they have locations in san carlos and mountain view.
SOAP vs REST, which one do you prefer working with ?
alexu: REST, because of forward and backward compatibilitySOAP is too strongly typed for most startups. Most likely you will be changing your API quite a bit over next few years and with REST for each new version of your API you have option of1. Create new entry point (new URL)2. Specify version in the HTTP headers3. E...
Anyone interested in a Sydney HN Meetup?
jlangenauer: Sounds like at least some people are keen - I'm happy to organise. I suspect somewhere in the city would be best for everyone?
Frameworks for real-time collaboration in a web application?
jeandenis: I was in a similar situation last spring and really didn't find anything that worked. But that was pre-Google Wave. Today, I believe the open-sourced wave reference server (http://code.google.com/p/wave-protocol/) includes op trans. It's under Apache 2.0 and I doubt it'd take you long to rip out and wrap ...
When are GUIs important?
grayrest: The emphasis on functionality reflects the nature of the job. Software is generally like an iceberg in terms of time and complexity. The part you see is supported by a much larger chunk that's generally invisible. When you're starting out, it makes sense to focus on the larger, supporting part.How important a...
Fairly Hotel/B&B on bay area
drallison: Where will you be? San Francisco, San Jose, Marin, East Bay, Fremont, or the mid-Peninsula. It makes a big difference. And what sort of amenities do you require?
What's the going rate for summer developer interns at startups?
johnswamps: I would guess around 10k-15k for the summer (though I personally haven't been involved in any), depending on amount of funding, etc. See e.g. http://rethinkdb.com/jobs
SOAP vs REST, which one do you prefer working with ?
dmharrison: Depends on who you expect to consume it I think. If you're going to have enterprisey folks use it then they're most likely going to want SOAP etc, if you expect it to be used in service orchestration ...... then the people with that kind of skillset tend to end up using SOAP etc. General consumer access R...
Javascript development?
hellotoby: My javascript dev environment consists of the following:- Textmate (any text editor will do though)- Firefox with the following extensions:a) Web Developer Toolbarb) FirebugThe firebug console is brilliant and also helpful is the toolbar icon which displays how many errors have been encountered. I also find ...
please review my site
techiferous: Clickable link: http://www.networktimeout.com/
HN for US politics?
techiferous: I wouldn't mind HN having sections (like subreddits).
HN for US politics?
johngalt: I wonder if it would be possible to have a debate site that didn't degenerate into noise? How would you keep things civil? Or how would you keep it from becoming an echo chamber?
What's the going rate for summer developer interns at startups?
Magneus: No personal experience (currently applying for positions), but I know Skritter recently posted an offer of $4800 for 3 months plus housing and airfare. http://blog.skritter.com/2010/04/summer-intern-wanted-softwa...
Best task management software for small teams?
alfredp: trac is more issues tracking but you can certainly use it for task management: http://trac.edgewall.org/
What's the going rate for summer developer interns at startups?
kgc: Expenses paid + contract for payment if they get funded.
HN for US politics?
tokenadult: One of my most frequently made comments in discussions about United States politics is that Americans need to learn more about public policy in other countries. (I am an American who has lived overseas for years at a time.) So I would perpetually be stretching the boundary of "US" politics if I participated...
please review my site
th: When middle-clicking on the "Upload Now" button on the homepage (to open the page in a new tab) the translucent overlay that says "Please wait..." appears on the current page and hangs there rendering the page useless.I suggest either treating that link differently when it is being opened in a new window/tab or usi...
Ask HN:How many screens for coding at one's best?
Magneus: Either go 2 * 19 + 1 * 27 or 2 * 24. I don't think that 1 * 27 is going to cut it, particularly if you're doing GUI development. I don't feel that the consolidated workspace makes up for the loss in total surface area.My setup currently consists of:iPhone dev:24" + 13" MacBook, Vim, XCode, and iPhone simulato...
Does anyone else miss "Ask HN?"
elblanco: I tried one recently that went nowhere. http://news.ycombinator.com/item?id=1263934I think they just aren't popular anymore.
Are there any mirrors for Rails documentation?
techiferous: This is a good resource: http://railsapi.com/And this has docs for many different versions of Rails: http://railsbrain.com/
Best way to teach yourself how to program?
Thiscanbeit: http://www.reddit.com/r/carlhprogramming/This was a good source for me. Good luck with it.
Best task management software for small teams?
c00p3r: http://trac.edgewall.org/ + http://trac-hacks.org/Fullblog plugin, discussion plugin, tags plugin and peer review plugin are very useful. They turns your trac installation into something like a micro social network.