skysight-inc/HackerNews huggingface dataset:
I could be wrong, but I don't believe the existence of Go was much of a problem. Go and Dart are very different languages aimed for very different use cases. If anything, I think Go helped us because we could point to it as a successful language that Google hasn't cancelled.

> not that far from Java

This is something that hurt us, I think. You can write Dart code that looks a lot like Java, and many of our early public examples did. To make matters worse, for no good reason, Dart 1.0 didn't do any type inference, so even though you could use "var" for local variables, doing so would give you a worse user experience.

But you don't have to write Java in Dart. You can write really elegant, clean code in Dart in a way that Java doesn't enable. You don't have to stuff everything inside classes. We've always had nice terse lambdas, higher-order functions, collection literals, etc.

Here's a random little program of mine:

import 'package:hauberk/src/engine.dart';
import 'package:hauberk/src/content.dart';

main() {
var content = createContent();
var save = content.createHero("blah");

while (true) {
var watch = Stopwatch();
watch.start();

// Generate a dungeon at each level.
var count = 0;
for (var i = 1; i <= Option.maxDepth; i++) {
var game = Game(content, save, 1);
for (var _ in game.generate());

// Read some bit of game data so the JIT doesn't optimize the whole
// program away as dead code.
if (game.hero.pos.x >= -1) count++;
}

watch.stop();
print("Generated $count dungeons in ${watch.elapsedMilliseconds}ms");
}
}

It's not the most beautiful code in the world, but I do think it's a good bit simpler and cleaner than it would be in Java.
The question is very broad - if you narrow it down to a specific area, it's a bit easier. Generally, by industry and company type, company make up (eg: peopele, process, technology) will focus your directives and approach. A risk assessment, performed on the people,process,technolgoy and roles within them helps. You can narrow it down by looking at security focus for your vertical. Look at the easiest targets (generally those not requiring physical access) .... so email phishing, spoofing, and in some cases external penetration. Although external penetration is not as large a threat as many make it out to be compared to other factors.
> Isn't copyright a bound on distribution?

No, it covers any reproduction in a tangible medium, whether or not you distribute.

I believe a court has ruled that RAM copies count. I'm not finding the case now though.

I think the journalists would have a strong Fair Use argument...
CA is a huge state with a lot of grid to manage. There are lot of transmission lines and lots of trees, fires, mountains etc. that must be dealt with when doing grid maintenance.

Utilities also over installed a lot of generation capacity after the blackouts in the 2000s. We are still footing the bill for all the natural gas plants they built out of fear for future blackouts. Electricity demand has been flat since 2008, and many generators don't get used much (yet rate payers still paid a guaranteed rate of return to the utility to build the plants).
> However, they can refuse a bailout from the Sauds to go private

What do you mean? I may be missing something here, but I really don't understand this part.

Are you suggesting the Saudis are the one that will provide the 50B$ needed to go private?
Yeah, and in Flutter it's actually impossible to use system native UI libraries like navigation etc. So if you would like to build a simple app using each platform's native components, you'd have to build them yourself. (And update them as iOS/Android updates their UI).
A tactical nuke that emits a strong EMP.
It's likely a short-term problem. There are plenty of ways to fix it (besides the one you mention, just shut down coal & oil power plants for good and replace them with technologies like natural gas or hydro that can easily react to spikes in demand), but all of the fixes require capital investments and time to build factories & tooling.

Basically this is a problem because a bunch of existing incumbents are probably going to go bankrupt, or at least have to write down a lot of capital equipment and invest in new technologies. Boo-hoo for the incumbents, but it's good for consumers and good for society.
While I don't necessarily disagree with your statement it is important to note when Eisman and others shorted the housing market before the 2008 collapse their positions also took big negative hits having to pay hundreds of millions to hold their short positions. Obviously in the end of the housing market collapse they made massive profits. Still very early in their TSLA position to determine the winners & losers.
Ask HN: Who Will Buy Tesla? Masayoshi Son?
I don't care so much about tools, and I don't really care about the product. I do care about solving problems. Does the company have problems that I'm good at solving? Are they interesting problems? (Admittedly, somewhat tied to the product.) Do they have enough of them to keep me busy for a while? They don't make missile guidance systems or ad tech? Then I don't think I care what kind of software widget we're making, when would like my first day to be?

