skysight-inc/HackerNews huggingface dataset:
I am glad to see that this is optional. We need languages that mix compile/parse time (static) and run time (dynamic) types, to mix what fits best to each situation.

Of course type checking can catch some problems. The more extremist elements of the static types proponents seldom seem to ask the cost of adding types, and making some otherwise generic/overloaded operations harder to implement (e.g. - excess clutter in some "wordy" type systems, particularly in the C lineage where declared identifier names follow the other verbiage). We need more tools that allow us to easily nail down fixed interfaces to avoid errors, but still allow flexible / dynamic / metaprogramming type code when needed, without having to jump through hoops in either case.

Don't be a static typing extremist! (or throw the baby out with the bath-water, either, I guess)
> Almost all languages these days let programmers compare, e.g., integers and floats with the >= operator; heck, even C allows this.

The implication that C is an especially strict language for type conversions is strange. C is actually one of the loosest languages for type conversions. It's even legal to do things like compare pointers to integers (though most compilers warn you)!
Yup, and it's pretty much a drop in upgrade from 5.6. I have seen/heard of many companies reducing their cpu load by ~40% just by switching to 7.
Azure has a "Azure in your datacenter" thing. I can't remember what its actually called though.
>So are you saying we should just give up on the issue? We tried something and it didn't work. We should try again. The solution isn't "build a wall".

Part of the solution is certainly to build a barrier. Mind you, this was once uncontroversial when it was just a flimsy "border fence", which is already authorized by law with bipartisan support. Now it seems that some are scared that a proper barrier, combined with real internal enforcement, might actually work.

Now that the trust is gone, the government must prove itself on border security and immigration enforcement. Amnesty should only be considered when the people are convinced that this crisis will never happen again, that we will never again have millions of people enter the country against the democratic will of citizens.

>I agree, I think it's idiotic to vilify nuclear power. Catastrophes have happened, we learned from them.

I suggest then that you base your vote on this issue not so much on who "believes" in climate change or not, but who supports the actual policies that can actually solve it.

>When I rail against the War on Drugs, I specifically refer to the stance of incarceration rather than rehabilitation as a solution to the drug problem.

Yes, I agree that we should stop imprisoning people for possession. But I do think that trafficking should remain a serious crime. I think you'll find that the prison population won't change much under this arrangement.

And even if you did stop imprisoning for trafficking, it wouldn't necessarily change much either. Most people in prison for "non-violent drug offenses" don't have that as their most serious charge.
I used to work with a number of LISP machine believers at the MIT AI Lab/CSAIL. They all had more modern computers for day to day tasks, but used the lispm for most of their programming. This wasn't that long ago (I left in 2010), and I suspect that those machines will remain in active use for as long as people can keep them running.

They all believed that the loss of the lisp machine was a serious loss to society and were all very much saddened by it. I never used the system enough to come to my own conclusions in that regard, but it was interesting food for thought. As somebody for whom Linux/POSIX is very deeply entrenched, would I even recognize a truly superior system if it was dropped in my lap? More importantly, would society in general? The superior technology is rarely the "winner"
You move from AWS to something else that runs on AWS I mean what can you gain from that? Definitively not the price / resiliency.
import List??

At least this works:
def sum_and_stringify(nums: list) -> str:
Google Plugs 21 Security Holes in Chrome Browser
Doesn't Slack use Java for its messaging system?

That's not mentioned in the blog why they didn't use PHP for this.
For "real time" node def. will beat PHP :) But Elixir/Phoenix will destroy either one and thanx to BEAM it's actually can be considered soft real time system.
What ? You mean like export to c/c++ code? Isn't python too dynamic for that ?
Luckily I don't have many tenants yet: I replaced my wildcard AlphaSSL with a couple of Lets Encrypt certs to fill the 4 day gap. Four days of inaccessibility is just not acceptable.

This is a real mess.
I'd also recommend checking out his poetry. His earlier stuff especially. This is a good place to start: https://s-media-cache-ak0.pinimg.com/236x/2a/8c/98/2a8c980c4....

