skysight-inc/HackerNews huggingface dataset:
I'm waiting for the day yahoo email has 2fa as convenient as gmail's. You don't need to be able to receive a txt for gmail's 2fa. And yes this is an issue for some people. My parents don't have cell phone reception at their home and my uncle doesn't include txting on his cell phone plan.
Maybe the service providers are caching heavily, and that's impossible with HTTPS? That seems likely, but I don't know a ton about the protocol.
Well, either in the example. Parent was saying "Reminds me on bash"

For sh version, I'd go with super-safe:

if test "x$1" = "x$2"
I am goind to sound very stupid:
Under http://tutorial.ponylang.org/getting-started/installation/
I just cannot find something to click on, download and install it,
even though the site really looks as if that was the case.

What the hell am I missing?
Does someone want to partner up to create the Internet.org that should have been?
Villa-or-townhouse
The article mentions getting 7000 charge/discharge cycles from lithium ion batteries. That doesn't sound right to me. Most consumer electronics are lucky to get 300 or so at 100% discharge.
> in_array(.., .., $strict)

I think you're aware of the third parameter but for anyone who reads this post, it disables the type coercion of the in_array call.
6 PhD Productivity Tips to Have (And Manage) a Social Life
It breaks down when you approach the hardware limits, i.e. for rts games with thousands of units on the screen, particle effects and so on, or if you have complex cad models in automotive applications. Essentially you then need to minimize driver overhead and avoid data copying at all costs. In particular you need to do memory mapped IO (using glMapBufferRange) between the GPU and main memory as fast as possible. That is only possible if you do tripple buffering with a ring buffer, at any given time one part of the buffer will be in flight to the GPU, one will be processed by it and the third will be modified by the CPU. You "publish" with synchronization (glFenceSync() and glClientWaitSync()), see for example http://gdcvault.com/play/1020791/.

In particular you have to organize all your world data in flat mutable arrays because even on the CPU your data has to be presented in a way that avoids cache misses as much as possible, this philosophy goes by "data-oriented design", see for example https://www.youtube.com/watch?v=rX0ItVEVjHc.
I didn't work there; I went somewhere else for a number of reasons. I wouldn't have sucked, but it wouldn't have played to my strengths - my work would probably have been very average.
That - and the error is going to be a lot more subtle and harder to find.

In all fairness though, it's a balancing act - There are benefits to dynamic typing, but PHP clearly overdid it. (See also the disaster that was/is magic quotes)
> This is a mess, whatever programming language/paradigm you prefer.

You will of course refactor the code.

