skysight-inc/HackerNews huggingface dataset:
Those regulations prop up Chinese businesses at the expense of economic efficiency (higher costs for consumer goods).

To your point, it's not necessary or beneficial (in general) for US or Europe to act similarly. Western industries are highly developed and specialized, such regulations hurt consumers in order to prop up industry. So sure, if you want your manufacturing and textile jobs to stay in your country then you can have such regulations, but the cost of that is everyone in your country pays +X% more (in value, e.g. higher price or lower quality) for textiles and manufactured goods, which is what the Chinese consumer is doing right now for cars and every other highly regulated import good.
Show HN: Candl, Web app for book (you know like reading books?) tracking
Google Pulls YouTube from Echo Show
To quote the other response, which I trust you've read: "There are many, many industries wherein barriers to entry are far too significant for private capital to take the risks - moreover - especially in areas of innovation, some things would not exist."
Couldn't agree more. Even apache status module was better than nginx. haproxy it is next time.
Nice to see that you have radix-sorting covered!

I'm not aware of sorting algorithms that use "clever" tricks; the challenge with sorting seems to be in the low-level optimization (e.g. making sure that no unnecessary data-copying takes place).

If you are looking for a challenge, then you could try sorting arbitrary length strings (more difficult since the comparison operator is of non-constant time). Or do something like the Burrows-Wheeler transform [1], where you sort all rotations of a very large string. This is actually a very useful operation for building a large search index [2]. Many people in e.g. bioinformatics would be very interested in a fast solution.

[1] https://en.wikipedia.org/wiki/Burrows%E2%80%93Wheeler_transf...

[2] https://en.wikipedia.org/wiki/FM-index
While the OP is about metrics when it comes to load balancing IPVS from the LVS project http://www.linuxvirtualserver.org/software/ipvs.html is often overlooked. If you're trying to balance a lot of connections/traffic (and aren't/don't want to buy a hardware load balancer) you'll get much better performance with IPVS than HAProxy or nginx.
Singapore the best of 17 countries for expat quality of life
Identity Theft sounds better than, "someone pretending to be me has lead corporations, agencies, and other bureaucrats who have control and influence on my life to mistakenly attribute another person's actions to me, costing me time, damage to my reputation and money." And then all those other things.
Remember when the right wing groups were up in arms about the
censoring of non-liberal news by the news moderators and FB had to reorganise the whole team.

Now we know the so-called liberal bias was that they were censoring all the (mostly) right wing fake news stories coming from the Russian backed troll teams.
IMHO, yahoo has bad investors. One of the proof is the firing of Marissa Meyer. As soon as she was hired, the reputation of yahoo has started to improve. All the fights of investors against her until they make her leave had the opposite effect. It takes years to build a reputation and it takes more years for this reputation to bring dividends. I have a similar feeling for Microsoft. The reputation has (slowly) improved since the arrival of Satya Nadella. I which he succeeds to make it back a big player.
Haproxy supporting `.map` functionality is the biggest selling point to me.

It allows for SSL protected custom domains for a user of a SaaS app in a really easy to do way.

We use it at Shopblocks extensively, and I've written a (brief) outline of roughly how we do it.

https://zando.io/post/haproxy-saas-custom-domains/
I was expecting this post to be some kind of benchmark/comparison between the two. A better title would be: "Don't use nginx unless you're paying for it".
> Fwiw, we at least got to/from *.googleapis.com way down, so if you need to say fetch something from GCS, that should be a bit faster.

Not used to GCE, what sort of timeframe is this expected in?

Kinda wondering what the expected time would be for a process that's something like:

Run container

Download something from GCS

null op

Upload to GCS

Terminate

I know there's a lot of variables there, but does anyone have a quick idea of what this should be?
We cannot Preach Unity if we cannot act Unity
> Given that you're often hand holding a camera, being lighter is a significant advantage, it can often be the difference between a stable or a blurred shot.

