skysight-inc/HackerNews huggingface dataset:
Phone batteries make their own tradeoffs, they want to minimize weight and then make you buy a new phone.

Marine li-ion batteries advertise 2000 full cycles (80% depth of discharge). Electric cars have 10 year battery warranties. Etc.
This is wonderful, I love it!

Interestingly [1], this echoes "2e0" followed by "3" in hhvm-3.7.0, but "3" followed by "4" in hhvm-3.6.0.

[1] http://3v4l.org/sJhP8
> They are even obligated to do so.

You might be pleased to hear this is actually not the case :)

https://skeptics.stackexchange.com/questions/8146/are-u-s-co...

As far as businesses solving all issues for humanity, Facebook is (again fortunately) quite a strawman for that argument.
PHP's type coercion is nothing like I have
every seen in any other language. Its
horrendously messy, ugly and completely
inexcusable.

Is it objectively worse than type coercion in JavaScript?
All of this I can understand, but why then octal numbers are not compared the same way is beyond me?

var_dump(0xA == '0xA'); // bool(true)
var_dump(012 == '012'); // bool(false)
In the west, sure. But that can't be generalized to all over the world.

In some developing countries the internet connection costs of an operator can be very significant. High enough that it's been profitable to deploy expensive caches even for non-HTTP protocols, which account for a very small proportion of traffic. In the most extreme cases it's not just that the connectivity is expensive, it's that there's an absolute hard cap on bandwidth for a whole country, which is rationed among all the operators. No amount of money could buy a bigger portion in a sensible amount of time.
Nope. We train them that way the internet is scarce, closed and walled.

A DSL line and a wifi router could cover a whole village and give the real deal.
This is how Swiss watchmakers are fighting back against Apple Watch
Facebook doesn't care about poor people but Facebook is ultimately run by people making decisions and some people care about poor people.
PHP: var_export(0 == "hello"); // true

JavaScript: console.log(0 == "hello"); // false
The are not "obligated to do so". It's a myth that a business can't pursue anything but short-term gains. Executives have a lot of leeway in how they conduct their affairs and the only thing that can stop them is the board, which is often dominated by the founders, a few large investors or the CxOs anyway.

Remember "corporations are people, my friend?". If that idea can't be stopped, it should be coopted to imply that companies should behave morally above and beyond what the law requires. If we expect people to volunteer and donate, why not expect the same from corporations? That's not my idea, by the way. It's a trend called "corporate social responsibility".

There's also just too much ambiguity between "good business" and "morality" for any hard rules to apply. Is paying workers in poor countries a living wage a waste of money (and thus "illegal") or does it make business sense because it creates employee loyalty & good PR? Is Tim Cook wasting the shareholders' money when Apple spends a few million extra to power their data center with renewable energy or is that good PR, as well as future-proofing your investment?

In the case of Google & FB, their size creates a situation where any additional internet user creates so much value for them that it becomes economically viable to spend a significant amount of money to get that user online. In this case, the idea that "cooperations should only care about the bottom line" actually creates the insane situation that people like you argue that companies shouldn't do something simply because it _also_ happens to help people.
You would be amazed by the number of webmails that still offer plain HTTP on their login page, and yet people use them. I'd say it's better than no Internet.
What principals would you like to see?

I would go for something like this:

· Non-profit
· Only enable full access, do not monitor traffic, restrict access, etc.
· Distribution off access through sim-cards (?)

Thoughts?
BTW that £90 clearly includes VAT, but is the VAT on home battery systems in UK 20 % or 5 %? Domestic fuel is 5% but that doesn't necessarily mean that the same reduced rate applies to replacement energy devices?
Spoiling a good rant with facts.
Same goes for the `0E` prefix with an uppercase E

The likelihood of generating a hash value with that kind of prefix is 2 in 65536.

Finding a collision `hash(a) == hash(b)` with this "weak" equality comparison is approximately 1 in 256 if I'm not mistaken.
I'm not sure I follow your point? Even without solar power, storage is an important part of many grids e.g. meeting peaks with pumped storage hydro.

