skysight-inc/HackerNews huggingface dataset:
If your requests are "POST to create something" requests, you can get a more REST-ful flavor of idempotency by turning the POST into a redirecting GET followed by a PUT to emulate two phase commits.

Instead of POSTing to /transactions, I GET /transactions/fresh (optionally a URL linked from /transactions to avoid assumptions about URL structure and capabilities) which generates a unique ID and redirects to /transactions/{some-unique-id}. Attempting to GET that transaction would return 404 as it doesn't exist yet, but I can PUT to it to write a transaction. Now I'm using only idempotent methods instead of POST, and I don't need to figure out how to properly construct and manipulate a token in a header, and proxies don't need to know about this special header to know requests are idempotent since the methods I'm using communicate that already.

This adds a minimum of one extra request to all two-phase resource creations. If your goal is to retry safely though, the number of retries could dwarf that overhead. It all depends on how likely it is that failures actually occur. Client-side ID generation removes the extra request but brings back the problems of clients needing to understand URL and ID formats and construction logic.
You'd think someone here would go to the cops, no?
I have, and own a dead trees copy. I've also read every page on his website.
I've never had that problem with AWS and their docs are EXTENSIVE and homogeneous.

Honestly, I've always found the .NET(C#) docs pretty good even going into naming conventions and design patterns. However I'm open to improvement as they were looking a bit dated and I often had trouble ending up in docs for older versions of software/OS's.
Any site can free themselves from the Borg: https://duckduckgo.com/search_box
Ask HN: What are your favorite examples of great SAAS products?
I'm looking for some inspiration and ideas. What are some SAAS products that you use very often, or that are just awesome and really well done?

Ideally bootstrapped, and made by 1-3 people, but not necessarily.
5 Simple Ways to Grow Your Email List
or http://andromeda.wikia.com/wiki/Seefra_System from Andromeda season 5
Ah, clearly a bargain.
Probably that's how "there is huge programmers shortage!" myth starts. I don't use LinkedIn and will never use it as any other products that rely on dark patterns and disrespect for privacy. Problems with OSS I've written in my other comment. And I'm really not in minority -- most of very good programmers I know are like this. So sorry, but as a requiter you are only doing disfavor for yourself relying on minor pool of candidates.
> Another manager threatened to beat an underperforming employee’s head in with a baseball bat.

Do you really thing he threaten that or was making a joke? Was the employee ok with that and was this someone overhearing it?

> a manager groped several female employees. (The manager was terminated within 12 hours.)

Someone did something very wrong and was immediately fired. What more do you want?

>One employee hijacked a private shuttle bus, filled it with friends and took it for a joy ride

Do you reckon they used guns or baseball bats during the hijacking?

This is a standard stitch up we've seen done to tech companies before. It's formulaic.

Take vague behavior/mistakes/missteps that's not unusual in society, give a couple of examples as though it means something about this company and imply it means blah blah blah.
I may resemble that remark ;-)
Maybe I'm missing something, but I don't see how this is any different from refusing to provide your password. Border Patrol may just detain you regardless of whether the issue is you aren't providing your password or you decided to make your device less accessible before going on your trip. Both are forms of trying to prevent them access to your device, which they won't like. The real solution seems to be changing the laws that allow them to get away with what they're doing.
Looks like the site is delinked from here?
It will allow programmers to make errors much faster :D.

Programmer: why is my program not working?
AI: Strange, it's working for me.
Or have an outside office with stand up desk and treadmill.
> I wish there was a way I could do more F# at my work.

I use it instead of Powershell for my own scripts.
The USA's old new motto -

WAR IS PEACE

FREEDOM IS SLAVERY

IGNORANCE IS STRENGTH

/s !/s
This site actually does precisely that http://fssnip.net
Link to the PDF: https://openreview.net/pdf?id=ByldLrqlx

