skysight-inc/HackerNews huggingface dataset:
I've worked on generating SDK's for a small startup last summer. I haven't tried AutoRest but I dabbled with ApiMatic and Swagger and ultimately went with Swagger.

The biggest thing for me was that, while ApiMatic has a lot of really nice tools and options, I couldn't find any way to customize the actual generated code. With Swagger, all of the templates are community made and freely available, and it uses mustache templates, so it makes it really easy to customize.

This was important for my company because we had some custom options we wanted the SDK to handle that weren't necessarily reflected in the API, and convenient helper functions for authentication.

I think the community part is definitely a huge plus for Swagger.
Meet myABCKit
Also, look at blocking DNS as an alternative to in-browser blocking:

http://www.abelhadigital.com/hostsman
This doesn't seem to be an option for me (Android 5.0.2). Settings->Apps->Maps->Permissions get me a screen that lists the permissions, but there is no way to change them. Am I missing something?
Not just FUD - Google mis-recognized words to mean "positive" or "OK Google" that were part of various German conversations.

This means I inadvertently recorded snippets of conversation with friends without their knowledge, and was able to listen to them now.

In Germany this is a crime and could get you up to three years. (§ 201 StGB)
Thanks for that, it's an interesting difference from my own opinion, and totally understandable. I don't like it because it clearly (to me) is a censorship of art, and famous art at that. It violates principles of free speech as I understand it (from the US).

But the angle of it being an American company meddling in European politics is also an important idea. For what it's worth, I doubt they care about the picture's portrayal of America so much as the simple fact that it's a naked child.

There seems to be a fine line between diplomacy and meddling that hasn't been going too well lately.
Show HN: ML toy that tells you if you sound like Trump or Hillary on Twitter
How do you get all the stuff you need/want that you don't/can't fetch yourself from the source?

We do without them.
DHH would beg to differ with you. He's stated a few times that he's a successful entrepreneur because of the Danish social safety net (and the taxes that pay for it).
> Why is Apache taking these up / wasting time on them?

Presumably they get some funding in return. It makes $$$ sense for those entrusting if they have an established user base they no longer want to support.
MyABCKit, hello world
They actually already offer a tight integration with Mattermost: https://gitlab.com/gitlab-org/gitlab-mattermost
There may be a regression with the Chrome support in that OS. As it is a very tiny share of the Desktop market and is the hardest shell to maintain of the 3, I'm not surprised.

I have confirmed it works fine on Windows 10 and OSX variants both in Canary and Stable.

You perhaps might be interested in reporting the bug. That's a major regression. I'd be annoyed if it was missing too. Not enough to go to Firefox, mind (the speed loss is too great once you have 20-40 tabs open), but it'd definitely lower the speed at which I work.
In a map project, I had markers stored in PostgreSQL + PostGIS database.

As the amount of markers got too heavy for the browser, I tried only querying markers within a certain range of a coordinate I was visualizing.

For some reason, no matter what coordinate systems, data type casting and PostGIS functions I tried, I would always get an ellipse-shaped area of markers, where the north-south distance was twice the expected, and the west-east distance was as it should be.

As I realized that the issue was consistent, and always exactly double, I decided on a crazy workaround: I added math to the distance query, to divide the latitude coordinate by 2 and then order the results by distance and LIMIT 1000 closest markers this way.

Voilà, perfect circle on the map!

Even though the resulting coordinates were completely off, it did not matter, because only the distance comparison used the wrong coordinates.
Agreed. Another possible factor: 15 years ago, most states had full licenses at 16 years old. Now, most states have restricted licenses, that "graduate" into unrestricted licenses by 17 or 18 years old (21 in the case of Maine) [1]. Even then, your unrestricted license can be delayed based on your driving record. I'd guess that the wait and the additional red-tape makes driving in general a less exciting proposition than it was "back in my day".

