skysight-inc/HackerNews huggingface dataset:
One thing to consider is that a lot of stuff works well for electric cars simply because they are not that ubiquitous. For example, many states allow them in the HOV lane unconditionally. However, if they are a higher fraction of the total cars that will stop. I have seen electric car chargers at various parking lots. If you have an EV, you are likely now to find a spot. When they are a lot, the majority of EV won't find a spot. The other issue is overnight charging. People who live in apartments will have trouble finding charging spots, when nearly everybody in their complex also has an EV. In addition, the spike in nighttime power draw on the electric grid is going to be an issue, especially in areas that are dependent on solar power.

I think a large part of the driver for EV currently is as a social status signal. When, that start going away and the inconveniences of EV with respect to ICE start affecting people, a lot of the momentum will stop.
What does it feel like to invent math [video]
The hug of death
Small correction.

With Telegram your data ends up in Germany.

They are Berlin based and against the current Russian government AFAIK.
I too am from NorCal
I would I think a more valuable lesson would be to not start a business that relies on animal cruelty for success. Vocal minority or not, what's right is right.
I'm invariably amused when my four year old gives up on "Alexa, play Justin Beaver on Spotify" and resorts to "Alexa, play whatever you want on Spotify", only to get back this:

https://youtu.be/dG2jj-aIl-A?t=1m16s
It's​ not that precise, it will only determine whether or not a drawing contains a sandwich.
If Assange truly feared the police blatantly violating Swedish law in support of rendition, then it would seem strange for him to base himself in Sweden, remain in the country whilst being well aware of the investigation under way against him and leave only on the day they notified him they'd received legal authorisation to detain him. And then repeat the whole thing in the UK...
> That is, are there attempts to improve the Rust language and/or optimizer such that more and more "unsafe" sections can be replaced by safe code that has the same performance?

I write a fair bit of production and hobby Rust, some of it very performance-intensive. And at this point, 'unsafe' is already very rare in the code I see. The most common uses:

1. For implementing certain core data structures based on pointers. This is pretty rare—there are good implementations of just about everything I need, either from the 'std::collections' library (which uses a moderate amount of 'unsafe') or from third parties (who tend to use much less 'unsafe').

2. For the FFI. Again, this is increasingly rare: More and more key libraries are now available as pure Rust, and the "big" C libraries typically have well-maintained bindings.

3. Theoretically, for performance. But I've written tons of high-performance, benchmarked Rust without ever touching 'unsafe'.

And I do feed a fair bit of my code through fuzzers, and they've never found an exploitable weakness.

So my gut feeling? There really isn't much 'unsafe' out there. And the small amount of 'unsafe' code that exists is probably—based on my experience fuzzing it—"safer" than all but the very best C/C++ code. I can live with that for now, on a strictly practical level.
15+ Useful and Interesting CSS Libraries
TheShadowBrokers Monthly Data Dump Subscription
Would I invest 127k EUR in P2P platforms like Bondora, Mintos, Twino?
But unlike other fads the bearings have some minimal value, and fidget spinners are easy to breakdown into a pile of plastic and a pile of bearings.
The british police still want to arrest him [1]:

"Westminster Magistrates' Court issued a warrant for the arrest of Julian Assange following him failing to surrender to the court on the 29 June 2012. The Metropolitan Police Service is obliged to execute that warrant should he leave the Embassy."

[1] http://news.met.police.uk/news/statement-on-julian-assange-2...
Did anyone said Kotlin?
5 Surprising Live Chat Statistics
It's a big issue because the people of Kerala have made it an issue by attacking dogs on sight. They have indoctrinated their kids from childhood about the dangers of stray dogs, and how the only solution is to kill them. Of course you can't catch them and kill them all, all you end up doing is to make the remaining ones more fearful and likely to attack humans. It's not like dogs don't learn and adapt to the changing behaviour of the humans around them.

Every Indian state deals with stray dogs. Why are stray dog attacks reported as abnormally high in Kerala? Why is Kerala wilfully defying the Supreme Court's verdict on dealing with stray dogs (i.e. to sterilise them)?