Check out Irving Layton as well (another Canadian poet/professor). Really good stuff, and clearly influenced Leonard Cohen's writing.
I think OP meant calibrating out noise that leads to a bias (non-zero mean) that changes with temperature. Such things are common in many sensors.
Laravel is a pretty solid alternative in PHP vs Rails.
hmm, node has a lot less involved with getting up and running than PHP

but you'll probably spend a few hours stuck with npm the first inevitable time a package doesn't work as expected
"They'd be internal to recruiting, so you wouldn't see them unless you were heavily involved (doing interviews and recruiting trips isn't being heavily involved)."

Actually, this is a super-bad assumption, pre-screening questions, etc, are all public to google internally.
There are no magic internal-to-recruiting parts to the questions, and they are in fact, listed as SRE pre-screening questions, so ...
Blink and you’ll miss it: Notifications in an AI world
You're asking about Hack, and the only response I see so far is about HHVM. So!

I've seen Hack used in a multi-tens-of-MLOC codebase to gradually insert types. It made huge differences in the kinds of changes that were possible; you can, e.g., rename a class or method, or change the order of its arguments, with confidence comparable to that in a C++ codebase. Most developers hack-ified everything they could get their hands on, and did all new work in Hack, without any external encouragement.
The built-in constructor is `list`, not `List`.
Can you make HDMI just work (tm) please? I want to be able to connect my laptop to a tv using HDMI and automatically have all audio being redirected to it. I've been able to use xrandr to get the tv to show the desktop, but sound just does not work. There are a few layers in the Linux sound stack, so knowing which knob to turn isn't easy.
That 2-3 orders of magnitude difference is in an area that runs pretty quickly however.

People go to a lot of trouble to optimize the front end system, but tie it all to the same database that bottlenecks well before the web server. There are certainly times where PHP or CGI aren't fast enough for the job, but I think people tend to unfairly blame them in situations where the underlying problem is more systematic.
Aside from cases where you can just shoot a guest VM in the head and respawn it elsewhere (still relatively uncommon, especially in big vSphere shops), vSphere -> AWS has historically been a mostly one-way migration path, whereby the guest VM that's migrated lands in a new ecosystem that is beyond the reach of whatever vSphere management tools you have on hand (unless you're doing very heavy customization and extension of vRO+vRA).

This move opens the gate to more seamless migration of workloads between on-premises vSphere clusters and AWS, and extends native vSphere management and configuration functions into AWS. For big vSphere shops with large investments in the platform (especially those running legacy workloads), this product offering is a very, very big deal. If the costs are right, it will put true hybrid cloud operating models into reach of a lot of Enterprises for which the pricing or level of effort to get there previously didn't make sense.
5-10 planets per star seems a little high.
Why I'm short Ethereum and long Bitcoin
I've heard "we tried to move our app to AWS but we couldn't tolerate instance failure so we moved back to on-prem" so many times in the past.

I'm afraid managers are going to see this as an easy way to jump to the cloud and lift and drop their on-prem apps to AWS without re-architecting to handle failures and expect high uptime.
wow, there's an entire school just to teach that? (:
I'll give you my coffee table for yours.
My CEO Manifesto
That was my first thought... though I do think that some of VMWare's orchestration tools are a bit easier than AWS's... just the same, I'm thinking, wow that sounds expensive. Now I'm waiting for Oracle to buy out VMWare if this even looks like it will succeed.
everyone hates open floor plans, aside from that guy that wants their team to move to an open floor plan. the end.

I was on a sales rep recently who had to sit at her desk in an open floor plan, I couldn't hear a damn thing.
For what it's worth, I've had server installs that were upgraded 10.04 > 12.04 > 14.04 > 16.04 and they're fine.
>I've never personally dealt with software that licenses to a network interface (and the idea does seem silly...)

