skysight-inc/HackerNews huggingface dataset:
And the Russians clearly don't have a desire to hack US systems, which of course is much easier if you can see the source code. The alternative of course is build your own products and don't buy anything from the US.
Christopher Leonard's book 'The Meat Racket' is a good primer for anyone interested in the subject. He does an excellent job walking through the simultaneous rise of "big chicken" and the legislative steps corporations like Tyson and Cargill took to ensure their long-term domination of farmers, the law and the consumer.

https://www.amazon.com/Meat-Racket-Takeover-Americas-Busines...
Russia targeted 21 states during US election says official
From a trader's perspective, losses are the cost of doing business. When you're starting out, your losses are your tuition. An engineer spends at least $100K+ and 4+ years going school to learn their craft; why should it be any different for traders? (Aside from the fact that there's no school and no curriculum; there's only the library, the market, and your wits.) If you read the Market Wizards series, you'll find a lot of pros saying things that amount to "on average out of 10 trades 6 or 7 of them will be losers - but I keep my losses small and let my winners run."

Here's how it works for a casino: the outcome of any given roll of the dice (say) is random. But over a thousand rolls of the dice, the odds of the game are not random. For a casino, obviously the games are set up so the odds favor the house, and "in the end the house always wins." For a trader, your "odds" against the market are determined by your skill. Every individual trade is still essentially random, but if you're good at what you do - if your market analysis, entry timing, risk/money management, and adherence to your trading rules is solid - over a large enough sample size the outcome will be net positive. It's a strange duality for some people to grasp.

A good first read: High Probability Trading (Marcel Link)

The Bible: Reminiscences of a Stock Operator (Edwin Lefevre)

The basics: Technical Analysis of the Financial Markets (John Murphy), Japanese Candlestick Analysis (Steve Nixon - skip the first chapter), Trading and Exchanges (Larry Harris)

Good follow ups: All the Market Wizards books (Jack Schwager)

Psychology: Trading in the Zone (Mark Douglas), The Nature of Risk (Justin Mamis)

Less theory, more practical: Mastering the Trade (John Carter)

Putting it all together: How to Buy (out of print) and When to Sell (both Justin and Robert Mamis; slightly outdated but 100% worth reading.)

Some of these books are "expensive." But even if you only learn one thing from a book, it'll have paid for itself 10 times over. Take copious notes. Find the commonalities. Filter out the bullshit. Watch the markets; see what "clicks" for you. The trading exercise towards the end of Trading in the Zone is a great way to test yourself without risking a whole lot. (On that note, a theme you'll find, if loosing 2 or 3 thousand is going to be an issue for your current well being, perhaps better to wait to put money up until such a cost is somewhat closer to pocket change...)

If that all sounds like too much effort, then perhaps the more typical buy index funds and hold until you retire answer you'll often get around here is more your speed. No shame in it.
Amazon’s vision for the future: delivery drone beehives in every city
The people who are incapable of caring about this problem are exactly the ones who have enabled it to happen. They are the root of the problem. And as I said above, some people will need to leave.

Company culture isn't bullshit, it's what makes or breaks a company. Uber has neglected this very important nutrient, and I think will die if it doesn't fix it.
"Slow" internet is not so bad (especially when it is not really THAT slow). Limitations in connectivity force designers and developers (therefore large companies) to optimise things and save resources. Internet speed growth rate could be 5% (compounding) would be enough in order to provide a friendly environment for new frameworks, technologies in the field of network and web to benefit all.
And would you be that surprised if said engineer didn't speak English perfectly?
LendUp (YC W12) is hiring engineers to build software for financial inclusion
Comcast once cut the wire that led to my apartment because someone else in my building didn't pay their bill, and their records were poor enough (I blame this on the fact that they had grown by acquisition of a company that I know didn't have it together) that they didn't know which wire went where. And then it took multiple technicians coming out to get it set back up. I work for a competitor now and I tell this story to illustrate How Things Can Go Wrong.
The idea of "having faith" that a mega corporation will take pity on your business when inevitable negative variance hits the farm sends a shudder down my spine.
KitKat is produced globally by Nestle,but in the US by Hersheys
Lots of effects yes. I never suggested that bike lanes don't increase bike traffic however, I think it's pretty obvious that they will to some extent. I merely suggested that the large increase that might be observed in a temporary and well publicised pilot project likely greatly overrepresents the actual sustained usage.