The point is - it's harder to make a quick and dirty prototype to see if it's better than the previous version (very common in game programming - you don't have strict requirements, you iterate quickly and check "is this fun yet").

And elegant functional code changes more than elegant imperative code for the same change in requirements, so the refactoring would be bigger for functional code (on the other hand the functional code is probably shorter).
My completely-uninformed guess is that they don't want people to tunnel out to the real Internet:

https://news.ycombinator.com/item?id=9203946

Although I suppose a bit of steganography is enough...

Edit: steganography, not stenography.
At 100% discharge, lithium batteries die.
Ashton Kutcher does look like young Steve Jobs. Now I get why they casted him in the first place.
Assuming a dumb pipe, SSL is no harder on the ISP than unencrypted traffic. It's likely that they want unencrypted because the data is then easily cacheable, drastically reducing cost on network operators.
Somehow, I don't see 'mobilization' being their problem. I'd be more concerned about the lack of real revenue streams and slowly bleeding their Alibaba stake dry to prop up their stock. I have little reason to use any of their stuff, let alone pay for it.
The "We can't do everything with solar" was what everyone was saying (correctly) in 2005-2010. But, the entire point of the Powerwall product is that, today (not next year, today), in parts of Australia and Hawaii, it is now less expensive, and more efficient, to go 100% solar. As the prices of batteries drop, and solar becomes more efficient, the number of places where that is true will only increase.

From the perspective of watching trends back in 2005, this wasn't supposed to happen until 2025, so it's arriving 10 years early.

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.

Regarding the Germany Scenario - Let's see how much nuclear they are going to require after they add a few Terrawatt-Hours worth of battery storage to their grid.

Finally, commenting on your "so Serious Scientists" - there are a lot of them that have done the calculations and have come to the conclusion that only a solar solution will supply the world with the power it requires so that everyone can have an first-world lifestlye. In particular, check out Nate Lewis's introduction to Solar Energy - https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodca... ,He "provides a beginner's overview of the concepts behind solar energy generation as well as the current state of the art and its potential role in future energy production."

It's eye opening - even nuclear power plants don't stand a chance versus solar (which, to be honest, is just harvesting the output of a really, really, really big fusion generator)

The missing component has always been storage, and Elon has jumpstarted that conversation. The powerall is interesting, the gigafactory is more interesting, but the fact that he realizes Tesla is only going to be a tiny, tiny element of a much larger industrial transition, is, in my mind, the most important part of this story.
> It's the responsibility of the world's governments to work out ways to keep the grid-connected solar solutions working.

Most govt's time horizon is about 5 years. We are doomed.
Unless I'm missing something I don't see the pinyin in wikipedia's table so it still doesn't fit the author's requirements.
Theology exists.
I'd argue that one implication of a smarter grid would be that there'd have to batteries all over the place, exactly because batteries can adapt quickly and 'smartly' (with a .05$ microchip) to energy supply and demand.

Whereas there is a limit to the maximum intelligence of refrigerators, airconditioning devices, heat pumps, and washing machines.
Yes: the main driver in car usage decline is better software and networking.

You already named remote work, but it does not end there.

There are remote games, remote movies (Netflix, YouTube), remote shopping (Amazon), remote communities (HN), etc.
The fact we're assuming that all of those things are necessary highlights that you can't make a statistic from one case.

How do we know which of the conditions on Earth were really necessary and which were neutral to life?
I think the Netgate C2758 looks suspiciously like a rebranded SuperMicro 5018A-FTN4 (of which I own two)...
I believe you are confusing dynamic with weak typing. Other languages got dynamic typing quite right.
Isn't it supposed to be 2020-02-03 00:00:00?
To be fair, this is consistent with Facebook's track record on privacy...
Counting bits set: Brian Kernighan's way
php > var_dump("hello" == 0);
bool(true)
php >
I think I tried it maybe 2 years ago (I think) and back then it really bothered me how big the resulting APKs were. Now, I think, most people don't even care anymore.
> you should probably use === by default.

unfortunately this can also backfire if your class/module is used in a different context where it gets strings instead of integers and you were just using === without really thinking about it:

We had a case where the code was something like:

function doSomething($value) {
if ($value === 0) {
//do something
} else {
//do something else
}
}

This was then used in a slighly different context where $value was a string '0', it then ended up incorrectly in the //do something else block, doing the completely wrong thing. In this case the type co-erced == would have been better, and I think what the developer was expecting would be a type error due to the === but it's not a type error, it'll just fall into the else block.
usual story

== is not the same as ===
Is it his creation still? What makes it so - several thousand lines of legacy code or the name of the product?
Yes, but at a non trivial cost, see

http://www.math.ucsd.edu/~sbuss/CourseWeb/Math268_2013W/Benn...
A day with Andri Snaer Magnason, inspired and more committed about Iceland
Incompatible with provider caching.
Anonymous Hacker breached #WTO database and Leaked data of internal staff
Facebook is a business. Don't be naive. They don't care for poor people, they care about getting money. They are even obligated to do so.

Don't expect business to solve all issues for humanity, because they won't.

A government is needed to take responsability we don't want to entrust business with and to do necessary things no business wants to do, and it needs to be strong to be able to do it even if business opposes.
Did you mean steganography?
If it's a choice between Wikipedia and Facebook, or nothing at all, telling poor Indians they should only be allowed to have the latter seems quite cruel.

Yes, it's unfortunate they can't be given the whole Internet, but the fact they can get anything at all should be celebrated.
I always liked Noah Wyle's Jobs

http://i.imgur.com/ahV1bxh.jpg
Take control of your builds Automate iOS test, build and release process
We are extremely good at throwing things with precision as well.
Surely for network operators the cost isn't in external connectivity, its in radio channel capacity at the edge.
It's certainly not net neutrality but it might be more accurate to think of this as a heavily firewalled LAN; given what I know in general about the ingenuity of people in the areas that they're aiming this service at, they should expect a huge amount of tunneling, in various forms, if they attempt to restrict access in any way.
> There needs to be an interface between the functional code and the code that has side-effects.

Yeah, like some kind of IO type or context. Gosh, someone should try and invent that sometime. :-)
That depends on what you have in mind and what principals one doesn't compromise on?
Paul Allen - correctly so in my opinion - gets a lot of respect from hackers.
They need to get software engineers interested to work there as well. Nothing cool has come out of yahoo. They should look at all the new cool open source projects coming out from Microsoft since the leadership change.
I think it would be rather different, as the Greeks & Romans never thought to search for universal physical laws, unlike the monotheists who decided that a rational God would create a rational universe subject to rules that could be understood by humans.