This is super, super common with legacy software products narrowly scoped to very specific business functions.
Languages never die. But companies stop making new projects with them - for some number of 9s percent of companies. E.g. - FOOGOLTRAN is a five-nine dead language, if 99.999% of new projects don't use it.
> a typical Python application server, e.g., the debugging
> cycle will look something like “think; edit; restart the
> server; send some test requests.”

the "most typical" Python stack (wouldn't call it a application server) is probably built with Django where you don't reason about the Server restart, it's as fast as changing something in PHP.

P.S.: I don't use Python that much anymore. Other people would say that the thing I'm using now takes endlessly long to compile and has some wierd operators.
Azure Stack.
You can calibrate out the mean "light level" resulting from Boltzmann noise. You can't calibrate out the variance, but eliminating the mean noise is better than nothing.
This is different from FRC, and different from just playing against someone as your own skill level.
This is the best example of one unintentional DoS attack, now I cannot read it anymore :(
Changing Docker hostnames–with namespaces
Thanks for all the help guys! by the way I took the example from the mypy page

def sum_and_stringify(nums: list[int]) -> str:

TypeError: 'type' object is not subscriptable

so either just list or List[int] with import, got it.

A classical case of 'critical line missing from example code' (as perfectioned by Bjarne Stroustrup back when)
We run Nginx in front of both node and PHP so can't say it takes significantly less time to setup node then PHP for production use. Composer is a reasonable take (reapoff? :)) of npm. Yarn seams really nice though.
'Process' is an extremely overloaded term. It's more of a green thread for Erlang VM applications.
Thanks for the correction! ;-)
> but tie it all to the same database that bottlenecks well before the web server

that's not true. especially not in the DaaS space.
Strong vs weak is essentially meaningless.

There is no generally agreed upon definition of what the distinction means.
You mentioned remote as an option in the heading, but none of the positions I've looked at mention this as an option. Are all the positions listed on the site open to remote work, or is this on a case-by-case basis?
> You wouldn't need much of a GC when the process is killed every time

Yes, you do. You'd be surprised how easily memory balloons out of control unless you regularly run a GC. Log minor collections sometime in Java or JS engines if you don't believe me…

Even worse, if you don't run GC regularly, you will suffer terrible locality as execution continually grows the heap (not to mention the overhead of continually requesting free pages from the OS).
> the amount of repeated parsing

Which should be near 0 if you can be bothered to enable OPcache in php.ini. Not only parsing/disk reading but also bytecode generation are bypassed.
Awesome, thanks for the feedback!
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.
I guess as long as a language is used in at least 11% of projects, it can avoid being "one-nine" dead :-)
It didn't really, AFAIK (not a PHP guy, but old) it got traction because it was easier to get started with than the alternatives.

That said, all environments will be one of three:

1 Have warts. 2 Not be used. 3 Be in denial and claim to be perfect.

The GP had a point, perfection is the enemy of good. Something delivered is better than nothing.
Use whatever you are most confortable with then, be it Node, PHP, Perl or others. For an MVP what matters is creating it as fast as possible.
I have the opposite experience. I tend to click on content that I disagree with, to investigate the claims being made, and don't engage much with content I already know I agree with. As a result, my feed is more or less a list of posts guaranteed to infuriate me.
> It's a garbage language.

I'm overwhelmed by how rich of a statement that is.
You're not familiar with the operational costs of most Fortune 100 data centers (and more importantly, basic services built on top of a reliable infrastructure) if this sounds eye-watering expensive. Almost everyone I've ever moved to AWS is pretty bad at O&S and pays at least double the monthly costs of AWS for far worse systemic reliability. Add in AWS support being far, far better by every metric than whatever crappy offshore helplessdesk was contracted and it's a no-brainer. Delta's recent debacle just wouldn't have happened, for starters, and that's costing them more than a billion dollars in raw costs.
Is there a way to dynamically auto-scale hosts? One of my app has very bursty traffic, and would require scaling from 2 to 10 host servers and then back down over a period of several hours. I can't see this referenced in the docs? I can see you can scale processes but that's not increasing host resources available, right?
> If you don't want to drink or don't enjoy drinking, good for you. Do your own thing. But damn do you come across as feeling better than others for making that choice.

