skysight-inc/HackerNews huggingface dataset:
>China for instance has banned shipping all lithium ion batteries via China Post

Fedex and UPS both treat lithium ion batteries as dangerous goods, with the exception of batteries shipped "with equipment" i.e. shipping a laptop with its battery, without the battery being plugged in.

How does that make sense? If item A is dangerous, how does putting item B in the same shipment suddenly make item A not dangerous? Is the non-powered-on laptop capable of putting out fires or something?

The Chinese rule is extremely annoying, but I'm forced to admit that at least it makes logical sense.

[0] https://www.ups.com/content/ca/en/resources/ship/packaging/g...

[1] http://www.labelmaster.com/fedex-battery-shipping-policy
Just out of curiosity, what kinds of things can a startup do to avoid being copied and killed out of the gate by Facebook? Poison pill? Patent?
Sadly, my appraisal came in "magically" at list price, so I had to put down a lot more at close. It was 3 years ago so we've done well regardless. I think you are right, I'm pretty sure the appraisal is just a guess. Most people I know had the appraisal come in way high, so maybe I got the one honest person.
Robots teach other robots
The minimum amount of work.
The rest of the world should ban american citizens from carrying laptops on US incoming flights.

Oh, and also charge them the equivalency of the ESTA fee.
How about a tax credit for lower power consumption, instead of subsidizing any one path for achieving it?
I've been a Vim user for quite some time. I've taken breaks and used Sublime, and most recently Atom. (with vim-mode-plus). A few years back I took a couple of months and dedicated myself to only using Emacs. I wanted to just prove to myself that I could do it. I have to say, it's one heck of an editor/environment/way-of-life. I can't see myself making the jump, but I can see why many make it. Just like Vim, it's an investment. You don't just get down to work easily. And the config files you start with (even if you start with some "make your life easy" packages) probably aren't the same ones you'll have in 5 years. It's meant to evolve. Who knows where Webstorm will be in 5 more years... I wish the best for everyone, cause competition in this area provides lots of innovation... but I am pretty certain Vim and Emacs will still exist.
Just because you don't make it in university doesn't mean you can't do some amazing things.

I failed my oral exams in the Math Ph. D. Instead of retaking them, I left with a Master's, made a lot of money and started my own company which now has over 4 million users.

Also, forget about the peak, if you build value for yourself, you'll have more every year. If you're building value for others and earning money, then invest it somewhere that makes a difference.
I never understood how 'SoC manufacture X doesn't release updates for that SoC' translates into 'we can't update/support this device anymore

Apple uses some third party chips but they haven't had that problem. Currently, iOS 10.3 supports the iPhone 5 - released in 2012. I suspect that iOS 11 when it comes out in September will keep support for all 64 bit iPhones. That would mean the iPhone 5s introduced in 2013 will be supported until September 2018.
Yeah I see the problem as double-edged:

1) Teenage users, their bread and butter, are leaking out to Instagram

2) Older users, their growth market, are being "stolen" by the various messaging apps that they're already on (plus Instagram)

So now they have to simultaneously fend off Instagram draining their primary userbase, while also competing with all the popular messenger apps cloning their main product feature.

The latter is going to be just as difficult as the former. Overseas, WhatsApp (Europe), and WeChat and Line (Asia) are going to seize whatever int'l growth they were hoping to grab. In the US, chances are that if Stories catches-on with the older crowd, it'll be through either Instagram or the various messenger apps they're already on.

During the IPO roadshow, SNAP was trying to position itself as a media/entertainment company, but media companies will follow the audience, and it's hard to see them sticking it out with SNAP if viewership numbers falter.

Hard to see how they claw their way out of this. The comparisons to FB are poor IMO because they at least strong MAU growth going for it and no real viable competitors with an alternative product. Even the comparisons to Twitter are flawed. The doubly whammy of decline growth + decline revenue per user is creating the perfect storm for SNAP.
I would go with CyanoDB just off the top of this list.

http://www.ranker.com/list/the-top-10-oldest-living-things-o...

