skysight-inc/HackerNews huggingface dataset:
HMAC for auth to avoid having the key exposed at every request.

For the rest: http://www.javabeat.net/rest-api-best-practices/

And documentation: https://github.com/Rebilly/ReDoc/blob/master/README.md

There many more comprehensive resources about sane API design (use HATEOAS, pagination, etc.) but you don't have to implement everything from v1

ps. SSL goes without saying even if it's a public API
Look at Tesla with it's "autopilot" feature. It's not really a true autopilot, more just a driving assist, but people treat it like such. I think it's easy for people to fall into the trap of relying really hard on something that is shiny, new, and works well despite being imperfect - even if it is explicitly stated to be.

Nano tech has a similar problem at hand. There are indications that nanoparticles could have serious health related issues. Despite this researches are pushing ahead full steam with bringing nanotech to market. The money going to development far exceeds whats going to test safety. In an AMA with a nano materials researcher I asked if he ever has concerns about the safety of what he is making. His response was along the lines of "Sure I do, but it's not my job to deal with that. I just get paid to develop the tech."

Tech development has always had a shoot first ask questions later approach.
All 6 BF commands have x86 opcode counterparts, already. Don't quote me, I'm guessing.
"Dropping into C or Cython was a non-goal."

Why not Cython?
The issue isn't really the wages.

You get poor quality workers when you make the majority of them have to work a second job, since you don't give them full time hours or benefits. Retail often can have 100% turnover or more in the span of a year because of this. The average retail job works their employees part time, from 15 or less hours to near full time, on a schedule which changes from week to week. Sometimes even keyholding staff are worked like this.

You don't create employees loyal to your store when you do this, and especially if they also have to work an additional 5 or more hour shift before showing up at your job. Then you also get into tiny payroll budgets overall, preventing the store from hiring enough people to meet needs. So your 15 an hour worker can't clean the store, because he is on register all day, and he can't work extra hours because there is no budget. Or he does work them, but he has to take the next day off because he can't go over his schedule.

These things among others create a culture where all you can do is punch in, survive the shift, and go home. You can't do a good job because the district managers don't want you to do a good job. they want you to meet their metrics, and most of it is about money and budget. They don't care much about clean stores, since they visit your store maybe once every few months. They do care that you spend more than your payroll, no matter whether you needed to or not.

Honestly, retail sucks.
It might just be that they did not look into it.
Is the way how documents had been obtained ethical or not? Well, too late for this is it not? The question should really be what the origin of those documents is - are they genuine or not.

It's like mounting provocation against officials so they accept a bribe. Is it ethical? Well - in some countries this is how unethically-acting people are being caught red handed. The only way they actually can be caught red handed.
I've used GNU PCB and gschem extensively. While there's a definite learning curve, I've found them very usable and produced many boards with great success. Like you say, maybe you hit some issues that have since been fixed, but this is another datapoint. As for kicad, it came into existence after I was relatively proficient with gEDA, and it there never were any compelling reasons to switch.
Thanks for the kind words and thanks for using GitLab!
i think you should change the term 'wikileaks' to 'wikileaks clinton'. I don't think it's a fair comparison otherwise.

https://www.google.com/trends/explore?date=now%207-d&q=wikil...
You can have a bad traffic accident if your maps app tells you to enter a street with opposing traffic.

Now, true. Mars Climate Observer didn't kill anyone. But to build that equipment the government had put money away from health and education, which saves people and prevents violence, and that indirectly kills people. It's not a closed system.
Debugging an Empty Spam Email
> t-SNE is used very widely in ML, both to analyze input data and to analyze learned representations.

I was wondering if t-SNE could be used to know the "goodness" of your selected features for the prediction task. In the sense, t-SNE could be used as an indicator for feature selection. I was wondering if some people have successfully used t-SNE for feature selection and in what cases.