1. https://en.wikipedia.org/wiki/Driver%27s_license_in_the_Unit...
I was going to say the same thing. There are very large parts of the population that will never even have this option, no matter what they make. I live 8 miles outside of town. No uber driver is going to come pick me up. You might argue that it's a luxury to live in the country, except that 19% of the US population is rural. It doesn't make economic sense and it's not feasible for everyone to live in a city. Housing is cheaper out in the boonies, which is a necessity for some. I personally just don't mind the trade-off of convenience and like the benefits.
People talk about the ad blocking arms race, but they forget that advertising itself is an arms race. Often it doesn't even benefit the advertisers!

For example, everyone would buy food even if it wasn't advertised, so the food industry as a whole might well be losing money on ads. (If you're feeling nitpicky, substitute "cheap food industry" for "food industry".) It's a kind of prisoner's dilemma situation where each firm keeps spending money on ads to avoid losing market share to competitors, but all firms together would be happier with a blanket ban on advertising. I suspect that many online ads are also fighting for a share of a fixed-size market, and would benefit from a ban as well.

Ad blocking is a gradual way to institute such a ban without requiring everyone's consent. It's probably already making many companies richer without them realizing it, by suppressing the ads of their competitors. In fact, these are the companies you want to get richer, because their products are spreading by word of mouth instead of ads.
A word of warning about uBlock for those who aren't aware: uBlock Origin forked off of uBlock some time ago and left the Safari version behind. For Chrome and Firefox uBlock Origin is great, but for Safari I personally suggest Wipr[1].

1: https://safari-extensions.apple.com/details/?id=com.giorgioc...
Alright, let's apply the legal standard you cited.

> except where such advocacy is directed to inciting or producing imminent lawless action and is likely to incite or produce such action.

The Israeli government claims they were "likely to incite" such action. Should they have to prove it in a court, for each separate comment posted, before they can ask Facebook to remove that comment? Clearly that would never scale; it's suitable for books, not for Internet forum comments. What do you think would be reasonable here?
Effective price controls? You have probably never heard of the pernicious effects of FPA for new drugs.
I hate ads, absolutely hate them. I hate them on TV. I hate them on billboards. I hate them on the net.

If I want something, I decide I want it. I research it, and I make my choices based on multiple sources. Dancing clowns and phony sales do nothing but waste my time and annoy me.

Having said that, we need some way forward, even if it's nothing but a small step. I propose that all advertisers voluntarily place ads (and paid product endorsements) inside and <advert></advert> tag, preferably with an alt attribute. My browser could show me the ad or the text. It's up to me. Ad Blockers would no longer be a thing. Who would need them? And if advertisers really wanted me to see the full-bandwidth version of whatever schlock they're peddling, over time they'd develop a reputation for delivering funny/interesting/engaging ads. Then I might let some through. Hell, I might start following them on Twitter.

But don't hijack my browser, track me against my will, and force me to look at things I don't want to simply to find out what kind of car accident happened outside last night. Content producers and consumers should not be in an adversarial relationship. Yet this is what they've created.
I regularly use PyCharm and CLion, but I still prefer Netbeans over Eclipse and IDEA any day of the week for Java development. A big part of that is that the maven integration is nicer, and I get along well with the debugging and profiling.
Yes, it would be better.

The snippets are currently the first 255 characters of the page's text. For snippets to be customized to the search term, I would have to store all the text of the page. And that would require a lot more disk space. Space that I can't afford at the moment.
Considering the Obama administration's actions towards whistle blowers, despite promising to be highly transparent, suggests Snowden will not be pardoned any time soon.
The OSI definition of "open source" is not the only definition. I would argue that most people see "open source" as software where the source is "visible" (no data to back that up).

Then you have a gazillion of "Open source licenses", that can be less "free" to more "free", like BSD, GNU, MIT, Apache, the free source license, ...
Because the software still works and can be used by someone. Sure they might not be maintained and bug fixes wont happen. If the software does something that has no free alternative, the Apache one can still be used by someone for something to fill a need somewhere.