But if there were two similar products, one named Roach, I would go with the other without much thought. The name is horrible. As long as they are the king of whatever they do, they can call themselves whatever they want, but handing competitors an automatic naming advantage did not have to be the case.
I'm surprised the article doesn't also mention the theme gallery here: https://pawelbx.github.io/emacs-theme-gallery/ I actually used it yesterday and am currently using the heroku theme(coming from zenburn for a few years).
The properties in GP's post are not likely to be sold at auction - very few homes are sold that way in the US.

The 'bidding war' referred to is a standard listing/sale that receives multiple offers. If the interest is high enough, the seller may counter all of the offers and reveal the highest price, forcing the bidding.
We're paying ~$19.5k for solar panels + installation. After the tax credit, that's $13,650 in cost. We spend ~$960/yr on electricity right now. The solar installation will cover all those needs, plus pay us $711/yr. So we're saving $1,671/yr. Pay off is thus ~8 years. The panels are good for 25 years. That's $28k in savings by the time the warranty runs out. They'll probably last longer.

The batteries are a different matter. I believe net meter makes them irrelevant, so the equation stays the same for most "sane" people. For me, I want to be off-grid, so I'm happy to pay a premium for batteries. That said, SGIP makes them roughly free if we get lucky. We'll see what happens.
7 Highly Performing Social Media Advertising Platforms for Business Advertising
Do you have personal experience with in-the-ear hearing aids? I'm curious how they avoid feedback. (Also, falling out.)
DHS has already made it clear that you don't want to enter the USA with any electronics if you value your privacy so perhaps this is a blessing in disguise.

It reminds me of the pathetic pack of attorneys general who shutdown Backpage and Craigslist's hookup page, simply making it harder to find and intervene in human trafficking. DHS is simply making it harder for them to find bad guys. As if that were their goal.
Even your own link states that Canada has implemented no such policy.
Snapchat Co-Founders Just Lost Over $1B Each
Hardly impossible, just prefix the expression with `[` and suffix with `]` and the warning is gone. Or with `(` and `,)` (creating a tuple of arity one).
The real definition of distributed systems is endlessly challenging as you are always balancing trade-offs.

The CAP theorem still holds, so we pick which 2 out 3 to be strength​s and where to compromise as little as possible. It's a guaranteed 87.3% effective hair loss formula. I find Quiet Riot helps.
Can this do PHP and Javascript / Web Development?

Objective C? Swift?
Still only for internal projects so far, but I'm getting closer to a commercial product release. (I've actually just finished a night of hacking in Xojo, and added some charting features to the project schedule estimate tool I've been making... unfortunately, the charts are forecasting that I'm 3 months behind schedule :) )
I love their graph, with the solar roof being the only "negative-cost" roof. Really drives the (sales) point home.
They explain it pretty clearly on their site.
FTA: "1. Let’s start with this basic fact: Trump’s Comey firing is exactly what you think it is."

Doesn't this first point eliminate the need for further reading of the article, then?

What a '1984' moment the Comey firing has been: people who disliked Comey, including those who called for his resignation, suddenly are outraged that he was fired. And pointing out this history is flat-out wrongthink.

No clearer example of this -- the proletariat not getting the memo about what was acceptable or not -- was provided on Colbert's show last night: https://www.washingtonpost.com/lifestyle/style/cheer-comeys-...
The likelihood of shorting exposed terminals on a lithium ion battery is lower if those terminals are enclosed in a device.

The likelihood of crushing a lithium ion battery is lower if the battery is enclosed in a device.
How does this compare to nvd3 etc?
That question could be asked during online check-in, especially if the passenger indicates they are traveling without hold luggage. There is already an online check-in question for hazardous materials.
These days I hear Costco has a good reputation for good prices on hearing aids. There are also companies marketing "alternatives" to hearing aids, which I'm guessing is partly to avoid regulation.

https://www.nytimes.com/2016/07/19/health/hearing-aid-altern...
Non-US flight still allow laptop. In every airport terminal with a mix of US and non-US flights security is done at the same point. Additional rule means isolating those flights.

