skysight-inc/HackerNews huggingface dataset:
7-8pm according to that link is the net peak, after solar production has canceled out the original afternoon peak. The problem is that even though solar supply does roughly coincide with the peak of demand, solar production has increased enough that, since about 2013, it's gone past the point of offsetting peak afternoon A/C usage, to now producing an actual net trough in the afternoon hours (you can see the afternoon extremum flips from a local maximum to a local minimum from 2012 to 2014, and just keeps going further down every year since, as peak afternoon solar grows faster than peak afternoon A/C).

The new net peak around 7-8pm is because demand has a long tail into the early evening, while solar drops off sharply around 5-7pm. But yeah the end result is that it does cause a problem for grid management if you add more incremental solar, since the original afternoon peak it helped smooth out has long since been smoothed and then some.
Well, those of us with the top of the line model, the Surge, can't really contribute to this discussion. Why can't we contribute? Because Fitbit has, for whatever reason, chosen not to include its highest paying customers with the same features they've given to their lesser models.

https://community.fitbit.com/t5/Feature-Suggestions/Sleep-St...
This article describes the challenges faced by the NYC subway system in a fascinating way: https://www.theatlantic.com/technology/archive/2015/11/why-d...
Source of CodeSandbox.io client has been released
Research and startups are on the west coast, government and finance on the east coast. Q.E.D.
What a difference 16 years makes:

https://en.wikipedia.org/wiki/California_electricity_crisis
An internal DSL would have to be part of the native language. Either Python doesn't (directly) support this, or magic methods partially allow the creation of DSLs by extending the operators.
Manual testing should be avoided when possible, but sometimes it is absolutely necessary.
Am I misinterpreting your usage of "best case"?
It is not sufficient to advance understanding and ideas beyond the rest of civilization. These ideas must be communicated as well.
Download and install? Atom and Chrome are available as debs, PyCharm is easy to install.
> The issue is deeply rooted in local power-wielding elites conspiring or opposing the ruling government. It has nothing to do democracy.

Seems like democracy would make this problem worse, since it redistributes power to local informal power elites.
I didn't even know that was possible...
Wasn't that crises entirely manufactured though?
Very colorful
Possibly, but most customers would balk at paying a fare that represents the true cost of their ride.
Most but some don't. This fails in Erlang

X = X + 1.

because even variables are immutable.

This is ok in Elixir even if it kind of fakes it [1]

x = x + 1

and it's perfectly ok in Ruby and most other languages.

[1] http://blog.plataformatec.com.br/2016/01/comparing-elixir-an...
Yes, I'm willing to give up on the comparison to private insurance/transactions. So now I'm just wondering how to get a hold of Medicare reimbursement rates. We know that they vary by location, and other factors. But it must boil down somewhere, to a lookup table or a formula or the guy processing the forms who rolls a dice and multiplies by the last 3 digits of the medical code to come up with the reimbursement, etc.. Or is it all based on trust, and Medicare just pays 70% of any invoice that gets submitted to them? (And they send auditors out every once in a while in order to keep up appearances)
Is the real news that they made him show up at all? :)
Welcome to the rabbit hole that is date/time handling.
Fortunately for Tesla, it also sells a few more products that make use of batteries.
Darwin award of the year. These morons thought a 1.5 inch book would stop a bullet from a dessert eagle shot at a distance of 2 feet. Words cannot explain how retarded that is. That being said, the woman really doesn't belong in jail.
But so much of the demand is flexible. For example, I get zero benefit from heating my water tank at a particular time. Building grid storage so I can run my heat pump when it's dark and the air is still is inefficient and silly.
You're implicitly comparing western cultures to an imaginary perfect culture, or to modern free (Western) countries. This is not reasonable.

You should compare cultures that share similar options: those living around the same time in geographically similar regions.

>I feel like most people act pretty much the same way and organize themselves in the same way, when prosperity permits.

Saudi Arabia vs Canada today.

Japan 1937 vs Israel today.

