skysight-inc/HackerNews huggingface dataset:
Clearly you haven't had the privilege of using Lotus Notes ;-) My anecdotal counterpoint: Gmail is one of the most reliable products I regularly use.
So what's a good (clean) way to create the frontend for Flask apps? I have a decent sized Flask app and I've created a mess with all the templates, static CSS/JS now.

What JS framework do you tie it to, if you use Flask to just create an API/manage sessions?
>> The comments on those articles are always entertaining.

Agreed. Who the heck are those people who comment? Are these comments aggregated from somewhere?
Weirdly enough, I saw a blacked out SUV with Virginia plates and a CHP SUV in front of our office at 2nd and Harrison that looked extremely out of place. Among other things, it's a no stop area on our block and there isn't really much here to begin with.

It hung out for a few minutes and then made off taking a left on Harrison (101 South, FWIW). This was around 12:30p.
WhatsApp is still closed-source though, and I'm unsure as to the veracity of the claim of end-to-end encryption, I sure hope that's the case. In the Panorama documentary about Edward Snowden on the BBC, when discussing the death of Lee Rigby, a representative of Facebook says they're capable of decrypting messages (whether that applies to WhatsApp or just Facebook messenger is not clarified.)

https://www.youtube.com/watch?v=SjVxqlncS2I&t=46m15s (also see 49:00+)
This is the better link target: https://blog.golang.org/go1.6
There are less options in golang so its easier to get started or to jump into the middle of a project. For certain classes of problems the golang standard library is dramatically better than the java ones so you don't have to spend as much energy researching alternatives. It tends to perform well by default for web service and/or cli applications. Compared to java it is more terse (though not compared to some jvm alternate languages, but that is a whole different barrel of fish). The TLS stack in golang is finicky but I trust it. And gofmt. No really, the best part of golang is gofmt.

For those benefits you trade off vs the jvm a) abysmal tooling b) extremely primitive concurrency support c) a more primitive type system and d) a much smaller ecosystem.

I very much like golang for 2 classes of problem 1) http/s based microservices and 2) command line programs that are a touch more complex than bash. I would never choose golang for a system that I thought was going to have a high LoC count or had a complex domain to model.
Well that's obvious and also doesn't answer the question about the "mostly" case.

Fun to note is the gifs of entire movies in kilopixel resolution.
I've worked through the same logic myself. I don't deny that it generates better financial returns. However, the devil is in the details.

