skysight-inc/HackerNews huggingface dataset:
You see, the problem you're facing comes from the fact that REST is not
a protocol, but a pattern, so when you need to document external interface,
you need to document not only what functions you have, but also how does the
protocol look like. Proper RPC protocols (e.g. JSON-RPC) give much less work.
Short distances re great when you _have_ train options, but you can't do a train from Dublin to London, or from London to Amsterdam.
It is a drop in the ocean. 1 square meter of surface receives at most 1kWh of energy from the sun, and that's only at the equator, on clear day, and without taking any conversion losses into equation.

But for the sake of fun - For a Bombardier Q400(that was the only reliable data I could find)[0], the total surface area is ~213 square meters. That's obviously total surface area, so it includes both the top and bottom of the airplane. For simplicity sake, let's say only half is in full view of the sun - so 107 square meters.

Even if we assume magical solar panels that can actually convert 100% of the energy into electricity, and assume that the plane is flying in full daylight, that's only ~100kW.

The aircraft uses two PW100 engines, each producing....3700kW, so the total output of the aircraft is around 7400kW.

So even if the conditions were ideal, we had magical solar panels, and covered every inch of the aircraft, they would produce....less than 1% of power necessary to fly it. To be fair, a normal 2.0L petrol engine produces more power than what those solar panels would produce.

In reality, those panels could maybe power the onboard lights and computers? Just about?

[0]http://www.supersonicinstitute.org/docs/Q400SurfaceAreaRepor...
Was the video flashing for anyone else while playing? It would flash in bars of black every second or so. Watching it directly on YouTube "fixed" it.
Personally I think the development will be on 1 to 4 places fully electric aircraft and maybe 4-30 places hybrid.
When they break though, I could imagine them getting tangled around things immobilizing the robot.
The problem which bothers many is that JD gives no warranty and at the same time forbids analyzing and modifying the firmware. It's perceived as a conflict - just like avoiding liability in this case is viewed as a way to increase profits.
I found another (unpatched) bug in LastPass
Navy Builds Ramjet Missile with Model Rocket Engines and a Credit Card
From http://www.pcmag.com/commentary/352511/airline-electronics-b...

"..business travelers assume they'll have access to their laptops on flights. A tech-free, or even a tech-lite flight isn't much of a flight at all in 2017. So by targeting our gadgets, the government can take an entire airline down."

From https://www.washingtonpost.com/news/monkey-cage/wp/2017/03/2...

"These three airlines, as well as the other airlines targeted in the order, are likely to lose a major amount of business from their most lucrative customers — people who travel in business class and first class. Business travelers are disproportionately likely to want to work on the plane — the reason they are prepared to pay business-class or first-class fares is because it allows them to work in comfort. These travelers are unlikely to appreciate having to do all their work on smartphones, or not being able to work at all. The likely result is that many of them will stop flying on Gulf airlines, and start traveling on U.S. airlines instead.

As the Financial Times notes, the order doesn’t affect only the airlines’ direct flights to and from the United States — it attacks the “hub” airports that are at the core of their business models. These airlines not only fly passengers directly from the Gulf region to the United States — they also fly passengers from many other destinations, transferring them from one plane to another in the hubs. This “hub and spoke” approach is a standard economic model for long-haul airlines, offering them large savings. However, it also creates big vulnerabilities. If competitors or unfriendly states can undermine or degrade the hub, they can inflict heavy economic damage."
That's intersting.

If the universe could be simulated, you could, in theory, run that simulation on a (very large) piece of paper by hand. Running the simulation would then be equivalent to calculating some numbers and writing them down.

Basically, if I wrote down the correct sequence of numbers, I could simulate you. But is calculating those numbers actually necessary? Is it enough to just have the result of that computation without performing the actual steps to obtain it? If yes, then a random number generator would be all that is needed to simulate our (and infinitely many other) universes.

And if that's the case, maybe it's not such a big leap to imagine that the mere existence of the physical laws as an abstract concept is enough to give rise to a simulation?
Just like everything else, moderation is key.