Questions I would ask that I haven't seen addressed as part of Vancouver's bike lane push:

- Given the higher risks of cycling relative to driving or walking, how many extra deaths and injuries are associated with increased cycle use substituting for other forms of transport?

- How many people are switching to cycling from driving because you have made things worse for drivers, pedestrians and transit users by installing cycle lanes (less parking space available, fewer car lanes, dramatically more congestion during the construction process)

- Are pedestrians at greater risk due to the increased cycle use? (anecdotally it appears to me they are)

- Given all the other ways the transport budget could be spent and road space used, is building cycle lanes the best bang for the buck?

- What exactly are the goals of transport policy (hopefully not just 'increase the number of cyclists') and how are you measuring your success?
A new issue on the CE issue tracker is usually the best place.

https://gitlab.com/gitlab-org/gitlab-ce/issues/new
Structural model of the Escherichia coli 4.6 MB chromosome at 1-nt resolution
Your suggested setup would allow a worm to repeatedly reinfect everything. Some forms of malware, such as one used in an attack against Kaspersky Lab, have been designed to do so instead of persisting directly onto the targeted devices.
PyVideo.org – async/await and asyncio in Python 3.6 and beyond
How is angular making the web slower. An angular project can sit somewhere in the 130kb range, with lighter frameworks like vue sitting at 30kb. These are smaller than most images or gifs used on the web. So the trade-off is one image on your page, or a robust RIA experience, with much more maintainable code. If you build it correctly, you're decreasing the amount of bytes on the wire significantly when using client side frameworks, over re-rendering each and every page on the server for every interaction. I also maintain a large vanilla javascript application that was written before I arrived, and the javascript weighs in at almost 5MB, and we have a general no touch policy on it because of how fragile the vanilla javascript is. It was poorly written, but even a poorly written vue app, would come in at much less than the 5mb JS. I just don't buy this as the reason the web is slow.
Would it not also be standard procedure to update credentials after being compromised? How long would those credentials even typically be valid for?
tomfitz linked the whitepaper for you, and that's a great overview of the basics. However, some things have changed and I'm not sure the docs have updated with what's currently on GitHub.
Slightly related: Why does Github call Vimscript "VimL"?
> Every buy and sell order is an (arguably superior) source of knowledge as to what is happening in the real world.

If they replaced (arguably superior) with (real if possibly flawed) I might be tempted to take them seriously. But this belief in perfectly efficient market is hilarious, especially in the face of all the people getting rich out of market inefficiencies...
Ask HN: How to plan for breakage of critical upstream APIs?
Many PaaS/SaaS startups rely on upstream services that are accessed via APIs. Unfortunately, the provider may break the API, resulting in a temporary or permanent loss of some or all of the startup's revenue. Example: your business provides photo filters for social media and Instagram changes/breaks/revokes your API access. That's significant and may kill your business [1].

If an API-dependent startup asked me for investment I'd ask "What happens if these critical APIs break?"

I'd expect to hear something like this:

1. We’ve discussed API use with the providers and we have good contacts at each. We have high confidence that API access will not be revoked, and we can expect a prompt response if breakage occurs. (Ideally there would also be a contract featuring API availability guarantees.)

2. We operate within each provider's Terms of Service and our business model does not conflict with the providers' business models.

3. Customers could continue to use our PaaS by manually uploading their data and fetching the output from our service.

4. We've reverse-engineered official consumer client software and could impersonate consumers, thereby continuing to access official APIs. (Obviously plenty of questions here about good-faith, legality, ToS, etc.) For example see [2].