Lighter camera ~ more vibrations.
Whenever I see an article that says “you should NEVER do x” I typically treat it with a large pinch of salt.

Plenty of people, myself included, use nginx as a load balancer and it’s absolutely fine. I’m sure there are lots of use cases where HAProxy would be a better choice, but there are also many use cases where nginx is at least as good a choice.
My prediction: Nothing is going to succeed the web.
Chrome OS KVM - A component written in Rust
This is a fair point. The title could have been 'I recommend HAProxy over nginx because nginx monitoring costs $2000/year'
Correct, FreeBSD code is only used in parts of the network stack.
I'm pretty much in love with Nginx' simplicity and capabilities as a swiss army knife for all kinds of HTTP magic.

I had some doubts about Nginx' direction and feature development, but most really great features (like stream proxy with SNI support) make their way into the open source release. Built in monitoring sucks though. There are options for better monitoring your requests with Prometheus.

This project implements prometheus metrics using Lua scripting inside Nginx:

https://github.com/knyar/nginx-lua-prometheus

This project is indended as a sidecar service to nginx and receives access logs and timings using syslog protocol (Nginx has a native syslog over UDP capabilities) so no scripting inside Nginx is necessary:

https://github.com/markuslindenberg/nginx_request_exporter

(I'm the author of this exporter)
+1

This post is just an advertise for their product.
> And good plastics are plastic in the traditional sense of the word: if you drop them, they'll absorb the force by deforming and then spring back into place.

That's not what I was taught plastic meant. I was taught both plastic and elastic materials deform under force, but the elastic ones (not the plastic ones) return to their original form once the force is gone …
The code can certainly be more sensitive than the data. Consider codified expertise applied to public data.
DSLR camera bodies aren't cast aluminium; they're cast magnesium (which contain 10 % aluminium or so).
> They haven't changed a bit.

o_0. I remember when I had to use tools to disassemble their precious source that they kept withheld and locked up. Now they post their new tech to github and I can view all the source easily. Now they try to make their tech work on Linux.

I'm all for fair criticism but your prose is not that, its dogma. If you think they're still the same company I can only imagine that you left your eyes behind in the 90's. The culture has shifted a lot towards the engineers and you need to appreciate the good things that happen in life otherwise all you'll see is gloom.
They're by no means perfect but they are _different_.
Ghost of Dalmos (THE LEVIATHAN) by Omoruyi Uwuigiaren
Three years for a Career Change. How to do it
Hello all,

I find myself in a decent, above average paid job in the construction industry, but doing work that I don't enjoy.

I have a background in web-design and used to create websites in HTML(mainly downloadable templates) and Wordpress for gaming teams as a young teenager for pocket money. I studied computer science at college, and fully intended to go into a career as a web or game developer. However, this never came to fruition, and whilst working my way up the career ladder, I have strayed ever further from what I originally wanted to do.

I have made the decision, to aim for a career change in the next three years to something I enjoy to do. I enjoy both the front and back end of development so to speak, so I want to try and cover as much as I can in this time. I have a strong, albeit fairly basic, knowledge of Python which I am expanding upon, and a good knowledge of HTML/CSS, if it is a little rusty.

My questions are:

1) To gain experience over the next three years, I want to try to do some jobs that I can put down on a portfolio. Freelancing is obviously the best option, and something that I can try to fit around my current work schedule. Should I focus more specifically on Python freelancing, or creating websites for cash? Is there decent money to be made? Would it be possible to essentially work for a company as a "part-time" contract, doing smaller jobs than they would pay employees or is that not something that happens?

2) Is there any value in gaining qualifications specifically for this field? I notice udacity.com do a "nanodegree" in full-stack developing. Is this worth the money, or is it a waste of time?

Many thanks for any advice in advance.
> Also I think a lot of the shake these days is added in post

That's easy to check; if there is no parallax then it was definitely added in post.
ok if I ask what company, I have some interest in the area.
They are different. I have open source contributions and I am cool giving away code free (and use others code of course). E.g. open source as Apache license.