For the most part, we completely take that fact for granted nowadays with our scientific education, but the advances of science are quite breathtaking when you think about it.
There is also a weird casting when a string starts with a digit: var_dump(10 == '10xyz');
Also why would I work for a company that is 100% against working from home? It is just a nice perk some time.
A Stealthy GPU-Based Keylogger (2013) [pdf]
No JavaScript is also curious given their own React Native. Maybe they don't consider it "optimized for smartphones"?
No SSL/TLS/HTTPS is just ridiculous and flat out unacceptable in this day and age. I'd expect a "no HTTP" clause and not the other way around.
The linked technical guidelines from the original FB blogpost also seems to be dead:
https://www.facebook.com/docs/internet-org/platform-technica...
Absolutely. If you're audited for MISRA compliance, you need to follow it point by point.

The rules themselves are not meaningless or without a point, but there are a lot of companies that adopt MISRA without actually having (in the sense of audit and certification) to be compliant. Instead of focusing on the point of every provision, they rigidly follow them even when not applicable.

But it can be worse, really. The gem of a coding standard we have at $work forbids not only goto, but also break, without MISRA's exception of one break per loop. And forbidding the use of goto and continue is cited as being done for readability reasons, rather than static analysis tools.
It seems to me there are several issues:

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

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.

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).
20,000 GWh / (365.25 * 24) = 2.28154232261 GW

Roughly the output of the Hoover dam.
Line up another job before quitting this one. As other posters have said: just don't make a habit of short-term jobs and it's easily explained.
There's quite some open source graphic design work out there already.

You can also use the open source Font Awesome to generate nice app icons. There even is an open source python script to do that: https://github.com/odyniec/font-awesome-to-png
Here [0] is a lead-acid storage battery, UK price £90 ($135) for 1.26kWh. That is $107/kWh.