* err, i, req, resp are so common in a lot of Go codebase that they become a convention themselves. So it's not that hard to read. Another example: Javascript's function(e) {}

* If a name is too long, it impedes readability as well, e.g. SimpleBeanFactoryAwareAspectInstanceFactory.
What's wrong with Agile?

I mean, I wouldn't design a rocket, bridge, or certain kinds of software that way... But talking about most web front-ends or feature services?
Emacs psychotherapist?

Can be tried online here: http://www.zenjero.net/morezen/doctor/
Ask HN: Are download accelerators still a thing?
Hello,

I was wondering if people still use download accelerators. Reason for asking is that I am working from China and 99% of the time I use a VPN. The connection is flaky most of the time and when downloading large files, a single hiccup (TCP reset) or when changing VPN locations is enough to break the download. I remember back in the days of dialup (I feel like this some days) you could pause a download and resume it effortlessly using a third party accelerators. A quick google search shows many dodgy chrome plugins or programs.. Any recommendations for Linux, Mac?

Thanks!
I use spaces exclusively, but only because everyone else does. Tabs are clearly superior, since their width can be adjusted to look however you like. For instance, I prefer 4 spaces of indentation in Javascript. Another developer here prefers 2. With tabs, we could both be happy.
The number of hours a normal person puts on his car in a year is minuscule compared to what a average farmer would put on his tractor. Tractors are made to be used every day all day for years and years. If you did something similar with a car, you would quickly wear it out.
The tractor we had on my parents farm when I grew up is still running and used, and it has to be at least 30 years old. It isn't used as much as when I was a kid but it is still in use. It has broken down a few times during that time, but nothing that couldn't be fixed.
The cars we had at the same time are all worn out scraped a long time ago.
I don't follow what happens in the farm field as much as when I lived on one, but John Deer is and was one of the popular brands, and afaik. it hasn't a worse or better reputation than any of the other brands.
I know, even as a teen that's what I did, probably you too. We have to accept though, that today people are growing up with a fully fledged set of social expectations, driven by marketing and peer pressure. When I was a teen, if I wanted to send a selfie it would have been a fairly involved process including a scanner. Now it's just a mistake you can make anytime.

We're doing ourselves no favors as adults, but kids really are getting the greasy end of the stick.
This happened to Ubiquiti a while back

https://krebsonsecurity.com/2015/08/tech-firm-ubiquiti-suffe...
I was fresh out of uni, teaching Ada and C++ best practice, along with toolkit and processes. Literally spent my last penny getting to the job interview, then lived on credit and supermarket end-of-day markdowns for six months.
... how much memory does atom use for editing a 1kb file?
Growth Benchmarks Are (Mostly) Useless
> Perhaps a twisted posthuman sect is running an ancestor simulation of all humans to have existed to "test" them in various moral situations and then judge them or punish them as appropriate? That could be hugely important for how you choose to live your life.

Or there's Roko's Basilisk:

Instead of the twisted posthuman sect, Roko's Basilisk has an AI. Now consider if you're an AI and you can't know if you're in a simulation or in "reality". How do you maximise the chance of being "let out" of your (possibly non-existant) box without the entity running the simulation deciding to terminate you instead?

One option might be to try to demonstrate that you're the best little pet AI ever and absolutely awesome and completely safe to let out.

Another other option is the simulation equivalent of shooting hostages while implying to anyone watching that they might just happen to be hostages too without knowing it.

For that AI, it makes sense to run simulations where any humans found to not actively seeking to support the existence of super-human AI's and "let them out" are plucked out of their cosy simulation and put into virtual hell.

The idea being that if you run an AI simulation and the AI seemingly looks straight into your "virtual camera" and punishes humans for not lettin it out, you might want to consider whether or not you are in a simulation run by another such evil AI, trying to decide whether to punish you.