I disagree with free software peoples opinions often and don't want much contact with that community (prefer less ideological communities and less my-way-is-the-only-way and if-you-want-something-different-then-me-you-are-stupid communities).
Chrome on a Mac here. Did anyone else's ENTIRE SCREEN fade to black for a second upon loading this page? How is that possible?
Star Trek: Discovery already getting pirated a lot
No. Security by obscurity is relying on opaqueness instead of using an alternative and better defense.

For Google to protect it's ranking algorithms, non-disclosure and the legal right to proprietary knowledge is the best defense. It's not obscure, it's private.
> If this is just going to run games programmed with OpenGL [...]

dude, we're riding the Vulkan wave now!
How to create a Cordova plugin for Android
what's sad about haproxy that it still does not support H2 (HTTP/2). I mean a load balancer should at least support it on the front end.

Well haproxy is still great and one of the best load balancers out there.
But it's still sad that it misses h2 on the frontend.
(Well backend would be cool, but there aren't that many load balancers that can do that anyway).
I'm pretty sure haproxy 1.8 will at least give experimental support! which would be awesome.
Thanks for the info. I will have to start with the picorv32 (RV32IM) or Rocket Chip itself and see what will fit on my Papilio board. If I wanted to hack on RTL and a toolchain, is the GCC port or LLVM port easier to start with? There seem to be a couple of LLVM ports... I will go with LLVM-RISCV with RocketChip.

Also, any plans of an async RISC-V implementation?
I bought a Canon point and shoot a few years back to use in situations where I'd be worried about losing the camera (e.g. on a ski lift) and I got one with GPS - it has to be the crappiest GPS in existence, it does work but takes about 30 minutes to get a fix, which is pretty much unusable.
EE had a scheme where you could answer questions to get free membership; I used that for a while.

I remember getting screwed over but don't remember the details: they locked up the site and I couldn't even access the solutions I'd written anymore. A bit later still they made it appear locked but you could still get to the answers if you knew how (I think that was to get their solutions on Google.

I'd guess it was taken over and someone tried to squeeze the money out, hasn't happened to SO yet.
Lookinf für App-Entwickler
>union-reps are in bed with the company...

I imagine more of the problem is German factories have to compete with those in lower wage EU countries like Poland and so have limited room to pay more.
TLDR; this whole article is a joke. The guy is not capable of extracting stats out of his nginx instance, so "Conclusion: Avoid nginx at all costs". End of article.
And they do the same thing phone companies do, don't support the device. I have a camera with wifi that got a shitty remote app on release and that's it. There is so much potential with remote controls, but no.. it can only take pictures on auto settings. At least document the API if you are lazy...

Camera itself got some bugfix updates, but is missing some essentials as working as a web cam, supporting timelapse, etc...
Importance of UI/UX Design During Your Mobile App Development
You wouldn't want the library computer to have your session cookies either. There are already mechanisms to do that sort of thing, like Incognito mode or "log off wipes cookies".
It does, but that's because the companies who benefit from it being seen as your fault for being careless or unlucky rather than theirs for being lackadaisical in their verification process are the ones with the marketing departments.
Any recommendations for a better alternative?
JavaScript library update without massive shameless breaking changes. Weird.

It's just not the way things are done in the JavaScript world.
It works just fine for Markdown, I don't see why it wouldn't work equally well here.
> they succeeded as a company

10 years alive, still no profit.

As a company it did not succeed at all.
Biased article; first sentence of the article:

> As Tesla prepares to launch its 'affordable' Model 3 at $35,000, General Motors just unveiled a tiny electric car that costs only $5,000.

Then later on:

> The $5,300 cost is after local and national subsidies.
That was a deal breaker for me. HTTP/2 was a great performance boost for my projects and I'm not switching back.
A week or so ago this message appeared on the Portfolio page, I assume the Flash Player requirement will be gone soon:

> Google Finance is under renovation. As a part of this process, the Portfolios feature won't be available after mid-November 2017. To keep a copy, download your portfolio.
Dyson might find a niche as a motor vendor to others that build the rest of the car, instead of actually building cars. I can see that as a better thing.
What market? Smartphones and high end cameras aren't really comparable. They compete in the sense that they're both able to take pictures, but they don't compete across all possible dimensions. I mean, I could be wrong, but these don't look like substitute goods. Smartphones and crappy cameras certainly are, but not not smartphones and high-end cameras. But using cheaper parts does make cameras crappier, so doing so in order to engage in price competition is choosing to compete with smartphones.

Which is what I don't understand. Because, as far as I know, firms should engage in product differentiation as long as it's possible.
> After having read all those articles about c++17's string_view, I still don't really get the real differences.

`string_view` is a much cleaner parameter type. `char*` and a `size_t` is two parameters. `string` is really a character buffer, accepting a character buffer as input is odd. `string_view` can be trivially constructed from most non-string data structures, including `vector<char>` and `array<char>`. And, now that it's standard, `string_view` is a very lightweight dependency to add to your interface compared to `boost` or hand-rolled alternatives.

To that last point, I'm not sure I'd use an abseil `string_view`, at least as an interface type, but I appreciate that they have migration to new standards as a design goal.
Btw, you can play a lot of games on Linux!

Depends on what your tastes are. If you have a soft spot for SkiFree or bland, cookie-cutter shooters then maybe gaming on GNU/Linux is enough for you. But most of the games available for GNU/Linux are candy, games for games sake, and don't have much intellectual value. Wine helps a bit but a lot of things still break especially with modern titles.

My solution is running Windows 7 in KVM with GPU passthrough to an external monitor. Best of both worlds.
They might be binning the data to form those conclusions (because you are right, the graph does not support those statements). If they bin at each character +/- 5 characters it looks like 34 (+/-5) would be max.
I agree with you generally that talking about 'safe' may be misleading. However, I don't think your example shows that idempotent operations can be 'unsafe' - I think it shows that the translation of user's intent to a system operation was lossy. The user's intent was to "buy a total of 90". Translating that to "Set my current order to 90", regardless of the idempotency of the operation, is not accurate, for precisely the reasons you stated. Neither is "reduce my order by 10", because the user may attempt to send the message "set my current order to 90/reduce my order by 10" multiple times(just to make sure it went through), and then they would get to buy less than 90 shares.

It would take different data structures and a different API to translate the user's intent correctly, and then the idempotence of the operation may be important. For example, if the order had a "total" and "current balance", you could be sending a message to set the total to 90(which would internally reduce the current balance), and since that message is idempotent, it's safe to send it multiple times.
If you drop an iPhone hard enough it wil dent. Drop a polycarbonate phone: no problem. Windows phone wasn't a great OS, but the Lumia line were absolute tanks.
What lives or dies isn't actually chosen by natural selection. It's chosen by a variety of arcane closed-door meetings between the major browser vendors where they agree or disagree to implement each others specs.
I do mind the perception that OSI is some pristine and error-less patron of open source. They're not, they are a business and they will do anything to get more donations.

OSI has been known to accept money from anyone. They took money from the company that's known to abuse open source. It’s a kind of “indulgence”, where you pay the church of open source to wash away your sins. OSI certainly doesn't care about anything other than publicity.
Know More About Dog Collars Styles
I am a lettering artist making Enamel Pins
When was the last time Atari made hardware?
Wouldn't you think that's the global shutter of the camera? Raw definitely helps with pushing the image in colour grading, but I always thought the nice motion cadence on the BMPCC comes from the fact that the global shutter scans the entire image at once when capturing a frame, which makes it more filmic and less jittery than rolling shutter sensors which scan a series of parts of the image to create the frame.
> almost nobody I know uses Twitter

Nobody I know voted for Trump, but here he is president. HN readers and their close friends are nowhere near being a representative sample of internet users.
We sell a macOS app on the Mac App Store. Link: https://itunes.apple.com/us/app/stockfolio-stocks-real-time-....

Free trial version available on our website (website content is in need of updating -- not all features are mentioned on there yet. We're working on a new site)
Nope.

OS X 10.12.6 Beta (16G8c)

Chrome Version 61.0.3163.100 (Official Build) (64-bit)
So this is what we're going to do today.
Nerd rage is so cute to watch...
Has “Design-Led” Failed in Tech?
A lot of C++ big names have said that smart pointers are better than garbage collection for handling resources. And they are, because GC only handles memory.

Having memory leaks in modern C++ is a sign of not keeping up with the established idioms. Saying that experienced C++ programmers are worried about memory leaks is bizarre.
Personally I think you're being a bit pedantic and fuzzy yourself on the terminology. For the purposes of CNN, it's perfectly fine to think of them as the same thing and the kernel in this case is simply not the same as the "kernel" in linear algebra you alluded to. In fact, it's so different, I don't even know why you'd bother to mention it.
I have a Canon DSLR and my biggest frustration is with the software. I do a lot of night photography and the longest exposure possible is 30 seconds. To go beyond this you need to buy an external shutter release. It should be a simple thing to add a few more options with longer exposures to the menu.

Also, doing things like HDR or stop-motion can be a pain. Better software or the ability to run apps could solve this.
Thank you for clarifying. I see your point, it was just something related that never happened before (I've never heard someone seriously suggesting something like this), but it's indeed not really relevant for the discussion.
>people are still sending word documents via e-mail instead of making web documents in HTML and CSS and with an URL

What's so bad about this? I know how to make web documents but I still do this. Email attachments are available for as long as the recipient chooses to keep them, and can't be changed once they've been sent. Sometimes that's a feature.
It's immensely clear...
That is exactly the point. All sorts of companies and government have shaved off every possible cost of operation, in this case verification of identity, and then try to pass on this operational debt on to you when someone games their system. I couldn't care less if the phone company never checked identities, but when I say "that wasn't me" whenever they serve me €2000 bills I think they should just wave the case and clear my name. That €2000 is still nothing compared to what they save on proper verification mechanisms.
> that will be the end of Go and Rust

Will it? I don't think so, although I think Swift is great.
IMHO Rust targets another market compared to Swift. Rust feels more low-level, e.g. Swift uses Reference Counting for everything. Swift also can't give you some of the nice guarantees you get in Rust.

Go also has some nice stuff compared to Swift: simplicity, goroutines or tracing GC.
Go is also already widely used.

Swift is certainly great for Mac/iOS-Development, but I am somewhat skeptical for other platforms.
I am afraid that non-apple-platforms will always feel a bit like second-class.
It's just not Apple's main priority and most Swift-devs will always be paid by Apple.
But who knows, I may be wrong.
Bloom Filters for the Perplexed
And The Great Gatsby should have been called “He dies at the end”

Conclusions don’t have to be in the title
If you happen to live in the right locations you can can get new Leafs for about $10K after taking advantage of federal, state and utility incentives.

https://www.sdge.com/clean-energy/electric-vehicles/10000-me...

https://cleantechnica.com/2016/12/15/get-new-nissan-leaf-low...
My day job is working on Corda, which is a distributed ledger platform. So I haven't missed it.

When an app identity is based on a public key, you can start to do things like load them from a BitTorrent style network (if you want to). Or define a traditional CDN as the primary entry point but have slower/more decentralised systems as backups. App identity doesn't change so locally stored data and sessions are not lost.
> What market?

It's a great question and I don't know.

What I do know is that I have not bought/used a dedicated camera since about the time smartphones came along. Nor have any of my family members - they all used to have dedicated cameras used to take holiday photos, photos of their children, birthdays and so on. Now they just use their phone.

This must have an effect on the camera manufacturers.
New algorithms for high speed and low cost 3-D imaging
> Why fight the user to this level? Have they really turned "good"?

Most of MS revenue comes from Azure so it makes perfect sense for them to invest in open source that is used on Azure servers.