The approach taken seems to be quite unique. Especially when compared to GPs and GA evolved custom assemblies. Those approaches work too, but mostly fail (or take too long) at solving slightly complex problems.
I learned C# (and OOP in general) first, and then made the switch to F# (and FP in general). F# does a great job combining the two paradigms, IMHO, and is a pleasure to work with. I hope I never have to go back to C# (although they keep adding new FP features to it in every release, so it's not as bad as it used to be).
Let me ask you this question: Would you consider the Titanic, oh, I don't know -- a success story?

Because that's basically what this sort of thing comes down to, at the end of it. There's basically nothing that is going to be existentially, immediately threatening to earth on a timescale that Mars is actually a more livable environment.

Where else in the Solar System could we even get the amount of water we would need?
That only works when the value is known to be a multiple of whatever you're dividing by, and they do use that when it is the case, such as for pointer subtraction.
Bitcoin implodes, falls more than 90 percent from June peak (2011)
I am pretty sure after six iterations of "more of the same" most people realized this by now, we didn't need amd to know this, but surely to change the status quo in the cpu market...
It's not hearsay, it's testimony. Hearsay would be Susan telling us what she heard from someone else.
The article is pretty fluffy, but the paper it links to is interesting: https://openreview.net/pdf?id=ByldLrqlx
my 2 c: people whose project went unnoticed on HN left HN a long time ago and are thus not here to answer your question
Walking a few weeks in the nature is precisely the point.
im still not convinced. if somebody breaks 2048bit we all have bigger problems. and if somebody compromises your mail server i assume you would like to know and not only let the keys rotate via cron and call it a day.
I was one of those remote employees that got laid off. I’m kicking off the job search (non-engineering), let me know if anyone knows of anything interesting in Austin or remote -- specifically in account management, customer/partner success etc!
"F# for fun and profit" is a great site. This was one of my main sources of information when I was making the switch from C# to F#.
Interesting but probably not Alzheimer's related: ever since my 60's-yo mother had a stroke (ICH) about 2 years ago, she now uses the "well" most often as embolalia when contemplating something because it takes her more mental effort now. Not sure how it relates to the possibility of an elevated Alzheimer's risk.

Clarity of thought is speaking less and saying more, which is a constant struggle to maintain health and energy against the inexorable march of entropy, per genes and habits.
Language Detection Library for PHP
FlyPy – A Python Library for the QPX Airfares API
I was only trying to say they're moving in a better direction.
Khokush Lake Langar 2nd Longest Lake of Beautiful Pakistan
>OS-X is case-insensitive, by default (and recommended to remain so, because most OS-X software is not developed with case-sensitive file-system awareness.)

A few years back, following my previous laptop which had been a flimsy Acer running Ubuntu which became unusable following malfunction of the fan, I was looking for a more sturdy laptop and ended up buying a mid-2012 15" MacBook Pro which came with OS X Mountain Lion I think it was. Being used to case-sensitivity from various Linux distros and on my FreeBSD servers, I decided to enable case-sensitivity for the system drive. That turned out to be quite a mistake indeed. Several pieces of software were unable to find the files they needed, so I ended up reinstalling the whole system shortly after, this time without case-sensitivity.

Following that I had a hardware problem that the Apple authorized repairshops I went to were unable to fix three times in a row so I ended up demanding a refund (Norwegian customer protection laws are good in this regard), and while I still think OS X is an impressive system I lost a bit of my respect for Apple after that experience. (I enjoy my iPod touch though.) Anyway, the reason I mention this is just to say, I don't know if case-sensitivity remains problematic in macOS. I find it highly likely that it still is though.
5 Video Sangat Kreatif Dari Sedotan Minuman Wajib Nonton
Can you give an example? I think F# has nice functional replacements for most of the nasty (mutable) bits of the .NET Framework, such as List, Set, Dictionary, etc. Most of the other areas of .NET work just fine with F# in my experience.
> GE is not an energy company

