skysight-inc/HackerNews huggingface dataset:
> The US prohibits American companies from selling
> weapons...

Yes, but this is actually instructive. Google is not a Canadian company, so the more accurate comparison would be the US trying to control who the Russian Kalashnikov Concern sells AK-47's to, just because they're also for sale in the US.

> The nature of them being an international
> corporation should not mean they are immune
> to everyone's laws.

Nobody's advocating that the likes of Google should be immune to everyone's laws, but rather that it's overstepping that any given country is going beyond just instructing an international corporation on how to behave within their borders.

> International corporations should be required
> to follow all of them.

So if Saudia Arabia decides that showing any images of women more revealing than the niqab in Google Images that should be applied globally? This is just a recipe for a race to the bottom.
Build a real-time recommendation engine with GraphQL+-
Thats the lesson you learn in life . But anyone starting their career will have a tendency to under promise, over deliver. I did this for some time until my manager told me to literally to go slow and deliver quality work instead.
Research articles are dense and full of jargon because that is the most efficient way to communicate with their intended audience, which is other researchers.

Making a standard research article readable to the lay audience, even if it is also educated to some degree in the field, would double or triple its length.
This ethical question seems bizarre in a world where large blocks of the economy rely on effective misrepresentation or information asymmetry (advertising, etc.) and wealth itself is concentrated in the hands of a few. Those are stereotypical and cliché statements to make but I don't think that makes them less relevant.

As far as I am concerned, this person can provide for his family, and has given the company the results they want. I don't see how it's a problem.

The "late-stage" power imbalance in favor of companies does provide interesting ethical arguments in my opinion.
FirefoxOS was primarily marketed at third-world consumers (who are literally in the billions). Third world consumers purchase $10 smartphones, not $400 smartphones, because they don't have that much money.
Drinking isn't inclusive. That's why it's a problem.
> To make the fish edible, a final treatment of yet another four to six days of soaking in cold water (also changed daily) is needed.
No.
You're performing the job you are paid to do.
You could hint that you could handle more work if you think it would benifit you, but how you perform your job, as long as the end result is the same, is not something you want to "bore your busy employer" with.

Especially not if it means saying "You could do this without me now"
Almost all of that in two countries: China and India. And much of that in China. Which had a hell of a lot more to do with raising the floor than lifting the ceiling.

Some of our international globalisation tools assisted in that -- shipping (Maersk included), finance, and realtime shelf-to-factory inventory control. But a lot of it didn't.

As Gibson's noted, the future's already here, it's just not evenly distributed. You might also want to ask, from time to time, just which trends truly represent "the future".
No.

You're performing the job you are paid to do, that's about as ethical as you need to get, unless there are other parts of the equation.

You should also ask yourself if your employer could use the automation you've created without you. Because to an employer, ethical questions are more often than not disregarded if there is a financial gain in doing so.

However, seeing as you'll have more time to do less yourself, also ask yourself if you might profit from asking for more work/responsibility.
Is Stratis the Most Technologically Advanced Blockchain Platform?
According to the book 'Night School' by Richard Wiseman, just lying down for a nap, even if you don't manage to sleep, is still beneficial.
Removing results from google makes so little sense.

Can I buy google ads pointing to those blocked websites?
This problem is solved with a couple of simple if statements. Finding a "solution" that is more complex than necessary or introduces knowledge that really isn't needed is the sign of a programmer who... over-engineers and is likely to be a detriment.
I wonder, if OP told the company about his script and the company demands the script is he forced to give it to them?
This would be a significant victory against people who use Google to search for Google and then perform a search. These types do exist.
I find this extremely interesting! In the last weeks one of my colleagues had to work to some legacy application that was developed using National Instrument's LabView [1]. For those who do not know it, it is a visual language to develop interfaces to scientific instruments. Everything is done visually, including «if»s and «for» loops.

My colleague, which has large experience with languages like C# and Assembly, is extremely frustrated by this way of working. Everything must be done using a mouse, and even the simplest tasks require some thought in order to be implemented properly. (Although I must say that he praises LabView's hardware support and its Visual Basic-like easiness in developing GUIs.)

I find Racket's 2D syntax to be far more promising than LabView's approach:

1. You can code it using a text editor: unlike LabView, no mouse is required;

2. Only a few classes of statements are affected by this (LabView forces you to do everything visually, even function definitions and mathematical operations);

3. You use this feature only if you think it helps; otherwise, plain text syntax is always available.

As a side note, I would like to give kudos to the Racket developers for this kind of gems. Racket really seems to be a language which makes language experiments easy to implement and try!

