skysight-inc/HackerNews huggingface dataset:
Interesting read.

"Schmidt arrived first, accompanied by his then partner, Lisa Shields. When he introduced her as a vice president of the Council on Foreign Relations—a U.S. foreign-policy think tank with close ties to the State Department—I thought little more of it. Shields herself was straight out of Camelot, having been spotted by John Kennedy Jr.’s side back in the early 1990s.

...

Some time later Jared Cohen arrived. With him was Scott Malcomson, introduced as the book’s editor. Three months after the meeting Malcomson would enter the State Department as the lead speechwriter and principal advisor to Susan Rice (then U.S. ambassador to the United Nations, now national security advisor).

...

I knew little else about Cohen at the time. In fact, Cohen had moved to Google from the U.S. State Department in 2010. He had been a fast-talking “Generation Y” ideas man at State under two U.S. administrations, a courtier from the world of policy think tanks and institutes, poached in his early twenties.

He became a senior advisor for Secretaries of State Rice and Clinton. At State, on the Policy Planning Staff, Cohen was soon christened “Condi’s party-starter,” channeling buzzwords from Silicon Valley into U.S. policy circles and producing delightful rhetorical concoctions such as “Public Diplomacy 2.0.” On his Council on Foreign Relations adjunct staff page he listed his expertise as “terrorism; radicalization; impact of connection technologies on 21st century statecraft; Iran.”"

What I get from this is that Schmidt has (had?) very deep links into the US State Department.

This was new to me so thanks.
What's the energy cost of the current system?
Well, that doesn't mean it's wrong. I'm far less likely to introduce bugs when "just hacking" on a Flow-typed JS project than I am when carefully (and tediously) trying to refactor an untyped one.
Very important lesson in not connecting your google products
Took an SVG and treated it properly; good job.
Show HN: Glow, a smart energy tracker for your home
In the most basic sense you can view it like that. When combined with the typical behavior of traits it gets more interesting. Say you have some data:

struct Foo;

Then we can make a trait, that defines an interface that we can give to data later:

trait Bar {
const BAR_CONSTANT: i32;
fn some_function();
fn some_method(self);
}

Then we can actually implement that trait for our data:

impl Bar for Foo {
const BAR_CONSTANT: i32 = 42;
fn some_function() {
println!("foo's associated function, and the const is {}", Self::BAR_CONSTANT);
}
fn some_method(self) {
println!("foo's method, and the const is still {}", Self::BAR_CONSTANT);
}
}

Then we can use it like so:

Foo::some_function(); // foo's associated function, and the const is 42
let foo = Foo;
foo.some_method(); // foo's method, and the const is still 42

And now we can take it further. Imagine that you have another piece of data, `struct Qux`. Then you can do the same and `impl Bar for Qux`. And now you can write a generic function like so:

fn bar_taker<T: Bar>(something_that_impls_bar: T) {
T::some_function();
something_that_impls_bar.some_method();
// And of course we can refer to T::BAR_CONSTANT in here as well.
}

And call it like so:

bar_taker(foo);
bar_taker(qux);

AFAIK, the big deal with associated consts is specifically that it allows generic code like that to refer to different values on a per-type basis.

Here's all this code on the Rust interactive playground if you'd like to poke at it: https://play.rust-lang.org/?gist=60bd64e1b2f52bb91ed0b0cb428...
I ended up getting fat and a few health issues working at a unicorn start up. It took me 18 months to realize how badly I was handling it. Correcting for that work culture required a decent about of self reflection and introspection, that was hard to manage while working 60 hours a week.
The current limitations of private transactions are essentially that they are slow and that they don't support things like multisig or timelocks. All of these limitations are being worked on.

The academic paper you refer to had both a theoretical construction and an implemented system.
If you guys had a home office position for some of the skills I have, I'd definitely have applied.
This whole era of data gathering boggles my mind, what kind of fluff do they extract ? and how valuable is it really ?