Edit - Off Topic : Cool, homepage/blog.
Arguably, the nonstick coating is the waste that is forever left behind because nothing can degrade it.
> "understanding that pretty much all art is a dialog that the creator has with past works was a big key"

I'm not sure I quite see it that way. I mean, yes, you can view art as a progression where one artist is transforming the art of the past into new forms, but art goes beyond that.

I think it'll be easier to elaborate by sticking to the musical arts rather than the visual arts. Consider any piece of music you enjoy. Sure, you can trace the origins of its style to earlier pieces of music, but to truly appreciate music you don't need to know that history, the music works as a standalone piece. It's the same with visual art, the greatest pieces require very little prior knowledge to appreciate, they instead can stand on their own merits as something that evokes emotion and/or reflection.
Παμε στοιχημα: Εύκολα ΠΑΟΚ και Παναθηναϊκός
Thanks for applying Andrei, and thanks for spreading the word.
Notary: publish and verify your software distribution and updates
"Meteorites have punched at least 222 impact craters into the Moon's surface in the past 7 years. That’s 33% more than researchers expected..."

It's unclear from the article whether they are saying that they observed 222 impact craters, or calculated that there were 222 impact craters across the moons surface.

222 impact craters across the entire moon over 7 years, is an insignificant number.
Let's be honest, the people that are reading the list on GitLab are highly unlikely to be end consumers purchasing at those stores. If anything, this list provides a potential target list for other hackers to try and compromise those stores even further. I believe this to be irresponsible and furthermore still a violation of responsible disclosure.
Yes, I fixed it. Thanks for the pointers.
Yep, I fixed it. Thanks.
After reading the first paragraph I still only have a vague concept what this wall of text is about. Can somebody summarize it with a TL;DR?
I wonder how much string manipulation you'd have to be doing to see a benefit. I still can't use C#6 everywhere at work because some teams insist on being in VS2010 / 2012, so I'd be pretty worried about going to C#7.
If I'm running Linux in a VM, I don't think of it as a simplification-- but it is way easier to just shut it off and reinstall if something goes wrong.
I live in Germany, and feel Gitlab website is quite slow :/ is it supposed to be as snappy as Github?
Just going to mention that a group of people got tired of both GitHub and GitLab censorship and created https://gitgud.io
> Linus Torvalds-style "I'm just telling it like it is, you idiot" feedback

Torvalds never starts out that way, and if you look at any given episode where he's shown to have done this, the historical commentary will show Torvalds trying to politely educate the other party, and the other party just not getting it (often wilfully).

As for fetishising it, I've never seen anyone here on HN laud Torvalds for doing that; quite the opposite, it's only ever brought up to denigrate him. Ironically, de Raadt's behaviour around OpenBSD does get fetishised by some around here. I've never really understood why de Raadt gets a reasonable amount of respect for that behaviour whilst Torvalds is a pariah for it here on HN.
In short: In the post Ward Cunningham says the C2 wiki will be converted into a federated wiki form.
I think the following quote summarizes well why he thinks this is a good idea:

So why close? It gives me room to work. The continuous
scraping bumps up against my web throttling making all
other web services useless. Even shell is painfully
slow.

Of course I live in a world of many options. I could be
stalled just reviewing choices. Instead I build on
what I've learned from federated wiki so as to preserve
the original wiki in a form that can be appreciated for
what it has been and will ever be. If you want to help.
Learn some federated wiki. Then email me.
If this helps illuminate, freshman year of college some friends and I started an informal Dada society from our dorm. The real motivation was because it was amusing, and was tied in with other amusing post modern genres like Theater of the Absurd, or post modern authors like David Ives and Italo Calvino (I guess in our minds it was all sort of on the same spectrum of "amusing post modern works"). We got together and read, and then sat around and had very random, improvised conversations with unusual moments of repetition, usually while drinking Sangria or something random like that.

It was definitely part of the fun/ random stuff you do in college, but the other half was also a belief that there was this new world of post modern interpretations, philosophy, literature that we had almost no exposure to before in high school, so it had its "seeing the Matrix" moments.