Yeah I know this is an absurd concept (to some) that someone might use older than a few year old tech.

Being an Apache project means(to me at least) that the product is ready to use and someone has used it before with at least some success. I trust a random open source product much less than anything Apache.
Steamboat Arabia, missing for 132 years, discovered 45 feet under a field
> I have never met a danish entrepreneur who didn't complain about taxes

You should meet me.
So apparently ML doesn't understand sarcasm either.
Sweden is #8 in terms of total tax wedge in the OECD. Norway is the 18th highest and just barely above the OECD average, compared to e.g. US at #25, Belgium at #1, Germany #2.

Sweden is high, but still 6-8 percentage points below Germany, Italy, Austria, Hungary, France, and about twice that beow Belgium, which is an extreme outlier.
Buyers are easily corrupted since there are few of them.
I am the project lead for Eclipse Che - developer workspace server and cloud IDE. The core of this project came out of Codenvy. Three years ago we were searching for the right governance model and community to open source Che from Codenvy.

We originally started with Apache. We went that way because we did not have relationships with Eclipse Foundation, the Orion project - a perceived competitor at the time - was already there, and concerns over IBM having an outsized dominance / influence over the community.

When we reached out to the Apache foundation to discuss the ways we could get our software into their foundation, building mentors, and also cross-project collaboration - we really struggled. We were unable to get the necessary endorsements. Apache was really bare bones governance. Because we couldn't get the right mentors, the proposal never made it out of an early proposal phase.

Serendipity at the time had me accidentally meat the Orion project lead at the Eclipse Foundation. Conversations ensued, and a path for how Che could come to be a reality with the support of other vendors that wanted to get involved was laid out. And that lead to our ultimate path into Eclipse and promotion there.

So this is an interesting back story about how one project ended up in Eclipse vs. Apache.

Interestingly, Eclipse is opinionated about the projects they promote. They are topically focused and work for project cross-pollination along with driving marketing initatives and IP policies around driving adoption of their core underlying projects. So that is a bit of a departure from the Apache approach where each product is more autonomous in terms of its underlying promotion responsibilities.

This plays a little bit to @dr_faustus comment on Apache being a place where many large projects are going - they can do that because the community already exists and they need the most structured infrastructure / process.
I'm not saying reviews are not useful or that I necessarily want to find places by myself. I just think reviews are sometimes overrated. People like to think that some restaurants are so much better than others, when in fact, many are of very comparable quality. For instance, I remember people queueing for 30 minutes at Shake shack because of the good reviews, when you could find comparable burgers everywhere.

In NYC, people go to restaurants all the time, it's part of the experience. If one restaurant isn't good, you'll go to an other one the next day.
IntelliJ IDEA is the undisputed leader.

One of the big differences with both NetBeans and Eclipse is that it's commercial software with nice non-paid offerings. But, for example, for my project Community Edition is not an alternative due to lack of JSP editing. NetBeans is great for editing JSP.

Other shortcomings of Community Edition are survivable. In my case this is Google App Engine support that with a lot of manual configuration can be made to run and debug in Community Edition.
We use it to store fine-grained server and application metrics for performance monitoring, bottleneck detection, and general troubleshooting.
Well, we'll see whether they want us. I'll be visiting the country with my wife in a couple of weeks. Then I'll file the paperwork.

Btw I'm not frustrated in daily life ;-)

I've just started to believe that "happiness with high taxes" is a euphemism for an ever growing sense of entitlement that is (barely) being fulfilled. At least in Belgium and France.
At some point I have to draw a line between the information that he leaked regarding questionable (and, ultimately, illegal) domestic US spying programs and the sizable remainder of the corpus detailing US tools, techniques, and strategy employed against foreign nations. The former is undoubtedly potentially patriotic, while the latter is a legitimate and legal function of the NSA and likely damaged its intelligence mission on a number of fronts (and is, ultimately, treasonous).