Let's say after 30 years you have a big bag of money. Well, now you have to invest it for the passive income to continue paying rent. But, per my recent comment[1], inflation-protected passive income will pay something like 2.1%. Oh, and you're taxed on the interest income. So, more like 1.7-8% (in addition to whatever hit it because you couldn't put it all in tax-deferred retirement accounts). I hope interest rates return to something sane, but we can't assume that.

In contrast, if that extra money paid off a house, it's implicitly "paying your rent" ... except that it's not an actual income flow, so it's not taxed at all! You just pay property tax, whose increases are capped because you're just an elderly person whose estate shot up in value.

Plus, factor in rentals being generally targeted a lower-income people (or high-income yuppie singles) and therefore less desirable neighborhoods and less optimal for your lifestyle and it's looking steadily worse -- definitely need more than 3.5% for the break-even point (which would have to be the real, not nominal return anyway).

[1] https://news.ycombinator.com/item?id=11027774
Escalades aren't (I believe) on the current GSA VAL, but Cadillac is a recipient of "non-standard vehicle" contracts, such as for the Presidential limo. Tahoes are pretty much the default SUV, even for non-standard tactical vehicles (such as motorcade protection), so I would expect an Escalade to indicate the presence of a seventh-floor official who rates something other than government standard.
> Is there a reason why one of these hasn't emerged/been adopted by the community?

Personally, I believe package management is one of those things that really does need an official blessed solution. Otherwise, you have a nasty bootstrapping problem: if there are ten competing package managers, how do you install them, and how do package developers know which one to put their packages in?

Collection types have the same problem. You basically need to put some collections in a blessed core library, otherwise it's virtually impossible to reliably share code. Any function that wants to return a list ends up having to pick one of N list implementations and which ever one they pick means their library is hard for users of the other N-1 lists to consume.

The Go team hasn't blessed a package manager, I think, because it's not that relevant to them: they mostly live within Google's own infrastructure which obviates the need for something like version management. They probably don't feel the pain acutely and/or might not have the expertise to design one that would work well outside Google.
What are some good questions that you can ask 20 of in less than an hour?
It's from the article, but what is a "content vertical"?
I agree with the parent that take home projects (as the initial filter) are a non-starter. It's because they're flat out abusive. The employer uses their position to offload the cost of their hiring onto job seekers. The fact that our first interaction is exploitative couldn't be a bigger red flag.

However I am completely fine with fizzbuzz tests, even take home fizzbuzz. But this literally needs to be something that will take no more than 10 minutes, and for most people a couple of minutes tops. And in the question have a disclaimer: if this takes you more than 10 minutes to do, this won't be a good fit, so save yourself the trouble.

I actually don't mind the idea of take home projects, but only after significant investment on the part of the company. They need to have something on the line as well if I'm to devote significant time to it. Paying a good hourly rate for the time to complete it is the most straightforward way.
One superficial example: There is only one correct formatting of a particular Go source file, so you never have to debate with someone (or yourself) whether to use newlines here or there, or to place that opening brace on the next line, or to put spaces around your assignment operator in that function call, etc. The toolchain formats it the "correct" way and that's it.
Depends on your build system. In maven http://maven.apache.org/plugins/maven-dependency-plugin/ is the way to go.
> Like all wsgi servers, it is best to optimize towards serving a small number of concurrent requests that are fast and end fast to free up the worker pool.

Well, most (or all) web applications I've worked with make database calls to serve a response, which (in case of Flask) locks the whole thread, and there's always the possibility that the database request is slow. That's why I prefer asynchronous web servers where I don't need to worry about this particular problem.

Modern web applications tend to be more like light proxies between the database and other (micro)services. Most logic has been transferred to the client, including templating. Serving static files should be done by Nginx in any case. Therefore I think it's rather critical that the web application does the serving of multiple requests well, and why I think the async architecture is the way going forward.
Poor execution doesn't invalidate the idea but it does hurt its effectiveness by making candidates gun-shy.
GG&S: I had two separate MDs at a gym off campus and the head of my dept (biomedical informatics) exclaim "that's the best book I ever read!"
When phone verification and recycled numbers collide, Lyft leaks user data
Well, in some areas, but it really depends on the market - the property taxes on my home in a University city of 200,000 are 1/3 of what I was paying in rent - with the interest on my mortgage the amount of "lost" money comes out to roughly the same amount for now.

As long as property taxes do not outstrip my interest rate, that ratio should stay in my favor going forward.
I think they mean "we launched the beta" and then made it the stable release not that you're on the beta channel
So only Apple has the ability to do this...not the US government. So we trust Apple but not USG?
You may think this is a sonic boom, but it's not
Same thing happened to me, my local credit union emailed me my password. They ensured me that they use "bank-level encryption". Of course I didn't get into the difference between one- and two-way encryption with the teller, or that email isn't secure.

We live in an age where this should be unacceptable. Why aren't there financial security laws yet?
You might be interested in this set of videos[1] of public testimony by WhatsApp's Deputy General Counsel at a hearing on cybercrime in Brazil in December 2015, where he explains in some detail the type of information they have and don't have. He explicitly notes that they are incapable of accessing message content for end-to-end encrypted messages, and also explains that they don't retain copies of any communications once they've been delivered to recipients.

[1] http://www2.camara.leg.br/atividade-legislativa/comissoes/co...
Will Google step forward too?
That's a good idea. My proposal is a "mega-landlord tax," which has a progressive property tax levied on all properties owned for rent after the first 5-10.
The current common interview practice is more like a programming contest. The candidate has to figure out a problem and finish it within ~30~35 minutes. Very competitive, but with little engineering involved.

I like the "Software engineering fizz buzz" idea. For backend engineers, I usually ask the candidate to implement a commonly used API in a language she/he is most proficient at.
Are they better tools than are Chevy Tahoes?
Typically, one uses an application server container such as uWSGI for a production deployment of a Flask application.

uWSGI allows for brokering requests across multiple application processes and/or threads, and also allows for more interesting and complex scenarios such as zero-downtime deploys, "automatic" scaling of processes/threads based on load characteristics, to name a few.

> And why should Flask be used instead of asynchronous Tornado or Node.js?

Tornado's asynchronous request handling is quite nice, but it also forces you to ensure that every 3rd party system you interact with has an equivalent async-compatible library; otherwise you end up blocking a request while waiting for a response, thus defeating the whole purpose of Tornado. Most systems (e.g. Postgresql[1]) have async-compatible drivers, but it's not always the case.

As for why not node.js, well, perhaps a better question would be: How would Node be an improvement over Flask+uwsgi? What are the associated infrastructure/architecture/cultural costs?

1. http://momoko.61924.nl/en/latest/index.html
Exactly. I love how every release of Go, or Rust, mainly those two, turns into so much rehashing...it hurts.

Little discussion about the release changes happens...a simple google search will return all the discussions of pros and cons you would ever want to read in a life time...
Wow. This is the first HN submission to exceed 5,000 points!

To honour Tim, and his advocacy for our industry, I'm going to spend the rest of my week developing privacy/security projects. I encourage everyone else to do likewise.
> But I think there are ways via taxation and other policy to effectively nullify any advantages to shifting to assets such as shares.

Sure. But then you making increasing complicated rules when the land tax premium is simple. And generally the more complicated/specific the rule the more new loop holes are made.

> I mean, the general problem you describe is that money creates means, to create more money.
Not at all. The government should encourage people to save, invest and build wealth. I guess what my general problem is allowing unfettered business activity into essential areas of life, above the needs of the masses and especially where demand is inelastic. So I'd be inclined to keep strong regulation or government involvement in areas of; housing, health, education, agriculture (ie food), and telco if it became a problem to ensure this is available to the population at fair market rates not distorted by monopoly (or similar) or speculation.
That's not the title of the article, it's also not what the article says.
Really? Any more confusing than all the Mac's being called Mac?

People get the difference between the Mac, Macbook, Macbook Air, Macbook Pro. Why is Surface, Surface Pro, Surfacebook any different?
I don't know how it works most places, but when I bought my first house my payment was almost double what I was paying to rent the apartment I vacated.
>when Mr Google calls you to speak about _your_ language, when the world is full of mirrors of libraries written by all kind of persons and companies for _you_ language, please, come back, and we have some laughs.

I dunno, I'm pretty sure that this is a form of the "appeal to authority" logical fallacy - i.e. person X has achieved less than person Y, therefore their opinion is invalid. Perl has problems like any language has problems, but sometimes it's the right tool for the job.

I know the kind of person who derides languages for whatever reason - sometimes I am that person. It's fun to bash PHP, C#, Java, Ruby, Perl, Python, even Shakespeare Programming Language [1] but at the end of the day they're a means to an end, not an end to themselves.

Some comments at Linux.conf.au recently made me aware of platform/language shaming. It's not a good thing and I'm working to stop doing it.

1: http://shakespearelang.sourceforge.net/report/shakespeare/

\ VB6 can bugger off
Don't view it as a software company. View it as a media company.

Plenty of 30+ person magazines or topic you've never heard of (Or there used to be - now they are 5 person websites).
If they're partnered with Open Whisper Systems, it sounds like they're serious about end-to-end encryption.
For me, I like Go's slim profile. Native compilation, aggressive allocation, low memory usage, static compilation.

JVM suffers from slow startup times and tends to eat a lot of RAM, even when the app doesn't technically need it around. It has an object model that spawns a bazillion tiny objects, and much of the JVM's GC design exists to cancel out those tiny object allocations.

JVM has many upsides (the portability and pluggable nature of JAR files is a huge one), but I think a lot of people are attracted to Go's bare-bones approach. Closer to the metal, a "better C", smaller overhead.
The original flask-classy extension hasn't seen updates in two years.

This fork is currently active:
https://github.com/teracyhq/flask-classy
Whoops, seems like you pissed some people off :D
Not at this level of detail, but in the event you don't know about the site, try http://stackshare.io/stacks . You can see the app stack for the included companies at the levels: Application & Data, Utilities, DevOps, Business Tools.
I too have found this assumption to not always be the case. At my company there are certainly some people who qualify as vets yet insist on writing purely procedural C style code and have yet to adopt modern paradigms like OO design simply because they are so far removed from their education.
I think that only messages sent between two android devices are encrypted using E2E. If you send a message to your mom (who uses a blackberry), the message won't be encrypted with that protocol.
I take opinionated to mean one obvious way to do things. Python and Go are opinionated. Ruby and Perl are not. But RoR is very opinionated.
> while having access to the file system.

Android has easy access to the file system. You can download one of many file managers.
Because the hole doesn't actually exist unless Apple engineers custom code for the FBI. If the FBI can force Apple to engineer code to create security holes for them, that establishes a precedent.

Explained better by someone else here: https://news.ycombinator.com/item?id=11120036
Either you are very good, or you are working on small projects. Can't say which!

Java is 100-ton dinosaur to be working with using a simple editor. Spring, it dependencies, hibernate, junit alone make you want to work with an IDE.
It's an email client, so they have a hard time fitting parallax and scroll-jacking in to it. This leaves something to be desired for more frontend minded folks from the 2010's methinks.
I'm super pleased that we finally offer customers the ability to match their VMs to both their physical infrastructure (32 vCPUs and 64 GiB has a nice ring to it). It also opens up the fantastic world of finer-grained "workload" tuning: instead of forcing people to jump from 16 vCPUs to 32, you can go up to just 18 when all you need is a bit more compute.

Disclaimer: I work on Compute Engine.
I do agree that "homework" type tests are the way to go.
The only caveat is - someone needs to be REALLY interested in working for you to do this as a first step.
A 15 - 20 min conversation with a hiring manager or an HR person if you have HR :) to cover things like the specifics of the position, candidate's 5 min summary of their career, approximate compensation, etc as a first step. Then you decide whether you like what you've heard and the only thing standing between the applicant and the offer is the completed assignment.
Note that I'm not really familiar enough with versioned symbols to know whether there is much more to it than just a specially formatted name.
Its my understanding that they are trying to merge gmail into the new Inbox.
Tim Cook Says Apple Won’t Create Universal iPhone ‘Back Door’ for FBI
They have 11 IIS servers but interestingly he says this:

What do we need to run Stack Overflow? That hasn’t changed much since 2013, but due to the optimizations and new hardware mentioned above, we’re down to needing only 1 web server. We have unintentionally tested this, successfully, a few times. To be clear: I’m saying it works. I’m not saying it’s a good idea. It’s fun though, every time.
I hear "Let's use reflection!" as "It's time to find something else to work on!" Outside of writing developer tools or unit test frameworks, I can't think of a worse code smell. It's a klaxons blaring, we're doomed kinda thing.

Everytime I've seen it used, it turned into a quagmire of subtle regressions, strange effects at a distance and extremely brittle code.

I think the best pattern there are:

1. Thou shalt never write code that uses reflection on its own code base.

2. Thou shalt never use reflection unless all other options have been proven worse.

Which leaves mostly unit test frameworks for some reason...
> The reason I will almost never use Go for web apps is because interaction with databases is limited
> but it's a huge drop in efficiency to spin my own SQL.

Sorry, I have to disagree. I come from PHP, where when you sneeze an ORM appears. I actually am a DBA also. I am very familiar with SQL and I love writing out raw SQL.

I don't see this as a limiting feature. It doesn't affect me at all.

There are ORMs for Go as well. But I don't know how good they are. YMMV!

Last point. I have shipped into production a web app using GIN framework. I ported from PHP to Go. I didn't feel I was losing anything.