Britain 1939 vs Germany 1939.

The only reason you don't care about Anglo Saxon culture is because you're fully immersed in it and always have been. You think that Western cultural norms are actually universal human nature. They're not. They're a quirky weird aberration held by 15% of humanity and falling.
Show HN: My Python Solver for the On-Time Arrival Problem in Traffic Congestion
Hi stjepang,

If the following criteria is met, then perhaps the branch mis-predict penalty is less of a problem:
1. you are sorting a large amount of data, much bigger than the CPU LLC
2. you can effectively utilize all cores, i.e. your sort algorithm can parallelize
Perhaps in this case you are memory bandwidth limited. If so, you are probably spending more time waiting on data than waiting on pipe flushes (i.e. consequence of mis-predicts).
This has been my experience as well... Coming out of deep sleep to a blaring alarm clock is about the worst case scenario. If I can get natural light or a vibrating alarm to "warn" me, I'm much more receptive to the strong alarm and able to become alert much more quickly.

Right now, I don't have much control over ambient light, but I'd like to find a solution. I think that probably means automatically opening window shades in the summer (anyone tried this?) and, since I live in Seattle, a 10 KW spotlight rigged to a timer in the winter...
Having built something similar with RabbitMQ in a high-volume industry, there are a lot of benefits people in this thread seem to be glossing over and are instead debating semantics. Yes, this is not "exactly once" -- there really is no such thing in a distributed system. The best you can hope for is that your edge consumers are idempotent.

There is a lot of value derived from de-duping near ingress of a heavy stream such as this. You're saving downstream consumers time (money) and potential headaches. You may be in an industry where duplicates can be handled by a legacy system, but it takes 5-10 minutes of manual checks and corrections by support staff. That was my exact use case and I can't count the number of times we were thankful our de-duping handled "most" cases.
were you running cyanogenmod? i remember one version of that ROM having e911 issues
How far are we away from programming my psoriasis away lol.
News apps are making a comeback. More young Americans are paying for news.
If whoever you're targeting uses libc++, I already did the analysis: https://bugs.llvm.org/show_bug.cgi?id=20837

To my knowledge it's still not fixed.
Ask HN: Is there no hackable RC car?
I want to build a small self driving car, but am worried about getting sucked down the hardware rabbit hole. Instead I'd like to use an off the shelf car kit, which will let me focus on the software side.

Nice to haves for the hardware:

- Medium sized car (big enough to fit a laptop on top), maybe 3x3x3 feet
- Comes with power, motor, wifi, camera
- Extensible: I can add radar, etc. if needed

The best thing I've found so far is this kit [1], but it's pretty expensive and doesn't seem like it's made to be hacked.

Does anyone have experience with something like this?

[1] http://www.electricbeachwagons.com/index.php?p=1_2_Products
There's not much value in discussing the asymptotic worst-case or average-case performance of sorting algorithms, because just about every algorithm worth talking about is already optimal in that regard.

The interesting performance differences are all about constant factors.
>In other words, should Tiamen Square be de-indexed globally because free speech in China does not require it. Should torrent trackers be de-indexed--free speech does not require illegal file sharing, after all? What about bit torrent clients? Tor browser?

The Canadian courts are not saying 'you must remove these results', not really. They're saying 'you must remove these results or not operate in Canada', effectively.

If China said 'hey google, remove Tianammen Sq from all of your results, not just China' Google could simply refuse to do so. If they did, they probably want to get the hell out of China.

If a court somewhere ruled that torrent clients should be removed from all global search results, then it would be up to Google whether they want to continue operating in that jurisdiction. If they do, then they are subject to the laws of that jurisdiction.

Should torrent trackers be de-indexed? Who cares? It's not about should. It's not about what is ideal. It's about what is and is not.
Resume or portfolio. Be creative and clever.
Be unique.

These are some ones I like:

http://themes.jsonresume.org/theme/elegant

http://kalynnakano.com/

http://michaelaldridge.com/portfolio/

http://www.garysheng.com/