Additionally I'd like to hear:

5. We've analysed the likelihood of each provider obsoleting our product by offering our service direct to their customers.

Each of these has pros & cons and I don’t suggest any is ideal or desirable. However I’d expect to hear a detailed response on how to handle revocation/breakage of business-critical upstream APIs.

How would you answer this question?

What other responses would you want to hear?

[1] https://www.macrumors.com/2016/06/02/instagram-third-party-apps-websites-dead/

[2] https://news.ycombinator.com/item?id=14605342
> "There's some things that aren't perfect, but you're never going to get a perfect contract," Mueller says. "And there again you got to have some faith and you've got to have some trust."

That's a bit of a straw man. You sign contracts to have a set of rules that you can fall back on if you /no longer/ can trust the other party.
How I Hacked My University's Registration System with Python and Twilio
Scientists Can Erase Specific Memories from a Snail’s Brain
I love the Nix language and I generally distrust aesthetic feelings about programming languages.

Neither SML nor Haskell are optimized for expressing deeply nested records with many string literals, for example. The multiline interpolated strings in Nix are extremely much better than in SML or Haskell. The way records and arrays are written is great: SML and Haskell both suffer from the tedious problem of using separators between items instead of after each one; in Nix each item can always be moved without messing with separators.

I think Nix is an engineering marvel up to and including the language design. If you can make a better surface syntax and demonstrate it by translating some significant part of Nixpkgs, I'd be very interested, but I think in general the language is the way it is because that's what made most sense for the system's designers.
What's even more impressive is how games like WOT hands multiple users with different latencies, and how they attempt to hide that from you! Reminds you that the ping number you see on screen is (almost) meaningless when you start to dig into it
New in Bitbucket Server 5.1: Signed commits, PR deletion, and more
I wish it highlighted errors. But great game nonetheless.
My tool could, but (for now, at least) it is a separate project from the main Nix interpreter, and this one is notably slow to evolve
This is a very, very typical pattern in poultry and egg production.

Source: Grew up in rural Virginia near a bunch of big poultry processing centers and the surrounding area is filled with family farmers who are debt slaves to the poultry processors.
No. Rule of law is an inseparable part of democracy, you can't have one without the other.
The wet bandits had a great scam. They just didn't account for an improbably skilled child to be alone in a house that should be empty.
I hope Jai ends up being made interoperable with C++.
An enclave does not make any system calls directly like the rest of the process would, but a system call can definitely be made through the use of a shim layer. In SGX parlance, calls to the outside of the enclave are known as OCALLs. The danger with relying on values returned by a syscall is that the OS could be lying. As an exercise, you could implement a simple "hello, world" filesystem driver that hides the presence of certain files. So, as long as the enclave has no trusted path to I/O, it must rely on the operating system, which is assumed compromised. If the enclave decrypts protected content for the sake of having those be written to the display by the OS, then you can see that the contents are not secure. SGX support for PAVP means that the chipset is involved in shuttling the data into and out of the enclave, with no one being able to interject. Not sure TrustZone solves this.

Just came across this interesting article:
https://arxiv.org/pdf/1701.01061
Thanks for pointing this out.
I opened a new issue about this; here https://gitlab.com/gitlab-org/gitlab-ce/issues/34246
Is that a definite no, and there's no chance of compiling whatever $newLanguage is written to the current nix code prior to execution?

If that was possible, and a few $000 was raised (looking at the comments here, I think people would chip in) then a new version of the Nixlang with the same semantics and full backwards compatibility but a cleaner syntax, would be a great project to fundraise for.
Using npm, Webpack, and TypeScript to create simple ASP.NET Core web app
Faker, Go (Golang) Fake Data Generator for Struct – Iman Tumorang – Medium
Nobody works 16 hours a day for 4 years straight without a break.
Hi! Thanks for stopping by. Really appreciate that you had a look. Well, I was building out a real-time IoT application back in college which required me to store some data online and feed my dashboard app without the hassle of creating a whole database. I used myjson.com that time but I found I couldn't edit them once a url was generated. So there, I did have a "use". But anyways, really appreciate the time.
Land Rover Reveals Self-Driving Range Rover Sport Capable of Level 4 Autonomy
Yes they do, but that's for content only. The binary size cannot change.
You seem to be easily deceived.
> Is there some "analytic" property that guarantees uniqueness of solutions without resorting to some black box solver?