I have to ask myself: could he have leaked the former without the latter? In all available information, I have not seen a compelling reason to think that the two bodies of data were inseparable. A heroic Snowden with the best of intentions absolutely needed to invest the time and care into either not collecting the body of non-US data in the first place or, failing that, purging it from the body that he released to the world.

For me, his failure to do either inexorably poisons any heroic fallout with the treasonous side effects. One step further: why did he neglect to do something as simple and important? I find the heroic Snowden to be a hard sell, since it seems like he was at best grossly irresponsible and, more likely, motivated by something other than patriotism.
Sounds like the analogy is gang "protection" money.

However here it seems to come with additional behavioral standards to the public.
We're currently moving to the Atlassian stack, from Bitbucket to Jira to Confluence. I really want to switch over to Gitlab reading this but the sunk cost is too huge already...
How so? People have voluntarily installed Adblock Plus, viewers have no contract with publishers to view their ads, and ADP has no contract with publishers to keep their ads up.
What's wrong with AT&T syntax? Anyway, better than 50-byte binary blob.
I'd agree with and extend your remark with car ownership is much like peasant agricultural labor. If a judge and jury sentenced me to do it, or culture forced me, or parents expected it of me, I'd be pretty annoyed, but of my own free will this summer I grew many green pepper plants in my elaborate container garden and find the labor involved very relaxing (and tasty!).

Elaborate economic arguments about how I should have spent those relaxing labor hours contracting and then shopping for factory farmed green peppers are going to fall on deaf ears.
Their external antennas are awesome as well. For home use I prefer the Mikrotik Gigbit routers.
Originally it was written in Delphi. But I now use FreePascal for the development. I'm even compiling both Windows and Linux versions on my Linux machine.
I have a Surface Book, a recent Macbook Pro, and homebuilt Windows machine with components sourced from 2015's crop with an eye towards performance. Even if it were the case that I was using older hardware, this wouldn't exactly be a good story for Firefox.

Firefox is sluggish on every machine, and consistently feels like the slower paint. I understand the synthetic benchmarks are not so distant, but we don't interact with browsers at the level of Sunspider benchmarks. We interact at the level of full dom renders to screen, first clicks available, scrolling and repainting performance, tab open and close time, and startup time.

Firefox has never been a positive experience for me on those on anything but the very oldest of Linux boxes, and quite frankly I've written off the entire X11/Linux desktop environment as a tire fire with people trapped inside.
Sooooo

A process is a function running in its own context.

A module is just a namespace to group some functions. But there is no real link to what an object brings.

At best you could try to compare an OTP behaviour to a class but even that...
My point is to make you think about bootstrapping the hypothesis issue.

Yes, an intelligent agent will do exactly what you suggested. And by the way, what you said was exactly a hypothesis. What exactly did you do to generate it? Where did that text/ideas come from?

When you come to the bottom of it you'll probably find something that you can't explain. You'll have to think about something and that will lead to something else and so on.

The scientific method is just a means of communicating ideas to other people. But, can you use scientific method on itself? That is, can you communicate a scientific method to generate scientific methods (basically only the hypothesis) for a particular subject? What about "hunches"? Can I have them?

If you can, you hit jackpot. But if you don't, then you might want to think more about discarding the unexplainable.

Go beyond that and try to imagine an 4d or 5d space. Then extrapolate and do a bijection from that to understanding what God is. Why do you think that you can do that? What does this prove about all this thing?
> Most people are not idiots. If they disagree with you, it's probably not because they are being irrational, but because they're starting from a different premise, making different assumptions, or assigning different values to different aspects of the problem

I agree with the spirit of what you're saying, but I think you're conflating two orthogonal dimensions.

There is someone's level of intelligence, and there is the degree to which they have different starting assumptions to you on the topic.
You have a firewall. It's called "don't run services you don't need or don't understand" and "if it binds a non-localhost port it better be secure."