https://rafaelderolez.be/ ( I am definitely a fan of the no scroll page)
I think you have it backwards.

PG's writing got the influence it has mainly because of his startup's success, and later YC's.

There are thousands of nerds with blogs musing about LISP and why nerds are the smartest kids in high school even though everyone thinks they're so lame; there's only one nerd that has such a blog along with a multi-million dollar startup buyout and multi-billion dollar startup accelerator.

If PG had never sold viaweb or started YC, no one would care about his blog.
Low-income workers who live in RVs are being 'chased out' of SV streets
Think about WHY something was said, not what was said.
It's a very limited form of amending (they can't touch money bills for example) and the House of Commons can always get its way in the end as amendments can eaisly be rejected by the "lower" house.
Shallow thinking.
How do you know the (heavily politicized, myopically chosen, inescapably coarse-grained) identity groups they're targeting offer a form of diversity that actually has value in the realm of Rust? Why do you believe that these identity group traits correlate strongly with intellectual diversity that is necessary for the project's health?

If anything, this process (and the efforts from which it stems) seem purposefully designed to eliminate intellectual diversity, in favor of a rigid monoculture maintained by empowering political officers in the enforcement of right-think.
> "There's a huge difference between forced exclusion and voluntary inclusion."

Well, factually, this event forcibly excludes from the presentations panel anyone that is not a female.

We can discuss about some positive aspect we should or should not see in that, but you can hardly deny the fact.
Surely it's more that they don't want to understand what they're voting for. Their main concern is to keep the other party out of power no matter what. Any thoughts about whether the party they're voting for is actually doing what they want are secondary and end up getting ignored if they conflict with the primary goal of not letting the "baddies" win.
Blue Apron May Need to Raise More Money Soon After Shrunken IPO
Considerations are somewhat different for personal vs business use.

For personal use:

I prefer to rent things I don't intend to reuse indefinitely (movies, for instance). But I'm very careful about recurring subscription fees. They add up quickly. Netflix is my one non-utility subscription - mostly because it costs so much less than a cable TV subscription while offering such a better experience.

I prefer to purchase anything that might inhibit my access to data I intend to use in the long term (basically, any software for creating/editing non-ephemeral data). Also, a lot of software is ridiculously overpriced at rental prices.

I rent my apartment because purchasing an equivalent home would cost multiples of my rent every month - I basically couldn't afford it. Also, real estate is already overpriced where I live and thus a poor investment, I don't want the responsibility for upkeep, and I don't intend to stay in this location for more than a few years.

I rent cars because I only need one once or twice a year. I don't even take cabs more than about once a month.

Basically everything else I buy. Or don't need and thus don't buy OR rent.

For business, cash flow and spending money to make money flip some of the considerations on their head.

Renting software for collaboration makes more sense than self hosting as long as the costs are less than the value of the time you'd spend maintaining it. Other software is worth renting or buying (whatever the business model the producers use) simply because you need its features and you don't get a choice of how to pay. The increased productivity of the right package over the wrong one for an employee's core function is easily worth hundreds, often thousands per year.

Office space: rental is a no-brainer unless you're Apple or Google.

Furniture: if you expect your company to exist for more than a few years, buy. Furniture lasts a long time.

Computers: Buy Macs, rent Windows. Your engineers and designers need the latest and greatest once every couple years, sure. But the rest of the company will do fine with their hand me downs. However, the build quality on windows computers is a race to the bottom, and I've seen too many laptops fall apart within 18 months. Whereas probably 80% of Mac laptops are just fine 5 years in, if a little cosmetically blemished.

Appliances: rent. Rental companies seem to have fewer qualms about replacing your appliance and taking the old one back to repair, instead of stringing you along scheduling repairman visit after repairman visit. And you just don't want to be without a coffee machine or dishwasher for three weeks.
Machine code is not arcane, it's right there in the ifs and + symbols of high level code.
eff.org
Offline For Maintenance
We're currently offline for server maintenance. Please check back soon.