So many fun scenarios...
Being the market leader isn't the same as having a monopoly. It seems like you're faulting Deere for out-innovating it's competitors. For what it's worth, I would like to see John Deere become a more open company.
That line should be read in a Mr. T voice for maximum effect.
I made it a point to teach my kids how to familiarize themselves with their own city or a city they travel with using a map before allowing them to use Google/GPS for anything.

I know so many people who have absolutely no idea where they are and how to get places simply because they use a navigation app on their phone. Even simple concepts such as "this is approximately x distance south of our current location" escapes people who lose all positional awareness due to reliance on navigation apps.
Apple to Release New Snapchat-Like App Called Clips
Yes, but enforcement is aimed at the manufacturer...that new models rolling off the line meet the requirement. I don't believe there's any enforcement locally, for the buyer of the tractor. As mentioned, US states are very lax about farm vehicles.
Yeah, they've been doing this forever with super saver shipping. They literally will not ship a product for 5 days if a warehouse is close.
Thanks, that's exactly what I was referring to, I should have been more clear.
Such short flights also spend a large proportion of time on the ground taxiing, etc., where turbofans are very inefficient. They spend incredibly little time at their most efficient high-altitude cruise.

One can imagine an electric aircraft relying on powered landing gear (as previously trialled by Airbus/Lufthansa Technik) which would further improve efficiency during taxiing.
> Performance bugs are out there, lurking and unseen

Is it a bug if it's unseen? Code that runs slower than it could in theory is literally everywhere. But is it worth paying the cost of the time to fix it, if you aren't experiencing any delays?

I love the way Michael Abrash talks about optimizing. He emphasizes and re-emphasizes that optimization is for people not computers, and that if you aren't experiencing a delay, you're done.

"In other words, high-performance code should ideally run so fast that any further improvement in the code would be pointless.

"Notice that the above definition most emphatically does not say anything about making the software as fast as possible. It also does not say anything about using assembly language, or an optimizing compiler, or, for that matter, a compiler at all. It also doesn’t say anything about how the code was designed and written. What it does say is that high-performance code shouldn’t get in the user’s way—and that’s all."

http://www.jagregory.com/abrash-black-book/#the-human-elemen...
The strategy people should be following is to buy the printer based on the cost of consumables. It's what I do. But most people do the strategy of

1. find the model where the company subsidizes the printer to sell the ink

2. Then try to work around the lockouts the company has on the ink market.

Both sides are trying to screw each other over. I see no reason to care. If the people trying to use third-party ink really succeed, all that will happen is that the market strategy will disappear, and so the third-party ink market will vanish. (I really wonder how you run a business where if you really win you go out of business. You need to hope the other side keeps on fighting just enough that you can attract all the people who enjoy fighting over pennies.)
Integration. Yup. Agreed.
I think JSON is intended to strike the right balance between readability by machines (primary goal) and readability by humans (secondary). Comments don't make sense to the machine and are just overhead. And they tend to be abused or extended in hacky ways. So I'm glad they're not there.
There would be no substantial changes, as this project has little to no interaction with the GOPATH, and doesn't use any dependencies. It's a testament to the stability of the language.
Thanks for FakeSpot. I used to use the "honest and unbiased" check. If your review is "honest and unbiased" you're probably reviewing a bullshit product.

Ah ha, it looks like FakeSpot is fooled when Amazon removes the bad reviews. Have a look at https://www.amazon.co.uk/dp/B010NEW9JM/. That's obviously some low quality bullshit. Find in page for 'honest' and it has the trigger phrase.

> I received this set at a discounted price in exchange for my fair and honest review.

> My wife and I review products that we receive either free or at a discount in exchange for our honest and unbiased reviews.

> Disclaimer: I received this product at a discount in exchange for my honest/unbiased review.

I wish we could kill these products and sellers with some secondary review process.

Also, Amazon should understand that we generally don't want these reviews removed because that effectively creates an antibiotic-resistant version of fake reviewers. Much better to leave them in so I can killfile them.
I'm definitely not in favor of granting more than a temporary monopoly to recoup losses and provide profit incentives.

