skysight-inc/HackerNews huggingface dataset:
Most of those horror stories won't happen if you go through the upgrade cycle once a year. A year's worth of chances is manageable for whoever is maintaining the software, three or five years worth of browser features will make the heart of any developer sink.

It is a fallacy to believe that you can stave off updating a modern internet connected browser indefinitely; the IE6/7/8 hell has driven that lesson home in the industry, and security updates are a necessity. If you do need to stay with one particular browser version, then you use a virtual machine or some other properly sandboxed environment to offer it. You can keep running IE6 on Windows XP for as long as you like with a VM that thinks its the year 2003 and which for some reason can only reach http://oldunmaintainedapp.legacy.intranet.example.com. That's fine too (although I would hate to maintain that solution).
Can anyone compare this with Fastmail?
I think your parent meant it as more of a "They get their stuff done and don't need to skip on vacations to do it". Perhaps a sign of better balance but still productive?
I used to write C++ for a living,

...but then got a variadic template in the knee :)
Review of the latest smartphone from InnJoo – InnJoo 3
As another poster in this thread mentioned: bookmarks and other personal data syncing. Allowing 3rd party sync servers would go a long way towards Chrome projecting the message they don't want to lock you in but that's probably not the case -- if we judge by their team's [lack of] actions.

(And don't get me started on services like XMarks. They're miles behind.)
Scala Tutorials Part #7 – Objects Everywhere – Madusudanan
I can't speak to ready-made ebikes but from building a couple myself I know that they can be made relatively maintenance-free (of course you'll need to replace brake pads and tires once in a while, and other standard bike maintenance).

For the punctures, get better tires. My personal recommendation is the Schwalbe Marathon Plus tires. They're made to comply with EU standards required for e-vehicles going up to 50km/h (i.e., ones that require a license and inspections). I had three punctures my first year, second year I switched to these and haven't had a puncture in the two years since.

The chain falling off sounds like bad workmanship. I had a similar issue with my first bike which was a mid-drive. The motor shifted the chain line slightly outwards, and that was enough to cause drops. I got a new front sprocket that cups inwards to correct the chain line and have had no chain drops since then (about two years also). It's surprising to me that an off-the-shelf ebike would have such issues, it suggests shoddy design work and/or insufficient testing.

Loose joints again sounds like a workmanship problem. I'm a software and electronics guy, not a mechanic, but I don't have any such issues on my bike. The first time I mounted the motor I didn't tighten it hard enough and it worked itself loose (still worked, I just noticed that it had a bit of play). Tightened it again and no such issues since.

The left crank coming out is not something I've heard as being common on bikes. It's never happened to me in the 15000km I've put on my ebikes, or the thousands I put on it before installing the motor. Sounds like it just wasn't tightened well enough, which again suggests shoddy workmanship.

All in all, it sounds like you got unlucky and either bought from a disreputable manufacturer, or you got a lemon. Either that or my amateur builds are much better done than the purpose-built ebikes being sold, but I doubt it.
The problem is that Chrome remove features without providing any viable replacement.

For example Flash: currently the Chrome audio APIs do not cover all of the functionality provided by Flash. You cannot, for example, pause the recording of audio.

If you have a product which requires that functionality then you're stuck. You can't upgrade.

In the recent past I was in just that position: we had no choice but to block Chrome upgrades, at least until such a time as we could implement the functionality ourselves.

It would be much better if Chrome would just leave the functionality in there; or maybe provide a special "Enterprise" build which includes all of the features behind feature flags. All they need to do is make that configurable by Group Policies and you've made Enterprises happy (and we can keep upgrading the core browser).
We live in a large nation, why not let a few states trial a program before running it nationally? Move fast and break things isn't good enough when lives and livelihoods are at risk in my opinion.
So you gave up on democracy?
Doubtful, because someone will come up with their own proprietary rendering engine in a free browser, with some minor built-in feature people want; and then we're back where we started.

