skysight-inc/HackerNews huggingface dataset:
US houses have 220V.

A fact I was made well aware of when I wired the charging station in our garage. But you're not going to use the 110V charger that comes with the car on a dryer outlet. Parent's issue was having to wire a charging station. I'm saying that with a short commute, you can just use the mains charger that's in the trunk. And that's going to use the same socket that your desk lamp uses, not a dryer outlet.
"For one, Rockefeller grew rich quickly coz there wasn’t as much regulation as compared to what Bezos had to face."

Eh, Bezos got rich off of not having to pay state sales taxes while his brick and mortar competitors did.

But AWS makes up for that IMO.
My favorite is #5 from the top, where a user DMCA'd themselves to get yahoo to delete some website they created previously:

> I used to have a Geocities containing weird bad poetry I wrote when I was a teenager. I forgot about it, until years later I stumbled upon it again. I was embarrassed. I asked Yahoo to delete it. But I'd forgotten the password, and I'd used fake personal details (wrong date of birth) to create the account, and I couldn't remember what the fake info was, so they refused to delete it because I couldn't verify that I was who I said I was. What do I do? I hit on a solution. I decided to DMCA myself. I sent Yahoo a DMCA takedown request for my old Geocities, and straight away it disappeared. Mission accomplished.

Again, not negative at all, IMHO.
Nissan, Porsche, Audi, GM are all behemoths. Tesla, by comparison, is an underdog (hence the widespread emotional appeal), has framed themselves as being principally for "changing how humans use energy" rather than "just a little better than the next car", and has a CEO+chairman who says outlandish things... and delivers on some of them.

I would argue Musk gets press for nearly the same reasons Trump does. And it works.
MT2IQ Bot: [Automate]Binary Option Trading Bot on IQ Option
Dude, when you're in a hole, stop digging.
I'd say there isn't enough detail in this video to say. Munro said 30% net profit but I think he meant to say gross profit. Costings may have been based on like for like labor costs but in reality labor costs are highly variable with the California factory being one of the most expensive (one of the reasons why Toyota decided to stop manufacturing there). In addition it wasn't clear which exact model, sold in which country the 30% was based on and at what scale of manufacture. Taxes, grants, customer options and volumes change the pricing very significantly.

My take away is that at the right price point, cheap enough labor and sufficient volumes the Tesla model 3 could have gross margins of 30%. Whether it is saleable at that price point and volume is unknown but more likely than the i3 and Bolt.
Nordstrom.com
> Poor water supply. Citation needed

You cannot be serious. Why do you think Brown is proposing the Delta Tunnel project? Because the state basically lurches from water crisis to water crisis.

Need a citation? Call your governor.
Money. Sadly morals and convictions get quickly tossed out the window for money and power. It is China's problem, why should Western companies damage extremely profitable business relations? I agree with you that they should cut off such countries, but modern morality is a lot more fluid and money is king. Typical FYGM mentality.
Number of people claiming Employment Insurance falls to record low in Canada
Even HN is part of this phenomenon. Sometimes having a highly voted blog article complaining about poor customer experience or corporate malfeasance is the only way to get companies to respond.
AMZN stock is currently not legal tender and government agencies and the like are not required to accept it as a form of payment. Can't pay for food with AMZN shares.

The US dollar is backed by the "full faith and credit" of the US, which makes it "real" in some sense
I don't see how the wealth of one person, who's wealth is mainly shares in probably the most successful company in the US right now, indicates that we are in a bubble.
I'm not into the Hackintosh thing but there are definitely guides out there for some Thinkpads.
> won't allow this at the expense of the middle & lower classes. I keep saying this here: workers really need to see the surplus value they create instead of just their wages; the surplus value goes into the pocket of the shareholder and benefits absolutely nobody.

So, tax capital income at non-preferential rates and use the funds as part of the funding stream for UBI.

Alternatively, mandate labor cooperatives as the exclusive form of business entity granted artificial personality with liability protection, but UBI is probably an easier political sell and less risky.
In theory, If you are a CEO, and you knew your stock is in bubble, could you have leverage it and borrow as much as you could for low rate, say $200B or more for 2%, and use that buy whatever business when the bubble burst?
Not at all, there was a time where people thought Gates was a worthless little shit who made too much money.
I see a growing interest in ETC, but I do not find any rational reason - except some people considering it could replace ETH in case the chains grows too big.

But if shit hits the fan, ETH could decide to do something serious itself.

I just don't understand it.
Observing carbon cycle–climate feedbacks from space
You would think with internal data that internal tools would be better, but time and time again they're not.
You seem to be implicitly assuming that the only acceptable level of CO2 in the atmosphere above whatever would be there without human activity is near zero.