Go is amazing. It hasn't let me down yet. I doubt it will.
Both velocity and gravity (distance from the nearest planet/star) affect time.

It does, but the difference is negligible unless we're talking about the surface of a neutron star.
If your plan is to use Flask and use all the various add-ons to get Django-like levels of functionality out of the box, I think that's a mistake.

I worked on a pretty big Flask codebase (certainly bigger than the one mentioned in the article, though obviously it depends on how you define it, how you structure your codebase, etc). We didn't really use much in terms of third party add-ons, but we did fork and add various useful features, conveniences, etc. I don't personally think the lack of (eg) sessions is very painful, because it's trivial to implement, and there's something to be said for having a code path that you understand. Yes, we spent some time building some pretty generic stuff... but it was a tiny fraction of overall development time, and we gained wins from the fact that we understood our codebase very well thanks to it.

Definitely a balance to be struck, but I really appreciate that the surface area of Flask is small enough that provided you accept the basic conceptual model (request per thread, entry point is a function, etc), you have a lot of freedom to do what you will, and there's very little bias in the system pulling you away from that. Whereas if you don't want to do something the Django way... well, there's some cost to that choice, usually.
Oh yes for 4). Why can't I include a package from the current directory? Would it be that difficult to first search for a directory containing a `main.go` before jumping to GOPATH - similar to how Python defines packages with a __init__.py?

