skysight-inc/HackerNews huggingface dataset:
I'm currently reading "Design for Hackers". It's an interesting book and with some parts it's made me think differently with how I see things.

I know a lot of people will probably dismiss "learning how to design something" as "don't try it" or "if you're coder then you're not going to get it" but I kinda disagree. It doesn't hurt for someone from a coding background to learn about design or to try design themselves, or at least know what makes a good design. Even knowing just a little bit could be beneficial.
This is why I created http://ansible.github.com
I live on the corner of Carnaby and Great Marlborough. We should grab lunch one day. Same applies to any more HN'ers in my stomping grounds!
Also don't put the format in the URL, that's what Accepts is for.
Actually the first thing I noticed was the typos (or grammar and spelling mistakes).

Even with its blemishes, the article still has a nice message: decent design is pretty simple and gets easier if you just keep at it.
Ask HN: What to write on landing page?
I am developing a real estate site.
The site is for business real estate and not the private sector.

The question is how important is it to state this on the landing page?

Let's ask it more general, how important is it to declare to the public on your landing page (home page) the niche of your site? (compare to the general subject of your site)

Maybe to leave it uncertain is also good?
Cross compilation of two languages that most of the programmer really hate but can't get rid of because of their widespread use.
The headers are not visually associated with their paragraphs. So you have this:

para para para para

Header

para para para para

instead of:

para para para para

Header
para para para para

Not sure that the ascii art does it justice, but that's hopefully clearer.
Doesn't pip create other folders (one being "build", don't remember the others) in the root of the virtualenv whenever it has to compile something?
VCs have unique personalities, strengths, and needs like everybody else. For example, you can see this in the descriptions of the five mentioned. DM is all about execution; PM is into the vision- sell the vision and convince him you can carry it out; LL is all about strategy; VL is wants a good "general"- he's about how you are going to lead the troops. MH isn't so clear from the information presented, somewhere between strategy and execution I would suspect.

Disclaimer: I know none of them, I am just pointing out how their descriptions vary. The descriptions are surely inadequate to classify these particular people so consider it for illustrative purposes only.
While in theory great Accepts are just additional burden for web developers. We don't want to need to deal with headers. We want to fetch an url and get _the_same_data_ no matter if the url was entered in the browser, wget, or inside the app we're writing.

For a simple developer, output format is just another parameter and it shouldn't be hidden in HTTP stack.
That would be interesting, thanks.
I'm not convinced that versioning media-types is the best way. I agree it is a more correct way as opposed to basically abusing REST, but I think overall putting the version in the URL is better.

From the linked answer:

> * you break permalinks

> * The url changes will spread like a disease through your interface. What do you do with representations that have not changed but point to the representation that has? If you change the url, you break old clients. If you leave the url, your new clients may not work.

Putting the version somewhere else in the request doesn't fix this. If you drop support for an old API version it is going to break stuff. It is easier to spot the issue if you return a 404 rather than a 500 or 400 error, or even correct data that breaks the app consuming the API as it is expecting something else.

> * Versioning media types is a much more flexible solution.

The main issue I have with this is I have had the "pleasure" of working with pretty stupid people implementing clients on my API. They easily get POST and GET requests mixed up, HTTP and HTTPS, whether or not the request should be authenticated. I don't want to add something else to confuse them even more...
Interesting article. I wasn't aware of services like 3scale. Anyone got any experience of using them?

I developed, and am responsible for, a moderately complex b2b web API that is been in use for about three years. A b2b API embodies a contract between organisations, and it's important to understand that this is different to b2c (e.g. Twitter) which is less restrictive.

The biggest issue for me has been dealing with change. User requirements change. The underlying system changes and accretes new features that need to be exposed in the API. How to deal with this without either compromising the integrity of the API's design or (at the other extreme) breaking systems that use the API, is not easy. I don't know of any easy answers, but design your URLs and data schemas with versioning in mind and get to know the developers who use your API.

Documentation is very important. If your API exposes complex data then make sure that you have good documentation on what every data element means.
CRM Management | CRM Vendor | Technical Support CRM - Agiline CRM Support
Excellence in customer service is our goal. Agiline's qualified technical team offers prompt and courteous technical support. Agiline offers five levels of technical support for Agiline CRM.
Could someone please explain how this line:

"(* p=* p) & (* q=* q);"

"inform[s] the compiler that f2() will never be called with aliasing arguments."

Thanks
In node.js, I suppose?)
The downvote arrows don't appear sometimes! I don't know how the software decides....
Things That Must Happen | Socyberty
JavaScript supports getters too.

https://developer.mozilla.org/en/JavaScript/Reference/Operat...
https://developer.mozilla.org/en/JavaScript/Reference/Global...
exactly! All use of headers in web APIs just makes it harder to understand them by regular developers of API cleints.
Oldies but goodies - The Mac is not a typewriter and Beyond the Mac is not a typewriter by Robyn Williams. It's not Mac-specific, and both have a lot of examples of how you can improve design.