It's easy to use netstat to list all bound ports for TCP and UDP. I know on Linux there is also a flag to show the owning pid. Do that and then investigate any you don't recognize. If you don't need it turn it off. Otherwise check it's security record and config.
> Let's be serious here. I'm French, all for high taxes and all but please let's not delude ourselves thinking that American people pay "around 50%" taxes. As soon as you have enough money to afford it, you'll pay a tax lawyer to get that down to about 15% or something, thanks to a bajillion hidden tax system loopholes allowing the rich to get an advantage on the less fortunate.

This is false. Once you account for all the various levels of taxation (federal, state, local), there is no possible way wealthy people have a tax rate around 15%.
> Facebook is confronting extreme pressure to censor content disliked by various governments.

So much for all the Constitutions, right to free speech and what have you. The tiniest bout of bad weather makes them go away in a jiffy, if you let our governments decide. One bad day, and we're back to burning witches, because that's still the best PR campaign for any ideology.
I didn't know about the classic view. Thanks for sharing this!
Like umm groceries? How do you think they get to the store within walking distance? Or post to your letterbox?
Yey \o/
GitLab allows you to integrate with your existing tools if you please or require. But if you're fine using our tools (which are awesome, if you'd ask me), setup and cost will be zero.
>> "The point is that there _are_ things sites can do to deal with this situation."

I agree. But that's no excuse for someone getting on their high horse but not offering an alternative and still accessing the content.
#Dayoftheprogrammer forever? Maybe it should be:)
Show HN: Web based news aggregator, (re)-mixer and PVR w/breaking news chat bot
Using docker in GitHub repo names is forbidden
I would also like this job.
Watched: Police are stockpiling databases with personal information
Only ASCII and German umlauts (äöüß) at the moment. The parser needs rewriting. It was originally written in pre-unicode times. :)
Which I hate — it was so much cleverer when it was μBlock.
This is an awesome idea with a very nice execution!
Ok, your edit makes more sense. I agree that American TV has way too much advertising and is the worst on that front compared to many other countries. I think your original comment was downvoted because it was just a handful of stereotypes with not much relation to reality.

Also, the shows themselves are generally quite good, it's just the networks that suck. When many Americans think of TV they're thinking of HBO and Netflix and friends, so advertising isn't such a big deal.
#DayOfTheProgrammer Cool Video
This is a great idea! I'd actually sign up for a mailing list to get notified when new logos are added.

I'm aware of products like fiverr and 99Designs, but I'm worried about sinking a bunch of money into them only to get crap back. I like being able to view the logos and simply browse without any commitment.
Price goes up $40 per logo sold? So, after you sell 10 more logos, it'll be ($40*10) + $120(current price) = $520 per logo?

Seems like a strange pricing strategy. I guess it increases the "buy it now" urge, but at some point it will kill sales. I guess when it stabilizes you can just say "ok, that's what people are willing to pay for these". So perhaps it's a good way to explore pricing...
They're useful on devices that don't support browser addons or on local DNS servers, like home routers
Tell HN: MacOS turns off the fans when Siri is listening
This is something that struck me a few moments ago, because it's very logical but completely unexpected. I have a Macbook Pro that's doing some hard work with the fans on loud, and calling Siri turns the fans off the period that Siri is listening.

It's pretty amazing someone thought of that.
LinkedIn’s Hoffman Offers $5M for Trump’s Tax Returns
In my experience 14 is light.
It's pretty hard to make sweeping statements about Swiss sentiment considering what a fractured state it is politically.
Take a look at hackathon starter kit, you can do javascript in the front and backend, I haven't used it but I think it looks interesting.
https://github.com/sahat/hackathon-starter
As someone who regularly uses a Surface Pro 3 without the keyboard attached (it's become my default couch computer), Edge is the only Windows browser I've found that's touch-friendly, so it remains the main browser I use on that machine.
What makes you think that from the information I gave? I've been here for a long time, have excellent performance and zero complaints.