> Not sure why western media is so concerned about the life of a dog than a life of Chicken or goat or cow that are regularly killed.

My antecedents are completely irrelevant to the issue. Everybody everywhere has the right to question the mass insanity that the people of Kerala are exhibiting w.r.t. this issue.
Haha, love it. Kids are great, some time back my 3 y/o told me there was ice under the pond (where else could it have gone because it was still there the previous time he saw it), such logic, with such knowledge and hardly any assumptions. It's refreshing. Currently my kid is obsessed with what floats and what sinks in a bucket of water outside in the garden. A joy to watch.
Personally, I let my phone's battery die, then charge it the next day.

It has nowhere near 24/7 uptime.

Also, I don't carry the phone around with me everywhere.
Google making Kotlin an official Android language has everyone freaking out.

Whenever Java programmers discover a new language they get really excited, which is understandable. I am happy for them!
It should be 'than WhatsApp' and not 'then WhatsApp' :)
Java has become entrenched as a corporate language. Kotlin on Android has a chance to make Kotlin a real alternative to Java, which has been extremely slow to change over the years.

For example, adding modules to the language was 10 years in the making, and it was just rejected. Kotlin might not be the big change everyone would like but it will be seen as a better alternative.
In what regard?

I use both of them consistently.

Telegram is full of nice features and their desktop client is well done.

Whatsapp doesn't have as many features but I feel far more secure and private in there.
The roads? Rights-of-way & property boundaries didn't get bombed, and one narrowing due to right-of-way passing through historical-significant properties restricts the maximum vehicle size for the entire road/region (https://goo.gl/maps/BzJrXer8HmF2)

Consider this local intersection ('junction'): https://goo.gl/maps/UPjtR5VdSXM2. It's a favourite for the practical driving test: from the left lane, turn right into the side street. It's extremely dangerous, as you have to creep around the corner to the left to get visibility of the oncoming 30mph traffic, without getting so far pass the side street's centre line than you can't safely turn in.
How long until someone sharpens or put spikes on theirs, turning it into a shuriken or similar thing?
Maybe I'm missing something, but I could write an interface labelled sage on top of any unsafe code I want. Why doesn't it matter that my unsafe implementation is proven correct?
Using a reversible debugger to recover from stack-corruption
Maybe because he finds it a useful and convenient tool to have around the house and that he's weighed up the pluses and minuses of having one in his home? He's a technical guy - he's not stupid.

I have an Echo and I mainly use it to set timers and check the weather. If that, plus a few questions about "How tall is the Eiffel Tower?" constitute a huge cache of data on me, I'm honestly fairly relaxed about it.

Compared to the vast number of tracking pixels, cookie sync firings and God knows what else that happens if I happen to load up a web browser without a VPN & ad blocker, it's really small beer. Not to mention the location tracking that happens by default and is mandated by law in every smartphone.

Also, the 1984 comparisons just don't bear fruit. We're not living in a violent, single-party totalitarian regime. We're just not. If anyone is really relevant to this, it's Weber and his concerns over the rise of unaccountable and powerful bureaucracies and social alienation.

Our tendency to pattern match will only ever pick out what someone predicted correctly, it often overlooks what a thinker got wrong and Orwell was wrong about a lot of things in obvious and not-so-obvious ways. Much of what he gets right relies on things like conflating the power of the state with the power of corporations, and equating businesses tendency to employ euphemism with the complete evisceration of language.

That's not to say that we shouldn't be mindful of privacy concerns and what we are allowing into our lives, but 1984 is a pretty blunt and emotionally charged instrument for critiquing something like Google Home.

I just don't see the big deal.
I think the best indication that's emerged is in Comey's recent testimony[1]

> before the Senate Judiciary Committee, Comey was asked why the United States had not charged WikiLeaks founder Julian Assange with a crime. Comey said he had to be careful with his answer, because he did not want to confirm whether there were charges pending against Assange, but then responded: “He hasn't been apprehended because he is inside the Ecuadorian embassy in London.”