Check out Knuth's Algorithm X. It's an elegant way of analyzing constraint-satisfaction sorts of problems (of which both Sudoku and the linked puzzle are examples).

https://en.wikipedia.org/wiki/Knuth%27s_Algorithm_X

edit: at least I think the linked puzzle is a constraint problem that could be modeled this way. But now that I consider it it's not so obvious...
It's hard to know without knowing what your intro to C++ looked like, and what your background is. If you can get through Accelerated C++, then some of those books may be useful once you've gotten some practice.

From http://www.ensisoft.com/temp/cplusplus_stack.png (why is this a PNG and not a JPEG?), Modern C++ Design and C++ Template Metaprogramming are likely to be the most challenging. Don't get me wrong, they are fantastic works, but are probably not what you need right now.

C++ Primer, C++ Common Knowledge, and API Design for C++ are books that I think you should consider that are not listed in the post above. If you have never studied computer architecture it is an important subject to understand. There are good books like Computer Systems: A Programmer's Perspective, but others may have different opinions.
Show HN: Create GIFs and videos with animated text
Texas Instruments’ Biggest Blunder: The TMS9900 Microprocessor
Our Docker images source is stored in our omnibus repo [1].
We also have docs detailing the usage of our Docker images. [2]

[1] - https://gitlab.com/gitlab-org/omnibus-gitlab/tree/master/doc...

[2] - https://docs.gitlab.com/omnibus/docker/
I'm having slow internet lately... do you think this can be the issue?
It's been a while since I've been on Gitlab, but you used to be able to add `[ci skip]` to a commit message and CI wouldn't run. It does litter your git history with CI information though.
Another consideration is getting customers to come back is vastly easier sell when they liked your product. So, you retention over years can end up significantly longer than the average subscription length.
Flagged for spamming
RE: education, that's not what it says here https://www.nytimes.com/interactive/2016/11/08/us/politics/e...
> A lot of Republican voters are farm owners

A single-digit percentage of the quarter or so of registered voters that end up voting for Republicans, even if all US farm owners were Republican voters.

OTOH, that number is much higher in the places Republicans actually win elections, would they are more politically important than their numbers would suggest.
Great suggestion, thanks!

Created https://gitlab.com/gitlab-org/gitlab-ce/issues/34248 to track.
I think learning a new language is more acceptable when you're also using it on a new platform. I was sceptical about picking up Swift, but I was up and running within a few hours.
Hi there. This is something we are actively working on as part of overhauling the entire UI hierarchy.

You can follow the main issue here: https://gitlab.com/gitlab-org/gitlab-ce/issues/32794

Feel free to let us know your thoughts. This will start making it's way into the application in 9.4 (July) and will be activated through a feature toggle so people can experiment with the new UI, give us feedback and we'll iterate and improve it before we switch it over.
Tech companies: these are the perks (and benefits) I want
This is a Google Summer of Code project. So in essence this is an R&D project that is "free" for the community. The Haiku devs are busy working on getting a Beta 1 release that should be here real soon now.

Package management is in and the infrastructure around it is being worked on.
A counter example is the F35 -- it is a fighter that is hugely contingent upon its software, but the US has denied partners (the people who also cofunded development) access to it. Given that software controls everything, that should invalidate it as an option for any other military at the outset.
Still thinking about whether or not they should ban inhabitants too. So difficult.
Ed! So happy to read this article from the Beehive days!
100% agree. I don't buy the verbosity argument one bit. Yes it's more verbose than a dynamically typed language but it's not like you get nothing in return for that verbosity. When working with serious, mission-critical code, the verbosity (and accompanying clarity) is a godsend.