The mistake of the past was not that we put CO2 into the atmosphere by using cheap fuels like coal. The mistake was that we did not treat that as a temporary bootstrap phase to build up to where we could switch to cleaner sources.
All-electric drivetrains, $5000 software-enabled options, over-the-air service, vertical integration and direct sales are v rare in the auto industry too. Reasoning-by-analogy does not always hold up when comparing tech newcomers to incumbent players.
Can anyone elaborate on this? I assume Amazon could trivially build an internal CCC, and I'm at a loss how their internal tools would be less accurate than a 3rd-party scraper...
That is true. It's like the Jurassic World movie that just came out. The dinosaurs are in danger of dying because the island is about to explode. Some characters are trying to figure out a way to save the dinosaurs, but, to paraphrase the original Jurassic Park, they're so preoccupied with how to do it they're not even stopping to think whether they should.

It's also very likely that the issues with this fall into the category of a "wicked problem".
This makes it worse. Reading up on the more high profile poisoning’s he has been implicated in, he is downright scary.
Because it suits their workflow?

Because it adheres to the company's IT policies?

Because they like to review results instead of relying on some black box automation?

Because they like to work in-house and not on someone else's cloud?

Just off the top of my head. I'm sure there are a thousand other reasons.
The last big project failure I had was due to the company selecting the right technology for the problem, but the wrong one for the company culture. The company's engineers were young and viewed themselves as a startup, which means they like to use bleeding-edge solutions. The company themselves were an old enterprise with well-worn problems, and picked exactly the technology they should have. Unfortunately a newer, sexier product was part of the selection process, and the engineering staff didn't like that management picked the "wrong" one. They stonewalled the project until it failed, management complained about how inflexible the product was, and they switched to the other, newer, sexier product (I work for a vendor-agnostic consulting organization, so I stayed on for both products) and we ended up developing custom solutions for every problem we encountered with the new sexy product. Solutions that were solved out of the box with the older and more mature product.

It was $110m down the drain on the first product, then another $80m to purchase the second, plus the cost of my consulting time to create custom solutions.

People and politics are the hardest part of any technology implementation. Any article I see blaming SAP, IBM, Oracle, HP, etc of botching a multi-million dollar public project, I always have to wonder: who went wrong... not what went wrong.
Note that blockchains are not distributed databases. They're document timestamping services.
>But once all the customers have either bought or rejected you're back to brass tacks, the core business is missing growth/margin targets.

What exactly is your suggestion at their market penetration? They can't manufacture more demand for CPUs out of thin air. The logical next step is exactly what they're doing - find complimentary products to sell into your existing installed base.
Why would anybody use instapaper over pocket?
Corporations, at least the for-profit ones, are principally amoral legal constructs, which I find all the more terrifying than the notion that they could be evil.

Insomuch as they can be anthropomorphized they don't even truly care about whatever their 'customers' are or their well-being, so long as the bottom line is optimized across time.

The rank and file humans that make up the functions of a corporation might be moral and may influence the corporation to make 'irrational' choices due to human morality, but that is not the rule.
If all those new states go blue, however, republicans lose out on the two extra electoral votes per state. I don’t think republicans really like this either, even SoCal is in the process of going blue in the near term.
No, they did not. I performed the experiment myself and know what I saw, thank you. If this is a question of my "device" always being above some maximum line length, then clearly this is not suiting the size of the device. It is suiting some guidelines, not the user's device.
This comes up because there's a secret disagreement about the definition of the term "unit test". Some people see units tests as per method tests. If you have 20 methods in a class, all 20 methods get unit tested.

Others see units as the smallest bits of irreducible business or tech knowledge. So if you have 20 methods in a class, you test the 5 public ones, or the methods that compose a useful "unit". This is the definition used by the original test driven development book.

Many of the unit test advocates I've read use the second definition because testing private functionality incurs all the problems the article points out.

Using the second definition leads to the testing pyramid, which is a thing of beauty. Unit tests have a few mocks to the unit's partners. The unit tests test for the correctness of the unit. The integration tests are one level up in terms of code coverage in a single test, and they ensure that the mocks used in the unit tests are correct. The e2e tests are then used to test that the app starts correctly and is configured correctly. The obvious happy and sad path scenarios are also tested to ensure that dependencies are functioning correctly (in a complex application there can be hundred of "obvious" e2e tests).

In my career, every single instance I've seen about someone complaining about writing unit tests, they're either using the first definition I mentioned above, or their code is not composed correctly. I'm sure exceptions exist somewhere, but I've yet to see them.

Using integration tests like the article describes leads to a host of problems. For starters, it's extremely difficult to get complete code coverage without huge or redundant test suites. These large test suites are harder to read and take longer to write because more complex testing requires more complex mocking. Regression is also more likely during large refactors since you haven't clearly enumerated expected behavior.
>And non-PDF/A documents can have a laundry list of odd closed features that may or may not be supported by various readers.