Oh, I don't have "passion" for the product? Who gives a shit? I have passion for doing the best work I possibly can if I hire on to your company. Whether you're making Exciting New Whatever Tech or a boring ass old CRUD app, I will you give you my best, guaranteed. Never will you hear an excuse out of me about how the product doesn't "excite" me. That's what I care about, and it's what companies ought to care about when they're hiring people.
There's a Cupertino theme.
Probably that and "quick start" powerplants already serving this function in the UK.

Right. Quick start plants basically convert "stored" energy in the form of natural gas into electrical energy on the grid. The natural gas supply has a chemistry/physics advantage in terms of storage efficiency. (As well as industrial infrastructure already built up.) This would allow us to calculate a target number for the storage cost of batteries which could compete. We can then apply industry trends to see which battery chemistry or power storage technology might become competitive, and when it is likely to achieve that.
No need to panic. You can still edit your application. Its not very intuitive. Here's how - http://bit.do/howtoeditstartupschoolapplication
I could be wrong, but I don't imagine Elon likes Bezos very much.
I think that usually, stuff like desalination plants aren't over-dimensioned but are built to consume some known amount of power.
There's nothing to consume near-free power because that capacity would sit idle the vast majority of time.
Bring on the compressed air economy! http://www.lowtechmagazine.com/2018/05/history-and-future-of...
Snapchat source code reportedly leaked, published on GitHub
Thanks James. This is super useful feedback.

I'm still working on how to present the credibility of the team. I've avoided listing everybody on the site thus far because people's availability varies.

I can absolutely get a quote from a VC (or two...). That's a great suggestion. I'm also in the process of adding logos to the site of funds who've invested in companies that we've helped.
Electricity isn't a great market. End-users with solar power are allowed to use the grid as a perfectly free battery, which is why everyone is dumping power on the grid at high noon.
Can it be combined with scene reconstruction from cameras? My simple iPhone seems to extremely good at it in the AR kit.
I guess this will maybe emerge in the future if the trend continues and is fairly steady. The problems I see is that the capital cost of many of the most energy demanding processes are such that they only make sense to run almost 24/7, and if the cheap electricity is only available 8/5 (or something) the economics might not work out. Maybe there are some applications out there that are cheap enough for this to be sustainable.
Is that a security risk? That could just happen due to a logic bug.
You miss my point. No statistician worth his salt would ever consider these numbers relevant, Yet here it it's all over the news. Why the over compensation for women? A whole story making women out to be superior to men in some way with trash to back it up. Why? If women are capable, give them props. Don't make up stuff based on horrible data.
> don't expect it to become the norm

Google One is supposed to offer live support to paying customers. Obviously we cannot tell yet if this is going to work, but my hopes are high.
Hi, HN!

Hacker News is undoubtedly one of the most important social news sites for a person like me.

But, I'm too busy(or lazy) to check the site often enough and I miss trending stories, products, questions, and discussions.

That’s why I made this, HAKARAN, Hacker News Rankings, on which you can browse the top rankings within day/week/month ranges for story/show/ask categories.