1: http://www.politico.com/story/2017/05/03/james-comey-wikilea...
HANDFUL OF NORTHERN ELITES STRUGGLING FOR POLITICAL POWER
Making Sense of the Recent Ransomware Attacks: Wannacry Malware
good riddance to this antiquated and pathetic form of entertainment
Ahh KipKay, Classic DIY.
Telegram is not hosted in Russia. Moreover, Russia is not very happy with Telegram.
Tencent disables tipping function in iPhone version of WeChat
Is this a symptom of children growing up with touchscreens and lack of tactile buttons?
and CdS is retarded as well. waste of fucking money.
So... I just started getting into writing an Android app. What would be the advice... I installed Android studio last week, is that still a preferred IDE?
Winter will end the fad - mittens, gloves, and cold weather.
excellent derailing of the thread. Thanks.
>To me, the last 15 years have been car manufacturers figuring out that with the right kind of engineering, you can get rid of turbo lag

I own a Fiesta ST that comes with a 1.6L turbo-charged engine that produces about 200hp/210+ft-lb of torque...on 87 octane. If I drive the speed limit I can get well over 40mpg (~5L/100km). I can't recommend these cars enough (if the small stature suits you). The fit and finish isn't great, but it's a piece of machinery when it comes to performance.

http://www.caranddriver.com/ford/fiesta-st
Yes, for the first time: a great desktop client for Linux and I have friends that actually use it. extremely stable software and it behaves well.
"If"?
WTF? Some people are spending serious money on a PR campaign to promote Kotlin this week!
Yeah, for folks living in the USSR or East Germany it seems like Orwell was closer to the truth.
Tips on Occupational Safety and Health Administration
I would say yes. After having horrible personal experiences using Eclipse and Android, Android Studio is more immersive, and I think it's the approach Google wants developers to use. If you're not going to use Kotlin or Java for Android development you would use the other IDE's for those other stacks / approaches, otherwise Android Studio is fine.
There's few real reasons to use anything other than MP3 for audio files. I don't care about having DRM, or conserving bandwidth/space by encoding things at low bitrates. I just care that my music/sound recording will work everywhere.

The arguments people make for more "advanced" codecs are mostly completely spurious especially now that MP3 is patent-free. I'm probably just crazy though, after all I still use wired internet whenever possible. If it ain't broke, don't fix it.
Yep, don't know if you can change the channel in settings to get canary updates, but either way I installed from here: https://developer.android.com/studio/preview/index.html

edit: I'm assuming you want, like me, to try Kotlin
This is what I am waiting for - an abundant, inexpensive supply of bearings for projects.
The most Beautiful math courses
I understand what you're trying to compare it to, but I don't think that this is always a valid argument. If what attracts the core customers is wrong in and of itself, it's not an excuse to continue it.

I have fond memories of the Circus Parade in Milwaukee when I was a child, but it was relying on the animals to draw people in for the most part, and the training done for the animals really isn't good. Vocal critics not being attendees is somewhat irrelevant in this case (and in many cases), because the core activity is what is wrong; it's not just a matter of preference.

When it comes to invidivual preferences, there is some wisdom to "appease the core audience, ignore the rest". But there are a lot of cases that aren't as neatly covered by such sentiment as some seem to think
I am seeing a lot of comments about the need for stable power. It seems logical, but it’s not an absolute need. I managed a data center win San Diego at the time of the California electrical power crisis [1] near the end of the Dot Com days. I have operated more than one at a time since. During those times, which produced rolling blackouts, we just ended up running our generators more often. Power outages in Data Center happen during maintenance and upgrades, not so much during power grid outages. I have still never never had a data center go down during a power grid outage… but have seen many during upgrades, and maintenance.

In the years since the rolling blackouts, I have been colocated in data centers that have made the decision to use special pricing available from the power utility, available when you can have a preemptable load… during peak hours of peak season the power company can tell you to get off the grid with short notice. The data center operators did OK when they did this for most years. They got a lower price on power all year, in exchange for running their generators more. I’d say that the typical year, they ran the generators for several hours per day for 7 to 10 days in the Summer months. The last year they dd this, they ran a much higher number of days than expected… maybe 15 - 18 days from noon to 7pm. I understand they had to stop doing this because of the pollution of the generators or the permits required for such heavy usage... but that info is not first hand. It could have been many other reasons such as neighbors complaining about the noise in the business parks (2MW diesel generators are deafeningly loud), costs related to running the generators for so many hours, etc.