The only part of writing/maintaining code that I've found easier/more pleasant with dynamically typed languages is writing unit tests (due to the fact that mocking an object is as simple as just declaring a hash literal or JSON object). On the other hand, I find that I need to write extra unit tests to verify integrity that would be be verified at compile time in a strongly typed language like Java.

I would strongly recommend people check out DropWizard. It's an opinionated framework for writing Java servers that comes with a handpicked stack. It has many of the convention driven advantages of e.g. Rails but fundamentally you're still writing code in Java (or another JVM language like Kotlin).
For beginners (who this micro-guide is aimed at), a big part of it is that the activation energy is pretty high - there are lots of things to know and there are many ways to do things. Finding recent and accurate information is harder - there's 20-odd years worth of it out there. Even in this write-up, there's some questionable advice - the beginner answer to 'writing a clientside UI in Java' is 'don't use Java'.

This is normal for any mature, widely used technology - Rails comes to mind as a smaller variant of the same problem. It's a lot easier to try out go or node - there's less stuff.
Females drive 70-80% of all consumer spending[1]. I can't think of a much more market-driven, focus group and A/B tested industry than video advertising.

Hmmm.

[1] - https://www.forbes.com/sites/bridgetbrennan/2015/01/21/top-1...
Visualizing a Hug-Of-Death: Using a $5 VPS to Serve 500M Requests/Day
I recently moved, and we paid for Comcast installation (instead of self-install) because at our utility connection there was just a bundle of cables with the ends cut off.

I didn’t understand why anyone would have cut them. Now I’m upset that these shenanigans actually cost us money.
> Then don't use boost.

After using boost in several projects and regretting it each time (slow compile times, painful to configure), I finally learned my lesson and "don't use boost" is now one of my guiding principles when programming in C++.
HTML was designed to create documents, though - not UIs. That also happens to be the core of a lot of problems with it (that, IMO, are overblown).

A lot of the struggle/difference between JS frameworks is this disagreement about where things fit on the document vs app scale, IMO.
And, somebody has to pay for it. The producers of the current project won't allocate any of their budget to preserve something for a (hypothetical) future sequel/re-release - that is somebody else's problem. The only places that I know of that do a decent job with archiving are animation houses like Pixar that own their own IP.
Practise Java online for beginners
Then it would be blue, not white with a red border. The latter always signifies a forbiddance, while blue signs are an allowance (and often implicitly disallowing everything else).
Yahoo Small Business (Luminate) and the Not-So-Secret Keys
I still don't get it. :/
> C++ may not be uniquely good for this but most desktop apps you are using are written in C++

I disagree. Most desktop apps are written with some kind of bytecode language (like my code editors and IDEs) with a few being written in C++ for very specific reasons (like my web browsers).

> When you add C

I wasn't asking about C
Yeah, I really wish it remembered your current puzzle state.
Report: Hackers Successfully Altered Voter Data in 2016 Election
For scammers and thieves, Ethereum is the place to be. Can't wait until Underhanded C Contest winners discover Solidity.
Ask HN: Futures in crypto currencies
Weren't futures markets supposed to prevent wild swings in crypto currencies? Aren't they being used?
so they fix this one horribly convoluted use case, but most of the others are remaining?
Setting up your own is better for doing it privately - takes out an unnecessary extra party at least. Still not perfect of course, the data center and ISPs can still see your traffic and connections on both sides, so still cannot be considered truly private.

Interesting that you say "external auditors" though - have any commercial VPN providers offered anything like that? Of course, it'd only be worth something if they'd put their money where their mouths are in a form of insurance payout if they were wrong.
In this case the loan is to build barns, not buy more land. And the barns are specifically for raising chickens. If the contracts or the poultry processing in that area fall through then I don't think the underlying assets would be worth their cost-- leaving the farmers high and dry.
Moto C Plus: New Face of the Budget Smartphones? – SuratNow
Even the description is a word-for-word copy of 0h h1.