I think it was S. Yegge that said we turned the smartest brains into like-button developpers. :sigh!
It's not though, AFAIK the x.foo() syntax is just sugar for

let a = Foo;
Foo::bar(&a); // if bar takes &self

Plus, there is no concept of inheritance. I don't see how that meets any definition of OOP unless you make the definition so weak as to be meaningless.
"... could barely muster a few words throughout the conversation" could easily be "shy and embarrassed", though. In a less weird setting than speed dating, they might have more to say.

Of course, a first date is also a pretty weird setting. The advantage is, it lasts long enough that there's a chance the "shy and embarrassed" can wear off, and the more normal person can come through.
From the article:
"The truth is that much of the extra effort these entrepreneurs and their employees are putting in is pointless anyway. Working beyond 56 hours in a week adds little productivity, according to a 2014 report by the Stanford economist John Pencavel. "

I don't see how the study, which was done on manufacturing / production workers, necessarily applies to knowledge workers or entrepreneurs?

My experience working 80-90 hr weeks was that as long as I had flexibility to vary the tasks I didn't sense any drop in productivity. In many cases the fewer context switches increased the amount of "flow", and projects went more quickly than they would have.
Yale cutting football has 0 chance whatsoever of convincing a single SEC school to cut football. The SEC would be around sponsoring football even if every other conference was shuttered.

Edit: Okay maybe Vanderbilt would leave.
As with previous capacities, another use case is to have your entire music library available in your phone. I use one of the previous 200 GB uSD cards with my whole music library. It's nice to have everything available everywhere I go. Now even those with >200 but <400 GB of music are able to do the same.
IIRC, "bound" has more to do with quantification than polymorphism more generally.

There is "parametric" vs "ad-hoc". https://stackoverflow.com/questions/6730126/parametric-polym... has a link to the text of TAPL explaining the difference here.

Rust traits and Haskell typeclasses would be ad-hoc.
As far as working conditions at factories go, Apple has at least put pressure on them to make improvements. What other major electronics company has done that?

http://www.nytimes.com/2012/12/27/business/signs-of-changes-...
Most of them are. Thus the book.
If you need a writable version of the data a copy must be made.

Now, you might argue such needs ought not arise. In practice, due to resource constraints, however, they often do.
> The rules of football, boxing, MMA, etc. have been continuously changed to make them safer

I disagree, at least in part.

Pretty much all of the rules of boxing make it unsafe, and it seems to have evolved to be increasingly so. Boxers have to ignore every instinct that their body has to protect them, from continuous clinching to grabbing to taking the fight to the ground.

If a boxer falls to the ground, dizzy with head trauma, the referee will literally count to 10, and if that boxer can stand up, they can stand in front of their opponent and be hit in the head some more. Like they're a piece of meat.

MMA is much, much better in this regard, but still has some bad parts, and many of the changes have made things worse and not better.

The original UFC rules banned hand wraps, which allow fighters to throw wide, fastball-style overhand punches that would otherwise be impossible without breaking hands.

