skysight-inc/HackerNews huggingface dataset:
What do you mean by constitutional? The are two types: Inherited monarchy and "elected". In the last, the election is from a specific group of people and the monarch is not chosen by Public vote. Nobody should have privileges above others and the power to constitutionally influence their lives just because they happened to be born in a "royal family".

Apparently we have some UK's Queen fans, since my comment is down voted.
Hack Pinterest
Pasting the relevant snippet from your link:

def __subclasshook__(cls, C):
if cls is Iterable:
if any("__iter__" in B.__dict__ for B in C.__mro__):
return True
return NotImplemented

Wow, hadn't seen this before. That's exactly what I mean. If I can define my own, e.g. Addable, which does a similar check for the presence of __add__ (and __radd__) and MyPy uses the subclasshook, then that'd be perfect.
What was it called?
Within React there are two approaches:

1. It uses the `style` prop, which modifies the CSSStyleDeclaration object on the DOM node. The style attribute gets set by the browser behind the scenes. [1]

2. The rendering happens on the server, and React produces the markup for the style attribute. [2]

The former approach has very little overhead. The second bears the overhead of having to be parsed.

In most libraries, this is what gets used. Some libraries try to be clever, though, and inject `<style>` or `<link>` elements into the DOM (mostly to support things like `:hover`). This can get extremely CPU intensive, though, and it's not uncommon to get burned by a library in this way.

[1] https://github.com/facebook/react/blob/c78464f8ea9a5b00ec802...