2017-06-29
The CTA/RTA is highly corrupt. Unsurprising for Chicago. The usual kind of stuff: patronage hiring, pension shenanigans. A former executive director stepped in front of a Metra train on the day he was going to be fired for taking $475,000 of unapproved vacation pay.
Looks like my pattern I wear a mii band it was 20 bucks baby
I don't understand neither your objection to complexity, nor how to determine "the main part of mechanics" in a sufficiently complex game.

What's the main part of the mechanics in DF? I play it for 7+ years and I have no idea. Most likely, there isn't any.

Still I learned much - directly and by piqued interest - about geology - way before attempting to deliver magma to the surface. Years, in fact.

I feel that such focus on "main part of mechanics" is wrong.

It's like you'd accept a pool simulator because it's "main part" is the combination of perfectly elastic collision and conservation of momentum and reject KSP because "it's too complex".

Of course it's complex. How do you expect to learn anything if it's not?
This isn't abnormal, other examples.

Paying the chemistry industry for shutting down energy intensive operations during low electricity periods

Transfers between countries in Europe and fines when your electricity prediction is off ( it costs a lot)

Useless spending power on hot days for not blasting the net because of solar power

Lower costs at night for using electricity

It's not as easy as it looks, solar power really puts an additional stress on our net, definitely in the beginning of the 'electricity usage behavior shift'. Read more about the reason why electricity is unstable in some countries : http://infoboxdaily.com/3-african-countries-with-erratic-pow... - didn't find anything better

Source: done a project for 'Electricity usage prediction' in Belgium with one of my previous employers.
Ghostscript4js v2.0.3 is out
> Those are the three primary mediums for selling ideas in modern society.

Again, according to whom? Is this some generalization you're making up on the spot, or a statement that is quantifiably provable? It's really not clear to me that video production is used to sell ideas significantly more than radio, or highway billboards, or public speaking.
This article was produced by a newspaper for a region where butt implants are a thing and the hottest gossip is what stars are fucking each other.

This article was not read by the majority of its intended audience, and even if it was, was not understood by a majority of those that read it. Asking for it to contain more information is silly given those facts.
Without enlightening me on what your interpretation is, I have no way of telling.

pdqsort has a worst case of O(n log n). That means, no matter what, the algorithm never takes more than a constant factor times n log n time to complete.

Since pdqsort is strictly a comparison sort, and comparison sorts can do no better than O(n log n) in the average case, pdqsort is asymptotically optimal in the average case (because the average case can never be worse than the worst case).

On top of the above guarantees, if your input contains only k distinct keys, then pdqsort has a worst case complexity of O(nk). So when k gets small (say, 1-5 distinct elements), pdqsort approaches linear time. That is pdqsort's best case.
I am grateful for the EFF and the work they do taking on Internet copyright bullies. Well done.
Like Youtube right now + some ways to assess your skills.
Sounds like some post hoc rationalization. I could similarly state that a video is just a piece of interactive multimedia , without the interactive aspect - not sure what that brings to the table regarding the definition of literacy.
Would you people not conduct this tedious flamewar for the twenty seven thousandth time? It's blatantly off topic and most of us want to sleep the sleep of the dead when we hear it.

This goes for both sides, insofar as continuing the argument only feeds it.
Architectural Comparison Between NoSQL Databases (includes GridDB) [pdf]
> This is what innumeracy looks like.

I don't know whether it's innumeracy so much as lack of time, and also the specific expertise (not just ability to understand numbers, but expertise in this specific area) to be able to understand the information. For a general reporter (not an 'energy correspondent' or something similar) the article you're proposing would take at least a week of study and research, probably more, this 'he said, she said' stuff can be knocked off in a few hours.
Group Behind 'Petya' Resurfaces to Distance Itself from This Week's Cyberattacks
Uncovering Lisbon’s History of Slavery
Taiwan is a "democracy", just a deeply corrupt one.
Being regularly subjected to anything even half as loud as that would be a complete non-starter for me.
> it's still something that has to be dealt with somewhere