To operate like this, you have to be on your game for maintenance of the generators and checklists and training. You also have to have multiple contracts with fuel delivery trucks, just incase your outage lasts for a while. These data centers were all under 5MW in size each. We never lost critical load during a power supplier outage.
I hope I have illustrated that a reliable power supply is not strictly required to run a reliable data center or service that is dependent upon a reliable data center.

[1] https://en.wikipedia.org/wiki/California_electricity_crisis
> If the state wanted to railroad Assange, he'd have been in jail a lot quicker on much more straightforward charges

Such as?
> hopefully

Why?
Some time ago (in the 1990s, I think) a women who had relatives with autism designed a toy thing that provided some sensory "stimming" activity.

The toy market is brutal. She wasn't wealthy and couldn't afford patent stuff; she didn't manage to make much (if any) profit, so she dropped the patent in 2005.

The toys are a set of 4 bearings held in a plastic frame. http://www.asseenontvandbeyond.com/assets/images/fidget-spin...

You can get deluxe versions using metal frames and ceramic bearings, and some spinners use two bearings not 4.

You pinch a bearing between two fingers and spin the frame.

The toys have a legitimate use for people with autism. It's a shame that they're being misused in classrooms.

https://news.ycombinator.com/item?id=14271914
Honest comment. As a neutral (UK), it's a tough call as to which country I'd prefer in this scenario.

In terms of data, I imagine the US to be just as bad if not much worse (my prejudice) than Russia.

Someone can school me on this if I'm wrong but I prefer Telegram as a platform and I'm ambivalent as to which country my data ends up in (given this choice).

(Editing this comment based on above: "Small correction.
With Telegram your data ends up in Germany.
They are Berlin based and against the current Russian government")
Russia may block Telegram: http://edesknews.com/users-of-telegram-told-about-the-risks-...
>It's also pretty clear by now that the Swedish charges were overblown, with very strong suggestions that it was done for political reasons.

That's not clear at all and there are no such strong suggestions from any reputable source. Assange has not been charged with anything in Sweden, he was merely wanted for questioning before any such charges could be made. People suggesting Sweden wanted him back just to hand him over to the US don't know what they are talking about, no matter how strong they are suggesting it.
Everything About Foil Stamped Wedding Invitations
I've been using Telegram daily for 1-2 years now, I like them both but (1) I think Telegram's UX is superior, and (2) I get why WhatsApp's desktop app works the way it does [i.e. tunnel stuff through your phone], but I don't like using it.
Biased view of a Citus engineer here :)

Any enhancement to PostgreSQL is also an enhancement to Citus, or rather, the PostgreSQL ecosystem as a whole. For example, PostgreSQL 10's declarative partitioning feature will help enable sharding+partitioning in Citus, which is one of the most frequently requested features.

PostgreSQL 10 also gives you the possibility of setting up a partitioned table in which the partitions are postgres_fdw tables, which allows a basic form of manual sharding without Citus. However, as we've learned over the years, there's a huge difference between the ability to distribute a table across multiple servers and addressing a use case.

A sweet spot for Citus is multi-tenant (SaaS) workloads, in which all queries and transactions are specific to a particular tenant. In that case, you can typically distribute most of your tables by tenant ID, and use (replicated) reference tables for data that is shared across tenants. Citus makes sure that data for the same tenant is automatically co-located and as long as your query filters by a particular tenant and joins by tenant, you get full SQL pushdown (with parallelism in PG10), and ACID transactions. At the same time, you can perform parallel DDL commands across all tenants to enable migrations, bulk load data through COPY, perform parallel rollups or transformations through INSERT..SELECT, and run parallel analytical queries. Overall, the combination of these features and the trade-offs that Citus makes ensure that if you need to scale out a multi-tenant app, sharding through Citus solves it. In many cases, the only changes you need to make in your app are adding a tenant_id column to your tables [1], being explicit about the tenant in your queries or ORM [2], and adding create_distributed_table calls.