[2] https://github.com/facebook/react/blob/c78464f8ea9a5b00ec802...
In the long run, this seems to be partly due to Henry George theorem (https://en.wikipedia.org/wiki/Henry_George_theorem). Otherwise real estate wouldn't be that exceptional than other asset classes, as the article suggests.
Richard Thieme Playing Through the Pain and Impact of Secrets and Dark Knowledge
this... is certainly not my experience. However, they're a large organisation so they're most likely schizophrenic.
Wells Fargo complaints show flaws in federal whistleblower program
By all means, but having the language nudge people in the right direction makes a world of difference.

PHP, much like Javascript is terrible for new developers for this very reason.

Learning a "good" language for lack of a better term is no more difficult than learning PHP/JS and is always worth the effort, if anything learning "good" languages is usually much easier because they are usually internally consistent.
I agree with the above recommendation.

I have read John Cook's blog for some time and think he might be a good fit as a consultant for bringing you up to speed and reviewing your current teams' work.

http://www.johndcook.com/blog/

I suspect it would be worth your time to get a consultant like him to come in for a week, review all the work going on in your org, and maybe lay out a learning plan or crash course in developing a safety net for you.
My point wasn't to defend that viewpoint, but merely to present it to parent, who wasn't aware of this being a big deal, to a lot of people.

I'm sorry if I made it sound I was promoting a stance in this matter one way or another, I merely tried to introduce this argument /viewpoint neutrally.
The pivotal shilling on hacker news is one reason.
> A prototype isn't a class: it's another object. When a method is called, or a variable is looked up on a JS object, JS scans up the prototype chain, all the way to Object.protype.

A type in Python is also just another object. When a method is called, or a variable is looked up on an object, Python scans the MRO (effectively the same thing as the prototype chain, except it supports multiple inheritance too) all the way up to `object`.

Python's type system is very similar, if not nearly a superset (though probably not exactly), of JavaScript's. I struggle to see the real material differences in them.

Consider your example, translated:

class Person:
name = 'bill'
addr = 'foo'

class Charlie(Person):
name = 'charlie'
addr = 'baz'

class NewPerson(Charlie):
pass

bill = NewPerson()
Depends on how you look at it.

Going from 84% to 90.9% employment rate represents an 8.21% increase in the proportion of black people who are employed.

Going from 90% to 95% employment rate represents a 5.55% increase in the proportion of Americans who are employed.
Humanity decided long ago that running our own lives as hunters and gatherers wasn't the best we could do, and we came together to form societies and governments. No matter how you feel about it, you live in a society and have benefited from its public services, and there has to be some group of people to administer those public services.
Step 1:

~$ ls -a

~$ cd .HRHack

~$ cat notes.txt
Those are all absolutely valid options, none of those "have this ability".

Nothing in the open source world currently matches NSX's ability to extend the network from on-prem to the cloud. I really wish they did, but it's not even a discussion.
How is it shrinking?
That is truly one of the stupidest things I've ever heard. Part of explaining something someone doesn't understand is making context explicit, context that is unstated and shared by those who do understand. Rules like yours that sound cute but make no sense are a poor, poor substitute for actual thought.
What's New in Plesk Onyx
Whether Amazon VMs go for years seems to be a matter of luck in my experience. You need to bake in HA for any service you really depend on either by having copies or ability to start new ones at will.
I would argue he occupied a lot more mindspace than most Nobel Laureates.
Visualising the topology of the rotations with the help of Portals
Node is stateful and not threaded, but yes you're right that it serves http out of the box. Http was a module in the early days but I see now it's core API and has been for a while. My mistake.
Note that Webb is an IR telescope, which is longer wavelength, so the resolution actually is comparable to Hubble.
Was checking out your site, and the form to start verification doesn't appear when in portrait mode on mobile?

Landscape seems to work fine though.
Fair enough on calling me out for that; I was aware it wasn't technically correct when I said it but thought it got my point across well enough in the absence of a better way to phrase it.

My point was that even if the model you described in that sentence part is broadly correct, the "nobody" part is inconsistent with the rest of the model because at some level people respondent to public opinion must care about the those "yelling:.
> Traditional datacenters are a money sink and anything will do cheaper, more reliable and easier to manage.

This is 100% false. Unless you are running your infrastructure at less than 50% utilization 24/7, it will ALWAYS be more expensive to go to "the cloud".
The second Lisp OS at Apple was called Bauhaus.
Nice that you solicit this feedback. Thanks! Here is my personal list.

Very, very important:

* LTS - this cannot be overstated

* Ubuntu-level font rendering

* Laptop driver situation improvement - graphics, wi-fi, power management

Important:

* First-class, deep support for KDE

Highly desirable:

* Easy installers for Broadcom wi-fi, nVidia cards, etc.
When someone (maybe me) comes and rips out my bad code later, they're going to have the benefit of future knowledge. I don't know how my code will be used in 2 years and what the requirements are, but they will, because they'll be there.

I do my part today by acknowledging all of my code is bad, therefore I don't invest a lot of time or ego in it. I try to make it in reasonably sized pieces so it's easier to rip out later (this may make it slightly less bad). If someone comes and tells me my code is terrible, I say yes it is, you might want to consider these things when you replace it.

EDIT: my opinions on this would change if I were shipping code to run on other people's machines: it's generally easy and quick to fix my code on machines I run, but updating code on other people may never update, you need to try harder to get it right the first time.
I think there is much to recommend this. Sadly, most of that is people's sense of identity, a generator of all manner of irrationality. But we work with what we have, I suppose.

Edward Longshanks took (rather forceful) exception to Scots secession. Abraham Lincoln took (even more forceful - why was the Anaconda Plan abandoned, anyway?) exception to Southern secession. I know Texas secessionists ( glancingly, not well ) and I tend to quote Sam Houston to them. They're not to be taken seriously. Yet.

I see no reason to think the pattern would abate. Brexit isn't in that set because the Eurozone is barely even a convenient fiction. It's a con job, the sort it would take an H.L. Mencken to characterize properly.

I can't even choose a pet narrative of how it is we should be organized in that way. I just know how it is - we're in really big chunks. I credit the sort of peace we now enjoy somewhat to the size of those chunks.
How about AWS Certificate Manager? Their certificates are free and integrated with AWS services like ELB.

https://aws.amazon.com/certificate-manager/

(No doubt they're free because they're integrated with AWS services and can't be used elsewhere.)
please, send me a copy. now I have to read it.
Subject line should include: job title, city or state, salary range / equity range.
In the body include: business area, is IT crucial or support, programming language(s) used, tech stack, private office or open plan, free snacks and / or free lunch, series funding level, size of company.

Like dating, I have a list of requirements and 'nice to have' features, plus a trade off formula. For example: for twice my current salary, I would consider working in a Red state.

It is generally true that awesome companies don't need recruiters.
Understood - and I got that quite clearly. I don't know why, but I still think of this as a discovery process and less "architecture". I think "architecture" is in fashion now.
Once touch, smell, and taste are incorporated into VR, why wouldn't it serve as a substitute?

For some people, these technologies represent an advancement over good old human contact. Although this example is AR, Pokémon Go helped a number of children with autism and Asperger's syndrome helped a number of children explore the outside world and it facilitated a tech-augmented human contact.

In some ways it can be superior. It's great that you have the luxury of being able to interact with such an international group of friends. That doesn't extend to everyone. Like the Internet, VR allows people to interact globally.

As a kid who grew up in a somewhat undesirable neighborhood and had limited meat space friends, I know personally that virtual relationships can be just as important as traditional ones. I'm wasnt limited to the somewhat closed minded people that were within biking distance. This was well before the time of social media, so their looks, their popularity, their gender, their race/ethnicity did not matter. Really, the only way one could be biased was if they were a grammar nazi.

Think about what this can do for children who are physically disabled or have autoimmune disorders or are living in totalitarian regimes where being different can lead to persecution.
Feds strike another multi-national “tech support” scam
Don't get it, links seem broken.
AR and VR excel in different areas. AR is a natural fit for most social contexts because it brings elements of the digital world into the physical world without completely enveloping the senses. VR isolates the senses, which provides deeper immersion. A virtual environment can be similar to the real world or completely removed from it. The rules of the physical world don't apply in VR.

I agree with Cook that AR will likely be more popular in terms of daily/casual usage by the average person, but VR will be just as "huge" in terms of societal impact. And some of his comments about the socially-isolating nature of VR are a bit short-sighted. Facebook (and others) are already doing a lot of work on getting people into shared spaces with high-fidelity avatars that really do give a sense of being with someone who's not physically there.

And with 360° photo/video, volumetric 3D video, 3D scanning/printing, photogrammetry, etc-- we're quickly moving toward a "mixed" reality world where the line between AR/VR is blurred anyway.
If you can't keep the "types" of your design in your head, your design might be broken. I have a real bad short-term memory and can probably juggle less things in my head than most programmers. Yet with good taste for design / decomposition that's not much of a problem. Most of my code now is structured as tables, which greatly simplifies many transformations. There is no pressing need for typing tables, and anyway most of these type systems really suck at "tables transformation algebra".

Here is a little list of drawbacks of static type systems with features like you describe (parametric types, ADTs...):
Type dependency hell (banana, monkey, jungle, etc), having to fight/convince the type inferencer to accept any but the simplest things, having to type many things twice.

Looking at Haskell, "almost everything is inferred" is a lie in my experience. You are encouraged to write code using higher-order and highly parametric functions. If you do, the error messages you'll get if you don't annotate are plain sick. Another problem is that the type system provides no convenient escape hatches, while it's not powerful enough for typical programs. Many "successful" example designs I've seen are either _really_ simplistic (to the point where it's obvious that the better design wasn't chosen simply because the type system makes it really inconvenient), or have some _really_ terrible internals hacking in it (which might be the largest part, be impossible to understand by most developers, and break with the next compiler version).

Looking at C++, a practical example is vector. It's a useful tool (automatic memory management), and very likely to be all over in your function signatures. This is very bad in terms of modularity / reusability, because your functions are not defined using reasonably general types (pointers to arrays).

Many of these very real pains just aren't there with Python code, which has better modularity at the cost of being a little sloppier.

These days I look at static types mostly as tools for generating fast machine code (I doubt that much more than C types is needed here) and as tools for enabling nice syntax (OOP protocols like in Python can do that too, but they are very dirty). These things however are only needed at the very optimized parts of your average project.

So I think a good way in many cases is to go the Python route, and check types dynamically at strategic points to assert value integrity and enable transition to highly optimized (with static types) routines.
Zidisha (YC nonprofit) looking for Haiti growth lead (remote volunteer)
We're looking for an entrepreneurial volunteer to help lead growth of our microlending program in our newest country, Haiti. ~10 hour/week time commitment on flexible schedule, any location. French proficiency required. Send a note to julia@zidisha.org to apply.
Looking at software today, I'm note sure we're perf-obsessed enough actually. Fortunately, simpler, faster, and more powerful all go hand in hand if you pick the right abstractions.

And I am building something better—think AS/400 with an APL-inspired Forth dialect. It is certainly alienating, but (hopefully) the system will have enough fun demos to hook people, and the language runs on other OSes to tempt people in. ;)
I'm confused, please explain.
Neat. But actually, I find that mechanism quite unpleasant, and one I wouldn't like working with. I'm sure it's quite powerful, but so is Vim, and I never really "got" Vim either. I would, in fact, argue that manipulating text has advantages over direct object manipulation: the first of which is that you can more directly edit text, whereas the DEdit interface is all about executing commands on objects. Secondly, you can apply useful transformations to text which don't necessarily make sense to apply to raw datastructures (search + replace, regexes, other handy transforms). Finally, many of the advantages of manipulating a pure datastructure can be had in text as well: see paredit.

But that's just me. You use your cool lispm tools, I'll resign myself to never acheiving ultimate productivity.

But I was resigned to that already, pretty much.
The Scale of Aircraft Carrier Maintenance Is Ridiculous
> High Availability and Fault-Tolerance features to restart VMs or keep them alive when an OS hangs or the host fails

"High Availability and Fault-Tolerance" would hopefully involve more than restarting the VM.

I mean, you have like bajillion people that solved the above "challenge" with a three-line bash script.
And not one of those people would call it "High Availability and Fault Tolerance". It's just a small shell script.
Does anyone know why a Windows OEM wouldn't use the Precision Touchpad? At first I thought it was because Microsoft mandated higher-quality (read: more expensive) components for PT devices, but according to this article it's purely a question of which drivers they use. Then I thought maybe Synaptics was leaning on OEMs to use their drivers instead (they're the usual choice for Windows trackpads), but the article says PT is a joint effort between Microsoft and Synaptics, so that doesn't make sense either. Why aren't all Windows trackpads PT right now?
This isn't wise. This is the same argument used to justify voter suppression laws. The myth of the unqualified vote. That my vote is well reasoned and I have done my research but you haven't.
>I'd guess that easily 75% of the tasks being performed by programmers in 1999 are fully automated by APIs and frameworks today.

Not defending this guy, but it's not like we are still making the same product (pastry equivalent) as 1999. We go through the automation and then build on top, right?
Although I can see why it's tempting to poke fun at this situation, his site could be down for any number of reasons not directly related to the quality of the code he wrote for G-WAN.
I'm outing you as a Russian shill, but yes, there's a strange amount of Russian-blaming going on. Meanwhile, Russians are distancing themselves from American software companies. I would too in this environment.
What tool are they using to show the memory footprint of php processs in https://cdn-images-1.medium.com/max/800/1*bFnYX8NE-V6P2U01Uc....
Nuclear Pulse Propulsion – Orion and Beyond (2000) [pdf]
VMware is the de facto private cloud incumbent and switching costs are incredibly high, and AWS is the de facto enterprise public cloud incumbent with perhaps even higher switching costs and the same kind of inertia as legacy on-premises systems. What this signals to me is that the "hybrid cloud" management voodoo software that's been peddled for years by various vendors isn't sufficient enough to keep VMware viable enough on its own, and VMware wants to partner with the incumbent enterprise public cloud for continued relevance rather than to risk partnering with anyone that's competing against AWS.

GCE has so little of the enterprise compliance and security solutions engineering bureaucracy that enterprises love to spend tens of millions of dollars and years doing POCs with it's just not viable at this time.
Been working on an alternative in the help desk space for smaller teams.

https://hipdesk.co

Provides threaded email ticketing. Knowledge base will be there soon.
why not using filter_input or casting it ? e.g $userId = (int)$_GET["userId"];
and also when query to db using parameter binding ?
Interesting way to search for jobs. I feel a bit weird though in that I'm drawn to jobs more based on the business domain and problems being solved than the particular technology used for the implementation. Getting asked 'what is your stack' always felt like a weird lead in vs. what problems you are solving day to day, but I feel mostly alone in this sentiment...
I read that as an endorsement of Trump. Course anytime I see a public figure not endorse Clinton, I assume they're pro Trump but worried of the public shaming and stigma associated with it.
The people who want them already have stockpiles of guns
I too am left wondering, what is the alternative?
Static typing is basically a bunch of free type-based unit tests. You can write safer programs in dynamic languages, but you need to write and maintain a lot more tests.
https://www.youtube.com/watch?v=BL0OvdTqzBs
ddfisher up there is already talking about stuff like

----

It should work with the Python 3 syntax if you quote your type annotation. I.e.

def f() -> "Bar": ...

instead of

def f() -> Bar: ...

---

Yeah, you need to write `from typing import List` to get the generic List class that you can parameterize with an item type. As you pointed out, you can use the builtin lowercase-l list without importing anything, but that doesn't allow you to specify the item type.

---

imo, this is brutal. I'll just wait and see whether I'm proven right or wrong, but the extremely poor aesthetics of the whole thing bode badly.
This code doesn't look good to me. What is the benefit of inheriting objects from objects instead of inheriting classes?

When we have distinct functions, classes and objects we can easily understand how they are supposed to be used: you can call a function, create an instance of a class, call a method of an object. With Javascript you cannot easily see whether you have a plain function or a constructor and how you should use it. And interpreter won't tell you anything if you forget to put a `new` keyword.

(And by the way why do you write 'var Person = function' instead of just 'function Person'? The latter is shorter and more readable)

Your code can easily cause a bug. Imagine Person's constructor looks like this:

function Person() {
this.friends = [];
}
...
var NewPerson = function() {};
NewPerson.prototype = charlie;

Do you see the problem here? To fix the problem you have to rewrite the code using Object.create() and call parent constructor with Person.call(...).

I have written applications in Javascript and I think that Java-style classes are the best for readable and maintainable code. All these tricks with prototypes and dynamic objects (where you can add or patch properties in objects in runtime) might look good in short samples of code but they are only the source of bugs and cause waste of time to understand what the author meant in real world applications. Your code example proves that because adding a single field to a Person's constructor requires you to find and modify all of the objects inherited from it and this task is not easy too.
If doing a bunch at once causes even a couple PHBs to reconsider their love of open office plans, it's worth it.
Original plan was Sept AFAIK, now they're aiming for December delivery for the keyboard, April for add ons. I'm not sure if they'll make December, but even if it were to become February, that'd make < 6 months of delay - not that bad IMO. I did order some of the add on modules; we'll see if they get around to ever delivering those. I thought it was madness to take them on in the first place. I don't have any real reason yet to expect the keyboard itself to not be delivered. The update I got this morning makes it look like they're plugging along as the same pace of the last year or so.
Agree. Good article on The Guardian about this[0]

If this was about racism, then why Trump now? Why were Republican nominees so conventional the last 50+ years?

[0] https://www.theguardian.com/media/2016/oct/13/liberal-media-...