skysight-inc/HackerNews huggingface dataset:
I recently rewrote a small app in flutter that was originally react native.
Initially I was sceptical, mainly about learning dart. But it wasn't hard to pick up.

I found the development experience much smoother than react native, things just worked, whereas in react native there were many many small bugs and issues with the many packages required.

Flutter IDE support is good with the intellij plugin [1].
Performance, I didn't do any benchmarks, but a simple list with thousands of items feels much smoother on flutter than react native.
There are packages for redux as well in flutter, so state management is taken care of [2].
The only downside I experienced with flutter is that Json handling is clumsy, apparently because flutter doesn't support reflection, which would be necessary to have comfortable Json-decoding like with Javas gson or go's json package [3].

Another thing to consider is that react native will render on one thread, and handle the application logic on another thread, but that means the application logic is still restricted to a single javascript thread, which can lead to bottlenecks eventually. From what I understand (haven't tested), dart can work multithreaded, having an advantages there.

End of the day, I would chose flutter over react native. Mainly because of Javascript and all the pain that comes with it.

[1] https://plugins.jetbrains.com/plugin/9212-flutter

[2] https://pub.dartlang.org/packages/flutter_redux

[3] https://github.com/flutter/flutter/issues/1150
The original Dart announcement was a presentation entitled "Dart: A Structured Web Programming Language." Dart has evolved beyond that mostly by necessity; people weren't adopting it for web programming, and so if it was going to survive, it needed to adapt.

http://gotocon.com/dl/goto-aarhus-2011/slides/GiladBracha_an...
someone correct me if I'm mistaken, but for the particle the time goes so fast that it sees the 215,000 years that we see the photon take to gain a 1 centimeter lead go by in a flash
Considering I've always avoided the JVM like the plague...
Misleading title as Werner Vogels is not the author. Direct link https://medium.com/containers-on-aws/building-blocks-of-amaz...
Sounds reasonable, 500mil * 160 bits of SHA-1 would be 500 mb of space. Even with some metadata to manage it, the smallest instances should be able to handle that.
"You’re saying that any object given this contract must be an object containing 2 properties (no more, no less)"

The parenthetical 'no more, no less' should be removed here as it is misleading. TypeScript interfaces do allow the objects that 'implement' them to of course have other properties defined. See the LabelledValue example in the TypeScript docs:

https://www.typescriptlang.org/docs/handbook/interfaces.html
Surveillance becoming opt-in on sites that monetize surveillance is rather unlikely.
A lot of this i think is down to how people drive. I feel nausea when one particular friends drives. His driving is aggressive.

But i can get the train and have 0 motion sickness.
Note that there's no need to actually perform N-M+1 exponentiations and N-M additions. Two exponentiations, a subtraction, and a division will give you the same answer.

Sum[A^i,{i,1,N}] = (A^(N+1) - 1) / (A-1).
Sum[A^i,{i,M,N}] = (A^(N+1) - A^M) / (A-1).

Consider A=10, M=6, N=2. Sum = (10,000,000 - 100) / 9 = (9,999,900) / 9 = 1,111,100, which is easily checked mentally.

Yes, I've stared at permutations for far too long, but I can't have been the first to notice the pattern. It must be in plenty of textbooks.

Another cute combinatorics question: using an alphabet of size A, generate the Nth largest M-character sequence where no two adjacent characters are equal. A simple count-and-check algorithm takes O(N) time, but there's a simple O(M) algorithm (that is, constant time if the number of characters is fixed), assuming constant-time basic arithmetic operations.
These days the gcc and clang memory/address sanitizers can do this quite nicely, and they tend to have low overhead as well (in my limited experience so far).
Typically, privacy violations are instances where the user has not consented to sharing the information. In the scenario you describe, if someone willingly posts their own personal information they have forfeited their right to privacy.

The law is meant to protect people from companies rather than people from themselves.
I have a few friends that do this - fully staffed businesses for outsourced sales for startups. I do it myself on the side. We work only on commission and make a killing. So many startups are founded by people that want nothing to do with selling. They gladly pay the fees.
I think the grandparent is saying there's a limit to the number of additional efficient light fixtures one would add with promise of low runtime costs because of higher initial fixture, bulb, and dimmer costs for LED.
Looks great! Do you know what, if any, performance impact this has?
Don't filesystem caches basically do this for you?
I would agree with you on the current situation. It would be nice if the US did not have to nuke anyone if Japan or Germany were invaded. WWII ended a long time ago and almost everyone who fought in that war is dead. Maybe the occupation should end also.

I guess my post was part of a bigger idea about reducing the need for US overseas occupation of the Axis powers and its huge military industrial complex. Most countries could have a small number of nuclear ICBMs, well defended but transparently held. A little shooting among neighbors would still happen like with China, India, and Pakistan today, but such a setup might reduce the probability of a large nuclear exchange causing a nuclear winter while still preventing the horrible conventional world wars that seem to happen when nuclear weapons don't exist. It would be nice if nuclear weapons could move to a tit-for-tat posture instead of MAD. I think the tail risk for a MAD strategy is highly underestimated by almost everyone.
> Making lights more efficient won't make people buy more of them.

Yes it does. I personally added a bunch of lights I would never have added if they were inefficient. But because lights are so cheap (it's barely worth my time to turn it off, although I still do it), I added a bunch of them.

I'm still spending less on lighting power than before though.
Apple probably needs a datacenter of its own anyway. Just think about all of the data they use internally for projects, and other sensitive stuff they would never allow to leave the network. So building a state of the art DC with low PUE makes sense.

However, farming out some of the costs to other cloud providers seems like a good strategy to eliminate single point of failure, or avoid all data being lost if somehow one provider loses data. And maybe then they can focus on adding compute units rather than storage, and backup for the storage units.

In short, despite Apple's user base, I still don't think it is on the scale of AWS or Google.
New York would want to compete, and it's big enough to do so. And I don't blame them for escaping the "city/state/geographical category is the next Silicon Valley" drivel that's been written previously because otherwise you just end up being eclipsed by Silicon Valley in endless comparisons between them.
> No. Professionals in engineering or the trades have to know the regulations that govern their industry and abide by them.

Eh, not substantially or consistently more than in software. It's possible to cherry-pick examples where engineers in other fields are more aware of relevant regulations, but overall, it's roughly comparable.

I'm generally very critical of the move-fast-and-break-things mentality, but engineers in other fields are generally not more knowledgeable about industry regulations than software engineers are.
Appetites are sated and efficiency isn't driving (or, rather, enabling) demand. Populations in highly developed nations, with the most supply, are stabilizing. Materials science, telecommunication, and software are replacing part of energy as a component of GDP. Though it is hard to get around the prediction that electrifying transportation will create significant additional electricity demand.
Most commuting in the US is done on highways, no at-grade crossings, and most congestion is caused by the imperfection of humans driving (look up rubber banding effect on traffic). Self driving cars can use the same 4/5/6 lane highway MUCH more efficiently than mere mortals can...
The performance difference for one thing - this comes not only from not using javascript, but also from the fact that there is no DOM to update and has been designed from the beginning to maximize use of the GPU.
Of course do both. I was not advocating otherwise. :)
This may be a streetlight bias, but it seems (from a distance) that big US cities have more industrial specialization these days, with a big cultural weight.

SF/SV for tech. LA for media. Houston for oil....

Is it as prominent as it seems?
It IS a factor.

Many people choose Python because of the libraries available.

Many developers just want to ride the wave, not innovate.
I am not a lawyer nor a security expert but we've decided at the place where I work that unstructured fields which are unlikely to contain personal data—but might in edge cases where a user chooses to enter it—don't fall under the GDPR purview.

An extreme example of this is in hosted email—if Alice writes an email to bob@gmail.com with some of Charlie's personal information, it would be absurd if Charlie could ask Google to remove the email. (Although maybe reasonable if Charlie could request to not have his data used by Google to target him or anyone else with ads.)
I have zero evidence, but I think it may have to do with sense of touch. For me it's more comfortable to be in a cold room under a blanket than to lie on a bed in a warm (or even hot) room. Similarly, I'm one of many people who enjoy lying in a bathtub. It somehow feels relaxing. The touch, the pressure of warm water.

Studies on autism might shed more light. Temple Grandin even built herself a machine which would touch her from sides, the way cows are.
> Then that part is worthless

GDPR requires that the use cases be itemized, and the user can opt out of each one individually. So if the user opts out of receiving a mailing but not the store locator, you have to manage how much data you collect about that person. I agree that for the most part this will just be another click-through like the cookie law was, but companies will be required to accommodate those minority that do care.

> Is the penalty going to be high enough to justify not breaking this law?

The penalty is up to 4% of annual global revenue. Global revenue.
All legit ad networks are trying - this behavior is awful for them and doesn't earn them money (it loses them money when the publisher sees these and stops using the ad network). The miners are just 1/2 a step ahead of ad networks.
>And I'm pretty confident the majority of experiments are using sample sizes larger than 12.

It definitely varies by field, testing 3 doses and a negative control with 3x replication would be a pretty good experiment for testing a drug in mice. It's plenty of data for identifying a drug that actually works, as long as your statistical tools aren't designed with expectation of thousands of samples.
Google very publically and explicitly said they would not abide by China's rules regarding their services about a decade ago. I wouldn't be surprised if those other services have local chinese servers which are serving the requests from China and are effectively subject to chinese laws.
www.famipix.com
Free for schools. Hosted in Europe.
There's no good reason for networks or last mile infrastructure to be privately run in the first place because competition does not come about naturally. The incentive of a private owner will always be to sit on the network and collect rents and spend as little on maintenance and infrastructural investment as possible.
I find it nearly impossible to sleep blanklet-less. I guess it's encouraging to know even the Papua New Guineans feel the same.
Right. Seems like Germany needs a cash for clunkers program like the US had. The best way to guarantee a car not pollute is recycle it into constituent components.
Thanks for this input, I'll see about that.
https://www.reddit.com/r/askscience/comments/7dqqsh/what_wou...

https://www.reddit.com/r/askscience/comments/3o16ut/what_wou...
Says in the article, "This post is a draft. I’ll keep writing this post today while the tweet spreads! Keep coming back for more info :D".
Here is the facebook site explaining how this works/will work.

https://www.facebook.com/about/basics/manage-your-privacy/fa...
What tends to happen is that people look at the energy going into motor vehicles from oil products, and they assume that translates into the same amount of electrical power.

But actually an internal combustion engine is ludicrously inefficient, whereas an electric motor is not. So shifting to electricity saves loads of power, that's not why we're doing it, but it's why their intuition ends up wrong.
This comment should be higher up. It's not the advertisers. It's the ad network not noticing that bad actors (that aren't advertisers) are gaming the system.
Totally, and I'm in favour of people figuring out what the facts are by themselves over Google doing that on their behalf. My call was more for those people to keep my comment in mind when they're doing so.
Did Human Sacrifice Help People Form Complex Societies?
> Can in theory be ported to Desktops also,

https://github.com/google/flutter-desktop-embedding
Globally, demand is going up, dramatically. It's generally falling in advanced industrialised countries, though.
Yes, here's an article describing the feature from 2010.

https://www.pcworld.com/article/213894/Facebook_Adds_Facial_...
Even if the cumulative amounts of fatal accidents is reduced, certain types of accidents happen less, if different types of accidents happen more often, say accelerating into a wall uncontrollably, that is not optimal. I worry that we will accept 'slightly better' as good enough, along with the consequences that come with it.

At some point, economics and actuaries come into play. It will be worrying when 'AI is safer than humans!' can be pointed to as a reason to not correct expensive, perhaps intractable, AI failures.
My major problem in the workplace is my recurring depression. Last year my boss suggested I reduce my workload and go from a 40 hour week to a 30 hour week (with a proportionate pay cut). That has been a big, positive change for me. I kind of miss the money, but all in all, I think it was worth it. I am not sure that is a helpful answer, though. :(
What you all described is the nice sounding part of RTBF.

You can then use the same mechanics of those laws to censor things you don't like, as an organization or a government.

It's the age old argument of spirit vs letter of the law.

The spirit might be privacy, the mechanical letter is actual censorship. It is why I don't think something like RTBF wouldn't stand up in the USA, since the law probably wouldn't survive a 1st amendment challenge.
I got it from mbasic.facebook.com
Rakuten will roll its $9B loyalty program into a blockchain-based cryptocurrency
> Those cars will need to charge every 100-200km

More like every 400-500km. Even current electric cars generally have ranges in the 350km+ range, and they're getting better every generation. Unless my work provides me free charging, I'll be charging at home where my electricity is supplied by my solar panels.
> Not really, unless you're about to give up everything Google has created.

I basically have. DDG + Fastmail + Firefox. Google is not some magic technology elf that makes the web work. And frankly, their products aren't THAT good. Search has been declining in usefulness for years, YouTube is a hot mess that's in the process of demonetizing all the niche content.
This is cool tech, but more cars/miles travelled is bad, not good. We would be healthier, happier, less harmful to environment, richer, have more friends, be better connected to our communities, etc. if we built mobility around walking, biking, transit, AND cars... not ONLY cars.
It's hardly a "recent" trend now.
Not if the route is well designed. One of my colleagues at Stanford developed an algorithm which can `rebalance' without increasing congestion: https://asl.stanford.edu/wp-content/papercite-data/pdf/Rossi...
The term of art people in these HN comments are looking for is "Energy Intensity" -- the amount of energy required per dollar of GDP. Like many factors, it has been dropping. Here's a quick intro:

https://en.wikipedia.org/wiki/Energy_intensity
I've seen utility subsidized bulbs at Costco.
True, although there's an interesting side effect. With the false positive rate tuned low any call to the actual API would likely be saying "My password is one of the ones you already know about" with quite high probability.
Fascinating to me that you picked Thriller as an example, as MJ even demonstrates a 2&4 clap during the song.

https://www.youtube.com/watch?v=sOnqjkJTMaA&t=5m0s

Curious what you mean by half the claps? Would this involve clapping only on every fourth beat, only on every second beat, or am I completely misunderstanding?
Volume/time - pour slowly into a funnel and it works, pour too fast the funnel overflows and you get cancer. People accustomed to high altitudes likely have bigger funnels.
The difference between "transmission" and "distribution" is just an arbitrary cutoff at a certain voltage? I think it's fair to combine them, then.
That's surprising. Seems like it would be easy to inadvertently drain your battery.
That's my point. The paper didn't predict bad things happening.

It specifically said that banks were holding higher level tranches of CDOs. Because they're MTM accounted they could suddenly drop in value if default rates increase. This, in turn, could cause other banks to suspect their creditworthiness and pull their funding lines.

In other words, it was very specific about what it thought a collapse mechanism was and it turned out to be spot on.

I don't believe they were either lucky or prescient. I think that they were well informed and joined the dots in a way that few others had.
You can do that by raising your prices with inflation.
This really depends on the model used for utilities. Here, for instance, transmission is a monopoly (held by the old state monopoly generator), but generation is not; generators and companies who sell electricity (who aren't necessarily the same) pay fees to the transmission monopoly, but they themselves aren't monopolies.
During his recent visit to the US he testified before Congress on issues regarding data breaches. That would have been one hell of a bait and switch.
Not even HMD people believe that Sirocco is going to sell. They are just putting it into the market to show that they are coming. It's for the presence and testing the market for input. Walk before run. Their next high end phone will be the real thing (and it's going to be 5G phone)

There is a good reason to expect that HMD/Nokia phones will be very competitive in just few years. UMD has Foxconn money and manufacturing muscle behind it plus everything that comes from Nokia Research/Bell labs.

46% of Hon Hai's (Foxconn) revenue comes from Apple. Foxconn wants to reduce its dependence from Apple. Nokia wants to maintain the value of its brand in consumer space.
so how can one believe by turning it off will really make it disabled? After all it's all about a CSS/JS animation ;)
Me neither, but I always had the idea, that it is impossible to think about events, at a velocity of c, since it is impossible to properly think about 2 events, that are infinitely separated in time.

The Lorenz-Factor(γ) for a velovity approaching c approaches infinity. Thus, from the reference frame of a particle at c, the time dialation: ΔT = γ*Δt, also becomes infinite. 2 ticks on a clock (Δt) of an ordinary observer, take an infinite amout of time in the reference frame (ΔT).

This doesn't prove or explain anything, but the fact that we can't handle infinities very well, in our casual thinking.
The only difference between what is "code" and what is "work" is context: in this case, the work of interest is a property of some input code. If you want a framing that matches your notions of input better, just imagine we're measuring the asymptotics of a VM/interpreter, and then the code truly is the input.
Are you an entrepreneur? Have you built a business? When things are done to extreme sure.. the slimy salesman or the spammy robo-calls are a nuisance.

Take a list of the world's 400 billionaires and ask them who has NOT Cold-Called?

My guess is its less than 10. Or to put it another may, most successful people Cold-called, their "heros" or experts in their field or successful people in town etc.

So I disagree the way you put cold-calling.

If you want to start a business, I strongly suggest you to change you attitude towards Sales. Unfortunately, Engineers have this unjustified hate towards Sales, not every sales pitch or call is unethical or pushy.
Former consciousness neuroscientist here.

Julian Jaynes is really only of historical interest. For starters, he's more about meta-consciousness than raw awareness per se. Most of his ideas are intriguing, but has the feeling of a Just-So Story.

To quote Dawkins: "It is one of those books that is either complete rubbish or a work of consummate genius, nothing in between! Probably the former, but I'm hedging my bets."
I think notion.so is a great option (for smaller teams - I have not really tested with many users).
Cold calls like will likely get forwarded to our internal extension that relays to "Lenny". The longest we've had someone on the line talking to the bot is currently at 8:37 on the leaderboard. :D
link is broken but google cache works, thanks a lot!
from 2016 to 2018 the numbers changed for sure
Anyone have a handy link to where I can opt out of this?
I hope so. Flutter is intriguing and is clearly in its own league as a toolkit.
They do this in some countries; the bulk of public electric car chargers in Ireland are owned by the old state monopoly generator, for instance.
Big numbers don't "guarantee life", rather they make it "very unlikely there isn't life". It is the same way that "an absence of evidence is not evidence of an absence".

Secondly, it remains a challenge to categorize and define the envelope for what is and isn't "life". We have a decent hold on "earth-like life" but it will not be sufficient for all that might be encountered in due time (or already exists unbeknownst to us). If you have ever defined an ontology you know that it becomes more and more challenging to put definitions to the universals as you climb up the ontology. At the top, the universal from which all other universals inherit is very commonly left descriptionless.

Last, there are many alternative to the Christian One-God view that you express (I am sure you are aware and chose to limit your points for brevity). There are spiritual books that explain/propose/posit the universal disconnect between the living conscious beings of Earth in this material plane and the myriad of "beings" that exist in other higher dimensions/levels/shells.
You need power for acceleration, not torque. (But I agree that modern diesel cars accelerate fast enough).
Hey Google! Your Android IDE (full of feature taxes) is pulling this down! Did you forget Dart doesn't need a compiler, so there is no immediate use for an IDE? Please remove it from your setup and we'll talk!
Western Digital moves pins around and gets a press release out of it...
Of course, you are right when you say "Once you create an instance of something [...] code will be created".
But what I am pointing here is BEFORE you create any instance of anything.

You define a contract, what your object should look like. With an interface it's checked before runtime and then translates to no code. But using a class, you have code generated for the runtime.