The original rules also did not provide for referee stand-ups, which have nothing to do with the sport and are instead a purely subjective move to make the fight more exciting. Leaving the fight on the ground is always safer (and, IMO, almost always more exciting, but that's a different topic).

The system of weight-determination in MMA (typically a single weigh-in, 24-40 hours before the fight) absolutely incentivizes deep weight cuts, and that's disgusting. Changes to these rules have often made things worse instead of better (options for an early weigh-in, a ban on IV rehydration, etc). Although OneFC is doing brilliant work in this field I will say; they are an exception.

MMA is a great sport and almost certainly much safer than Football or Boxing, but it's up to fans to stand up and demand re-examination of some of the rules that have gone in the wrong direction.
I miss my Atari :(
I think this prompts an interesting conversation about corporate power to influence speech. Also, think tanks impact more than just the people funding them so the customer model doesn't fit as neatly.
> If the choice was between working for that and not working, I think the choice is easy.

You need to consider the humanitarian aspect of forcing someone to work multiple jobs and very long hours to avoiding starvation and sleeping on the streets.

If paying more taxes is the price to know no kid will sleep hungry and no family will have to live on the streets, I'll gladly do it. I don't care if they will or will not show up to work (I bet most will, because 12000+7000 is more than 12000).
Yes. Far less physical however. You can 'join' a ruck, but not tackle full steam, let alone a shoulder charge or direct hit.
I was trying to support Safari, yes. But maybe I should just give up on that.
Depending on the language, interfaces can be a lot less powerful than traits. Traits can have default implementations for some methods (meaning you don't have to explicitly implement all of them), and in some cases they can be completely derived automatically. They're really more similar to Haskell's typeclasses than traditionally OO interfaces.
Hello HN! I'm one of the creators of Glow.

Glow is the first full home energy monitor that you can install without calling an electrician or taking your life in your hands. In addition to providing a detailed web interface & mobile app, Glow changes color in real-time based on how much power you're using. Our findings have been that this information slowly improves how you use power, much like how the Prius's introduction of a real-time MPG display causes people to drive more efficiently. Glow also has goal setting, IoT integrations, and alerts if your energy usage is unusually high, for example when an electric oven has been left on by accident.

One of the things I'm most proud of about Glow is how we found a way to use the magnetic field sensors commoditized by cell phones and a clever calibration technique to measure your power usage non-invasively.

We've been working on Glow for over two years and testing it in real world homes for over 9 months. We'd love your feedback and support if it interests you.
Conversely the only Samsung microSD card I ever had failed on me. I've also had some trouble with SanDisk cards from time to time. My general experience is that microSD cards are okay but I'm not at all happy about them.

I'm doing a project soon involving a Raspberry Pi. I've used rpi for various things before but the different thins time is that it's going to be installed at the location of a client. I am quite nervous that the microSD card will fail. For my own stuff I can easily write the image to a new card and it doesn't matter. But with a client where they expect the thing I'm making to work it would be painful to have it fail.

Is there some ready-made Linux distro for Raspberry Pi that is extremely small in size and which is made to load it whole self into memory and not write back to the SD card at all? It'd be extremely helpful to know about it if any such distro exists. Preferably it should be based on Rasbian just slimmed down and with logging etc removed. That way the kernel itself would be more reliable so that it won't crash randomly for reasons that have otherwise been fixed in Raspbian but which might not be in an independently maintained kernel.
What?

There are just five men on the ice for a team in hockey, there's arguably more pressure for each individual player to "give it their all" at any one moment than in football where there's 11 men on the field.

As someone lucky to be from Pittsburgh where we have both the Penguins and Steelers consistently being the top teams in the NHL and NFL respectively, there is no shortage of serious brain trauma in the NHL. Just ask Sidney Crosby.
> think tanks are a euphemism for propaganda machine

While I tend to agree, it's interesting that this think tank employee seems to have believed that 'think tank' means something closer to 'independent private research institute' or 'university department' than to 'paid propagandists, for moneyed special interests, kept on a leash by their masters'.

What did he think his group was? Maybe not a 'think tank'?

Are there any 'think tanks' that might be called 'independent'? Any 'think tanks' that might be said not to be 'propagandists'? 'Good' think tanks?

I guess it's tricky to define, when merely being super dogmatic can already ensure that you'll be loyal to whatever special interests happen to benefit from your particular brand of dogmatism. So no direct control/intervention is needed.

ACLU or EFF are also dogmatic in a way, and they're activist organizations, they exist to improve the world according to some ideology (civil liberties, free software).

I guess the difference between 'think tank' and 'research institute' is that the latter is more interested in advancing science, than in saving the world.

Among the 'think tanks' you can then, differentiate between those that serve (through control or dogmatism) the less powerful (EFF?) vs those that serve the more powerful (Kochs, arguably Cato, AEI).

I guess a better, orthogonal way you can differentiate, is: does the organization end up adding or detracting from the ideal of educated public discourse? Are their arguments manipulative, or do they serve, in the end, to educate? (This is about effect, not intent, or bias.)

You can ask about intent too, I guess. Do they presume ideas are at "war" or do they presume that ideas tend to combine to get closer to the truth?

A highly biased, paid-for group can still be useful to discourse, either it refrains from demagogic manipulation (it 'plays fair' so to speak), or its ideology is so weird and fringe, rather than hegemonic, that it adds alot of new stuff to discourse.

I'm sure there are other ways of dividing up the space of highly biased schools of thought.

The ancient philosophical schools like the Pythagoreans were probably a species of think tank. Although they likely weren't 'propagandists'. Although they drowned the guy who came up with the irrational numbers. It's confusing.

What we should avoid is trying to divide them just by "left" vs "right". That's just dumb.

What's also kind of dangerous is falling into the trap of saying, everything is propaganda. The university is a propaganda machine, for the left, haha. That's moldbuggery. I think Voltaire would get cramps when being made to deal with mr Moldbug, I'll leave it at that.
Your pages load quickly in Chrome, but not in Safari or Firefox.

The back button normally preserves scroll position. Your site takes me back to the top of the list.

History transitions are especially jarring in Safari. It optimistically restores the viewport state, so at first the page appears to be loaded but doesn't respond to clicking or scrolling. Click events register before the page is repainted, so the user can end up on the wrong page. After that, the list appears to jump to the top.

As other people have mentioned, some ways of opening a new tab work, and others don't.

> Once it's loaded there's no faster way to traverse a website, IMHO.

In my experience, this is almost never true. SPAs are good for some kinds of interaction, but traversing collections of resources is what web browsers are designed to do, and they do it pretty well.

The author's criticism is that people often build SPAs based on theoretical benefits and don't recognize or don't put in the effort to fix the practical shortcomings.
I have never seen this video. I always had heard that without the gear that rugby was less brutal than football -- but seriously I don't know. Those hits looked devastating... I could not watch that sport.
> What? If you have instantiatable abstract data types with associated methods you have a "class". Calling them "structs" does not change that. There are classes defined with "struct" in C++ and D too.

So if I just take C's structs and add the ability to associate structs with functions using a "struct.function" notation, I now have classes? If so, a class isn't a very powerful concept, is it?

Here's an easy way to see the difference between traits and interfaces, and simultaneously see why some people find OOP completely inadequate for their purposes.

Imagine you're implementing several different types that all need to be able to be added. You've got integers, floats, mathematical vectors, and possibly other types. All of them should support an `add` method. But you should only be able add objects of the same type: an integer to an integer, a float to a float, and a vector to a vector. This incredibly simple idea, to my mind almost the simplest thing a person might want to do with a type system, cannot be expressed in most OOP languages using an interface with an `add` method.

But it can easily be expressed using traits (or using Haskell's type classes).

And this is why I never understood why anyone bothers with OOP.
Yeah it is; when you are ideological, you put out pieces that subscribe to said ideology and ignore evidence/observations that support other ideologies or contradict your own. This is the same as propaganda which, instead of putting out pieces raised from an objective perspective, you only publish pieces that support a specific ideology.
We can't prove that wrong. We can just say it's almost certainly wrong given the body of evidence against it. It's distinctly possible that every single measurement and observation of the moon that observed it to not be made of cheese was mistaken for one reason or another, however.
Apple has been selling music and video on iTunes for 14 years. Spending $1B on content doesn't change anything for them.
see thenounproject.com
[Crosspost] Live AMA: ask all the questions that you ever had regarding resumes
The book Dark Money by Jane Mayer tells much of the backstory of how many of these think tanks got started. Most of them were funded by rich folks, mostly far right or libertarian (e.g. Kochs brothers), for one reason: to make the rich folks' far right, libertarian views seem moderate and mainstream. The idea was to sponsor a think tank that looked moderate and unbiased, but then to fill it up handpicked people who were basically paid to try to "prove" that the Koch brothers ideas are good. Of course both sides do this now, but the libertarian and far right folks have done it the best.
We live in strange days! Really we can think that desire is predictable and measurable? The right question shoud be how much we dont know of the human nature?
The guy is developing an app that lets you visualize how a coffee table from a catalog might look in your living room.

Something Autodesk has offered for years and gives away.[1] Available for IOS, Android, and browser. This guy is killing himself to build a me-too product.

[1] https://www.homestyler.com/mobile
Let's try the Zen/taoist analogy.

At the end of the day, a Zen master tells his student: "your next lesson will start at 5am tomorrow, don't be late"; the student says: "what will happen if I am late?". The master doesn't reply.

The student goes to sleep and wakes up late. "You missed your lesson, come back tomorrow at 4am or else I can't guarantee your safety.". The next day, the student arrives on time.

----

Saying things are undefined is an explicit way of demarcating what is part or not of the specification. Otherwise, the meaning could ambiguous.
I'm confused why this story has so many upvotes... someone criticized a company then said company fires the person. BAU?
Any information that relates to an identified or identifiable natural person is personal data for these purposes. This remains essentially the same, except for a slightly broader specification of what constitutes identifiability, under the GDPR as under the current EU framework. In particular, under the GDPR, identifiers explicitly include factors specific to a person's physical or genetic identity.

In short, if you're in a photo and it's recognisably you, it's personal data.
Pointing to Ezra Klein to explain what is happening on the right is the opposite of "slant-free".
Actually, I took apart a similar device, a single-use e-cigarette battery, and it turns out to be identical to the rechargeable version, except on the tiny PCB inside the chip for handling the charging from USB was absent. The battery was the same Li-ion rechargeable, supplied charged up for ~1 days usage. The economics of these cheap electronics are insane...
(4) russia+usa hunt soro's to stop leftists
Yes, Jeff Bezos. The implication that Bezos abuses his position to favor one organization over the other has no clear basis in fact. It is also not relevant to the story about Google taking action in Google's favor.
It's called wardriving, and there's a huge db available for free at wigle.net
Do you think you might write about Bitcoin's development ecosystem in the future? Since XT, Unlimited, and Classic, there has now been 2X and Bitcoin Cash. It's probably too early yet to see if things have/will change substantively, but I would enjoy reading your thoughts if the time comes where you feel like writing.
How to Improve Your Productivity as a Working Programmer
Your 10TB HDDs have a density of only 2.56e16 bits/m³ which is far inferior to microSD cards.

PS: Your lack of faith disturbs me.
CS as practiced today contains elements of math, engineering, and the sciences (though rarely at the same time). I have a bit on this you might find interesting:
http://bowaggoner.com/whatiscomputerscience.html#medium
Also, is Google itself funding New America, or is Eric using his own funds? I think there's a pretty big different, and making it all about Google just because Eric happens to work at Google seems unfair.

People are free to fund and support any cause they want in their own time with their own money. Yes, the person also happens to like Google a lot and doesn't want to see Google hurt, but I don't think Google should be held responsible for his personal actions.
That's not an incentive, unfortunately. It's a means to an end. The end is the incentive.
Is it automatically greed and corruption for Google to disagree and threaten to stop funding?
Safari has ServiceWorker in active development. It'll take a while, but it's sooner than one would think.
I think many think-tanks would take issue with "non-objective". Certainly the think tanks themselves subjectively examine only certain issues, but they would like to believe their examinations are as objective as possible.

The difference being that while I may only ever study the stars and refuse to study plants, my examinations of the stars are still objective, even though the area of my examinations are not comprehensive.
> When static typing vs dynamic typing is discussed, i see that often a mistake is made and "static typing" is confused with "strong" typing, and "dynamic typing" is confused with "weak typing".

A concern Smallshire spesifically addresses in the talk, pointing out the correct distinctions.
College football is more popular than the NFL. Every game is critically important in college which adds to the excitement. Pro's you can lose a few and still make the SuperBowl.

The RedSkins can't fill their stadium in a major market. Try to get Alabama tickets ... or NotreDame ... or Penn State all in minuscule markets.