Fair enough (though I'd think the oil & gas you mention would count), but look at any energy company today and you'll see similar numbers. Another poster in this thread compares to Exxon; similarly favorable.

You may not think Tesla will make it there, and you might turn out to be right. But those that do are optimistic; not stupid.
> If you are athletic stick with "trail shoes" and not hiking boots

Use what works for you, but I completely disagree with this. I thru-hiked the AT in 2014 in full hiking boots, and didn't have any of the feet problems like friends in normal trail shoes did afterwards; I would have rolled my ancle several times if it weren't for the support, and it only took two pairs (friends with trail shoes went through a lot more when the bottoms got too worn out and got slippery on wet rocks or started to peel off).
It's hard to say when CPU's are approaching 10nm .. I've seen reports about how crazy hard it is to shrink silicon at that point so it was plausible.
Does violating the privacy of travellers routinely actually make you safer?
This doesn't require a deep knowledge of https or public/private crypto though. It requires a very basic knowledge of how encryption works. Although to be fair, you can go a long way without that knowledge.
How exactly would biometric authentication stop fake users? Would you be using some central database to identify people or are you gonna make your own database?

How exactly do you plan to verify employer information?

Sorry if I may sound cynical but ive spent enough time in smaller indian cities that i can imagine ways on how people could try to take advantage of your platform.
Looks neat ! Like the way you are leveraging India stack.

Qs for you:

1. Shouldn't a new age lending platform not use old school mechanisms like CIBIL. I would guess that a new age lending platform build its own CIBIL.

2. Doesnt the requirement of Salary Slips preclude the very same people from accessing loans who do not otherwise have access to ? Also I am guessing that this will be like 1% of the population.

3. If you have the means to coinvest 50% and if you guarantee market beating outcomes, why don't go all the way to 100% ?
Actually it was more like "Uber employees used cocaine in the bathrooms at a private party hosted at a hotel in Vegas, where a manager also ran about groping multiple female employees, and another group hijacked a hotel shuttle bus and took it for a joy ride".

I have nothing against many forms of recreational drug use, but to chop that paragraph here and squawk "OMG, beat up non story!" is disingenuous at best.
I've recently had to start writing python professionally and I'm not super impressed. My previous python experience was writing small services and fixing others code. Now that I'm working on larger "apps" it feels like a 90's language with all the rough edges and warts. I'd rather being working in a language with better language services and tooling, but python has numpy and all these data viz libraries so whatcha gonna do? At least I get a little reprieve with TypeScript; never thought I'd be so happy to work with the node platform, but there you have it.

3.5 looks attractive but there are just fundamental issues with the lang and language services. It's a bit like lipstick o... Well, I'm not going to say it.
You're still making a bet that Tesla will become a top 3 car company in the world. At the moment people there are people who think the price to risk is worth it. Some do not think it's worth it.

I would say there are better ways to make money than a 50 percent chance to make 20 percent more.

Also these predictions are 10+ years in the future. How often have people actually predicted that far from the future? Almost none. The only ones I can think of are bets on fragility: more downsides than upsides as time progresses.
The 8 Actors a Data Scientist Must Meet
You obviously haven't seen The Turin Horse. Melancholia was action packed compared to that.
Yea I didn't follow the op's comment either. Shorting is not permanent or even a long term position. I mean..you could hold it for a longer term period I guess. In 2008-2009 there wasn't many other options to choose from. Short selling is basically selling a stock you don't own. You borrow against the stock when you think their is opportunity. Tesla was a pretty easy short honestly if done right. Personally I didn't short it, however I have enjoyed shorting Netflix, Google, Facebook and Amazon over the years. It sounds crazy to short Google right? But there were times when it was obvious there would be declines. Not permanent but short term. I personally never held someone all the way down, I'm in for a quick profit and out before the bounce. Sometimes I'll buy the stock after I short it so I can gain from the bounce as well.

All that said I feel Tesla is a good company but if I was focused on them I'd just as well look for shorting opportunities. If it's not evident, I'm a fan of short selling.
The longer he walks, the more he looks like Chuck Norris.
1. Our pricing is mentioned here (https://www.credy.in/pricing). We believe that using automation and analytics well can contain costs significantly, and we being a marketplace model, can benefit from a lot of leverage in order to make more revenue with less per unit costs.

2. Trust is a pain point that we solve by ensuring end-to-end linking with Aadhaar. We also provide investment recommendations in order to minimise portfolio risk.

Interns - we would love to have a chat, drop us a mail at careers@credy.in mentioning this conversation. Thanks!
No, I think they went down to the lobby (quite possibly already under the influence of alcohol or drugs) and okay, let's not call it a hijacking, but _stole_ a private shuttle bus (and if I recall the original article correctly, left it at another casino).

Stitch up, indeed. "Vague behavior". Also known as grand theft auto.

Blah blah blah, like you say.
Make Free Virtual Wedding Invitations
I think the point that parent commenter tried to make is actually that one might use Wine instead of VM because Wine has less overhead.
What an excellent and helpful comment. Thanks for sharing that.
My best takeaway, too.
Give up your New Year's resolutions
Arxiv link https://arxiv.org/abs/1611.01989
With all due respect, that's not the only possible way to interpret it.

The intuition being expressed is as follows: Say you work at a factory, filling boxes of widgets. Widgets of varying quality stream past you, coming out of the widget stamper, such that you only have time to grab, on average, one widget out of every ten. Your job is to grab the best widgets you can spot, and put them into your bin. that's how the factory sorts widgets into different grades of quality. Further down the line, other failed startup founders toil away at other bins, snagging the ones you miss, from best to worst.

Most of the widgets are sort of a greyish mucky colour, but about one out of twelve will display a splash of original colour from the plastic that was recycled into widgets. You think nothing of it, but one day your pointy-haired manager comes and tells you that the "colourful" widgets are extra-popular and people are trading them. The company can sell boxes with at least 1/3 coloured widgets for ten times the price of regular widget boxes. Your job is now to ensure that at least one out of every three widgets that you grab is "colourful."

As a consequence, the average quality of widget in the boxes that you pack declines.

There are a lot of wrong and simplistic assumptions behind this understanding of "changing hiring processes." The knee-jerk assumption that doing that means implementing a naive quota system is not the least of these, but there are many others.

Furthermore, it is much more likely to be put forth by not-very-tactful people who have nothing to gain (and perhaps something to lose) extraneously, from greater workplace diversity; these are the people who are the most likely to both be sympathetic to, and express, views that seem at best borderline-racist.

This does not, however, mean that there is no charitable interpretation to the 'reflex' you are describing. It is not a cunning excuse to perpetuate *-ism in the workplace. It is what they believe to be a serious and valid objection to "changing hiring processes," as they understand it.
Gives new meaning to PEBKAC
It reminded me of the end (spoiled by the poster, of course) of the (somewhat obscure) NZ sci-fi flick "The Quiet Earth":

https://assets.mubi.com/images/film/14662/image-w856.jpg?144...
Actually, as a security and privacy advocate, I'm proud that you will get exactly 0 results (not counting person of the same name) entering my real name to Google search and I'm actively keeping it that way.
Support 9,600 American Jobs: Caltrain Electrification Petition
Show HN: Open Source Policy for employees in a proprietary software company
What do you mean by "language services and tooling"?
Python 3.5+ supports gradual typing, too so I'd be interested in a real comparison to Typescript.
They might play dirty games instead (again). Intel loves incentivising its distributors with bonuses and deal combos. Sell top Intel CPU + expensive motherboard with top Intel chipset = receive free Intel SSD etc. Of course distributors are free to do what they like with those rewards, consumers almost never even know about it = bigger hidden margins for pushing hiend models.
The invest now link doesn't seem to be working?
I'm submitting this because of some of the comments "The Impact Github is Having on Your Software Career" submission mention the fact that IP clauses in contracts prevent people from contribution to oss i.e. https://news.ycombinator.com/item?id=13706091

I feel that it is unhealthy that the majority of organisations (appear to) have such clauses yet at same time often they wouldn't be in existence if it were not for the OSS they build their products and services on.

I built this policy for my org and blogged about it here http://dhickey.ie/2014/11/our-open-source-policy-at-evision/ . I feel is strikes a balance between the business concerns and contributing to a healthy ecosystem. I would like to see more organizations take a similar approach; your feedback appreciated :)
The downside of early exercise is if you leave before vested and your employer repurchases the shares, you're out the taxes you paid (minus some deductions in future years that will offset other gains but will still be painful for most people).
The Pains of Hell a Life Journey of Tim Coker
I have uploaded O(10K) photos to Google photos, with O(1K) albums. I find it immensely valuable. Here are some scenarios where I actually use the uploaded pics:

- family reunion: watching videos of family members taken over the years (nice integration with chromecast to watch on tv)

- meeting friends after a long time: quickly retrieving super old pics (good search abilities with album names and tags/captions)

- casual discussions with friends/family about a specific experience (eg. trips to a particular destination): quickly retrieving pics taken there

Coupled with the fact that there is unlimited storage, ability to share across as many channels as I want (email, FB, WhatsApp...), seamless backup and sync across my various devices, ability to create shared albums with other people - I would say this is one of the rare great products Google has released in the last ~5 years.

p.s. fwiw, I also have a local backup copy in case Google messes with my account.
Always amazing to think that $100 invested 6 years ago would be worth $50,000+ today.
Binary uploads are a new APIG feature[1] awaiting Serverless support[2].

Surprised WWW-Authenticate headers aren't passed through. May be possible with custom authorizers[3], though it's extra complexity.

---

[1] https://aws.amazon.com/blogs/compute/binary-support-for-api-...

[2] https://github.com/serverless/serverless/issues/2797

[3] http://docs.aws.amazon.com/apigateway/latest/developerguide/...
In other words

"it is my choice to defend us doing better than before and that we definitely have work to do."

which doesn't even parse. I certainly can't deduce any meaning from it other than it being something that could be said in any situation and mean equally nothing. And that's the problem with marketing speak right there, it kind of assumes the listener to not pay attention either to what the words are actually saying, or that they're not saying anything.

Also, if your post is not to be taken to discount the other experiences, what is it supposed to mean then? That in a big company with systematic issues not every single person necessarily comes into direct contact with them? Imagine if it came out that in just 1% of McDonald's restaurants people pee in the sauce regularly, with management covering up for them.. who cares about some random person working in some random branch who never witnessed that? You could find such stories about anything, there's people right now in North Korea who had nothing but a great life, I bet you. And you know, the person who tells you they are tired of something like that is being more your friend than the person who lets you put your foot in your mouth like that without any commentary, at least that's how I see it.

I stole and slightly changed this this from a game developer talk about a technical subject, but I think it fits so perfectly in so many situations: imagine you go to a doctor and tell him you have cancer, and he says "oh, while I don't want to diminish your experience, let me tell you about this other patient of mine who doesn't have cancer, as a matter of fact they just come in for routine checks, always in great shape. Great family, too!". And then when you freak out on them, they berate you about putting it into perspective and being "productive" when discussing health. And oh boy, don't you dare suggesting to damage their business by telling everyone on the planet to not go to that doctor. Why do we accept sleeping in the bed one made for individuals, but not companies?

Either we have a free market, where consumers and workers call the shots, or we have a constantly massaged shit show. And that's why we're still stuck with companies like Microsoft, instead of simply ending them, and then founding two more from the talent in their space, who without the crap the original company was punished for will achieve more. What it is it you believe in about Uber so much that it could not be possibly exist in another or a new company? If the leaders who are responsible can't do the right thing, why can't you do it for them?
Had this thought within the hour listening to the business roundtable Trump hosted (on Youtube), before reading this article. Saw a very old interview on Charlie Rose yesterday and he (Trump) seemed sharper then.