skysight-inc/HackerNews huggingface dataset:
Encoding the version number in the URL may be convenient, but certainly does not follow REST. Consider the following pair of URLS:

/api/v1/posts/1

/api/v2/posts/1

This implies out-of-band information that these two resources are actually the same entity.

The version number belongs in the `Accept:` field of the HTTP request headers; for example `Accept: application/json; version=2`
He says that they designed Glass to free up your hands and eyes and ears, but that is only true when you're not using it. When you are using it you're using your hands to scroll, your eyes to look at the screen, and you are still listening for what it has to say. How is this different from a phone?

When your phone is in your pocket your hands and eyes and ears are free but when you are using it they're not. The only difference seems to be looking up and slightly cross-eyed and not down.

If Glass becomes a success, I fail to see how it would bring people out of the bubble they're in when using a phone. It seems like Glass just moves the bubble.
Drawscript - convert Illustrator shapes into code
That's addressed in his third point, the ecosystem isn't as good as other options.
Just as a note: by default any modern rails app is going to call Bundler.require, so you only need to use bundle exec if e.g. your system rake is a different version or your system rails is not 3+. I've heard claims that this can have non-trivial performance effects.
I think what she did was awful. But I have a hard time understanding how you cant see that her actions don't meet all of the conditions found in the definition you yourself supplied.
Account was registered on 3rd March, domain was registered 5th March. "Hmmm"
Maybe it was set up that way to hide the electronics on the back of Glass?
So in reality it's far less interesting then people think, for every musician who has see colors in music there is someone like me who sees words and numbers with different colors depending on first digit/letter.
Agree with your analysis, but I'm not so sure it will end up with a monopoly. Stickiness amongst iPhone users is very high. I think something like an 70/20 android/iPhone split, with apple taking most of the highest-value users, would be a stable equilibrium - if there is such a thing in such a young market.
I ... sort of have it. I have always associated specific colors and genders with numbers and letters. Like, a B is pink, and an O is white, and a T is male, and a D is female. As far as I can tell, it has nothing to do with their typographic characteristics. It's just something that has always been the case for me, and hasn't changed over time.

I'm not certain it's true synesthesia, because gender isn't really a sensory thing in the same way that color and taste are, but I feel at least a kinship with synesthetes.
The issue has nothing to do with being a prude. The law says that certain workplace practices are illegal. The law clearly says that some forms of workplace humor, including sexist jokes, racist jokes, jokes about religion, and more, might be part of an workplace culture that is illegally discriminatory, and may be reported without fear of reprisal from the employer.

Yes, the law says that reporting potential cases of workplace harassment is a protected action, and cannot be used to fire someone.

The law does not require that sexist humor be directed towards the same gender as the person who reported the incident, just like it doesn't require that racist humor be about the same race as the person who reported the incident. The law doesn't even require that the person who reported the incident be the one who was subject to the harassment. The law even protects people who make a truthful report that is later determined to not be discriminatory.

The same laws do not apply to watching prime-time television shows, so the earlier comment of rsanders does not apply. One difference is that it's easy to turn the television off, while it's hard to quit a job and find a new one.

Someone on cable television can tell racist jokes until the cows come home. Telling racist jokes at work, no matter how funny the jokes are, can create a hostile work environment, in violation of the law. The same with sexist jokes. That's because the law has special protections for race, religion, sex, marital status, veteran status, and others.

You might think that details of laws are as useless as the White Knight's "anklets to guard his horse against shark bites", but the law is the law. Reporting possible cases of workplace harassment is protected under Title VII of the Civil Rights Act and may not be used as the basis for firing someone.

Your personal beliefs on who the sexists are may be entirely correct, though I doubt it. But your personal beliefs are almost diametrically opposite what the law says, while the events we're all talking about are definitely well-defined and protected in current law and legal practice.
You could have a look at MailChimp. They have a free plan and there's a few WordPress plugins floating around for it. I'm using one called MailChimp widget. Simple and it works.
Actually it is, in my opinion. I know by your tone that you're going to disagree with everything I say here, but I'm going to say it anyway.

Money is most useful as a medium of exchange. As such its value should be stable on the micro (day to day) level. Slow decrease in value over time ensures that it is not a very attractive store of value, meaning that cash is invested, recirculated and used rather than simply hoarded.

Additionally, a central bank can (and should) act to stabilise the value further. When there are financial crises there are a variety of powers that can be used by a central bank to try and mitigate problems that could be exacerbated in a currency without this feature. Having a central bank with a variety of monetary powers is therefore a positive.