I think it's a relic of the interwar years and that it would have resonated more back then, almost 100 years ago. Now I'm chalking it up to just an interesting, amusing, exploratory phase you go through if you study philosophy and literature.
Hi,
How does it work when someone apply to a remote job from another country? Do you have to be on their payroll, or is it contract basis via an umbrella company or own limited company?
Cheers
>As it stands the opinions of people who have zero involvement in a woman's reproductive cycle easily exert legislative and legal control over the options available to women.

Are you for real? I don't think access to contraceptives for adult men and women has been a real political controversy for at least 40 or 50 years.

By your definition of discrimination, regulation of any industry is discrimination, since it doesn't apply to the other industries. Property tax is also discriminatory, because it only affects people who own property. This is transparently puerile logic.
Right, try saying that the next time we have a flash crash that really kills the markets.

There should be an addition to the statement though, which is "Unfortunately, Humans en masse are even stupider."
“The Linux Kernel Hidden Inside Win10” Techtalk by A.Ionescu [video and Slides]
I don't understand. They just made a fake job post on craigslist? What was that supposed to do?
I'm writing a book about React!
Would not it be better, as an interim state, to freeze the current content and provide it as static pages, likely with minimal server load.
I agree that it is unlikely that consumers directly use the list themselves. But have you seen https://twitter.com/gwillem/status/786908740838682624 that was linked from the OP? "631 compromised stores have been fixed in the last 4 days". I think publishing the list helped accelerate the fixing process. And companies like Google might use the list to detect malware sites in search results.
It's a lot more fun and technically interesting than an undergraduate degree. You also make a little bit more money, but because of the opportunity cost it takes awhile to pay for itself.
Does anybody have an example of good performance of unaligned memory access on modern cpus ? And note that it doesn't matter if the cpu supports AVX, but if it has a flag that says it can do fast unaligned memory access (i don't remember, is it misalignsse ?).

Common sense says that unaligned access can't be faster then aligned. And if you have data that fits into a ymm register, then you might as well use aligned access (a neural network is usually an example of such).

I did test it a while ago. Problem is that i don't remember if it was on this, modern, cpu or the older one. I could test if i cared enough for other peoples opinion, but alas i don't (only usage of unaligned AVX access i found to be from newbies to SIMD). An example, that you request, would be to look at glibc memcpy, that uses ssse3 [0] so that it could always get aligned access (ssse3 has per-byte operations).

In other words, how about that the people who claim that operations that do extra work are as fast as the ones that don't prove it ? Instead of the burden of proof falling on people that don't have such an opinion/experience ? Then i will bow my head and say "You are right. Thank you for pointing that out". But alas google-ing for 10min and have found no such benchmark anywhere. And writing such a test isn't hard, not in the slightest.

[0]https://github.com/lattera/glibc/blob/master/sysdeps/x86_64/...
This depends on the country. We have an official entity in the United States and The Netherlands. For example, European employees tend to be employed by GitLab B.V. (the Dutch entity). Those outside of the covered areas are officially contractors if I'm not mistaken.
But do they? It's a slightly dangerous assumption to make. If everyone assumes that, nobody will bother to check at all.
Why do you people always feel the need to be offended by stuff?

Your point, framed and reframed, is basically sound. Take the word "intelligence" out of it, it doesn't help.
It's All About Momentum
And Express as well as many others are loosely based on what Rails did iirc
No, it was marketed as an autopilot in the first place.
In most countries we would hire you as a contractor. In the US, UK, Netherlands, and India you would be an employee. For our contracts see https://about.gitlab.com/handbook/contracts/
This depends a bit on what parts of GitLab(.com) you're using. For example, viewing issues should generally be as fast as GitHub.com (http://stats.pingdom.com/81vpf8jyr1h9/1902794/2016/10 vs http://stats.pingdom.com/81vpf8jyr1h9/1902795/2016/10). Other parts may be a bit slower; pushing for example can still be a bit slow at times.
"55.7% owned"