Database programmers have the means to deal with it off-the-shelf: BEGIN TRANSACTION ... COMMIT. When your queues are in the database, this becomes trivial. Even without the system I'm talking about (Service Broker) that has the queues stored in the database, most regular messaging systems do support enrolling into a distributed transaction and achieve an atomic dequeue/process sequence, is just that many apps/deployments don't bother to do it because the ops overhead (XA coordinator), reduced throughput and/or simply not understanding the consequences.

Point is that durable, persisted, transacted 'sockets' are behaving very differently from a TCP socket. Is a whole lot harder to simply lose a message in the app layer when interacting with a database.
Exact. If California had a consistent excess of solar they wouldn't need so much from the Hoover dam.
we'll post the talks on youtube after the event.
I wondered whether TFA would ever get to the cause of this waste, and eventually it did!

Once state regulators approve new plants or transmission lines, the cost is now built into the amount that the utility can charge electricity users — no matter how much or how little it is used.

Oh, so that's why they kept building natural gas plants that don't get used most of the time! If you've ever been to a PUC meeting, you've seen corruption at its most brazen. "Citizens' groups" entirely funded by utilities and telcos wait their turn to dutifully read the prepared statements, the commissioners dutifully thank them, and then they go to work with the rubber stamp. It doesn't actually matter that power plants get built in a timely fashion or actually operate more than a small percentage of the time, the rate-payers are already on the hook. The only way a utility executive gets a bonus is by saddling the public with CWIP charges, so that's what they scheme to do every working day.

No coal, gas, or nuclear plant should ever be built by forcing the public to do the job of investors. If investors can't be found to support a plant that supposedly will generate for decades, maybe we should listen to the market?

[EDIT:] Great article, though, because it tells the whole story, and that seems rare anymore.
Many of us might say the same thing about the conference's divisive approach, said approach's root in intersectional theory and post-modernist-derived political ideology, and our perception of its nature as grossly deleterious.
I agree dang :)
This is so awesome! I bet it wouldn't be too difficult to test many browsers and resolutions this way! I love the image diff idea to produce results that are very easy to check for accuracy.

Of course the setup work seems pretty miserable. I don't think I'll be implementing this ever but it's certainly a great task for an intern.
Only one other city crests ten percent and the after that its five percent and down.

Easily available figures suggest you're... way off with that estimate.
I would say that Patchwork which runs on SSB protocol is more secure than Slack (if used on your LAN) and it's written in a freaking javascript.
It's not a flame war. We are not discussing whether it is right or wrong. Only that it exists. And apparently, nobody wants to acknowledge the elephant in the room.
Where Is Nokia Now?
Not only that, but the results couldn't fit in a tweet so people could retweet it over and over again like masturbating monkeys, so in the mind of legacy media, why produce it?
You're not wrong. The northeast system is absolutely viable--bankrolled mostly by business travelers who get a lot of value out of being plopped down in the middle of Manhattan or D.C. at the end of the trip. The underlying rail is viable for commuter lines too. Otherwise it's a boondoggle and diverts money that could be better used elsewhere.
ipfs link: https://news.ycombinator.com/item?id=14640115
> The world needs more women-led companies.

This seems like a very broad statement.

What is meant by "the world"?

Whoever is meant by "the world", why do they "need" more companies and why should that need factor into one's career decisions?

Why "more" companies instead of working at existing companies? Given that the most obviously influential speaker at that event is an employee at a not woman-led company, isn't that a contradiction of the claim?

Why "women-led"? Why focus on biological sex? What about intersex? How about trans or non-binary gendered?

In my view, starting or leading a company is just about the single hardest professional undertaking. You should only do it if it closely aligns with your personal purpose, otherwise it will be a nightmare experience. Encouraging someone to take a career path simply because of their association with a group, without reference to their individual objectives, is improper and will lead to an unhappy life.
Solar panels can also decentralize energy generation, letting communities be more resilient and prevent global blackouts.