[1] http://www.ni.com/en-us/shop/labview.html
do you feel ok afterwards?
coffee makes me sleepy sometimes, somehow, but sleeping on caffeine doesn't make me refreshed at all.
Cloud Control: Getting a Grip on Costs
Are there any Context-sensitive algorithms/parsers/generators?

The list at https://en.wikipedia.org/wiki/Context-sensitive_grammar only contains two links, where one of them, "LuZc" seems completely dead with "lorem ipsum" under Downloads, and the other "bnf2xml" seems to be misplaced since BNF is not context-sensitive.
> I wouldn't write another line of code in my life.

I personally see this as a problem, having to do something I don't like.. for years... probably for life?
JavaScript has the best interoperability with JavaScript. What exactly are you asking? What server language is the best for writing backbends to single page apps? Use node.js, you don’t have to learn another language. What other languages can you use in the backend to avoid the pain of using JavaScript in the frontend? All, having a REST API and delivering JSON makes your life more enjoyable (as a programmer, bets are off for everything personal). Personally, I would recommend something like Ruby or Python or if you are into something more exotic Elixir or maybe even give Perl 6 a try.
If you are thinking about running JavaScript code from inside another language, just don’t. You don’t want to go there.

If none of these answers suffice you might want to flesh out your question to be more precise.
While I appreciate and respect Racket's willingness to experiment and innovate, I'm a bit puzzled by this.

Tables are neat to read but pretty annoying to write, especially in ASCII form. It's true that code is read much more often than written, but still, I wonder how useful this really is.
Ethical or not, I'd be more concerned about what I'd do if the current job ended, regardless of why it ended. What do you tell the company you're interviewing with about what you did at your last job? And I don't mean discussing this with them, I mean what do you say about the projects you worked on over the past n years when there's only this one automation?
The question is if WASM is really meant to be a compile target for anything resembling Javascript, or indeed of any language implementing garbage collection. And yeah, I know that there are proposals to include GC in WASM. And yeah, I know that a lot of people would love to program at the high abstraction level of JavaScript, only faster. Thing is, Javascript runtimes are already highly optimized at running Javascript type code. I think to really get faster, we'd have to face the tradeoffs.

The main tradeoff, IMHO, is memory management. If you go full OO with a lot of object allocations, and with a garbage collector picking up the litter in the background, then you will be freed to focus upon business logic and your development will move faster. If you manage memory yourself, C style, then you are in for a world of pitfalls and potential pain, but you can make your algorithms tighter and faster. What to pick depends upon your priorites. Postgres is written in C, for speed. A lot of modern web apps are written in full stack Javascript, for agility.

I envision the future of web assembly not as a compile target for your entire codebase, but as a way to optimize the tight loops and algorithms that do the heavy lifting, but leave the rest of the web application as Javascript. Also I think that once you go down that road, you have deliberately picked speed over convenience with respect to the methods in question.

The way that it's going to work, I think, is not by having a Javascript-type language compile into WASM, but by having a more low level language which easily compiles to WASM, but which also compiles to (slower) Javascript to support older browsers.

But what do I know ..
I am no expert on this but it depends on what is your interest? Is it from a use case perspective or a technical one?

Technical perspective, people tend to conflate crypto currency with blockchain and vice-versa. Both are not the same. Crypto currencies are an implementation of the blockchain concept with their own twist on how to leverage blockchain.

A good primer on blockchain is - https://anders.com/blockchain/

Then there is the bitcoin paper which not only introduces blockchain but also explains bitcoin:
http://fermatslibrary.com/s/bitcoin

The white papers of various currencies also provide the technical perspective and details on their implementation.

Use case perspective, you will have to rely on white papers by the specific coins. They will delve into how they look at blockchain to solve their problems. Beware these papers tend to be verbose and full of marketing fluff. So unless, as Warren Buffett puts it[1], within your area of competence there is nothing to be gained.

One thing I have realized over time is that many people writing stuff on cryptocurrency tend to be very verbose. Case in point:
https://www.igvita.com/2014/05/05/minimum-viable-block-chain...

This in my opinion, and I am known to be very wrong most of the time, is because it takes the technical route to explain things than standard expressions.

Basic stuff like - what is a block is elongated with many technical terms. The simplest answer is "block is a public ledger and contains all transactions". Ledger is a legit word and you can find tons of articles explaining what is a ledger. But then you have tons of articles which skip this simple explanation in favor of a elongated explanation using technical terms and putting their own versions of what constitutes a transaction.

[1] http://www.businessinsider.in/The-Circle-Of-Competence-Theor...
Interview with a UX Designer, Mathias Adam
My first ever YouTube video check it out
AI Trying to Design Insspirational Posters Goes Horribly and Hilariously Wrong
> trying to get helpful error messages