PS - I miss Presto-based Opera.
To piggy back on this comment: what build system are you using? I've found that bazel has greatly reduced compile times, even when using boost and opencv.
I question if you've worked with large enterprises. They freeze everything for a decade or more. Think about a bank with 500 offices, a dozen tellers at each office. Having their internal web app that everyone uses go down because of an auto upgrade could cost them hundreds of millions. They have a very different risk appetite.
Embark tutorial (easy Ethereum, Dapps deployment)
Tinker, a hot-fix solution library for Android
Again, I made no qualitative statement about whether the system is good or bad. I merely pointed out that there are costs.

You are arguing that the costs are worth it. Great. I don't want to have that conversation online again. You have acknowledged that there are costs. We are in agreement.
But it includes open-source elements.
>No evidence is given that life at any point in the future will be better than it is currently.

Because you cannot say that with certainty. He in fact addresses this very point towards the end:

"Big problems remain. None of the above should give us reason to become complacent. On the contrary, it shows us that a lot of work still needs to be done — accomplishing the fastest reduction of poverty is a tremendous achievement, but the fact that one out of 10 people lives in extreme poverty today is unacceptable. We also must not accept the restrictions of our liberty that remain and that are put in place. It is also clear that humanity’s impact on the environment is at a level that is not sustainable and is endangering the biosphere and climate on which we depend. We urgently need to reduce our impact.

It is far from certain that we will make progress against these problems. There is no iron law that would ensure that the world continues this trend of improving living conditions."
I got a titanium implant a couple of years ago, and I've never heard of your company.

I had a look around your website and I really hope you're successful with it.

If I had heard of you when I was getting the implant, I would certainly have considered your service (assuming it's available where I am - there's no obvious way to find out?).
I wonder how much of this code still lives on in current generation Word.
> You cannot, for example, pause the recording of audio.

You can use the Web Audio API (getusermedia) and set an audio pipeline filter that stops sending data while a boolean flag is set.

I don't know if you mean a different API entirely, and I don't mean to disagree---just FYI :)
> (good multi screen/multi window support, better, good support for complex interactions like shortcuts, ctrl-clicks etc).

Totally do-able on the web. It's often the web apps architecture that prevents a good UX, not the browser's capabilities (which are really good now).

> Even on mobile […] we can't make web based apps that are better than native ones.