Isolation is already done in big airport for similar reason (eg: EU flights vs Non-EU flights), some airport have the capability of doing security check at boarding gates (eg: Schiphol) But that's would still require between a little and a ton of problem depending on the airports.

Unlike a bottle of water, you won't throw away your laptop. The in-person check-in is there to avoid the situation of being rejected at security.
Snap is getting crushed after falling short of Wall Street’s expectations
When irrational actors are the ones making decisions, knowing facts won't necessarily help you and may end up coming back to bite you. As they say, the world around you can stay irrational longer than you can stay sane.
There is absolutely no way I'm parting with my laptop in an airport. If that's going to be the next line then flying will cease to be an option for me.
On long-haul flights, checked luggage is placed in containers that are built to withstand bombs.
Whoever said that building a sucessful business "should be easy"? The two examples I gave John Gruber and Ben Thompson are both one man shops who built businesses based on writing articles that people wanted to read and building a reputation.

In Gruber's case, he built a reputation strong enough that he routinesly gets Apple's SVPs to come on his podcast. He doesn't depend on an ad network. He sells ads directly - one per week.

Ben Thompson built a strong enough following just based on reputation to get over 2000 people to pay him $100 a year for a newsletter.

How "risky" is it to start a blog on the side until you get enough readership to figure out a business model?
Illinois is a common-law jursidiction. Any judge would laugh you out of court if you claimed an off-hand comment on valuation was an appraisal.
IOW, the lifetime of the house. Not sure what they're getting at.
That might end up being an enterprise feature though.
Ohhhh snap! I'll update the article tonight!
>unenforceable

What part do you think would be unenforceable?
And the change is "not meaningful" because it includes a one time charge for stock compensation issued as part of the IPO.
Not sure why you got downvoted. But the point is that if you weren't planning on solar in the first place, the long-term economics of a Tesla roof look even better. Your 30-year net cost is $12K + maintenance on the standard roof you got quoted on. Tesla is saying their 30-year net cost is -$50K or -$100K or whatever, to be paid to you in what is essentially credits against your electricity bill.

In either case, you can finance the costs. Given how Solar City usually operates, I imagine they'll roll the costs in a lease or power purchase agreement where you send them a check each month for an amount less than your current electricity bill.

I'm not saying it's the best deal around. You could come away with an even better net total by re-roofing and putting on traditional solar panels. But then you've got an uglier roof, if you care about that sort of thing -- and there are definitely people who do.
Could it be that the latest generation of laptop bombs are undetectable, and these bombs could be taken on board a USA bound flight from European airports?

Yes, per Occam's razor. Sorry to discount your conspiracy theories though.
Energy prices have been mostly flat relative to inflation for 40 years, and there's a reasonably good chance that they will start dropping appreciably (at least during peak daylight hours) as solar continues to make major inroads.
Why a small roof?
We built relay computers in HS in the early 60's. There was this street in London: Lisle St, in the Soho district. One could buy surplus PO 3000 multi-pole relays there real cheap - up to 10 pole IIRC. These were the relay type used on the Post Office Telephone exchanges, pre-electronics (up to #5?). In 66 I also discovered a recently published book by Russian authors: "Introduction to the Theory of Finite Automata" by Trachtenbrot and Kobrinskji https://g.co/kgs/EqZYC2 which taught me the formal of the topic using relay logic. I believe the robustness of Russian space tech was due to use of relays as well as tubes. That book gave me my career, effectively; turned out to be equally appropriate for electronic logic circuitry.
I fly 10-12x / year between Europe and US. I don't find the security checks particularly lengthy nor cumbersome. (I have TSA pre-check for the way to the EU and on the way back, PRG, ZRH, AMS, and CDG are all fairly reasonable security wait wise.)
ah - but when you "enter" the US you only have your carry on luggage, before you hit the baggage carousel, how are they going to make you unlock your laptop for them when it's not yet in your possession?
No, but they seriously considered it, and said they were basing their consideration on information that had been shared with them. Which would suggest it was not an attempt to impose a Muslim ban.
A friend was looking at houses via Redfin. The agent told him on day 1 that he should expect to spend 10%–20% more than the online quote, as a rule of thumb.