Let me know what you think;)
Underkill
the key to solving this problem is a communications link between the supply side and the demand side. It's crazy that there's a complete disconnect between something that consumes power (that in many cases could delay it's consumption until a time when there was excess capacity, or at least make a more informed decision) and the supply side. I started episensor in Ireland and we've been working on this problem for many years.
Yes, because as we all know, both sides are exactly the same.

/s
So how do all the other companies do it then? It is not like Tesla is the only public company where some or all employees hold stock, and it is not the only one with a volatile stock price either.
> By contrast, in Florida, I get the sense that people think that's the way things are supposed to work. They believe they have a good system and that the system works the way God intended.

It depends who you ask. I've only lived in Florida for 40 years but I find it split in thirds with 1/3 willing to tolerate Tallahassee corruption and crumbling infrastructure as the price of low taxation while the other 2/3 are appalled but don't or can't vote.
And that's why well skilled professionals did not participate in the 9/11 attacks.

https://en.wikipedia.org/wiki/Mohamed_Atta#Academic_studies

Actually, among all groups- engineers are considered - if religious to be the most dogmatic and fanatic. That - tabula rasa and lets start with a complete new approach mindset - sometimes glimpsed on hacker news, is the gateway to heaven on earth.
Sounds like you're talking about electric cars, not hybrids.
Here you go - https://www.washingtonpost.com/amphtml/news/the-switch/wp/20...
You "currently" have a drought, but otherwise you have plenty of water, so a desalination plant isn't a wise investment (yet).

Also keep in mind that these are energy spikes that cause negative prices, whereas most industrial uses need a constant and even supply. These spikes are countered by periods of little to no energy.

This is the biggest problem with (most) renewables, they cannot entirely replace coal or nuclear energy for that reason. Energy storage (at cost) is an unsolved problem.
That's some confidence.

What's the likelihood that China or the US will be around in 999 years?
Yes, populism is like that - people are conspiratorial and easy to rile up by the press who are always looking to spook us a little bit.

To the point wherein if someone doesn't buy into their conspiracy, they immediately call others 'naive' and then claim they must be 'paid secret plants' by said organization.

The scenario you described is not going to happen, and analysts are not remotely 'pricing it in'. They're not even thinking about that.

They are however thinking that if FB gets into 'current account banking' for folks ... then that could be a very popular thing.

You may be surprised to find that most product managers and analysts are surprisingly normal people.
Spanish Eurofighter accidentally fires a missile in Estonian airspace
An interesting perspective on why Elon might be pulling this move: https://www.barrons.com/articles/tesla-stocks-surge-puts-con...
Your concerns are interesting.

Here are some solar power plants that appear to have the secret to overcoming temperature, sand, and wind. Any ideas what they're doing?

• 1547 MW capacity: Tengger Desert Solar Park

• 1000 MW capacity: Kurnool Ultra Mega Solar Park

• 1000 MW capacity: Datong Solar Power Top Runner Base

• 850 MW capacity: Longyangxia Dam Solar Park

• 746 MW capacity: Bhadla Solar Park

• 600 MW capacity: Pavagada Solar Park

• 579 MW capacity: Solar Star, Rosamond, CA, United States

• 552 MW capacity: Copper Mountain Solar Facility, Boulder City, NV, United States

• 550 MW capacity: Topaz Solar Farm, San Luis Obispo County, CA, United States

• 550 MW capacity: Desert Sunlight, Desert Center, CA, United States

• 500 MW capacity: Huanghe Hydropower Golmud Solar Park

• 452 MW capacity: Mount Signal Solar, Calexico, CA, United States

• 400 MW capacity: Mesquite Solar Project, Arlington, AZ, United States

• 140 W capacity: Mars Spirit Rover (ok, the experiment failed in 2011)

• 140 W capacity: Mars Opportunity Rover
Moderately skilled teenagers with lots of free time can do plenty of things "just for the lulz". More skilled adults disgruntled by any reason (religion, politics, love, etc) can do some serious harm even when they could put those skills to far better use.
Yep it is just a matter of time.

Successful lawsuits against insecure software need to become a common event until most companies actually start paying attention to their technology stack and development processes.
Capital costs vs. marginal costs.

You're going to build a $100M desalination plant and run it for three hours a day? That's a ton of money sitting idle most of the day, far more than what is recovered with zero operating costs.

(This is called the utilization factor -- how long a piece of equipment is used vs. staying idle)

Ideally you want useful processes with low capital costs and expensive marginal/energy costs. Desalination is not one of those.
From the beginning that I got interest in Tesla there were scary stories that they will fail, their cars are crap etc.

Now as I think of it, most likely authors of these stories did it to cause stock to dip so they can purchase at lower price and once it recovers sell.

The traders that are actually help the company purchased stock a while ago and are just keeping it. The get-rich-quick traders are the ones that are ones that are hurting the company.

His announcement mentions that they are thinking to leave option to hold private stock or purchase at $420/share. I think the idea is basically to get rid of those bad investors, since if you would opt to the private stock you wouldn't be able to sell it easily.
It's a shame, I was a HUGE dart for backend proponent. I made libraries and even middleware for API servers and such. I was constantly fighting to get ANY focus on the backend standard libs. In the end, I had to give up and stopped fighting. I still maintain my uuid, base32, and otp libraries, just upgraded them for 2.0, but Its a shame because Dart could have so easily competed with Node.js and it was a major replacement for it for me.
I imagine something like this would happen, if this is a "real" economic phenomenon rather than a quirky price/billing system. I think that it's something like that though, a goof in a not-quite-designed collection of old energy funding/billing setups and newer green energy stuff.

Otherwise there'd be someone just consuming electricity for pay. I don't think this is "retail."
Saudi Arabia might have enough oil to last until demands drops..... It is also some of the cheapest oil to extract, so sometime before they might start lowering prices to push everyone else out of the market. Keep in mind their production is restrained now to keep prices high.
PWA are not native UI for the platform, and the web browser isn't meant to do everything on a computer. Sure, replace some things but PWA Twitter is no Tweetbot. PWA is lowest common denominator like electron apps. There's a place but they're not the end all and can never be
Many people would prefer to have USB-C cables on their phone. I guess the majority don't care, many would like USB-C and those who prefer lightning are in minority. The transition from lightning to USB-C would also probably be simpler than from 30-pin to lightning.

In the long run people will have more spare usb-c cables than lightning ones as well.
So far they've preferred providing incentives through tax policy - worked for residential solar installations.

The land in popular destinations (shopping plazas, malls, large corporate offices) is privately or municipally owned, the state cannot just barge in.

This is a good list of current California incentives https://www.chargepoint.com/products/station-incentives/
A power wall that's paid to be charged during peak generation, and gets paid again to discharge during peak consumption would be pretty fantastic.
I love how Container takes 'child', but Column takes 'children'.
"Desalination is ridiculously expensive" - as long as you are near the ocean, it's pretty cheap. Hyflux[1] on a 25 year DBOO contract will sell you as much water as you want for less than $0.50 per 1000 liters. Combined with even a modicum of water conservation [2], you can get per-capita water use down to around a cost of $0.05/day at a 100 liters of use a day.

[1] https://www.wateronline.com/doc/pub-and-hyflux-sign-water-pu...
[2] http://www.waterwise.co.za/export/sites/water-wise/downloads...
Is the responsiveness of an oil plant so different from a natural gas plant? Why? They're both essentially a furnace fueled by a flow of combustible fluid, right?
If Tesla goes private, that is the end for the shorts - there is no "after" after that. Everyone who shorted will have to pay back their shares at $420 a share (or whatever the final price ends up being).
It's spreading because the market is oversatured with renewables because of government subsidies. A sound investor would stop (or go bankrupt) when the negatives outweigh the positives.
My mom just bought a Prius Prime, a plug-in hybrid, a few months ago, and it seems to solve all the problems of dealing with poor charging infrastructure in Texas. It can go around 25 miles on pure electric power, so that takes care of 90% of her driving (charging at home at night). For longer drives, it's a hybrid, so it still has a gas tank and can go just as far as a regular hybrid or gas car.
>If public equity markets don't work, the alternative is more and more of wealth creation happening privately

I say that's a fair point, for the reasons you describe, that there's less oversight, and more mammoth capital sources that have an appetite for VC at nearly any stage.

The "aren't encouraged to think long term" is an odd bit. You are right but at the same time it seems to be at least imo that we (the market) want these ownership structures. We want Page and Bezos and Zuckerberg and Musk, but we want to own it too. Snapchat and its S&P denial would be the battleground there.

So I think to paraphrase you latter idea "we might to formalize a public equity model that is more flexible around a founder/visionary, or we might need to be more explicit about who controls a company, and what can be done to change that control."

I suppose the balance to me is between making the burden of public markets lighter on companies with longer term vision, and exposing retail markets to a wild frontier that is imo only appropriate for more sophisticated parties.
definitely not a ban. They're limited to salaried workers and to a year in duration. Not the three years that used to be standard.
I thought they used electricity to deionize salt water, the salts are already dissociated into positive and negative ions, so pass a current through the water, and every now and then raise the electrodes out, mechanically scrape it off or reverse current in dump brine to remove the ions...
An energy industry where the bulk of energy production is wind & solar with natural gas plants to handle peak demand spikes is significantly more environmentally friendly than an industry where the bulk of production is oil & coal with a few nuclear plants thrown in.
> Clearly the system you advocate is an abject failure at preventing crime, maybe it's time to open yourself up to new processes? It literally can't get much worse.

I advocated for nothing, if you read my message I'm not saying one system is better than the other. I'm just saying adopting the nordic model isn't going to work with a society with such a level of violence like the USA.

> People don't want to be criminals, they want to live, but they don't all know how.

Plenty of people want to make money the easiest way possible, and if it involves committing crimes like murdering people they'll do that. You are assuming everybody is like you and follow basic humanism. Well some don't.
> I couldn't agree more. Pi-Hole is essentially useless for real world scenarios.

As a user of pi-hole, I have no issues with small scale implementations (i.e. less than 20 users) but security is more important than access to random sites for personal use in the environments I work in.

It is just is for security-prioritized environments.
The Best SEO Tools to Help You Dominate the Search Engines
I think you need at least one of three things to get a new language off the ground:

1. Extreme compatibility with the current entrenched language so you can incrementally migrate. C++ from C. CoffeeScript and TypeScript from JavaScript. Kotlin from Java.

2. A killer app (well, framework). Rails for Ruby. WinForms for C#. Applets and J2EE for Java (later Android).

3. A new platform where you must use the language to target it. C for UNIX. Objective-C for iOS. JavaScript for the browser.

There are a few exceptions here and there, but the above are the typical well-trod paths to success for a language.
Why this post was flagged?
Bush II stuttered through "The Pet Goat" - I certainly wasn't saying he came up with the idea to attack Iraq by reading the New York Times [0].

The point is that it was an integral part of a propaganda campaign to sell the Iraq War.

The meme of "fake news" fuels an environment of groupthink deciding what should be outright ignored. It is thus a tool of power, not truth.

[0] I am aware of the general blindspot created by writing these people off as idiots, alas.
According to internal memos, at SpaceX they have liquidity events roughly every six months, by bringing new investors on board and allowing stock-holding employeees to be part of the transaction. The same could be done at Tesla - new investment rounds would be extremely easy with everyone dying to get onboard the privately held company.
If the technology used to sell more ads can be also used to cure cancer, it's fine by me.
> Let's imagine a bank is working on this deal; why would they tell a reporter?

There is a difference between not telling a reporter and denying it to a reporter.
Also some producers in some markets receive subsidies in the form of feed in tariffs (fit). With FIT and near zero marginal costs (e.g. wind or solar) you can bid a negative price and still make a profit.
So, PiHole has a web interface to blacklist/whitelist items, but it's hard to use for debugging as what it "sees" are just a bunch of DNS requests come through (they aren't grouped by page/user - at least in the version I had going).

But in Chrome with uBlock Origin - it very clearly tells you what's happening and you can selective unblock domains until the page starts working and then turn around and add that domain to the whitelist.

I'm making this sound harder than it actually is, it's honestly just a couple mouse clicks and page refreshes in Chrome with uBlock origin going.
How for loops actually work on JavaScript [video]
How is that relevant? The fact that IEDs wouldn't pass muster in a proper military doesn't mean we don't need tools to deal with them.

Having a better weapon doesn't stop a shitty weapon from killing you.
SegmentSmack: tcp segments with random offsets may cause a remote DoS
The CVE is: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5390