Are you saying that solar thermal is enough storage for a predominantly solar grid? I'd suggest it isn't. I'd also suggest that solar thermal is a type of storage solution and it's time-shifting properties are one of the things that make it useful.
This is an unsolved problem in a very high profile AAA competitive game: Starcraft II.

In Starcraft II, when 2 Protoss players order one of their templars to move/cast a particular fatal spell to the other templar, then wait, you do not get the expected double kill. Instead, when they get in range of each other one templar casts the spell first, kill the other, and survives.

Which templar lives and which dies depends on the order the units are processed in the frame —arguably an implementation detail. To the players, this is just plain unfair. Not a deal breaker for a hosts of reasons, but still no good.
With the recent many posts about Microsoft I've seen several people accuse MS of this.

I don't remember patent trolling being in the laundry list from my days reading Slashdot. Can anyone shed some light on what these comments may be referring to?
With Gruberie, Your Waiter Doesn’t Need to Take Your Order
Croissant Lets You Reserve a Seat at a Co-Working Space Using iBeacons
from my distant memory if you sample size is the pollution its still statistics
DSense Wants to Make Every Appliance Smart
Billionaire investor Peter Thiel: 'Always aim for a monopoly'
Spotify reportedly just raised $350M
Well finding a sustainable affable way to make money to sustain operations is essential. Offcourse privacy is important however providing access to the non biased internet should be a priority.
Uber's offices in China have just been raided by the police
As a rough generalization, all PHP code that involves "==" and "!=" should be considered broken.

PHP introduced "===" and "!==" a long time ago, and every programmer should know that they have to use that, without any excuses.

Also, don't use "in_array($a, $b)", but use "in_array($a, $b, true)" instead.
> 1 - You don't know what's happening. Even with higher level imperative languages you have a (direct) correspondance between code and machine code (or something similar like bytecode). Not in functional

There is a direct correspondance between Haskell code and machine code. GHC translates from Haskell into an imperative language called C--, which is basically a restricted subset of C. Sure, the translation is of a different style than you are used to in the imperative world, but it's still a direct translation.

> 2 - Sometimes you want side-effects, in ways you didn't know they were side effects (like writing/reading a file, random numbers, etc). Now Haskell's way of solving this may be mathematically elegant, but it's clunky in real life.

Arguably, but after several years with Haskell I now find unrestricted side-effects "clunky" and effect typing much more practical.

> 3 - Doing things functionally require a different mindset. You think of a for/if cond() break, and you need to rethink this on functional (and a lot of other things).

I agree. It requires a significant change to your way of thinking about programming.
IIRC, the current EVs run run their batteries at about 85% depth of discharge to meet their lifetime targets.

Unless the linked article is talking about lithium iron phosphate technology. That is more durable than standard LiIon technology.

But that isn't in wide use, despite its initial promise.
Thoughts on Measuring Security Monitoring
Well, we are doing quite well for such a small country then: http://www.kruoniohae.lt/en/main/activity
Absolutely, I was just suggesting that "you should always use the === operator" advice which I see a lot of people say(examples multiple times in this thread), does not guarantee you won't run into problems with incorrect types, and giving an explanation.

As always, you should be thinking when programming.
Not on HN. Because he's a patent troll. I am also surprised at the upvotes.
The 5 Major Problems with PowertoChoose.org
You can use semi-colons in Python to put multiple lines in one line, as well as inline blocks next to the colon. So, you can remove the braces, too. Added parenthesis for python 3.

當運:
猜=整(輸('輸入數字: '))
如猜==數:印('恭喜');運=假;
否如猜<數:印('錯了, 再大');
否:印('錯了, 再小')
No, that's wrong.

Look around you at the things which are consuming power 24/7. Look beyond your dwelling at the street, the neighbourhood, the city and the country.

All those things require constant power 24/7, without interruption. That is what baseload is. It's not some invention of the existing generation industry, it's a function of demand. It's not some conspiracy theory dreamt up by the nuclear power industry.