Since then I've taken "Zestimates" with ~65,000 to 100,000 grains of salt.
Same statement was made about Japan in the 1980s, and look at them now.

Then again, at the same time Reagan's OMB director Darman famously said, "Potato chips or silicon chips, who cares? They're both just chips". Even then I thought he was wrong.
Rather interesting that there's a triple split: Harvard starts off with C, MIT with Python and Stanford with Java(script)..
Holy shit, these comments.

"My cars will make $24,000 per year" (in a comment justifying spending a quarter million dollars on Tesla products)

"People don't understand how we can spend half their monthly income on one organic drink" (in a completely unrelated comment)

"if I buy two Teslas my savings triple!" (another person justifying Tesla's marketing with some creative math)

Sounds like something you'd hear from protesters mocking the 1% but no just another day here on HN.

I've been here (in various incarnations) long enough to say this, so could we try to be just a little bit more self aware? 24k/yr is nearly double the minimum wage. A quarter million dollars is a truly immense amount of money. And buying two cars is a dream for most of America, ignoring the fact that those are two Teslas, which are roughly $70k cars (and no, you can't currently buy any $35k Teslas no matter what Musk's Twitter says.)
Even if that really happens: there's plenty of ways you can spin this into an advantage, long term.

An event like this closes some doors, but will also open others.

In any case: good luck with the exams! You can do a lot of exam preparation in a week! Don't give up before it's over :-)
You assume that the corporations were wanting growth within the country, which they don't care about. The corporations wanted a return on investment, which they have achieved.
I can only imagine being frightened by this if I held a large stake in Google. Do you have a different reason?
The original comment speculating that this move is Trump distracting from the Comey news is pretty damn nutty.
3D Printing with Plasma
Where it will receive the same close scrutiny to TOSs on websites are.
Sure.
It varies a bit depending on the airline and airport that you depart from, but this is how it looks like:

1. ESTA application online form before the actual travel for those who don't need a Visa (most EU countries e.g.) with extensive range of questions, even about parents, social media profiles (still optional) and so on. You do only need to apply again once every few years, but before a flight you need to update the flight information (afaik).

2. A 5 minute "interview" at check in/baggage drop (or otherwise at the gate) in which a (contracted) security personnel asks you about your trip while you wait in line. You might hear comments such as "oh so you are traveling alone to place XY? That is uncommon...". "Where do you live?" "Do you speak language XYZ?". Some airlines don't do this interview, but United does it always and I assume all U.S. airlines do it.

3. Additional security screening at the gate for selected people (apparently by random choice), can go quick, or might take longer. They take an additional look in your luggage. Some airports even have a second official security check & and scanner infrastructure near the designated gates for U.S. flights (I have experienced this only once though, in Munich. Not sure how common it is).