With a fixed supply and an ever-increasing value, bitcoin discourages any investment (why bother with risk? I'm getting richer just sitting here). More than this it massively rewards people who have bitcoin over those just coming into the game, using the economic output of those that are actually productive (be they workers, business owners, entrepreneurs, whoever) to enrich those that just sit idly on a hoard of coins.

This is why I think the fundamental parameters of the Bitcoin currency are unsuitable for large-scale or society-wide deployment.
What do you mean by that? Java bytecode is leaps and bounds more instrospectable, and by that, I mean that programs can actually garner useful information from it, otherwise tools like Eclipse's code completion woudn't work. The source won't be preserved, but the class, field and method names will. That's much better than what you get from minified JS. I also mean that, despite its unconvenience, Java's reflection API is still quite powerful.

I don't get the fixation with the fact that the filename ends in a .js extension; just because a bunch of code is in a familiar interpreted language doesn't make it readable or maintainable in any other manner.
stuffihavemade is correct. Also, generally a POST request is made to some kind of "resource creating" URI, which includes the URI for the newly-created resource in it's response. A PUT request is typically made to the URI of an existing resource.
You're seriously happy with all the ,(function(){}){}); verbiage?
Correction: Forks and dongles are both male, so this is a mentally handicapped way to "support women in tech"
> and has been for quite a few years now

They have. I first saw stuff about self driving cars when I was a kid, a couple of decades ago. So where are they?

Google has had a fraction of the time, yet appears to have gotten further than most already..
I'm really not sure a halving in the generation rate accounts for the current spike, but clearly this is all just a matter of opinion and speculation.
If you sold a house for Euros would you pay your Canadian taxes in Euros or CAD?

I'm not sure why people are having such a hard time grasping this.
Excellent article. This is relevant advice not just to startups, but to every company - you need to decide what kind of customers you're going after.

I see it a lot in our Software Consultancy. We're constantly focusing on what our goal is: small startups, medium sized companies, or large businesses. And whether the're technical companies, or non-technical. Those are the two biggest issues we have, and they affect everything we do - from marketing (market technical skills? Market "solving problems without bothering you about it"?) to pricing (value-based? time based? Fixed-price Project based?) to how to grow technically (should we learn more languages and platforms to sell our skills to technical customers? Or should we lean towards learning a more specific niche if we're targeting a specific type of company).
Fixed it: "If you're a developer, do yourself a favour and buy a SSD drive. It makes a huuuuuge difference !"
Bitcoin has two serious problems, first it is too hard to common people understand.

Second, it is too hard for common people to buy and sell.

Bitcoin is perfect to you create a cheaper exchange and remittance company, like Western union. Pull a WU using bitcoin as backend and get bloody rich.
> With REST, the URL for a resource never changes.

I could have an endpoint example.com/users become example.com/subsite/users. It is precisely because the URL might change that you want to give the client URLs to the next possible actions.
Yes it is. A falling dollar encourages people to start businesses rather than stuffing their cash under the mattress.
That's OK, the title of the article says "RESTful" and not "REST".

Pragmatically I've found through experience that most developers tend to be more comfortable thinking of URLs and general content types.
Not from Africa, but very interesting indeed. Added to my bookmarks. Thanks!
Basically what you are saying is you don't want HN to turn into Reddit.
Without evidence to the contrary that claim seems reasonable: http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?t...

We all know CPU performance is much less important than IO performance (file, DB, network), but assuming a large Ruby site and large .NET site both got that part right, and CPU performance does start to matter, what he says sounds reasonable.

Rather than being noticeably faster (lower latency) for a single user, the compiled tier (Java,C#,Go,Haskell,Scala,etc)'s better performance often just allows for far fewer (or cheaper) servers than the interpreted tier (PHP,Perl,Ruby,Python) to be thrown at the problem.
The best jokes are offensive.
Think of a good joke you know, take the first one that comes into your head.

Analyze it.

Is it completely neutral? Probably not.

What about word plays, they are not offensive eg.

'Why did the chicken cross the road? To get to the other side'

The chicken wanted to die and reach the 'other side' (ie. heaven) - but this is offensive to people considering suicide, you are calling them chickens!

Hell even chickens, if they could understand humans, would take offense because we use their name as the word for 'coward'.

Ok what about other word plays:

Knock knock
Whos there?
Orange
Orange who?
Orange you glad I didn't say banana?

However, that's not a very funny joke.

Tell it to a person who's enunciation of the word "aren't" is close to "orange" or a person who has bananaphobia (yea, they exist), and it gets a little better.

Puns in themselves are hard to laugh at, but once you attach a certain context, they can become really funny. Usually that context can be found offensive.

'Supercollider?' - Not funny

'Supercollider? I just met her!' - Funny, offensive

Is this funny: Arn-Old

How about now: http://thechive.files.wordpress.com/2012/06/funny-captions-0.jpg?w=500&h=595

The best jokes are offensive, stand up comedians are notorious for it. However because of the nature of their work, no one complains, everyone knows they don't truly believe what they are joking about.

Or do they.

Remember Michael Richards (aka Kramer from Seinfeld) before the whole Racist Tirade[1] if he made a simple black joke, people would laugh at it. Not anymore.

Carlin said it best[2], context matters, at the same time though, if there is no hint of offensive in the joke, it loses the taboo aspect which makes it funny.

Sitcoms; Miscommunication between actors leading to funny situations, achieved by implying one party was stupid or situational stereotyping (eg. Fonzie), it all ends up giving a sense of superiority (from the audience) which ultimately creates the 'funny'.

What does that say about human sense in general, are we creatures that only find happiness in the misfortune or degrading of others?

Also, is there a truly neutral joke which is actually funny?

[1] http://www.youtube.com/watch?v=6Pksx_IAHDE

[2] http://www.tmz.com/2006/11/20/kramers-racist-tirade-caught-on-tape
"The PyCon Code of Conduct was tested twice that I know of, and it worked well."

No.

Imagine if PyCon had a reasonable code of conduct instead of this "Sexual language and imagery is not appropriate for any conference venue, including talks...In particular, exhibitors should not use sexualized images, activities, or other material. Booth staff (including volunteers) should not use sexualized clothing/uniforms/costumes, or otherwise create a sexualized environment."

Which I suspect was designed because a bunch of sex-negative feminists like those at the Ada Initiative just don't like booth babes. They have an obsession with marginal things that they believe might lead to sexism.

When I was more involved with Drupal, I wrote a letter against adding this kind of language to DrupalCon's code of conduct, because I felt it should focus on dealing with actual harassment instead of things some people don't like. I think because I am a woman, people listened to me. Working in tech can be dehumanizing enough as it is without having codes against an entire aspect of humanity- sex, because it might make some people uncomfortable. It's also vague enough that it could turn into a witch hunt pretty quickly.

I started out in Python but it's been like six years since I used it seriously, but if I were still involved I would try to get that removed from the Code of Conduct.
It Doesn’t Matter Unless We Win
Stillalive - never worry about your website failing again
I agree. But I wouldn't feel too marvellous telling the mother of a dead serviceman that it was their problem they were offended and that they should just get over it.
Jasmine tactics screencast (JS testing)
Looks cool. I corrected some of your spelling and grammar errors. Many US customers distrust sites that have poor English in their copy. Hope it helps.

ID and Password

We don't store your Dropbox and Google Drive passwords. (We cannot access this information.)

We store your OAuth token for Dropbox and Google Drive in our server.

We store a cookie in your browser.

We store your e-mail address for Dropbox and Google Drive in our server. This is for you to identify what account you use on Writebox.

File Contents

We don't store your file contents in our server, but save in your local cache.

We don't read your file contents, we just convert file encoding to show characters correctly.

We store the filepath of the thing you last opened in Writebox in our server. This is for syncing the last edit of the file across devices.

Logging

We collect analytics data through Google Analytics when you using Writebox. This is for the purpose of service improvement.

We don't track individual users.
Quotation needed.
WSDLs appear to be permanently associated with SOAP, so I don't see them gaining much traction with the REST crowd.
Makes me wonder when will HN consider creating subcategories ala reddit. Surely the site gets enough traffic to take it to the next level.
A large part of what I do when I program is recognising patterns and deciding when to apply certain methods. Without knowing the patterns and the methods to apply, I'd get nowhere.

When I write, I rely on a knowledge of words and how they relate to my mental abstractions to be able to formulate sentences from them.

Pretty much everything we do rely extremely extensively on facts and knowledge we need to acquire and remember.

Not knowing or remembering details is fine. I rely extensively on documentation and searches to write code, for example. But you need to know what to look for and what to search for.
> So a bunch of guys then making fun of the whole thing with a shirt seems mean-spirited. Like, your gender won (well, common sense won, but) let it go.

Except both genders lost. Having a laugh with the t-shirt is the consolation prize.
This is a great idea. Now one and a half billion Chinese can get their free OS'es completely legally instead of using pirated, possibly malware-tainted copies of Windows XP. And Microsoft can stop crying about the hypothetical lost revenue due to piracy when everyone switches to a better, free product.

Not that they couldn't switch before, but perhaps the official government endorsement of Ubuntu will jump-start the adoption rate in China.
I prefer to have a version identifier at the beginning of all things that may need to be versioning. This should probably extend to URLs. Perhaps you need two or more version schemas: one for changes that affect object names (URLs) and a separate version system for changes that do not (this version sent in the headers).
WAP! I had totally forgotten about it until you mentioned the 3210. It's an interesting take though, because there are technologies that are effectively abandoned that might still be pretty useful in certain areas of the globe.
As said by Alan Kay - The best way to predict the future is to invent it.
What software did you use for this?
How long before there's a Hacker News for "Hacker News for X"?
I think our views of reality are too different to discuss this matter. I have never observed a situation in which a company is made to keep an employee that doesn't perform to their standards. Public discussion of sexual discrimination is not what this woman did and therefore should not be protected. Unless you think that these men were sexually discriminating against Adria when they were talking about the male speakers dongle. This has nothing to do with sexual discrimination or harassment.
Google killed me
It's great initiative. For Europe, we also have similar thing but unfortunately it is not active. Maybe admin can update the UI for HN Europe.
I thought Linux avoids malware by both unpopularity and security features? If it suddenly has a global market share of 20%, what then?
I think synesthesia is so weird that nobody is certain what is true synesthesia ;)
What's needed, and I'm sure it's just a matter of time, is an embercasts.com in the style of railscasts.com. I think Ryan's way too busy to double his workload, so the opportunity is there for someone else to take up this banner.
There's an assumption here that if you're going to be using your Google Glasses to open a garage door, you'd presumably be wearing them while you're driving. I hope they finish driver-less cars first.

Other uses listed in the patent include: "For example, target device 14 could be a household appliance or device, such as a refrigerator, television, dishwasher, audio system, video system, alarm system, thermostat, garage door, etc. Alternatively, target device 14 could be an office appliance or device, such as a copy machine, fax machine, projection system, security system, etc. Other examples of target device 14 are also possible."

http://appft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sec...
What You Can Learn From Macklemore About Building a Successful Startup
hey guys sorry if I offended you by my enthusiasm for google glass. I certainly didn't know enough about the hacker news community to to everything right. The site is currently down because of the attention (I have seen the same problem with other news posted here).
I think I know now how to act properly in this "community".
Unfortunately, Canada has laws against shipping alcohol across provincial borders. You would need to deal with all the import/export stuff to make that work. Yup, Canada has really messed up liquor laws.
There was a guy who did a hack on them a while ago. I think I saw it up here but I don't remember the link. A quick search brought this up http://www.youtube.com/watch?v=XmR0yvBTbTc.

I think that goes to show that some ATMs are less secure than we'd like.
PUT for creating and complete updating, PATCH for partial updates.

POST has no useful semantics (more correctly, its semantics is just like those of "do"/"execute" verb) and should be used only if no other verb matches. Or for compatibility reasons ("POST /foo\nX-HTTP-Method-Override: PUT")
You won’t feel anything - Microgynon
Microgynon is primarily designed to prevent pregnancy from occurring. Microgynon is a registered trademark and our products are 100% sure and legal. Feel free to enter our site and explore our products. For every complains we will respond in 24 hours. P. S. This is a good contraceptive method...
We are all communicators
Ask HN: Have you been receiving spam from the freelancer's thread?
I usually post something in the Seeking Freelancer's thread once a month, and lately, I've noticed a significant amount of spam coming to the address I list as a contact. It's always in the form of "Hire us for SEO, Web Design, & Development!"

Anyone else running into this?
If someone feels there's a need for it, then perhaps not too long from now.
yes, then we could have /h/hngonewild, shudder.
Is anyone else concerned this is just going to be used to make the Great Firewall of China easier to enforce? Call me skeptical but I'd be concerned there would be some bad stuff hidden in there to allow the gov easier access to it's citizens data.
Let's not make this OK. How is this supporting anything ? It was offensive and still is.

Here is why some males think it's a funny word.

Slang; see penis. Often used to describe a large penis, it can also be used to describe a "average-sized" one or a small one.
If they lean over my shoulder and read my screen intentionally, they've taken a specific action to do so and I'm comfortable defending myself on the basis that in that case I had an expectation of privacy, and if they were offended by what they read while they were violating it that was their problem.
While not sexy and hip, remember 35 percent of web traffic is handled by PHP... PHP is still a player. I'm not a huge fan of either PHP or Ruby, but with HipHop PHP apps seems to have a path to higher scalability. All languages eventually decline and die, and while PHP might be declining (and as of this year maybe Ruby too) PHP's death is going to be extremely slow, probably decades. In 30 years I would not be surprised if PHP is the COBOL of web development.
I'm guessing LoJack hasn't moved into that market yet?
Stnford Online: A Crash Course on Creativity
Sigh. Please tell me you're trolling?

This has nothing to do with race. Africa is a geographical location, not a skin colour. Tech in Africa has a different set of challenges than the hugely US-centric Hacker News crowd- not to mention networking opportunities, etc.

It makes sense to create a space like this.