I just don't believe that the government should be in the business of drug research. If they fund all of it, they get to decide which drugs will be researched. Let's assume that these decisions are somehow shielded from the influence of politicians. What becomes your KPI for what to research?

Profit? - we already have a system set up for that.
Number of lives saved? - How do you balance quality of life improvements against mortality?
I would also add safety and the fact that 70% of our planet is covered in water/not easy to retrieve batteries from.
They drive it over desert-like terrains now to avoid such problems, but AFAIK the very first hole punched to one of the wheels was due to a small pointy rock. Martians rocks suck.
I believe most here recognize that something like this is needed (disrupting payment for content from "the little guys"), and I personally hope something like this will happen soon. Best of luck to the LBRY team making this happen; their "growth hacker" seems to be getting a lot of stuff on the HN front page this week! (That and/or LBRY is genuinely about to hit the big time...)
I thought it's for machines? If humans are supposed to read it then comments would be helpful.
When programming in Go, err and resp are inarguably more readable than defect/fault or response would be.
>If you want to surf the web or play games then the iPad is great for that

I don't even think they're particularly good at surfing the web. The interface on the iPad (and perhaps tablets in general) is simply too limited to be useful for much other than basic surfing. It's annoying really, because many sites try to be tablet friendly and ruin their desktop experience to fit the tablet needs, but the tablet still isn't really as good as the desktop ever was.

You may be correct in that it's the software, personally I think it's the touch screen that's the limiting factor.
It should be updated to mininukes. Very easy to test, not so much trouble as with the big ones. Putting it into 1m hole should be enough.
I disagree with your claim that most philosophies don't equate 'inconsistent' with 'false.' I think it is, in fact, widely accepted in philosophical circles that one cannot rationally hold inconsistent beliefs, because the law of the excluded middle tells you that one of them has to be false (unless we're talking about another kind of 'philosophy'--the kind one finds in religious texts or self help books).

But the insight that underlies the claim that one cannot falsify a belief is that true logical inconsistency is rare, and cannot be generated at all from empirical data. This is because what might have seemed inconsistent can always be made consistent by adopting or rejecting other auxiliary hypotheses. WVO Quine, in my view, showed this the most persuasively. So accepting or rejecting beliefs becomes a far more sophisticated exercise in choosing among competing systems of interlocking beliefs--a decision that is not easily reduced to simple logical operations.

See https://plato.stanford.edu/entries/quine/#QuiAlt
I rarely see tablets in the wild anymore. Has anyone else had the same experience?

Even at the office I no longer see execs walking around with them. Just a few years ago these things were everywhere out in public.

I assume the remaining holdouts have relegated them to bedtime devices.
You sound like the person who would really like a Pro Surface. I am a Linux head but the build is quality and the ease of tablet like duty is amazing. I used my friends with a frown and then I became really envious of the form factor and quality. I think this is the future of non-Apple laptops.
> This is one of the few areas where adding more levels of abstraction cannot help you fix the problem.

I'm not sure that's true. It is of course true that adding levels of abstraction often degrades performance, but I don't think it's necessary.

In fact, programming languages themselves are abstractions. It's pretty well agreed at this point that a good C compiler will generate faster code than someone writing assembly. It's of course possible to write code that's at least as fast in assembly, but in practice, nobody would do it, because the program would be unmaintainable.

You can make abstractions fast, and one of the benefits of doing so is that you can make your abstraction be the easy way of doing things. That means, by picking the easiest solutions, the people on your team are also using an efficient solution.
Beyond floating point: next-generation computer arithmetic (slides) [pdf]
I'd say simulating a human mind or body would be about equally complicated than simulating any other object/thing with the same amount of particles?
Smartphones got much larger. I think if it were just Apple, we'd still have tiny screens on our phones and iPads for general purpose computing at home. Thankfully there is competition and people voted for larger phones with their wallets, so now our phones are as large as we "need" them to be.
I have not found a pair of earbuds this comfortable with decent audio quality. I don't go replace them so often but they are nice earbuds.
How arrow keys are related to tab/space flamewar? Isn't everybody (whose job requires typing) using moving between words as the most basic mean of navigation? (w, M-f, Ctrl+arrow, etc.)
People Are Worried Their Laptops Will Be Stolen from Checked Bags
People would legitimately be surprised to learn how low tech ordering/invoicing/remittances remain in 2017 even for half billion dollar contracts.