Menhir is a parser generator that tries to do that: http://gallium.inria.fr/~fpottier/slides/fpottier-2015-11-ou...
(Don't get scared by the first slide; the title is in French, the rest is in English.)

> formally verified

Menhir has been used for a formally verified parser for C: http://gallium.inria.fr/~xleroy/publi/validated-parser.pdf

The result is in CompCert: https://github.com/AbsInt/CompCert/tree/master/cparser
For a living wage, you'd probably want to follow the rule that housing + food + transportation doesn't go over 2/3 of income. Especially bad is that 30¢/hr doesn't let you put nearly anything into savings. So I think it's easy to counter that argument, even ignoring the issue of imprisonment.
Ah! I didn't know what either "jigger" or "woodlice" referred to until I read your comment. I actually always used to call them "pill bugs", although I'm not sure if that's something that others call or just a name I learned from my family.
IMO i think there are only a couple of long term solutions for ethereum with regard to scaling. Sharding is one. I think setting agreed markers and signatures at points in time is what they're going to be forced to do though. POS is a big big risk and i haven't heard a solution to those issues yet. Not even close.

I actually hope they figure it out. But they do have to do it quickly. For now we have PoV. Proof-of-Vitalik. That'll just have to do.
The writer uses words that sound cool and impressive. In his opinion. Truth is, they make this piece an annoying read.
Now you have rust. No excuses.
How to Process Live Video Stream Using FFMPEG and OpenCV
I wonder if you would agree with your statement on loyalty if the roles are reversed:

"If the company DECIDES to hire you and use thousands of hours of your life each year so that the company can enjoy a profit, the company owes you its loyalty."

Rare is the company whose leadership feels that any meaningful loyalty is owed to employees.

Edit: I want to add that your 4 guidelines are wonderful if you work for genuinely good, moral people who want to "do the right thing" and who have the luxury of setting such priorities. But caution is necessary. Far too many employees devote decades to a company only to find when they're ill or older that loyalty was a one-way street.
Unfortunately, most people don't understand what a blockchain is, including many people working on altcoins. This causes them to make buzzwordy statements which are, to everyone else, nonsensical. "Code is law" being one of them. "Property on the blockchain" being another.
"We estimate that Facebook has 830,000 servers in 2017."

No way this can be true. Facebook scaled primarily using CDNs like Akamai. Akamai is the largest CDN in the world and has no more than 300k-350k servers all over the world. It's one of the largest distributed system in the world. I worked there, so I know this for sure.

Facebook has recently been moving their data in house, but they do not have 830,000 servers. That's almost 3 times Akamai. At this point, Facebook would be more profitable letting people use their server infrastructure instead of using it for themselves.

Running Facebook over AWS is a CDN problem that was solved by Akamai!
People who don't have a habit of highlighting text when reading it?
How would you even trust such results? I mean, lets look at where they come from.

Reported crimes in systems that are biased against some folks, with laws that are easier to break and get caught with when you are poor. Some of the folks are poor because of the situations that have happened to them - war, civil unrest, domestic violence, racism and discrimination of the past still affecting them. And lets not forget, a lot of folks don't report crimes like rape - this is higher in some countries than others. In some cases, reporting a rape might ruin your life.

How can you trust numbers coming from such systems when they say that skin color x or cultural background y does more crimes? We've had reports that do say such things, and the inherent biases in them generally make them untrue.
Germany learned the hard way that letting people "speak their mind" does not always lead to great outcomes. The Weimar Republic actually had the things you wanted, it even allowed parties to be part of the parliament while wanting to eliminate the Republic. The result was Nazi Germany. We decided against repeating this. Different histories lead to different results.
My recommendation would be to ask a lawyer if the employer has the rights to the software he wrote to automate his job. Depending on the answer, either offer the software or offer to write the software as a negotiated one-time purchase.

To find a basis for the negotiating, consider the salary for the foreseeable future and present-value that income.

The result would most likely be a happy employer, and an ex-employee with a lot of money in the bank who is now free to find any other job or move wherever he/she wants. Maybe even with the same employer.
Roundcube Webmail 1.3.0 is released
Parts of computer science are not too bad either. In my field, AI, the top-tier journals and conferences are all open-access and run by nonprofits. I mention conferences because in computer science they are important as well; the top peer-reviewed conference proceedings are as important as journals.

* The top two journals are probably JMLR (machine learning) and JAIR (AI in general), both open access and run by nonprofits. No publication charges either.

* The top two general AI conferences are AAAI and IJCAI; the top two machine learning conference are ICML and NIPS. All four of these publish open-access proceedings (including archives of past proceedings) and are run by nonprofits.

Of course this didn't happen entirely by default, it's taken some effort over the years. AAAI has always been nonprofit, but its digital library has not always been open access. And in machine learning, the top journals used to be run by the Elsevier/Springer duopoly, which was solved in the early 2000s by 40 editors of Machine Learning journal, which included a large proportion of top researchers in the field, resigning en masse to start an open-access alternative: http://www.jmlr.org/statement.html
I wrote a three-part study on the Blockchain phenomenon a year ago, based on real experience with Ethereum. It's intended for web developers. It ends with an unusual conclusion.

- https://marmelab.com/blog/2016/04/28/blockchain-for-web-deve...

- https://marmelab.com/blog/2016/05/20/blockchain-for-web-deve...

- https://marmelab.com/blog/2016/06/14/blockchain-for-web-deve...
Measure the Dielectric Loss of 500kV Circuit-Breaker Capacitor at High Voltage
The Key to Accelerating Your Coding Skills
Nah, I have 3yrs old son, but this does not stop me from trying to make living with something I love to do. I actually think that if you hate your job, but make good money, this will be worst for your family/kids, because you are gonna start bringing all this negative energy at home.
The fun thing is that only one instruction used AH, and it can be done perfectly fine with EAX instead.
This is not the biggest flaw! It was that messages that are in flight (sent, but not yet delivered) still get delivered if the key changes. Only after delivery does the sender get notified of the key change. The last time, I gave example where a protest organizer (Bob) is detained by the (secret) police in the period leading up to a protest, and denied access to their password-protected phone that's switched off. All the police has to do is wait for a while, then pop the SIM into a new phone and presto, they get all the incriminating messages that were sent by co-conspirator Alice while Bob was detained. Only after delivery onto the police phone does Alice get notified that Bob's key has changed.
> You can use uBlock on FF for Android!?

Yes, as well as many other extensions. I'm using Self-Destructing Cookies, Desktop by Default, Smarter Scrolling and Android Text Reflow in addition to uBlock, thus tweaking my mobile browsing experience to something much better than the stock browser.
I wish you were less right. I'm working on this "whole world connected" system and the things I see developed in IoT devices are just too scary (like sending your wifi ssid and password unencrypted to some distant server about every minute). Only way for some damage mitigation will probably be some kind of IPS/Firewall hubs so that all your "smart" devices are isolated.

When someone connects 1000 different devices into one system, he now has 1000*x potential holes into this system. Requiring that every connected device is perfectly secure is just not realistic. Even those with biggest budgets can't be totally secure, so what do we expect from some small manufacturer with two programmers and tight deadlines? We need to have good firewalls for IoT devices.
I don't think GP is distrusting m disagreeing with you; it sounds to me like they're saying "if your point is that it's safe in trace amounts but not for drinking a whole glass, you shouldn't be offering to drink a whole glass"
The rational actor school says it's because we're all rational actors and the alternative outcome was clearly preferable.

There are other, and frequently far more convincing, models, which suggest that humans frequently make poor decisions out of near-term exigencies, coercion, underappreciated risk (pretty much just what we're talking about here), or any number of other reasons.

See: Fallacy of composition, Logic of Collective Action, Tragedy of the Commons, Prisoners' Dilemma, Red Queen's Race, Complexity Trap, among others.
Ask HN: Tech lead feeling overwhelmed
I currently lead a small team and feel that I need to be on top of all technology across the stack to make the right decisions.

The space is moving so fast and don't feel like i can keep up.

For example if we were to pick up a front end framework do we go with Vue JS or React JS? If we go with React do we go with Redux or Mobx for state management?

Should we use docker containers? If so, do we use AWS ECS or Kubernetes?

If we had to build apps do we build it natively or with React Native?

Functional languages seem to be taking over, should we migrate to Phoenix?

I feel like I need to personally play around with each technology to make the right decision.

How do other tech leads keep up with all this tech?
"Necessity is the daughter of invention."

That is: the things we invent, out of necessity or otherwise being irrellevant, often become of themselves necessities. Part of our collective dependency tree.
No.

China will have to pay more than today because a lot of their parcels will fall into the (now more expensive) bulky letter category. The US remains highly-developed, so you can expect terminal dues to remain cheaper than the retail rate. Finally, I suppose the Chinese government will continue to subsidize the transport from China to the unloading port in the US.

In essence: When sending from China, you can expect to just about pay the terminal dues; the international transport is subsidized. You can expect this to stay true for as long as the US is significantly more developed than China.