In addition, once your workspace increases in size, GOPATH becomes a mess in my opinion.
If you use Maven/Ivy then your transitive dependencies are automatically managed based on your direct dependencies. If you don't, or if that's not enough, use ProGuard to get rid of all the classes that you aren't actually using.
Your University's Endowment May Depend on the Football Team
It's all about the tags. You have to work in the other direction. Find something well-tagged, then giphy the fully qualified tag that produces the same gif every time.

Granted, this is not a "search engine" type of use case, but the actual existence of some gifs, and the tags applied, force a degree of compromise.
That's not so much a back door as a potential vulnerability.
Marvin – OSS static+dynamic code analysis system that finds bugs in Android apps
I'm not being negative. I was confused by the unfamiliar anthropomorphic terminology being applied to an artifact. I take away a sense that "opinionated" seems to be an idiom popular within the golang community for a sense of principled design along the lines of Smalltalk's message passing, Lisp's homoiconicity, Haskell's purity from side effects, and so on.
We fail to care because I expect most people are resigned to the fact that we aren't going to do a damn thing about it.

Climate change is real. Humans are causing it. And we're not going to stop. It's as simple as that.

So why waste emotional energy on the issue?

What I find odd is that folks find that odd. It's actually a pretty rational reaction to the situation.

Far less rational is to think you can convince 8 billion prisoners to solve a dilemma bigger than any of them can possibly imagine.
Go CSP is minimal and ortongonal, I just wish it did three things:

0. could lto optimize or link against a shared library to reduce the titanic size of compiled programs and cut down on duplication of instruction. Therue is no practical sense in wasting memory and storage on systems with dynamic linkers: edge cases of including the world for rare situations but YAGNI in real production systems.

1. could output flat binaries and self-host runtime (panics) for practical kernel development in Go

2. Generics (both types and immutable constraints), I think C++1z has the right approach to this (and constexpr and constant arrays are nice and are able to provide more hints to the compiler).

I also wonder why Go wasnt developed as an IR compiler / llvm frontend, because it would've levered an existing debug and portability ecosystem with much less work.
Does https://github.com/stars not work for you?
I am not a physicist but I believe the answer is yes as time is affected by acceleration.