Reading this, I realized that I've pretty much stopped ordering anything from Newegg and purchase those things from Amazon instead.

With Amazon Prime, I'm almost certainly assured that I'll have my items in two days. At Newegg, it can take three to five days for my items to arrive -- even when I pay extra for two-day shipping (due to "order processing").

In addition, for several months out of the year, Discover gives 5% back on Amazon purchases.

The only time I can recall ordering from Newegg in the last three years or so was one evening when I suddenly "needed" another SSD for a project I was working on. I had a pair of Samsung 850 PRO SSDs I had purchased from Amazon but decided at the last minute that I should get one from a different vendor (in the hopes of minimizing the chances of a failure affecting both simultaneously). Newegg has a warehouse/distribution facility about an hour away so I ordered another one from them and picked it up the next afternoon.

Several years ago, they were the "go to" for my techs friends and I but it seems like nowadays pretty much everyone I know just goes to Amazon "by default".

I do applaud them for fighting back against patent trolls and appreciate their efforts.
It lacks the most basic, fundamental property of a secure system: A demonstration (actual proof can wait!) that it can be trusted without handwavium.

I don't care if it's the dog's bollocks or the bee's knees. If I can't trust it, it's useless for secure communication. I don't give the tiniest shit how many hours some twat on the internet, or well-paid collection of highly-trained twats, has poured into its creation if they can't even be arsed to give a basic description of its most fundamental property. And that moniker can remain until they do.
How Cloud Architects Could Save the IT Department from Disappearing
That's fiction.
If you're interested about this topic, I recommend the following readings previously posted on HN and drawing your own conclusions. They are listed in no particular order: [1][2][3][4]

[1] https://news.ycombinator.com/item?id=12148728

[2] https://news.ycombinator.com/item?id=12361410

[3] https://hn.algolia.com/?query=%22wire%20does%20not%20use%22%...

[4] (long but enlightening read) https://news.ycombinator.com/item?id=11725602
I'm on the East Coast. For a while GitLab was quite slow. Much better now. They made a lot of progress in the past 3 or 4 releases. However, I agree that GitHub is still better in terms of performance. Now, I put things like tooling, pricing model, features, and ethic of the company above performance :)
The App Store run by a central authority with complete control over what can even be available and the ability to modify the delivery at their own whim is certainly a big issue in terms of trusting the integrity of the apps running on a device.
FWIW, I recently analyzed most of the options out there. I'm in the process of finishing my switch from Dropbox, mainly due to their lack of transparency. Here's the summary before my writeup is published:

- my needs aren't that great (all my music is stored at Amazon, photos & videos at Google photos)
- I have a local NAS for local backups
- 99% of my files don't need encryption, I'll use BoxCryptor for encrypted directories
- I'll keep Dropbox and the free 2G of space for apps that only sync via this service
- must work with Linux, NOT via webbrowser
- selective sync

I evaluated: iCloud, Tresorit, Spider Oak, Sync.com, SyncThing, Google Drive, Box.com, and pcloud.

I'm probably going with Google Drive due to cost (24/y 100G, I only use ~20G right now), Linux support, and ubiquity.

Tesorit is probably the best solution, but it's also ridiculously expensive: $30/m for 1TB when pretty much everyone else is $10/m for 1TB.

pcloud was a close second place, and this is probably your best choice, but you have to pay extra for the pcloud crypto extension (15/m 2T). From what I can tell, you tell it what to sync instead of working out of a directory which seemed wrong, but I may look closer before finalizing my switch.
Instead of responding to the tone, let's concentrate on the merits. For most people, it is unacceptable to require both parties to be simultaneously online in a chat session.