Are there test suit for PDF/A compatibility?
I once spent an evening reading and watching wise people on the internet to find out where is difference between unit tests and integration tests. It's really fuzzy and depends on a source.

There's no agreement what is "unit". Few classes interacting with each other could still be a unit.

I didn't find any strict definition which would be useful in practice. I just write tests and guess they are mostly integration tests, some end-to-end tests and a few unit tests.
Great analysis, thanks.

Your points make me wonder... If you're running a small successful and independent sass, that respects its users, and you want to move on. What do you do, if your only options are selling to a large company that won't respect your users, or shutting down? Is it plausible to find a buyer that will honestly maintain a user-respecting ethos? If not, then it seems that there are no good choices for a founder in this position.
^ You should plug your books here :)
Almost a third of the codebase is written in Haskell, that's really nice to hear ;)
>>Absolutely incorrect. The US has deployed laser-based weapons since the early 2000s. Used for missile defense mostly. As you can imagine, they perform well in the vacuum of space.

Can you provide an example of a laser weapon(s) that can actually shoot down ballistic missile or cruise missile in real life scenario?
The best that current laser weapons can do is to shoot down drones from relatively close distance. [1]

Another issue with laser weapons in the space is powering them and maintaining them.

[1] https://spectrum.ieee.org/tech-talk/aerospace/military/no-qu...
Thanks!

Scale > Great question. We think we can do it. We have a great offshore team with affordable scaling, also we just implemented our first machine learning module, and plan to build on this to help speed up and improve accuracy.

False flags on detecting outbreaks > No we have not. Mainly becasue we don't make pronouncements such as "Restaurant X made people sick and they have a problem". Mainly because foodborne illness can be complicated. It may have been a supplier problem, it may be something related to that restaurant but not that restaurants fault. What our site does make clear is that 120 people reported sick after eating at Restaurant X, and at that point both the restaurant and public health ought to examine the situation immediately. It's up to public health agencies, the epidemiologists etc. to make the official judgement.

False flags on predicting food safety issues (potential precursor to outbreaks) > So far our goal is to partner with companies that exhibit high risk and the health agencies that monitor them. So we have not made any public predictions on that, except I think once on Chipotle, which was correct, but I'm not certain we would do that often. This will probably evolve, and it's something we need to be careful on.
Shared vehicles don't need to be parked between rides, and sit idle much less between rides. The former doesn't really impact anything unless shared vehicles are common enough to impact city design. The latter doesn't impact anything unless there is a marginal capital improvement to the vehicle that only pays off if the duty cycle ratio is high enough. I don't know of any such technology off hand. Bypass oil filters with full-synthetic lubricant, perhaps? Season-specific tires? Special paint job that reflects all non-visible light? Hybrid with regenerative brakes? They all seem to me like long shots at producing an actual effect on emissions under real-world driving conditions.

If anything, I'd think that shared vehicles could increase emissions, because the vehicle has to travel between the site of one ride's end and the next ride's beginning. That travel does not accomplish a goal of getting a rider from their origin to their destination. The inter-ride travel is minimized in a denser city, but those cities can make mass transit pay off more easily, for the same reason. In a dense city, the strongly overlapping trips can be coerced onto common routes with fixed stops. So the shared vehicle probably does not save emissions unless the trips of multiple passengers can be easily combined. And if they can, just put a bus route there.
That's a bit of a tautology, isn't it?
Did the research account for the leak resulted from fracking? This is good news regardless.
Years of saved articles.
> "According to people who have gone through it, lacking an audience is one of the most demoralizing things you can experience online."

Um, what about bullying, doxxing, hacking, identify theft, etc?
But without those investments those islands are hardly definsible, too far from hainan to be easily resupplied during hostilities and no intrinsic production capabilities in their own. Even with further military try investments, they are still probably strategically useless.
India's largest cryptoponzi scheme might hv been the reason behind the cryptoban
The old saying "time is money" definitely important in manufacturing
Long live elinks!

Seriously though, browsh is a neat toy, but having to depend on X and firefox is a nonstarter for many use cases. For example, I use a mailcap that sends html emails to elinks for rendering in mutt. Or, I am frequently on systems with no X server running, and/or no firefox installation.
At least this article proposes a possible solution: Airlines must have their own training schools to supply the flight hour requirements.

In the end it comes down to something similar as many industries, which can see by fixing the title: The US is facing a serious shortage of airline pilots willing to be underpaid.
Databases aren't simply persistence layers, they also encompass querying which implicitly couples your application to them. The simplest query model is the key value store, which itself is a form of coupling, but it's quite limited in the operations it can support with high performance.