While I won't argue your other points, I will push back a bit on the comment above. Since you seemed to gather so much from a sentence, let me ask you this, why do you care?

If you are going to go out of your way to make a personal attack when nowhere in my expressing MY THOUGHTS did I make an attack on anyone, then that is your prerogative. You make some wild accusations based on me explaining an experience that is personal to me. While I am not sorry you took what I said in a negative light, it does shed light on how you view yourself as a person and others who don't agree with your line of thinking.I wish you the best in you finding who you are.

(edit) Apparently, some of you don't like my comment. Let me clean it up a bit for those downvoters.
I notice the cooler has a fan on it, is the fan vibration damped somehow?

I'd assume that the fan is simply turned off for the duration of a photo (plus the time it takes for vibrations to decay). The sensor won't heat up instantaneously.
Survival instinct is an awful trait!
> But we think in words.

Not everyone does this.

> The only difference really is who it's directed to, whether we've voiced it or wrote it down, and whether we self-censored some of it in the process.

That last part is the part that's key to computational thinking. What has been elided from your thoughts (expressed as an inner monologue, communicated via writing or voice to others)? Computational thinking requires you to be able to provide sufficient detail that a "computer" can repeat the process that you have performed, and potentially enough logical information that it can handle exceptional cases and situations. For a sufficiently advanced computer (read: intelligent and educated human), "Solve the equation for X" may be sufficient. For a program in C, you'll have to provide more detail. For a Mathematica program, it's about the same as communicating it to a human (depending on their level of education and the qualities of the equation, Mathematica may require more or less detail).
> although you can mitigate much of this with various caching strategies but the typical PHP request involves reading dozens to maybe hundreds of files from disk, compiling them into byte code, and then executing that byte code, and then deallocating everything.

For the conversion to bytecode, that is what apc is for.
"they just don't use the CGI model of spawning a new _OS_ process for every request"

Which isn't what PHP does, fwiw.
Clueless engineers. The AWS instances don't fail more often or any differently than old school servers.

Source: I've got hundreds
I know! And isn't that just the greatest?! Look at just how much more we have to learn and do!
Are you saying Heroku costs are the same as Dokku on DO? How so?
That doesn't sound like an ops problem.
Y but if I have a choice I'd rather not use either :)
But it's enterprise!

Not totally kidding. There's a subset of the market for whom being more expensive both in complexity and cost is seen as an obvious sign of a more "serious" "enterprise" product.
My presumption was that, for whatever reason, they couldn't or wouldn't do screening at this level by technical interviewers. Obviously having a technical person do the interview is always better.

I may have gotten a technical interviewer because I can list a half dozen people who know me who work at Google, most of whom can directly vouch for me.

Not sure why the OP got an unskilled reviewer, but if they didn't list references inside the company, they may have been thrown in the "random unknown applicant" bucket.
This turntable makes your records float with magnets
"helplessdesk" -> genius! :)
The correlation with pirates is real too, that's my point, correlations don't mean anything. Only causation is meaningful. The only use of a correlation is as a starting point for finding causation.
An Open Letter to Jack Dorsey
> This is definitely a phone screening, where the recruiter expects "standard" answers to "standard" questions.