I'm very interested in any potential implementation that allows asymmetric conversations without a dedicated third node (if we don't like the name server) somewhere in between.
It is our ambition to make GitLab.com as fast as GitHub.com but currently we're slower. Please see https://gitlab.com/gitlab-com/infrastructure/issues/59 for more information on how we're working to improve this.
How are they going to do the video? I'm guessing you just have to watch what the current player is doing and can't pan/zoom around. Does anyone know of any "player" that allows for more interactive "watching"? I want to say StarCraft (1, not sure about 2) had a replay option but that was of course built into the game and not available via something like a web player.
WSL is a godsend https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux

At least 10x faster than cygwin, and much more packages.
The symbolic component can be seen as programming so this is a mixture of machine learning and classical programming.
Not quite, but an interpreter can be written in less than 100 bytes of x86 instructions:

http://www.hugi.scene.org/compo/compoold.htm#compo6
For reference the HN discussion of our blog post https://news.ycombinator.com/item?id=12715473
They are conflicted themselves; secretly (sources won't even reveal their identities) managing board relationships and deciding on compensation matters. The question is reasonable, the secrecy isn't. The question should be addressed openly.
Whether the people that pay us know this, though? Less clear.
> I don't want to have to build my own wiki for everything

In the fedwiki model, you would join a neighborhood of people you trust to write good content. fedwiki has a chicken and egg problem right now - there are no good neighborhoods to join.
> But not enough to shell out 6kEUR or so for the next step up in EDA tools (which would be Altium Designer, and I'm not even mentioning the maintenance fees, just the initial payment).

These days Altium have both CircuitMaker, which is free with limitations, and CircuitStudio which is like 900€.
The point he failed to make was that finding employees in a rural area is a "near zero" sum game.

When a large employer raises its wage a big chunk of people who work a few hours at a second job stop working that second job.
Agreed, of course that even relatively mundane secrecy can serve a public interest; nuclear codes are not the only legitimate secrets.

And it's very fair to say that it's unknown if the Wikileaks cost-of-secrecy effect is a net good one, especially when you're starting with reasonably good institutions, civil society, and rule of law.

But it's a straw man argument to wrap up with reference to "Assange's secret-less world". My original point holds, this isn't a binary switch that flips, it's an incremental effect.
This.

But I used to brush all Walmart workers with the same crusty paint brush (bought at Wally).

Sure, i'd rather still be earning 6 figures. But when we did we all knew it could not last. What do you do? Leave early when the golden handcuffs are attached?

Retail is my second job. What you describe is very spot on true.

Yet probably the surprisingly largest difference is my lack of awareness prior to Wally that people did not have a supportive and wealthy home life. My retail peers suffer from lives I could not even imagine. Most of this group have no possible way of seeing parent(s) show them how to have a professional life. To excel. To build wealth. To dream big. That's the difference. Where my retail peers come from. Just as my sister in law would not be seen in a Walmart, my fellow co workers don't like to shop at the mall and enter macys or Lord and Taylor. Sears is ok.
Volunteering to be the VP of the computer society.

Met an awesome guy called Christian Kent who I build a Tsunami warning widget with.

This widget got picked up by the media which enabled me to get a Masters of Design Science degree (a degree for which I didn't have the marks to get into the undergrad version).

In that degree, I had excellent lecturers and we did things like strapping accelerometers (a big box at he time, think 4 iPhone 7+ stacked on top of each other) to mobile phones (this was all pre-iPhone). I thought my lecturers were nuts when they said that soon this big box strapped to this chunky cell phone would be built into the phone.

This was also where I first met the Arduino. At the time Arduino didn't have any international distributors and it was really hard for my lecturers to buy them.

As I always worked during university, mine of my lecturers said: "Marcus, you're entrepreneurial, you should sell them in Australia." So to keep him happy I did. We were Arduino's first reseller and this one product, snowballed into nearly 18,000+ products and a multimillion dollar ecommerce company (http://littlebirdelectronics.com)
> So, at least in those markets, the anti-glare coating isn't as necessary.

Unfortunately, there are inconsiderate idiots engaging high-beams everywhere in the world.