None of the Citus features that allow you to scale out a multi-tenant app are available if you do sharding through partitioning+postgres_fdw so far. I also wouldn't expect core postgres to make aggressive trade-offs to optimise for specific use cases. The PostgreSQL way is to make everything pluggable and let extensions specialise.

[1] https://www.citusdata.com/blog/2016/08/10/sharding-for-a-mul...
[2] https://www.citusdata.com/blog/2017/01/05/easily-scale-out-m...
This is the actual original: https://news.ycombinator.com/item?id=14271914
Couldn't be that people are actually hyped about Kotlin?
I don't want Facebook to have my conversations. I'm much less concerned about governments.
Just to be clear, it's two Egypitians being transferred to Egypt. Assange is not American.

The case you quote is obviously a violation of International Law, but it doesn't make me more suspicious for the fate of Assange in Sweden.
Yes, as far as I know, storage space is still limited, so you wouldn't want to be storing GBs of offline emails. I'm not sure how enforcing works nowadays - it used to be that old offline data would be culled (I think that was for AppCache), but that might work differently with Service Workers.
You feel more secure is not a good point. This needs to be technical of what kind of encryption feature is used, and not trust on "pappers" of the software creator, or try to feel safe just by using your "spider senses" while using the software.

And remember: You liking or not, WhatsApp is a Facebook developed software.

RING is the only real secure chat software, with DHT, peer-to-peer discovery and encryption.
https://ring.cx/
Can someone compare their productivity with React Native or Xamarin to "native" Java/Kotlin development? Having used RN, the whole state/data layer can be shared across two platforms, and I guess the same is doable with C# and Xamarin. I get that both require bridges when interfacing with ObjC/Java, whereas Kotlin seems to have great (but only) Java interop.
Looks cool, some things I would add:

- Increase vertical scroll after adding a widget.

- Add code detection from title to save some time:

- In the video you set the title to "Ruby Methods Example".

- Loop through the languages and change on match.
I think it would behoove you to use Kotlin. When every other post on this board is about Kotlin, it is clear that is where the industry is headed. Use Kotlin, or risk being left behind.

Edit: Kotlin. Kotlin. more Kotlin.
I would have left it alone except the thread was already derailed by the one-sided portrayal of Kerala as God's gift to Earth.
Maybe he means (if OP thinks like me): can I have the app on the home screen like real apps? The answer is probably no, you still would be the "Add to desktop" which most users won't use, and the app won't be on the app store..
In the case of paypal its not for tax purposes, but its still for money purposes.

Financial institutions tend to gravitate towards luxembourg. Favourable banking law and part of the EU etc.
Actually, this is similar to what you can do in Java by using lambdas (Retrolambda for pre-Java 8, e.g. Android pre-SDK 24). Excerpt from a blog post [1] about it:

mButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// do something here
}
});

can be replaced with

mButton.setOnClickListener((View v) -> {
// do something here
});

which is nice for all callbacks, but especially together with ReactiveX where they are abundant.

[1] http://zserge.com/blog/android-lambda.html
Electric cars have constant torque. And it's a smaller car then all those listed. That's probably why it feels faster.
The submission link has UTMs: https://www.getboost.io/?utm_source=hackernews&utm_medium=so...

This certainly smells.
>He had a solid explanation to what really happened that night. //

So why not go to court with it? He believes Sweden would have handed him over for extradition?
This is the same Washington Post got caught manufacturing stories to generate anti-Russian hysteria:

https://theintercept.com/2016/12/31/russia-hysteria-infects-...

And that created an McCarthyite blacklist:

https://theintercept.com/2016/11/26/washington-post-disgrace...

Of course, the Washington Post isn't really guilty of anything more than slavishly believing what US military officials are saying, who, of course, wouldn't do anything as crass as to try and denounce Assange as an enemy of the people and a puppet of Russia.
I think the relevant part of the page being "Developed by the Obama administration beginning in 2010"