Fairly eye-opening if you're not used to having a design eye. Even simple things like alignment and grouping related things can have a big impact.
Importance of Having The Mobile Optimized Site
Around 15 years ago, I read a fictional book that taught me about what it may be like to go into the field of computers. It was called Microserfs [1] and I absolutely loved it. I thought that it did a great job of describing the world around software development and what working in Silicon Valley may have been like.

A book that would have been non-fiction on the subject, may not have captured my imagination as much, but this did a wonderful job. This is just one example of an introduction to the business of computers through the use of fiction. I think there's definitely a place for it.

For me, there's absolutely room for more fictional books that capture the startup experience and show what life may be like. This would not only be entertaining, but provide some sort of guidance for those interested in the field beyond the Hollywood'd tech movies [2] that are available for them today.

[1] - http://en.wikipedia.org/wiki/Microserfs

[2] - http://en.wikipedia.org/wiki/The_Social_Network
You won two internets for fixing this one. Congrats.
There's a company in New Haven, CT that makes furniture out of cardboard. It's surprisingly strong but I wouldn't jump on it:

http://www.chairigami.com

My concern with cardboard is that there is going to be some lower breaking point (especially the fork portion of the bike) due to the stress of riding it on uneven surfaces, debris getting caught in the spokes, or because of user motion. Carbon fiber forks have failed before causing catastrophic injury and death. Depending on tests, it may be an accident waiting to happen.
Link to actual table:

http://roaringapps.com/apps:table
If p and q are aliased (pointing to the same location), you would assign twice to the same pointer between two consecutive sequence points, which is undefined in C.
Interesting. I had no idea that the curvature of the universe was an indication of its size. Does this imply that a flat universe is also infinite?
and shared tabs through iCloud to your iOS devices.
Is Security Awareness Time and Money Wasted? A Different Perspective
Wasn't Comodo hacked last year?
I don't think 1 additional line of code is much of a burden. If you put it in the URL you're forcing the server to ignore the Accept header that the browser sends and pay attention to some non-standard url substring instead.
This technique may work for simple pointers to integers but is very clumsy if you consider real world use cases where you have pointers to arrays of structures. There's no oneliner magic that tell the compiler that they don't alias.

So, no, this hack is not a replacement for "restrict" keyword in C99. If you use C99, use restrict. If you use C89, use __restrict or whatever your compiler provides you with.
- disclaimer: student of environmental physics here -

