skysight-inc/HackerNews huggingface dataset:
You know, it does seem like some people need to be reminded that China is nominally Communist.

("It's not real Communism." But it's a real outcome of the attempt to create Communism, so it counts just fine.)

The thing is, if you want safety, what you want is a separation between the manufacturer and the regulator. In Communism, the manufacturer and the regulator are de facto the same entity. Communism lacks any entity that is capable of coming out and saying independently that there's a problem. If you've ever complained about "regulatory capture", you've just explained why Communism is non-functional; Communism institutionalizes 100% total regulatory capture from day one and holds it up as an ideal.
The comment implies that investment encourages the abuse. I don't think you can take that at face value. There is an argument that foreign investment tends to liberalize those sorts of countries.
That's a pretty fun picture. Imagine the crane game being played scaled up and in a warehouse. That's what we're talking about here!
So if someone wanted to disrupt that particular industry, it seems the time is coming. If they have switched to blocking things like this ? I do wonder what is next.

For the record I try not to be that 'the slippery slope is coming' sort of guy, but this is a rather obvious example.
Julian Assange, a Man Without a Country
Don't be scared. Switch to vim
Reading the comments here, I wonder if folks have read the article? The problem seems to be not that Amazon has recalled counterfeit items but rather they have recalled legitimate product, blaming the legitimate seller for the fact that Amazon can't keep straight where their safety-critical inventory came from. It is as if they have a bin for "Viagra" in the warehouse into which they put shipments from Pfizer, along with whatever comes in from their eBay-grade sellers. Then they blame Pfizer for the eBay drugs not being properly traceable and tested.

Source: I received the emails, read the article, and at least one of the products I received is certainly not counterfeit.
I use http://devdocs.io/ and the old http://jqapi.com/ instead of books.

https://developer.mozilla.org/en-US/ and https://docs.microsoft.com/en-us/scripting/javascript/refere... are up-to-date. Don't go to the old w3w-schools.org regardless how good their SEO ranking on Google is.

For packaging the industry is slowly moving from grunt and gulp to webpack. https://webpack.js.org/ And react/angularjs as frameworks of course.

http://javascriptweekly.com/ has decent newsletters (bottom of the page). There's little overlap between the Javascript and nodejs one.
Here in South Carolina Lowe's still has them in stock in the local stores, though only as part of some "Eclipse Kit".
PowerDNS recursor support issue is here: https://github.com/PowerDNS/pdns/issues/2311
> Make one up, it's more interesting.

Or if you insist on using real products for the sake of realism, at least use them at a rate consistent with reality.

The number of Microsoft products and forced close-ups in "Get Out" was jarring.
I prefer eBay for a lot of stuff now.

Amazon is, for me, full of bafflement pricing.

Trying to work out what I need to buy to get free shipping becomes impossible because of the Prime Only deals, the Add On items, the difference in shipping between books only or other stuff.

Now I just buy all books from Wordery and everything else from eBay.
Damn, thank you for that! Zealdocs is fantastic, I've been looking for something like that for a while, mostly for coding on flights!
Yes, it sounds like malware. Had any other company done this, it would have caused outrage but for some reason Facebook just seems to get away with everything.

I remember how big a deal the News International phone hacking scandal was; this actually seems much worse.
Where it "makes money" for us is a bit of a long story - our hope is that it becomes a standard method for buying and deploying all hosted infrastructures (and later, application provisioning). As one of the partners plugged into it, we think we're pretty good at what we do, in the region where we do it - so we should live (or die) on the quality of our service and range of our products, and therefore we're hopefully we would be the chosen service provider where we operate.

In a nutshell, we hope to grow through 'indirect growth', in regions where I/we provide the actual services.
If you are interested in this check out the Expedition Unknown episode on Genghis Khan's tomb. They basically know where it is but aren't allowed to uncover it.
Perl always was, and still is, a hacker's language. It is for individuals who want to get shit done NOW, disregarding maintainability or teamwork. For this particular niche, it is indispensable.
How about china?
Yubnub: a social command line for the web
Creative techniques for writing modular code
That's unlikely to comply with FTC rules. The disclosure has to be clear and upfront. FTC talks about above the fold, for example.

It almost certainly doesn't comply with UK rules.
Introducing ZeroLink – The Bitcoin Fungibility Framework
Yeah, nobody would consider an arXiv-only article by an unknown author. There are plenty of P=NP "proofs" published on the arXiv. But that isn't what it is for. It's a preprint server where you have to do your own quality control. A lot of work in the theoretical CS community is published in conferences and on the arXiv, often in extended form (additional proofs, plots, etc that didn't fit into the conference publication's page limit)

From https://arxiv.org/help/general: "Disclaimer: Papers will be entered in the listings in order of receipt on an impartial basis and appearance of a paper is not intended in any way to convey tacit approval of its assumptions, methods, or conclusions by any agent (electronic, mechanical, or other)."
Haha! I didn't believe you about them leaving Ireland so tried it for myself and sure enough you're right! Pathetic. I see San Marino, Vatican City and Monaco et al are represented... guess, they're big players.
Just a data point: LaTeX is used in math-oriented stackexchanges, like https://scicomp.stackexchange.com Albeit for mathematical notation, not typesetting a complete document.

One might claim it's just catering to the dominant delusional cultist hierarchy... but it sure makes the math a hell of a lot more readable.
Microsoft “fabricated story” about Intel being at fault for Surface issues
> Most people designing a REST or rpc style API do not attempt this breadth in their API design, instead they just overload HTTP response codes (from the HTTP and webDAV specs) to handle application-specific stuff, which ends up resulting in the codes being effectively meaningless across applications.

HTTP status codes exist to be overloaded, especially in the 4xx range. As per the IETF: https://tools.ietf.org/html/rfc7231#section-6.5
Yeah, I'm sorry, but now we need to standardize BREW HTTP verb.

https://tools.ietf.org/html/rfc2324
What do you want from me?

A: "Damore's memo says 2 + 2 = 5!!"

B: "No it doesn't."

A: "prove it doesn't!!"

I defend Damore's memo against stuff it didn't say, what exactly can I specify, other than quote the entire thing to demonstrate what isn't in it? The memo accurately portrays itself, it even starts of with a summary stating it's main points and aims.

What I have done is repeatedly ask you which specific part led you to your conclusions. You want me to prove a negative here? The burden is on you to defend your claims.

You have also attributed a number of claims to me that I have not made (e.g. there is zero gender-bias in tech). I also do not bear a burden of proof for claims I did not make.
> It's possible there is nothing between the OS handling TCP and your application.

This does happen, and it results in the client having to have ad-hoc code to deal with a nearly infinite number of possible "Server error" scenarios, some of which may be normal functions of the API and others which may actually be server failures.

> It's possible there is nothing between the OS handling TCP and your application.

I'm not arguing that one shouldn't use HTTP status codes, I'm arguing that they should be used only for the standard meaning of the code, one should not need to consult a table provided by the API designer to determine which 4xx HTTP status codes warrant a retry, and which 5xx status codes are normal vs exceptional situations.

Suppose you make a call to an API and it returns 5xx because you provided a parameter value that is valid in the URL or payload but invalid in the app (suppose your app doesn't allow usernames that are profane words, for example). The response should not be 5xx, it should be 2xx with a message indicating the application's preferred range of values. 5xx means that something went wrong on the server trying to fulfill the request, 2xx means that the request was fulfilled properly, and any additional info relevant to the client should be passed along as part of that 200 response.

> This is also against the concept of REST

Very few APIs can be designed well as 100% REST. Lots of very typical scenarios necessitate jumping through a lot of hoops to use REST in a pure way. REST fights with database normalization in some cases and with many authentication scenarios. It can also require the client to maintain a fairly elaborate (and brittle) representation of server-side state that is mostly unnecessary.

REST makes sense when there is a perfect alignment between REST verbs and data flows, but when you get into a situation where it's necessary to make multiple API calls to do one logical operation, it would probably have been simpler not to use REST in the first place and to have just designed a simple, clean, non-REST API.
I would be interested to hear from people with knowledge of EU and US law how shady this is in their respective jurisdictions.

I'm having a hard time imagining what they did is OK, but I'm probably wrong.
For context: Exist is a personal analytics platform where we import data from sources like fitness trackers, Apple Health, productivity trackers, email and calendars, social media etc. and find insights and correlations in the data. We've been doing this for about 3 years now, and we've just added the ability to track your own tags, probably our biggest feature release so far. These are just binary yes/no tags you can add to a day for context, like "coffee", "sex", "meditation", or whatever you like. We can then use those alongside your other data to find correlations like "you have a worse day when you track 'nootropic'" (which was the case for me), or "your weight is higher when you track 'eating out'".
Serious question: If "Why I do not like X" is clickbait, what isn't?
I find you can use vim/emacs when working with interpreted environments like python. when using java or .NET the stack gets much bigger and advanced intellisense becomes a bigger advantage.

Personal experience: if youre beginning a foray into strongly-typed large stacks like java/.net be prepared to trade in your minimal vim/emacs as an IDE for something heavier duty such as visualstudio/intellij.

If your're like me and burned vim mnemonics into your brain its not terrible, there are plugins which make the editor sort of behave vim-style (but little to no plugin support and vimscript is out the window)
I was considering using this app about 2 years ago, since I wanted to try out a VPN and this was near the top of the list in the Apple App Store. However, one glance at the fact that it was owned by Facebook made me “nope” out immediately. I’m glad to have made the right decision.
WTF is Ethereum?
> The burden is on you to prove I've made false claim

Holy-shit. Ok, I'm calling you out as a troll. Enough is enough.
You can also use Python: https://gutomaia.net/pyNES/
> I am a 70 year old retiree and have 37 years of C programming and some C++, perl5, and other languages

Sir, when I grow up, I wish to have the same passion as you!
The moral is that threads and asynchronous programming are not mutually exclusive.

No matter how much you can do with a single thread, in a highly parallel environment (such as a web server), on a cpu with multiple cores (the norm), you can (almost always) do more with multiple threads.
Under very specific circumstances my standard build setup, which works on my machine, their machine and one of their website plans, fails on another plan - some pathing issues I think.

They gave me the Docker image to debug but it's useless because without sudo access, I can't do anything useful.
Spot on. More on "Dunkirk spirit":

http://time.com/4860620/dunkirk-spirit-phrase-history-world-...
There is no such assumption, I did preface my comment with "you or I".
That's because absolutely no one cares about it except for whining about Elsevier.

We have a perfect way of distributing papers - it is called "Publish it on your blog". If your blog is the most awesome blog or even just more awesome than the lousy blogs, the concerned scientists would go there.

Why isn't it happening? Because the content of the papers published on the blogs suck and no one cares.
You can get refurbished rubidium oscillators from ebay for around 200$. Hooking these up to a Raspberry Pi should be fairly easy (see the pps_gpio kernel driver for that).
Visual Studio 2017 Color Theme Editor
If you don't think replacing people with robots is good

You are putting lots of words in my mouth there.
The "e" notation is just a shorthand for multiplying by a power of ten. I was kinda surprised when the article stated that "5.23e5" wasn't treated the same as as "5.23 * 10 * * 5". Mathematically, rational to an integer power is always rational. This strikes me more as a half-measure that can cause surprise and unpredictability.

edit: can't get double-asterisk to get through HN's markup :(
If the changes are well documented and communicated ahead of time, then sure I agree with you. Am also curious now what Apple uses to run cloud services - ie do they use OSX as a server operating system themselves.
Sendfile isn't async, it just avoids the user space copy, and in some cases the copy from the fd to the socket. Aio doesn't require xfs, just O_DIRECT, which can be tricky to get right and more work than userspace guys want to deal with.
"Attribute Based Encryption" seems to be what I was looking for, thank you!
Organic food isn't necessarily better for the environment either. It takes a lot more resources (land, manpower, etc) to produce Organic food.
Offer HN: Free Front-End Development Work for Startups
After several years off of freelancing and being stuck in the corporate world, I really want to work with some new blood, meet new folks, and work on some personal projects.

What I’m willing to do: I’ll happily help build splash and landing pages to get your startup off the ground. I’ll take a design, slice it, and return excellent, semantic, valid markup. I’ll complete the work in a reasonable amount of time. I’ll also build WordPress themes, and take care of general simple page buildout. Also happy to work on more “involved” projects as long as they’re interesting and give me a chance to learn. I’m an experienced developer with PHP, MySQL, WordPress, custom CMS, Javascript (raw JS, Backbone, Underscore, jQuery), and general front-end HTML + CSS. I've been working a lot with Ruby on Rails, web analytics, social media marketing + SEO as well.

What I’m not willing to do: Respond to 75 emails or phone calls a day asking where your gratis product is. I’m doing this to give back to the community and to remove stress, I don’t need any more!

What I expect in return: Nothing! A pleasant testimonial would be enough for me! Maybe a referral or two, but really, nothing is expected at all. I’d be VERY happy to help folks that are financially unable to help themselves right now get off the ground, the satisfaction is all I really need.

My email is in my profile.
Baloney. You can get 10K followers at that rate, in maybe five years. Once every few weeks is basically a dead account. Even posting daily, you still have to use all of the tricks. There is just so many people doing the same thing on there, that you have to be VERY niche, and put up quality content. Food photos, in poor lighting, from your phone, are not going to do it anymore.
I think this attitude is holding FOSS back. The most successful projects are the ones that are funded: Linux, Blender, and Ubuntu to name 3. On the other hand we have projects like Gimp, which steadily makes excellent progress and gets better with every release, but the rate of change is glacial because the team are all working on it in their spare time.

That's not to say that the motivation of profit can't also be corrupting. Gnome 3.0 and the associated libs was a complete disaster IMO, and a lot of the stupidity came IMO from a fear that Windows Vista would leave the Linux desktop behind, but the net gain of monetary investment is clear to me.

The silly thing is, I'd much rather pay for software that is free than software that is proprietary. I won't use Adobe Suite on principle, especially now that it is subscription only, but I'd pay a subscription to Gimp in a heartbeat. I may not be in the majority, but I'm sure there are enough of us that we would generate enough income to make the difference.
It's been a few years (edit: over a decade), but the usual factual errors like names where not bad though I noticed a few. But, technical details around Java seemed to be a game of telephone where what they said was at best vaguely true if you ignored what was said and tried to decode what someone else said. Which seems to be the basic problem with using reporters who don't understand the subject matter.

Now, they have a good reputation. But, I don't know where it comes from exactly as I have heard similar issues with their coverage of DNA editing etc.
Hi, it is in my profile!
Yes, that would be no problem.
Ask HN: Any developers want to help with a super quick 5-Second-Test?
Just came across this tool and wanted to try it out for our own site. If you've 30 seconds to spare, please give it a go :-) https://usabilityhub.com/do/b77752c3196e/8bd2

Also in general I'm interested what people think what kind of questions we should ask.
The concept of "hero" that resonates within us is a social technology, that harnesses egotism to community benefit.

Like capitalism. So... yes.
I did a similar thing - went from a startup to a bigger company, a startup in which I noticed I was the "smartest guy in the room" regarding not just mine role, but all the roles. Had a free reign with everything - workload, time, choosing tasks. It's been great. Even though there is less freedom and better perks, I'm still not the "dumbest person in the room" but I am surrounded by awesome teammates and they let me fill my knowledge gaps before starting real work and in turn I fill theirs with my skills that I brushed upon while having the free reign.
I solved this with a WeMo plug, which gives me an app and alexa control. Used for electric hair iron of wife, and coffee pot as backup plan with timeout setting, and also saving us driving back home for the "did you unplug the iron" moments.

Both appliances actually have their own auto-off, but I like redundancy.
> (Godwin's law)

Does anyone actually know what Godwin's Law says these days? I rarely see anyone mentioning it correctly.

Also Mr Godwin himself has come out and said "Call them Nazis" which somewhat voids the whole "Ooh, Godwin" nonsense.
"I understand I'm arm chair lawyering, but the purpose of a user agent is to display what the user wants it to, not what the site wants it to."

This is an assertion that is commonly made on the internet, but I see no reason to believe it carries any legal force, or even necessarily any moral force. In fact it's not that hard to read it as an argument made solely to come to the desired predetermined conclusion rather than any sort of principled argument. It implies that the sender loses all rights to anything they send to you, which is definitely legally untrue; I gave examples above already.

Also, if you win on this point, you will not experience a glorious utopia in which ad blocking is OK and you can save whatever streams you want and so on... you'll experience a world in which all this content gets removed from the web and locked behind even more proprietary clients that will come with what the publishers want. What may seem to you to be a simple bugbite back in favor of what you believe your rights to be may cause a much larger allergic response than you'd anticipate.

"I can't be sued for not watching commercials."

You haven't signed a contract saying you will. That may not be the case online.

The questions about whether such contracts should be something that even can be offered, or whether simply clicking through a EULA or accessing a bit of content can bind one to a contract, or the nature of what such a contract may be allowed to be, are all separate matters of interesting discussion. However I don't foresee any world arising in which the "the purpose of a user agent is to display me what I want to see and therefore any manipulation of the content other people own the rights to is within my rights" is going to hold up. There's too many rights and rights-holders that won't stand for it, and even if you did somehow win that case, they'll simply retreat and retrench in whatever it takes to recover those rights for themselves. If you rewrite the terms of the contract, you have to account for the other side of the contract reacting to it, not just passively sitting back and going "Oh, gosh, I guess I'm stuck then, I'll just keep doing what I'm doing without changing anything."
Can Tesla's Elon Musk Revolutionize Tunneling?
This right here! This is why I generally prefer tools with a textual config/markup/command language to tools with a GUI.
I went through dozens of static site generators including Hugo and everything was so complicated and opinionated that I ended up writing 500 lines of my own.

Also they all try to build a whole site when I just need to create some HTML files and put them into existing directories.
This message should probably be repeated at the bottom of the article:

"The page cache works pretty well and allows NGINX to demonstrate great performance in almost all common use cases...So if you have a reasonable amount of RAM and your working data set isn’t very big, then NGINX already works in the most optimal way without using thread pools"

So using thread pools in NGINX isn't a general recommendation. The article suggests "a heavily loaded NGINX‑based streaming media server" as the type of situation where it makes sense.
Modify Google Camera to bring Pixel HDR and mode to more devices
> But overall, an antivirus is not necessary in modern Windows system, so you may skip on these $40.

Er. . .no, that's not true. AV and AM are very important to this day. You just don't have to pay any money to get them, between things like AVG, Avast, and MalwareBytes. These aren't Free as in freedom, but they are Free as in beer for very reliable AV.

And on an enterprise network, you're probably going to be pretty well served with an enterprise edition of Symantec Endpoint Protection (or its equivalent elsewhere), which lets enterprise solutions like BlueCoat ProxySG and CAS prevent problems for your users.

AV is good. Don't not install AV just because some of it costs money.

I largely agree with you, but I am a stickler for AV. If you'd like more of an explanation of why it's important, feel free to ask.
Very interesting! We've been using HAMTs in IPFS [1] to make huge directories more efficient (think NPM or Wikipedia), and the memory profile has been a pain, so this looks like a welcome improvement.

[1] https://github.com/ipfs/specs/issues/32
Mexico City's sisyphean battle with chewing gum
A more direct comparison given perl6's typing would be either

[python]
>>> from decimal import Decimal
>>> Decimal("0.1") + Decimal("0.2") == Decimal("0.3")
True

or

[python]
>>> 0.3 == 3e-1
True

What the perl6 "0.3 != 3e-1" comparison is really doing is

[python]
>>> from decimal import Decimal
>>> Decimal("0.3") == 3e-1
False