You do not use the whole 1.26kWh each cycle - you only want to use e.g. 50% of that, so that you get reasonable battery life (fully discharge your lead-acid batteries, and you won't have any electrodes left). So $208/kWh might be the 'actually usable' value.

The harder number to find is battery lifetime - it depends on many factors (discharge depth, number of cycles per year, storage temperature, exact battery type, etc). And when you are doing cost-benefit analysis, this number is a vital part of your calculations. You also want to know 'if I wait x years, will the price of Tesla batteries have dropped so much that I would be better holding cash now, and buying Tesla batteries in the future).

This headline number is not the total cost of course, you need charge controller, inverter, building to house the batteries, etc.

[0] http://www.bimblesolar.com/27DC105-105AH-12V?search=battery
Mikko Hyppönen:state malware, ransomware and how we keep signing away our rights
I guess that explains my recent question of why the MPEG side of things stopped publishing comparisons to VP9 after it actually got released and instead continues to point to studies they did from random git commits, 6 months before the first (and even then explicitly called out as beta) release of the encoder.

Be interesting to see the results from this comparison, as they seem to generally be a respected third party in this field:

http://compression.ru/video/codec_comparison/call_for_codecs...
What sort of a cache would use IO? Not any cache I've heard of. (Genuinely interested)
Meh, Quartiermeister is more fun — selling beer to fund community projects: http://www.quartiermeister.org/en/
New game. Let's see if we can find one number in the article that is actually correct.
Seems to me one's most probable mean to get into space is to get rich and buy yourself a seat. Getting rich is something much more into your control than getting selected and having the will of a government decide of your faith.
I see this: 'advanced languages like C# and Java' all the time.

What do you mean by it? There isn't anything particularly new in either of them and there wasn't when they were created either. And many things that were idiomatic and useful in other languages are missing (no Pascal style subtypes for instance which mean that I have to litter my code with contracts).
They don't consider it "optimized for featurephones".
Yes md5 is broken. We've known this for quite some time.
Transportation uses very very little energy compared to everything else that needs to be done.

You will not find your magical technology in shipping.

Additionally ocean shipping is cheap enough that it can take less energy to ship something to the other side of the world than to the other side of Nevada.
> The only thing that is dangerous to humans is other humans.

And microbes. And other parasites.
Potential Salesforce Buyers?
Never heard of Forekast, interesting idea. There is also similar(?) site - PredictionBook (http://predictionbook.com/).
Except that the browser is missing a lot excepted features and historically positioned itself as "just pile extensions on top of FF to get features we won't add or have removed".

adblock ? disable javascript ? mouse gestures ? download manager ? privacy protection ? duplicate tab ? and so on all are extensions because mozilla refused to implement or removed those features.
So this is a PHP fail. But all the same, MD5 has been shown to fail collision resistance several times now.
Is there a market for generalist (non-technical) web consultants?
I often see medium sized Corporates getting completely fleeced when they outsource their corporate websites and digital marketing. Not only are they getting overcharged, but because they don't really understand digital they end up getting less than ideal outcomes.

I've been toying with the idea of becoming an independent digital consultant to the type of corporates which don't usually have a solid foundation in digital, helping them understand what they can and should do online, and managing the process of outsourcing this function..

When one hears of successful consultants, they usually have a more specialist technical understanding. What I propose offering is just a bit of digital marketing, an understanding of the web dev and design process, user experience, content creation, and social media.

Does anyone know of any success stories of people going independent as digital/web consultants such as I'm envisioning (links to blogs or case studies would be most appreciated)? Or are these skills too easily obtainable to make for a successful consulting career?
Interesting move by Facebook -- any developer can offer its service through Internet.org now in developing markets. Still, Internet.org is Facebook's way of getting millions more users for its own services. Maybe not a bad thing though if it can also get thousands more companies to sign up to this program.
The problem is with PHP, not MD5
Google does not seem to focus on Dart either, it is just an experiment from the Dart team.

I am curious though, why do you think that Python would be a better match for the platform ?
Except his calculations seem all wrong. From the article picture above there's no way that factory only has ~100x100 sqm (1ha - a bit bigger than a soccer field). Maybe 100ha. And that seems to be the case:

http://cleantechnica.com/2014/09/12/tesla-gigafactory-huge-2...

If he got that wrong (which seemed obvious to me from the picture of the Gigafactory alone), who knows what else he got wrong.
I often heard the Big Data guys hype that there's no sampling in Big Data, you have the whole data, so it's not exactly statistics.
Hello World in Just Two Minutes
They lost me at their second sentence:

> In order to fill these gaps [ night, cloud ] , a storage solution
> or a backup infrastructure of fossil fuel power plants is required
> -- a factor that is often ignored when scientists investigate the
> sustainability of PV systems.

If you're approaching the problem with solar power with the assumption you need storage or fossil fuel, you're basically arguing with yourself.

Note they did say 'solar power', not 'solar cells / PVC / etc'. Solar thermal plants ride through periods of cloud, and well into the night, reasonably well. But the big problem is that assumption that you must either store solar, or you burn coal / oil ... followed by a complaint that scientists ignore important factors.
'AI' is not programming, it's mathematics (well the current 'flavor' of statistics-based AI, that is - the 1980's style AI people I used to work with were philosophers, legal scholars and the like). Anyway, there is no 'bridging the gap' - you need to start from a good foundation of statistics (and the 'prerequisites' - algebra, calculus, linear algebra) and in the end, the technicalities of the software and the theory come together naturally.

(source: have tried to 'bridge the gap' for 2 year, including taking MSc courses, before admitting to myself that it's a lost battle. Am now starting to build a solid math foundation before revisiting ML applications.)
This has nothing to do with md5 itself.
Did you take notice of https://news.ycombinator.com/item?id=9432601 a while ago?
They have explained the reason: [0]

Your service will be proxied by Internet.org. Since we cannot support SSL, TLS, or HTTPS as part of proxying, your content or service should not rely on passing or collecting encrypted information — resources that do so will not be accessible within Internet.org or will be dropped altogether. While we would prefer to support fully encrypted connections between user and website in all cases, proxying for third-party sites does not allow for this in its current implementation without introducing man-in-the-middle capabilities.

[0]: https://developers.facebook.com/docs/internet-org/platform-t...
No Javascript is an even more ridiculous restriction.
> If you want to compare two strings that are the same except they each use different ways of expressing an 'é', you need to add another equal sign and use ==== to differentiate them, as === will see them as equal.
https://developers.facebook.com/docs/internet-org/platform-t...
Would love to see that big, heavy hex trying to catch a 250mm quad on a 6S LiPo, e.g. https://www.youtube.com/watch?v=dxU4GdlTHDg
A Landing Page for a Potato
You're describing the expected behavior of === and a bug.

This is not the === operator "backfiring."
Launched today and on track to be Australia's largest tech Kickstarter campaign
"Brennan, 22 at the time, had become Jobs' girlfriend in high school when she was 17, a relationship he later trashed when she became pregnant. Jobs disavowed the child, Lisa, despite naming the Apple Lisa machine (in development in 1978) after her. Jobs only admitted Lisa was his daughter when she reached her teens."

Is Jobs as much of an assh*le as this statement makes out to be in the article?
I most certainly would object to firing a police officer who had a ton if posts. As long as it didn't interfere with his duty as a police officer.
Skills: iOS, Swift, Objective-C, Databases, Sketch, Illustrator
Native Language: English
Location: Hawaii

Brief Intro: I am an experienced remote iOS engineer with a knack for bringing
ideas either written or discussed verbally into reality through an app. I have
a strong design sense where I actually create art with Sketch and Illustrator.
I’m focused on providing five-star user experiences through carefully tuned
animations and thoughtful layout. I’m also into minimizing crashes and
maximizing performance where I brought significant improvements to these areas
in the latest app I worked on over the past five App Store releases. My
background is in developing data-driven apps so I understand the value of
efficient queries and careful modeling. I take pleasure in solving the
numerous problems that pop up during any given development cycle without
requiring additional assistance. I also know Unix inside and out so I’d be
perfectly at home on AWS or a similar platform.

My PDF resume/CV is at http://goo.gl/KeetM7.

I will promptly reply to all inquiries submitted to http://ikiapps.com/contact.

Thanks for reading this and I look forward to hearing from you soon!