GraphQL is similarly not a transport layer. The transport layer for GraphQL is HTTP. GraphQL is a query language. To use it with a particular database you need to transpile GraphQL to the query language supported by your database. Usually this is done in an unprincipled manner with ad-hoc code. In other cases it's done more globally and formally, as I assume Hasura is trying to do.
The dominant costs for USING the bus is the wasted time, lost convenience and lost comfort. And it's the total cost that people consider, not just the fare.

You wouldn't need inspectors to make sure fares are paid. A lot of trains already don't have them.

But eventually it will be very easy to tell electronically if someone boarding a bus has paid the fare. You could even keep track of who doesn't and collect a fine later.
> Kill cords are a thing (on powerboats, particularly) and the original metaphor is fine.

The expression "pulling the plug" is idiomatic English (at least in the North American variety). "Pulled the kill chord" may be an accurate metaphor, but the audience is far less likely to be familiar with the reference.
Or the 1%. Something Rich people tend to forget is that the system of law and order we have now prevents armed uprising of the lower classes, which has a history of cropping up during very hard economic times.

Not advocating, and I doubt I'd be one of them holding a pitchfork, but it is something to keep in mind.
Those are all code smells.

Unit tests should only change if you also change public apis (I have one exception to this rule, which is very complex private methods which could easily be their own unit).

Then if you're changing the tests, you're also refactoring everything else.

>For example if you use mocks to invocation counts, refactorings can be even more costly.

These should only be costly if you're over-testing. You shouldn't be mocking and asserting calls on every call within a system under test, you should be checking the ones that matter.

Correctly written unit tests are a refactoring aid.
Yeah, it's pretty confusing. I'm pretty sure the rules for performing covers are different from the rules for releasing recordings of covers, too. I think performance rights are more permissive.
>AFAICT most of the stuff offered on UK's prime day is pretty crap.

Their office 365 subs are discounted a fair bit (<50 for the 5 PC install one). Plus there is a buy 80 quid voucher get 10 free thing
didn't say i find anything all that interesting about Ethereum Classic. didn't jump in with the intention of promoting or defending a position either, but both responses following my post seem eager to shove things down my throat, not sure why.

but if you want to know what i find interesting far as ethereum apps go, i can list those: Augur, MakerDAO, DAOStack. those are examples of efforts that regardless of what goes down would not have been in vain and have already made significant contributions to the better understanding of things in their respective domains.

ETC, can't say so much about, they seem a little hush hush, but they recently did launch a complementary chain dedicated to smart contract security audits for both ETH and ETC (but paid for from their treasury), and i also think the proposed ERC-223 (by an ETC member) makes a lot of sense and personally hope that it does get approved to substitute the current ERC-20. overall, i just wouldn't disregard the efforts made.

and i think i'm more or less keeping my tone civil, no? too much to ask for the same? (directed at the person below, that)
2018 Hackaday now open for submissions
Did you underestimate the complexity? Did you limit scope to not go insane? What is the typical size/complexity of a typical using company? Could LIDL have used your software for 500M€, could they have even implemented their completely own solution for that money? Thanks!
Yes, and likely in practice too, but in practice you would probably also run afoul of insider-trading laws.
Wonder how that flies with regulatory authorities? Some places have rules around pricing behaviour and Amazon seems to be sailing close to the wind.
http://www.comcom.govt.nz/fair-trading/fair-trading-act-fact...
To completely and hyperbolically torture this metaphor, as long as you whip the galley slaves to row fast enough so that you can jump to safety on "Short Term Stock Gain" Island, you'll be fine.
Ask HN: Google request permission for using likeness of celebrity in Doodle?
Does Google request permission for using the likeness of a celebrity in a Doodle?

I'm curious to know because they incorporate the brand of the celebrity into the Google logo. How do they know if the person they are using would give permission to be associated with the Google logo? This looks like an intellectual property problem to me. For instance, I doubt that Google will let me use their logo in association with other brands. Any thoughts?
That's really promising. I really hope we will see an open video format as standard.
Because, at least while instapaper was still maintained, it really had a focus on empowering the serious reader and getting out of their way. While pocket seems to be more interested in adding social media elements and generally being a "platform."
These days? Hasn't that always been the case? It's just that when we were kids etc. we had more free time.

The Nintendo Switch has an excellent selection of more 'casual' games. Super Mario Odyssey reminded me a lot of the games I played as a kid.
The Right Brain Revolution in India
This seems very unlike Pai... Does he not have much to gain personally from the merger (yet)? I have a hard time believing that now he's starting to regulate things, after the last few months.
Nah, he says the only worthwhile end for his money would be space travel. The man who pays his employees so little that 40% of them are subsidised by the taxpayers (food stamps). The man who gained 50 billion dollars in less than a year.

This system simply does not work.