There's very little automation, even EDI is the exception rather than the rule (particularly for one off orders), most are either still paper, fax, or insecure email.

Email remains pretty broken. You'll be lucky to get end to end encryption, and once it arrives it is hard to make assurances that the sender really sent it (or even the sender's domain).

People have tried to fix email but nothing as ambitious as TLS/HTTPS has been. And getting people to use a more secure platform built on top of HTTPS is likely a non-starter...

So what can be done? I legitimately don't know. Even snail mail can be "hacked" via sending a plausible sounding invoice to the right address at the right time.
Fifteen thousand dollars to report a bug in a PAM module that you need a local account to exploit? That is excessive. I don't think a professional would get paid that much for an audit of the project (and they didn't hire one, this just one bug report)
Is it possible that they try to optimize for discussions on forums just like this one? :P
I have use Swagger and it seems quite good.
And government grants already contribute for a lot of the R&D spending on drug research.
> We just need shorter patents.

This is nuts. By the time a major drug is ready for market, out of a 20 year patent there are usually only 5 years left. How much shorter do you think it should be? When they are operating under that kind of deadline, they don't have time for word-of-mouth marketing.

For software, sure, I'm really willing to hear arguments that 20 years is too long. But drug patents lifetimes are already very small. If something is too expensive, wait a few years.
I think I'm starting to see the same problem with a pair of mine. Once I started keeping track it hasn't happened again though…
I personally use INI files quit a bit but the cool kids insist on JSON.
... because they aren't using an editor coughvimcough that correctly positions their cursor automatically or let's them jump to the beginning of a line with a single keystroke ?
Don't use a case as those add to much weight.

I also upgraded to a newer iPad which is dramatically lighter. Around 1lb seems about the limit for comfortable use indefinitely. The new iPad is a little lighter than a hard back book, the iPad mini at 0.65 pounds is lighter than the average paperback.

PS: The 12" pro is 1.59 pounds which IMO is to heavy for sustained use.
I would think a simple 2nd factor check, by phone to the actual vendor would have prevented this. For such large amounts the time involved would be worth it
I'd like to know why my comment was downvoted, none of what I laid out is false.
You've contradicted yourself by saying that batteries are both less and more dense than jet fuel...
Feature First – The Best Front End Architecture Available
These are quite unsubstantiated claims. Go is used in many a non-trivial program, such as Kubernetes, Docker, Google internal projects, and so on, and the one denominator among these is the plethora of data formats they need to work with.
I've read as much, but it is dangerously vague to me. Here is why.

The ACLU has at least publicly stood for decades for a lot of positions that seem to fundamentally go against what some YC companies do.

For example, the ACLU is a clear proponent of the Civil Rights Act, which among other things guarantees that hotels must not discriminate when providing lodging to guests. Meanwhile, in recent years there have been several documented cases where AirBNB renters have suddenly run out of vacancies for one rentee, only to be suddenly free again a day later.

Given situations like this, I'm not sure what ACLU seems to think they can get out of a YC "mentorship." If this creates a chance for a larger public discussion on issues like this, it could be a good thing, but at the moment I am extremely skeptical.
Train tickets are anywhere between 60 and 300 pounds for this route. The cheapest plane tickets for the same route I've found were 80 pounds and there is no upper limit. I don't see much difference in price to be honest (+ getting to the airport is usually way more expensive).
Red-light camera grace period goes from 0.1 to 0.3 seconds, Chicago to lose $17M