Uhm, no. We can still do climate science without the problems, and there will be funds (maybe not as much, but that's ok). Climate is still something we want and need to understand, even if there is no problem at the moment (just imagine another ice age.. )

All the researchers here (Heidelberg) would be happy - euphoric! - to be able to disprove the theory. Just image, you'd be able to tell everyone it's gonna be ok.. but it's most probably not. And there are so many students and grad students working on the data - if there was a problem, can you really imagine that not a single student would be idealistic enough to speak up? (I totally would, but then I might be in already.)

You can download raw data if you want, and look at them yourself. Most projects actually have a data base, and if not just ask. If there is a problem in the way the data has been taken and evaluated, notice the authors. But a lot of people have looked over it already.As I said, everyone would be unbelievably happy if the problem didn't exist.
Look here for some oceanic data, for example:
http://woce.nodc.noaa.gov/wdiu/
Ah - I deserved that. I have a copy of his thesis printed out and sitting on my desk but I haven't read it yet! :-)
Doesn't "undefined behaviour" means that solution might not be portable? Anyway it looks like a mess. I guess the most of C programmers wouldn't have any idea what that first line of function does and why. If one see restricted he just looks on google what does it mean. Looking for meaning of your solution might be troublesome.
So, what exactly are you offering? This doesn't become clear to me.
Dealing with resources is just a point of view. Reading the documentation, it seems very easy to model it in a resource-oriented way; in fact, what they call "objects" (articles, keywords, etc) are essentially resources, which are created from the original resource (the text you submit).

You could just POST the text, get back a bunch of links to the resources and then GET the ones you're interested in.

Assuming that certain "objects" are more expensive than others to generate, a resource-based view with lazily-generated representations could be more efficient than wasting resources without knowing if the client needs them or not.
AU Optronics Announced Its Seventh Successive Quarterly Loss
Taiwan's AU Optronics which makes LCDs for the likes of HP, Dell and Sony posted a bigger-than-expected loss in the second quarter. It is the seventh successive quarterly loss and this one means that it has lost $413.85 million for April-June.
Why yes, they do. Look at the LHC or major astronomic observatories - it's not like they fix a big existential problem for most people for the time being. Where do you work?
Malte Spitz: Your phone company is watching [video]
I think that's a good comparison. Maybe not to the iPhone 4S though as by then the franchise was established as where the S III is, up till now, a less established brand. But you're right that we should compare some sort of launch to launch data.
May I suggest you read up on some more stories about disclosure in the security industry. There have been many, many people before him that wanted to give them that chance and they've been sorely disappointed, time and time again. Hell you don't even know if Daeken maybe gone through this route from, you know, his own experience?

Fool me once, shame on me, fool me twice, and I'm supposed to be a damn mind reader?!

Also see: http://en.wikipedia.org/wiki/The_Scorpion_and_the_Frog
In Defense of Parenthood - new research suggests children makes you happy [pdf]
Africa's Tech Hub Boom
Is Micron's Acquisition of Elpida Risky or Smart?
According to IHS iSuppli, the market research firm, Micron Technology Inc.'s move to acquire bankrupt Japanese DRAM vendor Elpida Memory Inc. is a bold move that carries risk, particularly if the integration and technology transfer does not go smoothly.
Don't make these pages even longer to scroll by adding comments with no intellectual value.
Connecting For A Better Future? Go to Hong Kong
> The main issue I have with this is I have had the "pleasure" of working with pretty stupid people implementing clients on my API. They easily get POST and GET requests mixed up, HTTP and HTTPS, whether or not the request should be authenticated. I don't want to add something else to confuse them even more...

Where does the madness end? Do you treat everything as though it were GET and stick the real method (and every other request header) in a query parameter? I think it's ok to assume a basic level of understanding of one of the best documented specs in computing.
In contrast to &&, & does not introduce a sequence point, which makes the expression illegal (ie it will exhibit undefined behavior) if p and q alias: an object may only be modified once between sequence points.
New Amazing Deals from MightyDeals
This time it’s about three offers that would definitely be useful for any passionate web designer, or simply design enthusiasts.
It's not just one additional line of code. It is additional work every time you try to view result in the browser. Which you basically can't because you can't put accept header in url bar..

At least in python, making requests becomes quite a few more lines of code if you want to add headers. There's usually a short-hand command if you just want to get full data from an url and a "create-an-object, then set these parameters, then this, then open a connection then read what's there".

Mandatory headers are just a way to make life of a regular developer painful.
Okay. Thanks for the info. I just had a quick look at Rusts wikipedia entry and saw that it has been influenced by C++. But as you pointed out, this might not mean much...
Sounds like you have a great blog article just begging to be let out.
Hearing about this brought a smile to my face & made my day. News like this gives you hope for a better tomorrow.
There were two replies at the time I started writing this. I actually find it funny how different a city can be for different people. Personally, London quickly become my favourite city (New York City used to be the previous favourite one). Unlike one of the other replies, I find London to be much more safe than usual for a big European city, I never felt this safe in a big city before. I also never had such a good overall quality of life before coming to live here. You can be whoever you want to be on any given day since there's so many people here noone will notice you changed if you really want to try something new. Given the salary you can get over here, I even find London cheaper than most other big cities (for example, supermarket food seems to cost around the same as the cheapest big cities in Europe yet my salary is way bigger over here). Obviously some things are crazy expensive like public transports and taxis.
Some time ago I wrote a short story about a guy moving a boat. Really it was a story about overcoming entrenched thinking, and how small nimble companies can change the status quo.

It was pretty well received, so I've thought about writing a book in the same setting where the young man that moves into the entrenched and old fashioned fishing harbour gradually overcomes the old by using his wit and outlook and eventually ends up owning and running a fishing fleet.

I've spent quite some time thinking through the plot, and I can tell you that creating and telling a great story that also conveys sound and interesting business advice is extremely hard.

You can read the original short story here: http://www.maximise.dk/moving-a-boat/
With Dart you need to send the Dart framework over the wire. That's my point, you've replaced the flexibility of sending the framework(s) you want/need and haven't gained anything.

Sure, the Dart framework is smaller, but it also does less. If you don't need everything that comes with jQuery, you can swap it out for something smaller, like zepto or TinyDOM - which make Dart look massive.

jQuery, zepto, xyz, abc, ... all give you a consistent way to manipulate DOM objects.
Or some one got caught by the vice police with Infidel Music on there pc and decided to blame the great satan.
I don't think there is any 'best practice' as of yet. It ranges from just running virtualenv, and then using pip + requirements.txt on deploy, to packaging up your virtualenv in a .rpm/.deb and installing via your distro's package manager.
Why not go till fff in base 16? And also atleast double digit in base 127? It can turn out in both cases that the probability is way higher.
Well, that blew me away. I would happily have gone for 13billion light years across.

This one little blog (that was a few hours work covering decades of hard work by hundreds of people) has reminded me of the vast importance of education, scientific inquiry and just plain old reading.

One recent suggestion here in the UK is to make maths study compulsory till age 18. If I can go till age 40 and not know how we know how big the universe is, and I am supposedly in the top 5% of educated people, then yes yes yes.

Is there any politican I can vote for who will double the science budget ?
Is Go an object oriented language?
Paul_S - you realize how big London is, right? Its not all bad. Perhaps you'd be more happy on a prairie?
Ok, I get it now. I think 'Open-sourced startup marketing' is a very creative way to describe what you're doing.
They are not created in any persistent way. They are entirely ephemeral to that specific request.

What's expensive is the analysis of the original text, not creation of the objects. If you want to do what you are saying you would need to create and store objects server side in order not to have to re-do the analysis the second time around. There's no point in that.
Isn't this the same for most big cities though? I'm not a massive fan of London, it's just where I have to work, but I think you'd find the same amount of crime and over-priced flats in places like NY.
Hey - used to work on great Marlborough @ Blyk. Number 53-5x if I remember rightly.
What's really interesting about the whole things is how the ice flow depends on temperature - ice can be in several states which will react differently under pressure. Warmer ice will flow faster, thus more ice will flow onto the sea an melt, and the ice sheet on the land will get thinner if it gets warmer.
Wait, what? Is this analogous to the ActiveX crap from MS, with the only difference being that ActiveX allowed plundering the OS and this allows the same for the browser/WebOS? Could someone more knowledgeable articulate the contents of this article in plain-er language.
The art class demo would be even better if the glasses took a photo of the still life, applied a few artistic filters, and projected the line art to be traced onto the blank page.
Apple blames rare miss on new iPhone anticipation, economy
The power of admitting "I'm wrong"
My favorite business book of all time (well, joint favorite, alongside the 7 habits) is The E-Myth Revisited. It uses a fictional story to weave together the lessons that the author is trying to teach. The narrative is based around a lady who opened a shop to sell home-baked pies. Now she feels trapped by a business that isn't thriving and that is actually making her miserable. In the story, she meets with the book's author who coaches her on how to turn her business around. The story is gripping, right through to the very end. You really truly want her to succeed! After I finished the book I thought a lot about not only the lessons on business that the book teaches, but also about the way that the book was written and why I liked it so much. I think the story worked so well as a way of teaching precisely because it was a well-written story, and being fictional doesn't change that one bit.

Later I read another book, Made To Stick, that kind of cemented this belief. That too is a great book, full of interesting little insights, and I'd highly recommend it. Stories, especially the simple kind that can hook our attention, are far more effective than facts alone can ever be.

Of course, if you have a real life story that meets the criteria of being interesting and contains all of the lessons you need it to contain, that would work every bit as well as a fictional story (maybe even more so, thanks to the true-story element). But real life doesn't often work out that way. Things aren't so neatly laid out, and you need to be careful not to get lost in the minutia. I think writing from a fictional perspective also helps you to focus on what parts of the story are truly important to what you are trying to say.

As a final, and tangentially related note, I think this crosses over to technical writing too. The best technical book I've read (and over the years I've read quite a few) is Agile Web Development With Ruby On Rails. I think it's down to the way there's almost a story there, with the web shop that they're building in the first half of the book. That makes the book interesting. I raced through that section. The second half has no narrative, it's just a bunch of technical facts laid out -- I don't remember anything from those chapters. No other technical book has made a lasting impression on me like that, and I strongly suspect it is because none of the other books have had any semblance of story or narrative.
Does the client get the copyright when they've paid ⅔s of the money? or on full payment?
Great app! Something I planned to build long time ago... Great job guys!
I belive that "professionals" have an out fo rthat law in Germany - good job I have my Security+ cert card in my wallet so when they ask to see "papers please" I am covered :-)
Excellent point. I can't agree more. In the long run, this makes things far more flexible.

Also, I might be nitpicking here, but I think the difference between a URL and a URI is that the URL explicitly defines the media type.

If that's the case, then the advice would be to use URIs pointing to resources in combination with `Accept` headers.
>"but at this point I've settled to learn some of this stuff on my own, rather than investing too much time in finding someone to trust with the responsibilities."

And how many times has a tech person decided to "do it on my own" and ends up producing terrible work but doesn't recognize it?

With programming, it's fairly obvious when a person can or can't do it. But marketing and copy writing, for example, are things the everybody thinks they can do, when in reality it's lack of knowledge on the subject that gives people that perception; "that's easy, I'll just learn it on my own."
London Olympics 2012 HD Wallpapers
Hey! I bought Woody Landing for a project I'm launching soon. It's a nice one.

Another good resource for learning design is the eBook: http://bootstrappingdesign.com/
Don't Use accepts_nested_attributes_for With belongs_to
Good look on your search.

It's always nice to sit/talk with people who are more experienced than you in a particular subject of interest. My wish.