That's an issue of the developer, not the browser itself. I do admit that Safari/iOS is really hurting here but you can work around that if you really want to (it will still be a sub-par UX, though).
Well, you can get hosted Kafka as a service as well. My company Aiven offers one such service in AWS/Azure/Google Cloud Platform, DigitalOcean and UpCloud (https://aiven.io/kafka). CloudKarafka is an another vendor with managed offering and Heroku too just launched Kafka service as well.

I think Kinesis is an excellent service, but if you have an existing stack or preference on OpenSource solutions, it's good to have choice.
I take it to mean that he uses that as a desktop wallpaper. No?
The trouble with namespaces is they are not encapsulated (even without ADL). Any piece of code can open up any namespace and add symbols to it. Not being able to reliably determine what is the set of symbols being overloaded in a namespace, for example, makes it hard to reason about.
reads title

"I bet this is going to be another protracted, entitled rant that boils down to 'I hate JavaScript'"

clicks

"Yep."

If you've read any of the 1000s of identical whinefests that has been upvoted on HN in the past few years, then save yourself the bother of reading this one as well.
Real Programmers Don't Use Pascal (1982)
Why wouldn't you see an elected government's policy as voluntary, ultimately?
I'm not sure how Lavabit worked exactly, but ProtonMail, at least in its web version, is far from secure. An attacker could compromise their web servers and serve malicious JavaScript, thus intercepting the user's passkey.
New York eases proposed cyber regulations after industry complaints
Organizing RPC via QT:Library for Communication Between Objects
TL;DR: Javascript sucks, Frameworks suck, Agile sucks.
Modules are on the good track, looking from the latest CppCon and LLVM talks,they have progressed a lot on their internal use.

I am confident that by C++20 they will be available.

The main problem will be the adoption by major libraries.
Law will take some time as often questions are more nuanced than simply applying the law to a problem.
Ive actually been working in banks mainly. But on the business side.

At the upper echelons there is a real appetite for change. Banks realise that they have become software companies, but that their businesses are groaning under the weight of antiquated systems and processes and it is holding them back.

But even the board can only affect so much.

The only reason an auto update would take down an app is if all development has stopped. As part of the process you should be testing against upcoming releases of chrome so you spot these problems well in advance.

But if dev has stopped, then yes, you will have a problem.
Please, KISS, professor Stroustrup.
Nvidia  Quadro P6000 outperforms TITAN X Pascal in gaming benchmarks
Why do so many people expect everything to be perfect all the time? Why does it always seem to be the ones that aren't doing anything to help the situation that complain the loudest about it?

Yes, we've got a lot of tools that solve a lot of problems, most of which an individual probably doesn't need. Sounds pretty awesome to me, actually. It means we're experimenting and making progress.

Nobody is forced to use those tools, despite what so many people claim. If you don't want to work in the same way as other developers at that company, don't accept the job. Find somewhere else. Be a freelancer.

On the other hand, if you do manage to find that magical unicorn of a job where everything is perfect, take it! I've never seen it, and I doubt it exists, but it'd be awesome if it does.

If you try to fix the problem, you'll end up in the same situation as all the people you're screaming at: Yet another tool that fixes all kinds of problems, but nobody other than yourself will actually need that exact set of problems fixed. (And you probably don't, either.)
Really? Because I see Microsoft revenue continuing to increase and the partner ecosystem continuing to thrive. I also get to see licensing agreements and I get to see what sales quotas are in the MS data platform.

None of the numbers indicate a shrinking market to me. SQL Server does compete for analytics workloads. Is it a direct competitor to Hadoop? No.

I have clearly stated my bubble up front and I'm trying to keep my claims within that bubble. The question was "what are the use cases?" I answered that. I am now saying that I see a thriving SQL Server business. I'm not saying no one uses Hadoop because more of my projects leverage SQL Server components than Hadoop. You are claiming that SQL Server is only for legacy projects because you are not using it.
UDP is usable for this when used to transport a file transfer protocol. I've seen for instance Kermit over UDP.
Basically, if you transport data using a protocol that already takes care of integrity, using TCP is more or less redundant and just adds annoyances (connection management).
> Companies have far too much internal plumbing to permit browsers to auto-update themselves.

What plumbing might prevent a browser update? I can't think of a good use case.
I did a limited amount of C++ some years ago - it was never my primary language, but there was a time when my primary stack was Python with C++ extensions. I'm a full-time Scala developer these days and love the language - it's concise and expressive, with a powerful type system (I guess C++ template metaprogramming is probably as powerful, but Scala makes that power practical to use) and reasonable runtime performance.
Dark Souls still dark on Nintendo Switch title launch list
True, but I also find a mix of all eras on JVM and .NET projects.

No language that lives long enough is safe from it.
"You need to ask yourself why you believe the "average coder" should be able to solve that because clearly your beliefs are not founded in reality."

Oh, stop.

The problem he describes is trivial, and something that you'll encounter as an entry-level web developer on a regular basis. If you can't solve it, you're absolutely not up to the job. In fact, I'll go further: if you literally cannot find an efficient way to filter a list of stuff based on a criteria, you're not even a programmer yet. It doesn't matter if you've "written" a dozen toy webapps by stringing together NPM modules -- not knowing these basic things makes you a danger to any team that hires you.

You can't judge the quality of a test exclusively by the number of people who fail it. If you resume screen for "has written code before" and 80% of your applicants fail that test, is your standard set too high?

(In case you're wondering, that's not a hypothetical example.)
I love my ebikes, but I wouldn't recommend making purchasing decisions based on this article.

His complaint with the Trek bike is that it hurt his ass to ride on it compared to the one he preferred. This probably mostly comes down to the saddle, which is something you just change out if you don't like it. It's silly to purchase a whole bike just because you like a particular kind of saddle (though it's a common beginner cyclist mistake).

Also:
> BMW (yes that BMW) makes an Ebike ($3,430) featuring Bosch motors with a 400 watt battery

I mean, I realise that many people don't understand the difference between Watts and Watt-Hours, but it again underscores that the writer doesn't really understand the things he's reviewing and comparing, so how can his other information be reliable?
Ask HN: Requesting a reality check with C++ as a career choice
Hi HN,

Every time there is a topic about C++, all its warts show up, and it makes me wonder if devoting time to mastering it is fool's gold.

I know that there is a bias, the negatives are spoken about more than the positives, but I wanted to know from engineers who use C++ everyday, how do all these warts really affect your day to day work? Are they making you want to jump ship to a different tech stack?

I can understand, in a general sense, that feature creep, compile times, and everyone using a different subset of C++ features etc are real problems for any language, but practically, how much has it affected you?

Currently, I'm not using C++ professionally, so I'm trying to gauge the amount disconnect in real world C++ usage and armchair language wars.

Thank you!
Just like any other language of similar age and industry adoption.
Poorly written intranet web apps that break between browser versions. Especially likely if those apps were only tested in one specific browser -especially if it was an older version of MSIE.
No, I think he's literally running Unity on Windows 10. I believe it's possible with WSL layer and Ubuntu for Windows 10.

edit: http://www.omgubuntu.co.uk/2016/07/someone-just-installed-un...
Well, no, the cost of education is ridiculous. Not many people get out of undergrad without any loans, and especially if you want to go on to get higher education (yes, even law degrees which pay nicely after you graduate), you'll be stuck with a mountain of debt that you won't be paying off any time soon.

I know someone in particular who went on to get a law degree (and was steadily employed in her field from her time of graduation) but was only managing to pay in the double digits toward her loan's principal on a monthly basis -- the rest went toward interest.
Consumer Reports responds to MacBook Pro battery test controversy
Techniques for Microsoft SQL database design and optimization
I think it's telling that all of your examples of war vets who are successful are officers.

As a vet myself, I suspect the percentages of officers who have trouble acclimating is markedly lower than that of enlisted.
Uhm... Why do you want to put all the entries in a single file? Use templates
of multiple files and put multiple files to /etc/cron.d.
Correct me if I'm wrong, won't we need an updated OS tool chain, i.e. kernel headers and libc/libstdc++ fully adjusted? That will take some work...
Modern farming reduced labor needs with chemicals and (large) mechanization, not automation.
Where Should I Install VMware ESXi?
Feels like this mostly has to do with the flat nature of flashcards, not so much about spaced repetition. Spaced repetition could be applied to playing the piano or whatever.
Here's the thing. The state of programming will always suck.

We now know how to create a CRUD web application that scales well enough for most businesses, using little effort, with well-established authentication and session management.

Twenty years ago, writing such a thing would have been a big deal.

In twenty years (or maybe sooner), that won't even involve programming, much like clicking things in a spreadsheet doesn't feel like "real" programming anymore. Maybe we already have point-and-click applications for creating such applications. Dunno.

It's just that nobody is interested in simple CRUD applications anymore. Today, you need live data and streaming, responsive design, autocomplete for every input box etc. The interesting stuff in programming is always going to be at the edge of what's possible (or what's practical), and that will always be in a sorry state, almost by definition.
Micro – Past, Present and Future
Clang-Tidy [0], in particular see the cppcoreguidelines.* checks [1]

[0] http://clang.llvm.org/extra/clang-tidy/

[1] http://clang.llvm.org/extra/clang-tidy/checks/list.html
when the MSI file defaults to sending crash dumps that may contain confidential financial information, to a server located in the developers broom closet, yes, we have to control the MSI files.

Because admins have to answer to the auditors(and our conscience) when they ask the question "How do you ensure that personal and confidential information is not leaked from your environment"

Which is why Windows 10 is my worst nightmare.
Password sync in browser is a piss-poor password manager solution. You should just use a password manager
God-aspirational AI
I do a lot of short term consulting contracts. Typically for 6 months or so. My role is either Java/JavaScript senior developer or architect.

In the general the interviews runs for 30 minutes. The first 15 minutes, the client presents themselves and the particular project they are working on.

Then I spent typically 5-10 minutes running thru my resume; focusing on any relevant previous projects.

If there is any technical talk it will be based on the projects in my resume or the client's project. The most technical it will get would be pros and cons of particular technology choices.

I have never been asked a "quiz question" - that is a question where the interviewer knew the correct answer in advance.
It's not just engineering/R&D that makes this decision. IT departments generally have the last word on what applications (browsers, for example) will be supported. A real life example:

I worked on a team that maintained a data portal website used by major pharma companies and clinical research organizations. It had to be IE7-proof for a very long time because many of our largest clients were still running very old browsers internally because of IT rules. Our R&D team would have loved to drop support for these antiquated browsers, but, shockingly, our sales and operations teams were not willing to tell multi-million dollar clients that they better upgrade their infrastructure or they couldn't use our software.
As a happy FastMail customer, I can tell you they do not attempt to have the end to end encryption that LavaBit or ProtonMail have. FastMail prefers to offer a lot of advanced features which do require their servers be able to see your data. There is a huge tradeoff between privacy and features, and while I'd argue by policy FastMail protects your privacy better than something like Gmail that uses your data for their own purposes, FastMail isn't that type of service.
I measure packet loss on my cable connection every 5 mins of the day. Also Ive been developing realtime collaborative applications using tcp for over 20 years.
Show HN: Render beautiful pixel perfect representations of websites in terminal
Sure, but division and multiplication add more decimal places. If you do a lot of calculations and you truncate or round every single intermediate result, rounding errors may add up to unacceptable levels in some cases.

So I wanted perform the caculations with high precision, then round the final result according to what the law requires.
Yup, I tried FF Dev Edition a month ago, same thing. Maybe I will try again later after updating
Is he talking about this problem (with a filter at the end)?

http://www.geeksforgeeks.org/finding-all-subsets-of-a-given-...

Because I have never done that. That's different than just running through a list and picking out items that meet a criteria.
I still think VB6 was the pinnacle for writing line of business CRUD apps. I've been told there are still some VB6 apps I wrote ~15 years ago running at a big enterprise I once worked for.
A huge problem with TCP wrt gaming is the default ACK frequency on Windows which is set to 2. This effectively almost doubles the latency of game connections (sending/receiving a lot of time-sensitive small packets).

It can be changed with a registry setting (TcpAckFrequency) but you can't expect even a significant fraction of your users to do that. Why this isn't a per-connection option sort of like TCP_NODELAY is beyond me.
haha, good one.
Superwomen.of6 instagram account was hacked
> What I don't like is how the government demands to wiretap EVERY person's account regardless of there being no suspicion of crime in every account. How can that be justified? To stop future whistleblowers?

The article is giving a one-sided account. The government issued a (presumably valid) warrant to intercept messages on a specific user's account. He had designed the system such that he couldn't provide that access except by providing his keys to everything, and at first attempted to bill the government for building a system that would let him grant access to individual accounts.
I'd add a condition to that to say don't use TCP for a realtime game. For turn-based games, it works great and the inherent benefits of TCP (retrans, in order, etc) can be used to simplify the netcode.

On a related-but-not note, I wonder if 13 year old girls react the same to Titanic now as they did when it was in theaters? I'll find out in about 11 years myself but curious if anyone has anecdotal evidence.