Cities without baseload power have long periods of blackouts and intermittent power. These are places of lower standard of living.
While You Were Offline: Don’t Let Robots Guess Your Age
Every hotel I have stayed in lately has asked for a unique code from an SMS to join after providing the (universal) user and pass. I haven't encountered open wi-fi outside of an airport anywhere for years that I can remember. I would discard that level of scaremongering from the article, but of course once you have joined you had better have a think about what you sharing on the network with other 'legitimate' users.
"There's nothing that would prevent a good storage system + wind + power from supplying 100% of the power requirements reliably. You just need to scale your Storage system to handle the periods in which solar/wind aren't driving power."

Nothing, except for costs. Those are going down and are becoming competitive for many parts of the world, but costs will be prohibitive for some climates for quite a while. For example, if you have lots of snow and strong winds in winter, you may need to have _weeks_ of power storage to get reliable power.

Keeping a grid connection for those cases will help, but if lots of people do this, the price of power in those peak periods may surge a lot as your electricity supplier will have to recoup the costs of keeping its plant on standby year round in a few weeks.

That seems fixable by connecting solar/wind systems over large distances, but we have to work on getting a grid that is fed by thousands of suppliers and in which the direction power flows can vary more.

But yes, I think solar and wind are the future and even the near future, even in the less sunny parts of the world.
What is the SQL javascript framework used there ?
This is great !
Apple’s Quarterly Report Beats Earnings Estimates, but Still Faces Challenges
Why It Is a Difficult Decision for Me to Attend a Business Conference?
Business might benefit poor people, however, "people like me" say that we can't entrust business to care, nor can we expect them to.

I don't think business should care about money first, but life is not about what we wish to be true.

Not all obligations are legal. The market puts pressure on business to care about money.
Much of the problems with distributed teams is behavioural IMO. We work in a global team and I repeatedly see my local colleagues having to attend late calls to accommodate for the team in another timezone. I constantly tell them to refuse such meeting requests and force the team in the other region to change their practices to deal with any global issues first thing in the morning such as email queries, meetings, requests, etc. Instead, they come in, grab coffees, leisurely waste time clearing out their inbox and it's noon before you know it. If they devised a simple method of scanning mails from the other region first and then reply/meet immediately, it's make everyone's lives easier.
Bitcoin Core Developer Commits to 20MB Block Size by March, 2016
This is exactly my experience as well. I'm an alright programmer, but it is insufficient, because machine learning and AI are a table resting on four legs: linear algebra, calculus, statistics, and programming. I've also found myself going back to build up those foundations.
All I know is that my Mother is happy using yahoo email on her first smart phone.
Aren't you confusing Paul Allen with Nathan Myhrvold? It seems that Allen's company actually developed the concepts it holds the patents for; Myhrvolds' Intellectual Ventures is the one buying up patents and making a business of licensing them under threat of lawsuit.

Just because a company is suing someone for patent violation doesn't make them a patent troll.
I think this kind of dilemma is with everyone who is attending professional events. I am wondering what are the parameters you all think about when you make decision about attending an event. Would love to see some pointers here.
The free potato link is a scam, it doesn't work! No potato make kagaime a sad(der) lifeform :(

Seriously though, if making a template mockup like this and not making an actual page for it, submitted to the useless web .com, you need to rethink your life choices.
Would only have to get close enough - and then use some recoilless gun to disable the target - maybe have two short barrelled guns firing shot gun shells in opposite direction
I suggest you to have a try with uber apps for startups. I would like you to have a check with this link @mowares.com
Sorry, that's just missing the mark. In northern latitudes, where most of the world's energy consumption is currently located, the seasonal variation in solar influx means a 100% solar solution needs to do energy storage for months at a time. Continuing with the Germany example, the monthly-average production of solar power in January is ~ 1/15th the production in July.