4. After arrival, immigration procedure (even for those who only want to transit). The waiting time for non-residents is usually 1-2 hours until you reach the booth. The immigration officer asks a couple of questions (or not). If you are suspicious, you are being send to 2nd check (I can't speak about that one, hasn't happened to me - but that's the stuff we often read about in the media).

5. Customs. Some people are chosen for detailed luggage checks. The decisions seems to be made by the immigration officer (or his/her computer system), because it is based on the type of signs they write on your customs card.

If you are transiting, 6: Rechecking the luggage, a new security check to reach the gate. In most countries, there is a dedicated security check and logistics infrastructure for transiting passengers, which makes the process simple. On U.S. airports, you start again on square 1, as if you would just begin your travel, which means you might have to go to another terminal and queue up again for security. If you don't have airline frequent flyer status and thus access to the fast lane, this can take another hour (depending on the time of the day, airport and the number of TSA staff available). A 2 1/2 hour connection in EWR gets extremely tight for example, but airlines keep selling tickets with even shorter connecting times.

Overall, it is quite an ordeal. And I don't even belong to an ethnical or religious group who might be specifically targeted. For them, the stress level must be even higher.
How much money do they really save when you include initial capital costs - six figures for four to six lanes - and maintenance/updates?

What's the projected lifetime?

I'm also sure we're going to have even faster RFID readers within a decade at the outside, so I'm wondering what the savings will be over that period.

I suspect speed and throughput is at least as much of a motivation as expense.
Haha, funny thing is conspiracy theorists have been saying there is a planet 9 for long before all of this.
totally unrelated, but I'm doubtful that pressure changes have any impact whatsoever on li-ion batteries. The materials in a battery expand by 13.4% between discharged and charged, and the PTC (safety disconnect) goes off at 145 psi. The can itself takes thousands of psi before it blows. The minor pressure difference at altitude shouldn't be able to distort the can enough to mess with the materials inside.

This doesn't hold for things like pouch cells, which can and have been affected by altitude changes (leading to problems in airplane batteries). Standardized cylindrical cells like those in a laptop should be fine.
Corrected (thanks for being kind...)
How can I contribute this sexy photo I took of RMS many years ago, in that fleeting moment between being asked a joke (to which his questioning smile replied "I don't know, why do you wrap gerbils in duct tape?") and hearing the punchline.

http://donhopkins.com/home/catalog/images/jsol-rms-gerbil-li...
I don't really think "innovation" can be defined as replicating manufacturing processes developed 100 years ago. This is simply playing catch up in terms of manufacturing processes and quality control.
A billion here, a billion there, pretty soon you're talking real money.
and submit them to TSA-style questioning on landing.
The actual Illinois law covers real estate appraisal, not other kinds (ie, cars). However, it defines an appraisal as the act of forming an opinion about the value of a piece of real estate. It then forbids doing it without a license. Not doing it for money, not communicating your opinion, but forming it. There are explicit exceptions for realtors, banks involved in real estate lending, and for private use (ie, appaising your own house).

So I would say Zestimates are clearly illegal according to the plain text of the law. However, I suspect this is one of those laws where a judge would find a convoluted reading to support his or her gut opinion that finding Zestimates illegal is ridiculous. I think you could also make a pretty reasonable claim that the freedom to form an opinion about the value of something is an unenumerated, but nonetheless inalienable right, and therefore the law is unconstitutional.

Not a lawyer.
Even without revealing the highest offer, the offers themselves constitute a silent auction, which is where a lot of the information asymmetry comes from. If I could speak to each of the other people and tell them I had X amount to spend we could all agree to walk away or make offers without going through a bunch of hassle and (for 32 of 33 offerers) heartbreak. The process really highlights to me how broken certain types of 'market' can be when there's a monopoly of information.
The package manager shouldn't matter in the least for a 100 level CS class as you're supposed to be learning the fundamentals instead of just bringing in left-pad, and the like. I don't think I used an external package in any of my CS classes (in any language) until maybe senior year. We used C, Java, and Python for various classes throughout my time. Oh, and one class used PHP.

What I wonder though is, what is the goal of the current class? If it's about teaching OO fundamentals, I can't imagine JS would be a better replacement for Java than Python. If you're just trying to teach concepts, sure JS is fine, but it just seems like Python would be all around better for instruction than JS.
The Programmer Ads | Put Ads on your site based on programming
WOW a guy/organization accused of being a sexist/bigoted decides to market software as “SEXY”!

Really!?

do you want your 12 yo daughter picking her text editor because it’s “SEXY”!
What they want is to be able to scan/image your hard drive.

Not every passenger, but as you've mentioned, it's trivial for people to get at the contents of your luggage and for TSA agents with the keys to your TSA luggage locks it's even easier still.

If this ban is ever extended I will likely never consider flying to the states. I can only hope it doesn't infect the rest of the airline industry like the water and liquid theatre did.
I would guess the former since he got caught.