I went through a Google phone screen once. (For full disclosure, I've interviewed on-site twice and failed that both times.)

One problem posed on the phone screen involved finding the last 1 in an infinite array consisting of a finite number of 1s followed by an infinite number of 0s. I described the search strategy "check index 0/1/2, then progressively square the index until a 0 is found, then use binary search to find the first 0". The screener objected to that strategy on the grounds that successive squaring "grew too fast" and successively doubling the index would be faster overall.

Once the call concluded, I looked into it and determined that those two strategies are almost exactly equivalent. This didn't leave me impressed with the phone screen process.

Then again, I apparently passed the screen despite making that "mistake". Still, I think the least courtesy you can extend to interviewees is to not correct them when they're right and you're wrong. :/
Does anyone know how the types in PHP7 compare to what's offered by Hack?

It looks like generics aren't yet in the core language (https://wiki.php.net/rfc/generics), but I believe return type hints work. I think we're also still missing property/field type hints (https://wiki.php.net/rfc/property_type_hints).
I don't expect to get unbiased news. But if I want a realistic and accurate perspective from an individual or group then I would look at blogs, a person's youtube channel, or some less centralized group. Then combine a bunch of them and you may get a more real picture. Or documentaries sometimes are truthful.

But I think you need lots of primary sources close to the action, like people, expect them all to be biased towards their own situation, synthesize those reports together.

War propaganda is a big part of regular news everywhere including the US.
It should work with the Python 3 syntax if you quote your type annotation. I.e.

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

instead of

def f() -> Bar: ...

(This is normally used for forward references.) This makes it slightly less nice, but not a terrible workaround overall.
Yes, some kind of federal system perhaps, with free movement between them, and a small national government to bind them together, so people can vote with both their ballots and feet. Too bad the progressive elite decided that system was too much of an obstacle to their agenda.
Better support for high-DPI/mixed-DPI setups. I.e. I want to connect my external monitor to my laptop and have everything be readable on both monitors.
>I'm afraid managers are going to see this as an easy way to jump to the cloud and lift and drop their on-prem apps to AWS without re-architecting to handle failures and expect high uptime.

Of course they will, but that's hardly unique to this product announcement.

In my experience working with many vSphere-heavyfirms investigating AWS for use in production, the lack of seamless workload portability between on-premises vSphere and AWS ends up being one of the major factors that leads to abandonment of any ambitions to adopt AWS, even if there are workloads that can tolerate instance failure.
When it's a case where it's not possible to utilize patent research in order to help make something, and in fact ill-advised to do so, then in that space the entire purported purpose of patents in that space invalidates their use.
The downside is literally exactly the same as the upside: you have to bootstrap from literally nothing for every single request. Think about how ActiveRecord in Rails reads from the DB schema to generate it's magic methods, etc. This is usually done on startup or at least cached in memory once it's loaded. This is something that you have to manage more carefully with a PHP app since you can't have anything initialized before a request starts. Code paths, auto-loaders, database connections, config files, etc. All that has to happen over and over for each request. You can cache that stuff, but it's still overhead that isn't central to handling a request.

There's actually work being done to build PHP frameworks that get around this with ReactPHP, ZeroMQ, Photon, etc. Essentially this is what HHVM does as well, by at least keeping your compiled bytecodes in memory (similar to APC/eAccelarator/ZendOptimizer, etc).

See:
http://reactphp.org
http://www.photon-project.com
https://gnugat.github.io/2016/04/13/super-speed-sf-react-php...

Even the idea of an alternative runtime for PHP (ala HHVM) is nothing new: http://quercus.caucho.com
Neo4j 3.1 Released
Meta: I like how both you and I were down-voted. Even though we have opposing opinions. Whatever.
Access Siri on a Locked Mac
> This is also true of astrology

False.

> and MBTI has as much scientific validity and predictive value.

As it can be mapped directly to the big 5, this is also false.
> Why would they be doing a technical interview with a psychologist?

Because every psychology major I knew from college either went back and got a masters in a different subject, or is working at Home Depot. They'd kill for a $12/hr job.
Is it? It looks like on most recent Intel CPUs, it's 3 cycle latency, 1 cycle throughput on a 64-bit register. A 8-bit LUT solution is going to less than 16-bits per cycle on any recent Intel/AMD CPU (maximum of two load ports).
Important? Absolutely.

But I do games, apps, machine learning, IoT, hardware drivers, and deep dives into broken code that no one knows how to fix. Fancy accounting software didn't doesn't strike me as interesting. Even if it involves string parsing. :)