And I don't believe we will ever be able to get the whole world up to current western consumption levels. More to the point, we really shouldn't, as current consumption levels in the west are clearly unsustainable.
Good advice, but when you give "correct" estimates (not pessimistic but realistic) you may be perceived as beeing a slow programmer.
I stand corrected! Could have sworn I'd read the eventing method was used but obviously not. Thanks for the comment Jonathan, big fan.
And I was sat there thinking .org domains are reserved for non-profits.
So what's the business case? The fact that you hate the current code is not. As a manager (and a developer) I'd be very wary of letting a new employee refactor a project that they are unable to work with. If they cannot work with it do they understand what it does? Do they understand future plans of the company? Will their refactor be objectively an improvement? Will they even finish the refactor?
Doing a major refactor is a major risk. I was involved in a couple of refactors that only resulted in a different mess. If you want to convince me to do a refactor I need a strong case that will answer all the doubts.

Sorry if I came across as harsh :)
Once travel into space is viable for average tourists (not only tourists willing to pay 100 million dollars) it'll probably also require more pilots than today, so I'll say that he still has a better chance being there before you.
you mean Pig Data?
reading the book still requires a significant amount of time
Spoken from a position of power. Not practical (or indeed useful) advice for most people.
Best Free Android Web Browser Apps You Can Download
The (tenous?) link between chess and war
But their statement seems accurate and clear: they will operate the GigaFactory using renewable energy. They don't claim or imply that they will extract the materials using renewable's or that all their suppliers will use renewable's.
RightFont for Mac – The next generation font manager for Mac
Test sending emails with protocols
Git Miner – Dig into guts of git history
I would imagine taking apart a microwave oven and pointing the magnetron waveguide into a parabolic dish could give you a decent drone killer - a cheap, compact AC powered 1 kW 2.4 Ghz jammer should do some damage.
Why not disable encryption selectively for sites where caching makes the most difference like Wikipedia and leave encryption enabled in more sensitive areas like personal communication where caching makes much less difference anyway?
You need to watch "Pirates of Silicon Valley".
Indeed, the type system when explained in detail is not that simple. Nevertheless, we believe that it can be used without detailed knowledge.

In our experience, programmers can pick up the system fast (e.g. after a 2 hour discussion).

Similarly, programmers can easily write programs which type-check, even if they do not have a deep understanding of the type system (e.g. they need not memorise the table you mentioned). Type-checking is enough - given the guarantees by the type system, (data-race freedom and atomicity).

The use of defaults reduces the annotation burden - typically to only 10%-20% of locations which allow them.
I thought I had read it somewhere, but obviously not.
For whoever downvoted this comment, I would love to know why.
Albania is on pretty much 100% hydroelectric (https://en.wikipedia.org/wiki/Albania#Economy) - we should get them to supply the European market
SEEKING FREELANCER/CTO, Singapore-based lifestyle startup, remote

- We are an online film discovery platform based in Singapore. The filmmakers we work with and audience is international, however. We’re always looking to expand our horizons.

- What are we building? JUMPTHECUT, a delightful & simple way to watch films you’ll fall in love with.

- Where are we now? We’ve gotten pre-seed grants to start development and are past MVP/validation

- We are 80% done with our v1 to launch next month and are planning to raise our seed round in a few months.

- Where can you fit in? A long-term creative partnership with the unique opportunity to disrupt the film industry.

- Our dev stack is: node.js, CoreOS, React.js, CouchDB, Grunt/Bower, Foundation, and SASS/Compass.

Here’s a taste of what we’ve done so far: http://jumpthecut.com (unfortunately only the landing page is ready for primetime).

Email me at andric@jumpthecut.com, and tell me your favorite films. ;)
It's appalling to think that there are 'developers' who are still only now realising PHP's horrendous nature.
The numbers in that article are/were badly wrong. Many numbers are now changed (lines drawn through the old numbers). In particular, the numbers for solar generation have been 'corrected' by factor of 6.7 - the author says he used obviously wrong numbers because the website he copied them from had them wrong.

