skysight-inc/HackerNews huggingface dataset:
Cost of transmission already more then the cost of power in many places in Finland. Though I think that is mostly due to the subsidies in generation side being much larger then transmission.

For example for me transmission is 0.022€/kWh while power itself costs 0.03€/kWh. This is with a 2 year contact. With 1 year contract it would be closer 0.04€/kWh

This is with 1x25A (quite common for apartments/flats) connection. The transmission fees go up in some networks if you have more (like the very common 3x25A for houses)

I happen to live in one of the cities where the city still owns the company that owns the networks so I have one of the cheapest transmission fees in the country. For example my parents who live ~50km away from me have to pay 0.0398€/kWh for transmission. They used to have it cheaper then I did but the network was bought by a foreign owned company (Caruna) which is now pumping out the legal maximum amount of profit from transmissions (it is regulated) by gaming the system by taking stupid loans (paying multiple times market rate in interest) from their parent company to make the company never make profit (price hikes are partly connected to profits)

Privatisation of the electric grid (the transmission part) is just plain stupid. It is a natural monopoly as nobody is going to build a second grid where an existing one already is available and I really don't believe capitalism is any good in that situation. The solution for power generation here in Finland is good as you can buy your electricity from anyone but you still have to use the local grid and thus pay to the local (monopoly) power grid company for transmission. This is one of the things where I think we have failed here in Finland big time. Should have just kept the network public and outsourced the maintenance and building to private companies trough competitive tendering.

edit: And solar is just plain stupid in Finland. Basically for half the year it is between ok and great. For the other half it is somewhere between bad and 0 electricity generation. And the time when you get 0 energy from your solar panels is the time when it is the coldest and need the most energy. So building solar here just leads to having to build double energy production and hikes the price of electricity up for no good reason.
In another refutation of Betteridge's Law, the answer is yes. Google has been relentlessly trying to recruit people in my peer group for a long time. I guess it's a specialty that's in high demand somewhere within the 'plex. A lot of these people are very talented indeed, and about half of them just won't even consider Google. Of those, it's another even split between those who are uninterested in Google generally (privacy issues or ad-based business model) vs. those who are specifically put off by the interview process. So that's maybe a quarter of that sample. It's something I'd be deeply concerned about if I were at Google myself, but I guess they feel that if they just fling enough money around they'll find enough people willing to put up with that crap, and since they literally have more money than they know what to do with it's not a problem.
Or, flip the argument around.

Most cops in the US are fighting against the use of body cams. Why? They don't want to be recorded.

Most courts don't allow recording equipment in them. Why? They don't want to be recorded.

Most government workings are hidden behind bureaucrat walls. It requires other laws such as the FOIA to force government to be open. And FOIA requests are widely ignored, delayed, redacted, etc.

If the people enforcing the law refuse to be recorded, why in living hell should you let them record you?

You should have as many rights as they do. Including the right to privacy.
DynamoDB pitfall: limited throughout due to hot partitions
I think it is silly that the triangle actually touches the circle at three places instead of just one (i.e., the place indicative of the selected hue).
The Little Coder's Predicament
Top Help Desk Software – 2016
> World Stage

Come again? Try switching off the news for a while.

The world doesn't need an elite to run, the plebes run it just fine.

There isn't a "World Stage".
It's kind of the same thing when people assume that you only need a simple data structure for representing a family tree.
> when I saw the example code I automatically thought "that's definitely not a good way to make a copy"

Sure but that's not really the point, it's just an easy way to trigger the issue. If you look at the original issue[0], the initial use case is merging two maps:

let first_map: HashMap<u64, _> = (0..900000).map(|i| (i, ())).collect();
let second_map: HashMap<u64, _> = (900000..1800000).map(|i| (i, ())).collect();

> The user wants to merge the hash maps, and does so naïvely,

let mut merged = first_map;
merged.extend(second_map);

> Time for merge when second_map is shuffled: 0.4s

> Time for merge when second_map is not shuffled: 40.s (x100 amplification)

The example in TFA is a simplified/boiled down to the barest version exposing the issue from a more real-world case of "was transforming one HashMap into another (with natural language words as keys), iterating over the keys of the first HashMap, inserting them in the second with different values."

> I'm not familiar with Rust, but I assume the class contains a special cloning method which does something more like a memcpy()?

You can't memcpy the hashmap since it could contain non-trivial keys or values (e.g. refcounted heap allocations)[1], but you could clone() it for a one-shot copy. As noted above you're missing the forest for the trees though, that's just an easy trigger case, the point is not cloning maps.

[0] https://github.com/rust-lang/rust/issues/36481