Although the author has 'corrected' his numbers, he has not modified his conclusions. Someone who does that is not worth paying attention to.

I would like to read a sober and accurate accurate article on Tesla's powerwall, this one is not.
Grooveshark had a paltry amount of equity/debt financing compared to what's common in the valley. In total they raised a couple million, in the low to mid single digits. Part was equity and part debt financing, which was all paid back and some of the equity was also bought back from investors who wanted out after the lawsuits.

Grooveshark was completely self sufficient for a long time, even with the lawyer bills. What really killed it was the pressure from labels to get them kicked off ad networks, mobile app stores (first Apple, then Google), and prevent the more lucrative direct ad deals you need to really survive. Once the summary judgement occurred is when it really started becoming impossible.

Disclaimer I was an early employee that worked there for 5 years.
Why can't something like this be built on top of the existing internet?

And why doesn't the article mention DNS?
Too sad to see so many efforts on Python 3 although nobody is using it...
Lanner has some interesting Atom-based options. I'm testing the FW-7525A right now, which has physical hardware bypass on one pair of ports.
Google Chrome at launch: Webcomic (2008)
I think what they are probably referring to is the patent tax that is paid for every Android phone:

https://gigaom.com/2014/06/16/patents-that-fuel-microsofts-a...

But that does not make Microsoft is not a patent troll[1], since it also produces hardware/software that it is covered by the same patents. Whether patents are any good is a different discussion.

[1] https://en.wikipedia.org/wiki/Patent_troll
Nope, that was the original intention, but it's not been restricted for a long time, if it ever was.
Looking Back While Moving Forward: A Retrospective on Grooveshark
Another complication is that the way people perceive themselves may not be a "true" read on their behavior. If a person acts anxious in stressful situations, it makes sense to cut them some slack. But what if a person is always in stressful situations that seem avoidable? Everybody else may think of them as anxious, while their internal view is that they're unlucky.
Get the assignment done quickly and so you can get a new one. You're leaving because one assignment you feel is shit?
What is the computational complexity of this solution?
I remembered what helped me with a more or less similar problem: plain old "focusing on the now / present / just this second".

1. You can look into plain/western mindfulness meditation (the science-based non-mystical flavor of it): http://palousemindfulness.com/selfguidedMBSR.html

2. Or look into the buddhist way of arriving to more or less the same thing: https://www.youtube.com/watch?v=nasIq4E9nNg

3. Or, my favorites and much more western-friendly versions of the same message of "just live in the now, accept the present as it is and work with it, instead of evading into dream-land":

- https://www.youtube.com/watch?v=PkgNIJLpBEI
- https://www.youtube.com/watch?v=y9JgLgBtV-M

...the other thing maybe that you're just meant to live a more action packed life than you actually do. If nothing works, forget the medication and just go join the military or find something else that can give you enough "action-packed shit"... the world is pretty "rough and wild" if you go out of your USA/UK/EU "walled garden" you know. Go volunteer for the red-cross or other humanitarian organization in a conflict-zone African country for example. Some people actually need this and just fantasizing about it instead of getting it is just sad and wasteful.
I think he may be underestimating the future efficiency gains.

There is already 30% efficient directly illuminated multi-junction PV on the market ( http://www.emcore.com/wp-content/uploads/ZTJ-Cell.pdf ), they are just so damn expensive at the moment that only the space industry are using them.

Also, while it is a huge amount of work, it is no worse than many other industries, the economics are starting to make it a good investment for big finance, and we are not likely to run short of either silicon or lithium along the way.
There is quite a big difference between statistics and machine learning. A lot of the most successful machine learning algorithms do not have a statistical grounding or did not when they were invented. E.g. neural networks, SVM, low rank matrix approximation, k-means, decision trees/forests. Statistics is one of the tools in the machine learning toolbox.
Actually, I was hoping for something more than a single example.

Or, did you mean that PHP and JavaScript were neck-and-neck all the way up to that one example, and ultimately it's the very one that proves PHP's type coercion is worse?
Logos Without Context