[1] and the hashmap is mostly a pointer to a big holding the keys, values and hashes, which you probably don't want to share
Vim (or, PHP Storm using VIM plugin - although it isn't as powerful as normal vim), just because it is much faster to use/navigate/edit (and available on any machine).

I prefer vim in a proper gui though (as opposed to in a terminal app), its just a bit easier sometimes to use a mouse...
This is akin to saying

"The USA bans all burning of moon rocks for power"
Here is another Bloomberg story about Robert Mercer, for those interested: http://www.bloomberg.com/politics/features/2016-01-20/what-k...
I think this is slowly becoming one of the last acceptable forms of discrimination.

We know that terms like "Cultural Fit" can be used a proxy to cover up for all kinds of discrimination which is illegal / socially unacceptable.

I think "Passion" has become of those terms. It allows you to exclude a whole raft of people without admitting the real reason.

Socially awkward? Not passionate.
Bad at public speaking? Not passionate.
Suffer from depression or anxiety? Not passionate.
Find it hard to show emotion in front of people you just met? Not passionate.

Here's a revolutionary idea: interviewers could just evaluate candidates based on their technical aptitude, skills and experience.
I don't know what the answer is either, but I would like governments to invest more time, money and effort into researching ways of achieving peace, rather than fighting to suppress war.

It may, indeed, be more difficult than tracking what everybody does and incarcerating those that are suspected of plotting acts of violence. I think the payoffs may be significantly better, though.

I hate to compare these kinds of cultural issues on the internet, but I have lived in many places in the world. Culturally they are very different. How we act in our countries, states, cities and even houses is governed by our culture. Some cultures value peace greatly. Some prefer justice to peace.

When you look at the people around you, you may think, "There is nothing I can do. There are evil people and I can't change that. I can only fight them so that good will win." In my experience, this is not true. Many people have problems and it is only society and culture that can save them from those problems.

How do we extend a culture of peace and create a global society where we help people in need? That's what I would rather spend my money on. I'm willing to suffer from the attacks of those that need help in the mean time.
> America’s overall image around the world remains largely positive. Across the nations surveyed (excluding the U.S.), a median of 69% hold a favorable opinion of the U.S., while just 24% express an unfavorable view. However, there is significant variation among regions and countries.[0]

I think we can agree the US often acts like a douchebag and that it has a lot of passionate haters, but the fact is that there are not that many great countries in the world.

It's true that the US is not number #1 in a lot areas and I really believe that's a good thing. The whole world should improve, not just the US. Inequality is at the root of a lot of evil in this world.

[0] http://www.pewglobal.org/2015/06/23/1-americas-global-image/
So... are the ISPs instructed to record only domestic connections? Or am I being surveilled too if I happen to connect to an ip address located in the UK? Or similarly, if a UK resident happens to connect to me?
As someone who is a Systems Engineer by day, and a DJ by night I can highly recommend anyone that has even the slightest interest in Djing to just jump in and give it a go!

Don't get caught up in the details (Hardware/software, CDs/mp3s/vinyl etc) just yet - try and find your starting point and progress from there. The barrier to entry has never ever been lower!

When I started, there was no choice but a pair of Technics SL1200 / SL1210 turntables and a big record collection (CDJs had not even been introduced!). Now you don't even need to invest a fortune in building a vinyl collection!

over 20 years later, here I am - I do at least 2 gigs every week (try to just stick to Fri and Sat nights, but could have more work if I chose to, although Djing until 3 or 4am on a week night is not exactly compatible with the day job!

I still have the original set of technics turntables that I bought in 1994, they still work - although I have moved on to a serato setup using the CDJs provided by almost all venues these days! I'm too old now to lug a massive box of vinyl around hahaha.

One last point - I'd echo previous comments that in reality its not about how technically brilliant you are. Like a lot of things in life, its really about who you know! so get out there, meet the promoters, other DJs, venue owners / managers etc. thats the key to getting a foor in the door.
Skanska about cooperation with JCommerce – interview with Péter Béres
It's only available in the Enterprise version, which is well beyond the budget of most.

https://www.visualstudio.com/en-us/news/releasenotes/vs2017-...
Does the power requirement change between USB 2.0 and USB 3? If not, I don't see why more power would change anything.

I also don't think a power problem on an attached USB device should give my computer a kernel panic.
Sorry I didn't answered previously about the number of local machines. Actually it depends much more on the network configuration than the number of machines itself in our case.

We used two machines to simulate up to 600 requests per second, that was much more than our average use, actually much much more. And we measured it without HAProxy or Varnish or similar systems between our servers and the clients.
I always wonder how Google manages to hire. I have a good friend there, but it was only because another role fell through that she ended up at Google; had the other company's HR department decided it was okay for a husband and wife to be working in the same department (different teams), she'd have gone there first.

For myself, Google's recruitment process was pretty laughable. I applied once in college for an internship, which was never responded to (fair enough), then had a recruiter reference it three years later when I was actually looking for another job, which I followed up on, but then had them drop off the radar (as seems pretty common) for a month, as I took a job elsewhere, and then later recruiters doing the same thing, referencing the time I applied 5-7 years earlier as 'expressing interest'. No, not interested.

It's just as well their interviews are geared for college students, because that seems to be the only type who would actually tolerate their hiring process (well, that and the type who doesn't actually need an interview, the famous 'oh, you have literally written the book on X, come work on X here' sort)
Hypothetical? Ad agencies are already using everything known about you. Maybe you don't care about that, but it's very real.
Maybe people will actively sign up to be part of botnets launching DDoS attacks continuously, just to generate enough noise.
Stripe’s Valuation Nearly Doubles to $9.2B
What about the argument of quoting? Say I record everything you say, for the next month. Every joke, every statement, every sarcastic jab.

Couldn't I now do a 60 minutes expose making people believe all sorts of things about you? That you're a closet <whatever people don't like>? Paint you as committing some crime that you had nothing to do with? It doesn't have to be very believable, just believable enough that people will always wonder. Humans are pattern matchers, surely if I give you pieces, you'll fill in the blanks yourself?

I mean you're basically going on the record, with the world all the time.
The difference is that if you start a discussion with Germans about Hitler, they will probably know more about it then you, because it gets taught in schools.
Point 9 (UN Security Council) is something I hadn't thought of. That would be the Insecurity Council. Finding five people more likely to draw us all into a catastrophic war would be a challenge.
Google groups truly is a work of wonders.
Modular JavaScript Books
HQbird 2017 (advanced FirebirdSQL distro) was just released
The application to spheres and the possibly apocryphal story of the orange is bordering on the absurd, and is amusing, for sure. But the prospect of having the Soviets pull ahead in the nuclear race kind of put a damper on people's sense of humour in those days.

But that said, these policies are about eliminating the grey zones enabled by imperfect and inconsistent application of human judgement, and are alive and well today in practically every organisation that even vaguely deals with sensitive material: The clean desk policy. Because sensitive material would be written on paper, any paper is considered sensitive by default. It's obviously entirely impractical for security staff to go through all the paper on your desk and validate that they only contain "safe" content, and frankly, it's a fairly high cognitive load to constantly evaluate that for yourself for every sheet of paper. So the policy is that everything is removed at the end of the day, and it's easy for everybody to understand.

The same again for physical security. Everybody wears their badge visibly all the time. Yes, it's obvious that you work here, and the guard knows you and you've said good morning to each other every day for four years, but by making the policy apply to everybody all the time, you remove the grey zones where a bad actor exploits a security guard's lapse in judgement: did you really leave your badge in the pocket of your other coat, or were you just fired in the other building? 99.99% of the time you really did forget it, but it's the other 0.01% we have security for in the first place.
> Ah but square error is not a metric, its square root is a metric.

Yes, I was using "squared error" because the OP was. What I wrote was modulo a square root missing here and there!
I prefer a real pomodoro
Europeans won't buy Chinese goods because the quality is horrible, and they understand that by buying them, they would be making themselves poorer and jeopardize their own jobs and economy, even if they are the cheapest. So the only way for the Chinese to make inroads was to start buying European companies, and then infiltrate their goods into Europe that way. At least they will try, and in the long term, nothing short of major political interventions will stop them from eventually moving those jobs to China, where the labor is cheaper... cheaper for now.

I for one don't want to support oligarchs in People's Republic of China exploiting people who have to work 16 hour days for six days per week for low pay. We had that in Europe in the 19th century, and we learned that it leads to really low standard of living. It's exploitation.
Trump could possibly be the great equalizer.

Under him, higher interest rates will crush global property values (which are disproportionately held by the ultra wealthy).

Global warming, which he doesn't plan to do much about, will be a great threat to coastal real estate (also controlled by the global wealthy).
True. We tend to forget the lessons of history very fast.
I did the Google interview process and it lasted around four months. Finally, their decision was to say 'no' to me. They reached out for me twice after that, asking if I was interested in doing the entire process again. I turned them down both times and tried to politely explain that I didn't have any more time for them, that I already invested all the time that I was willing to invest in any company and more... Hell! I even used a week from my vacations to travel to their offices! What I don't understand is, do they expect us to dissappear from our jobs for a week, to travel to their offices, and not loose our current jobs in the process?
This is very interesting. Thank you.

What book would you recommend for this discussion?
They should call it "State-of-the-ARTificial Intelligence". Teehee.
I would also hazard a guess that the closer to the horizon the Sun is located, the more atmosphere it needs to cross to reach you (because of the lower angle) which results in higher absorption rate before it reaches you (simply said, it's a bit darker the closer you get to the poles). I'm mostly guessing though, so please correct me.

ps: I remember seeing the sun in northern Norway at midnight in the summer long time ago when I was visiting. Was just a little bit brighter than the moon usually is.

pps: This is the same effect as what the sun looks like just before sunset around the rest of the world.
That distinction doesn't really matter. Willful ignorance by anyone in power should definitely be classified as malice. Remember that as your representative, they should be able to explain their actions to you.
yeah ok, tell this to the casual user. The flippant response doesn't help anything.
Visual Studio seems to keep incorporating features from ReSharper in every new version, and ReSharper subsequently keeps adding new features as a response. The ReSharper developers have the fun task of combining these features into a coherent UI.

New features in VS2017 that were already in ReSharper include configurable suggestions from static analysis, Ctrl+T navigation (it even uses the same shortcut), structured find references, intellisense filtering, multiple refactorings in given scope, live unit testing and coverage (in ReSharper Ultimate).

This is great and a bit amusing at the same time, but as a user, I like the improvements we get.
I suspect it selects for a very particular type of person -- someone who values the opportunity to work for google more than their own time; and consequently results in employees who are eager and willing to put the company before themselves, work long hours, and not challenge the company's management or policies.

It's like a gang initiation: put them through an ordeal to test and cement their loyalty.
Beats me why, but every picker I've seen use a ring-and-triangle UI does that. Maybe it's for the same reason that primary colors are always 120° apart on a color wheel?
In court they don't often bother with that distinction. If you own the connection, it's considered it's you sending/receiving the data.

Not saying that's a correct interpretation, but that's likely the conclusion they'll come to.
> disclosed

Yeah, carrier contracts also "disclose" everything, there's a reason why it's called "small print".

It would only take to make it opt-in, instead of opt-out to rectify this.
I don't know.

I imagine that MITM on a large scale is par for the course for GCHQ.
My bad!

I can see the potential for this in the following scenario:

People start using it to showcase the service/software by clicking on a button on GitHub.

Or imagine yet: going to the docker hub, clicking on a button, and getting a server with that up and running.

This might be huge. Providing support for an image with docker and allowing one to use docker compose or the such seems the way to go here.

If this post doesn't reach some of the projects with more potential, you should try to reach out to them yourself.
Choosing Between Plain Text and HTML Email
*State capitalists are the best managers of capitalism, the government does control the means of production, not the people themselves.
You misread my comment: the threat is hypothetical, not the privacy invasion :)
I didn't know that Noam Chomsky posted on HN.
Weirdly, it seems very oriented for a European set of employees. A friend of mine who joined earlier this year was quite happy to burn through several days of holiday in order to take the interviews. But, as we get ~28 days a year, it isn't such a big deal.
Considering that "the West" is reliant upon China for cheap labor for high tech goods, as much as China is reliant upon exporting to "the West", and with global military powers at a MAD stalemate, I don't think that is much concern for the near future outside of elites figuring out how to maintain their own local monopolies and playing it off the public to get an advantageous deal.
Please Don't Learn to Code from Stock Photos
مشاهدة مباراة النصر والتعاون بث مباشر تابع لايف يوتيوب اليوم اون لاين
Copying and pasting the code in the live demo really irritated me. They should make the constructor reuse the default constructor.
The problem is that domestic mass surveillance is not that effective at stopping these people. Everytime there is a terrorist attack or mass shooting it seems that we get the same story of "they were known to the local police/FBI" or that their family had concerns. Spying on everyone is just increasing the size of the haystack and making it harder for someone to follow up on actual hard intelligence.

Another alternative is to have limited surveillance that requires a judge to sign off on it after seeing a good reason to suspect someone. Personally I have no issue with that - it's a model that has worked for decades and strikes a balance between public safety and personal liberty.

Terrorism and mass shootings are going to continue until we address the root causes and even then we will still have occasional incidents. The public need to have realistic expectations and stop with knee jerk reactions that result in security theatre like the TSA.
SAN Updates for Debian Stretch
Presumably the non-https assets which get pulled in when the main request is fulfilled could also act as a "fingerprint" of the page you are visiting?
Maybe I'm just used to it, but I never had much trouble with the old Paint color-picker, that was sort of like a 2D spectrum[1].

[1] http://media.tumblr.com/tumblr_ls9s60OkvV1qz9jbw.jpg
As the world heads to the future, America heads for the early 1900s.

China will become the leaders of the world by default.
Desire lacking ability turns to Kitsch.