skysight-inc/HackerNews huggingface dataset:
The benchmark is a little strange.

It has a range of 723 requests (CherryPy) for a plaintext hello world to 6.8Million (ulib) for plaintext. I looked at the Flask numbers and they don't compare with my own - I got between 3 and 4 times that when I benchmarked it myself on hardware that I'm sure was older and less powerful (and I didn't bother to turn off logging).

I looked at the node code and it does not use express - which could very well be the difference I am experiencing.

I'll tell you what though... I'm going to have a look at ulib for static files!
My email is in my profile if you'd like to send me a message. I'd be glad to share info with you.
Yeah, I mean it seems like the other commenter is implying that, at the end of the day, the government can't actually do anything to a big company. Clearly that's not true. The Us government has completely broken up companies, which is a heck of a lot more intrusive than forcing them to decrypt phones.
And with DBIx::Class it is almost easier to do it right[1] than wrong.

[1] https://blog.afoolishmanifesto.com/posts/do-passwords-right/
Meta2 is launching in 2 weeks and just had its first public demo on stage today at TED 2016. Maybe that has something to do with it. Links:

- https://www.metavision.com
- http://www.roadtovr.com/meta-shows-off-their-next-gen-ar-gla...
I was using the term to refer to a very thin-soled sandal. I might be using it incorrectly. "Sandal" to me evokes a 2-inch thick chunk of plastic with giant velcro straps.
Picked one of these up last week. Sending it back this week. Had I known the current state of the Android tablet experience, I would have been more upset when ChromeOS lost the Pixel team.
It seems to me that most CEOs are simply irrelevant. The company does well if it does, and doesn't if it doesn't. It is rare that any one person is able to turn around the fortunes of their company. The only example that comes to mind right now is Steve Jobs.
https://news.ycombinator.com/item?id=11116039
LA hospital paid $17,000 ransom in Bitcoin to hackers, CEO says
Torture Isn’t a ‘Political Decision’ – It’s a War Crime
Mutable iterators are the work of the Devil
The difference between the old cases and the current one is that in the new case, Apple is being forced to develop and install a backdoor to circumvent security features. That sets an entirely different precedent compared against simply providing the feds with information that already have.
Fuck You Sears
If you only have one copy of something, you don't have a backup.. and you should always have a backup.
looks like you can get 12 months of access for the cost of 1 month on their website under pricing.
$10 (or $8.5) per user per month is relatively expensive.
YouTube copyright complaint kills Harvard professor’s legal copyright lecture
This is what happens when you take Ayn Rand seriously
Technical interviews are part of why I've moved away from engineering positions. I'm looking at product management jobs thinking that I could use what I learned past 6 years working on a SaaS alone. However, I found the exact same shit, even more technical interview questions that require whiteboard code writing.

There might be some merit to why they are doing this but it's impossible for me to engage companies that discount real world product experience in favor of rote memorization.

So far it's a pretty tough nut to crack, lot of product manager interviewers don't seem to know what they are doing, instead relying on law of large numbers and how great their fucking product is blah blah blah (it isn't).

It's a bit worrying since some companies seem to be hiring product managers for some subjective end goal of an improved product and improved sales....they want one person to take the credit from, and the same person to take all the blame...another huge red flag when managers outright tell you they have no idea what to do so they just get someone else to outsource their thinking.
Oh my god...is that new? I swear I've tried that and it didn't work. You are my new hero.

[edit]

Though maybe I was thinking of adding parameters like https://play.golang.org/p/FKUMlQzCI5

In any case 'thebaer continues to be my hero.
What about ios? And how does your device know whether to encrypt or not? It's useless talking about encryption if the code is hidden. What if tomorrow they turn off the encryption silently?
I'm aware of the 5th amendment, but prosecutors have worked around it and journalists have gone to jail to protect sources. http://www.rcfp.org/jailed-journalists

Consider the various ways to police crime:

1: Before the fact, preemptively. Active surveillance and-or entrapment. Widely criticized.

2. After the fact, forensic analysis. Previously, physical evidence collected, warrants for documents. In digital realm, foiled by cryptography. Attempts by government to restore status quo to pre-digital capabilities widely criticized.

3. Compulsion. Prosecutors lean hard on individuals with digital evidence to turn over materials. Runs afoul of 5th amendment and civil libertarians.

At least for many types of crime, especially white collar crime, this leaves the authorities almost no recourse. Your politicians can communicate securely with their paymasters, and receive untraceable payments over bitcoin. Although you may find HUMINT witnesses who can give you probable cause, there may be no way to obtain real evidence.

The Silk Road founder was only caught because of active surveillance, literally caught him with his computer unlocked. This would be like waiting for the San Bernardino killers to unlock their iPhone, and them seizing it before the auto-timer relocked the screen. Not exactly possible for all types of crimes.

Is active physical surveillance of suspects by the state any less creepy than digital warrants?
Wasn't that obvious?! Sorry for the tone of the comment but really...
Absolute velocity does not affect time, simply because there is no such thing as absolute velocity. Relative velocity, though, does. For instance, if you look at a clock on a GPS satellite, moving fast relative to you, you can see it run slower than the one on your wrist. Similarly, someone stationary on the surface of the sun would see us here on earth moving in slow motion.

However, someone moving on the satellite would see the clock on the satellite move normally, and us on earth moving in slow motion, because they are on the same frame of reference of the satellite.

So no, time does not operate differently on different parts of the universe per se. It all depends on how it's moving relative to the observer.
Well...and sort out those pesky newsletters that you signed up for so they can starting charging senders to hit your main inbox. Just waiting for it...
We squash commits before merging so we use the PR as the tie between cards and commits.
You misinterpreted what I was trying to say. I was simply trying to highlight that theres a difference between dealing with people and dealing with a perfectly logical machine, to support the point that interviewing programmers is harder than interviewing lawyers. And I'm not a programmer.
You can disable that in Chrome (which brings back the swipe down gesture to open the tab switcher, which is nice). However, the way the Google Search app interacts with the app switcher and back button is awful and there's no option to fix it. For example, using the app switcher to go back to a voice action result will often re-execute the action. Or sometimes no entry gets added to the back stack, so you can't go back to a results page. Or sometimes clicking something in the results opens Chrome and sometimes it doesn't. I just avoid the search app whenever possible and use Chrome.

I could go on about the clusterfuck that is "OK Google", but maybe I should stop now before I get too worked up.
There is a pretty common scam going on on YouTube right now. Make "mix tape" on YouTube of snippets you don't own and then file a copyright claim against anything else on Youtube that matches a segment. Youtube lets the complaining party place adds on the victim item until the complaint is disputed successfully.
Chip-scale atomic clocks are now about $1500.[1] This just gets you a 10.0000000000 MHz oscillator; something else has to count time and provide output.

Passing around the max sequence number as a monotonic sequence indicator has a risk. A bogus sequence number near the max value can cause serious problems.

[1] http://www.microsemi.com/salescontacts?ctype=3
Whatsapp and it's founders are famous for avoiding drawing any attention towards themselves and their company. There offices in Mountain View didn't even have any signage outside (even to identify them as one of the tenants in the building) right up to the time they were acquired by Facebook. Looks like things haven't changed much since the acquisition.
Correct. PHI coming from insurance claims absent a signed HIPAA release for uses related beyond "treatment/medical education, payment, and operations" would be a HIPAA violation on the part of the insurance company.

Employers themselves are not HIPAA-covered entities. Insurers are however.
There is no such a thing as "money waste" when it comes to governmental contracts that go into private hands via bribes kickbacks and staged pre-set bids.

If anything those involved would love to find ways how to spend even more!
https://news.ycombinator.com/item?id=11116274
That's incorrect as well. You are mixing two relativistic effects: from the velocity of something relative to an observer, and from the gravity on that spot of the universe (which is what I assume you mean by acceleration).

Also wrong, as you dig deeper into a planet you experience less gravity, not more.
Ah, got it. So it's able to take into account outside factors that more efficiently get you to the target temperature. Okay, I see the value now. Thanks for the explanation!
It's easier to control and twist arms... in the cloud.
It's so infuriating because I've worked at companies doing digital commerce before, and PCI compliance and certification is quite onerous. But at the end of the day credit card numbers still aren't as sensitive as bank logins, yet there are no security standards on bank logins! It's crazy.
i prefer to read my content horizontally
To where? Don't forget all the metadata as well.

https://news.ycombinator.com/item?id=10703650

https://news.ycombinator.com/item?id=10862663
No point in raising an error if you aren't going to do something about it.
If you don't care about an error then don't check it.
If you do care then handle it.

and you don't need massive if blocks, you can use more early returns as part of the err checks.
Great feedback, thank you.

On (1) Great suggestion, looks good.

On (2) I'm probably biased by having spent a lot of time with Python and Javascript and bound to some preconceived notions of how one should deal with exceptions, so perhaps I give Go a harder time than I should for my failings and not its. :)

On (4) I hope they get it right; packaging can definitely make-or-break the system.

On (3) and (5) I found these techniques could/did-not work when testing Go App Engine. Editing the third party source had no impact, even after restarting App Engine, re-running tests, and deleting the .a files. I'm sure it's just another trick, but I couldn't find it so I eventually just gave up ... hence it being in my list of concerns.

Thanks for the feedback, I appreciate the suggestions.

Cheers
Google Stands with Apple
I think new generation wants to take over linux with their new ideas but in reality they just want to prove themselves and prepared to completely ruin it in the process.. well. Cos they just young and want new things. They know big words and think they now the world and they hate their parents... so in short - they want to do to the Linux what the previous generation did to windows... karma.

P.s. whatever language you use its irrelevant. Bugs are in the heads. Code is just the reflection.
Carl Icahn put it the best as he described his encounter with a CEO when he asked the question, what does a CEO actually do in a corporation?

His answer was that it was a pretty pathetic one based on his observation. The CEO would take him to different floors and explain stuff but nothing that had any substance or material understanding of operating the country.

Carl Icahn's view isn't alone. Nassim Taleb also blasts overpaid professionals and experts as "empty suits", they literally add little to no value to the organization other than how much they don't shut up about how great they are and what ivy league school they graduated from.

I also have to conclude that CEOs are largely useless and could be replaced by a sock puppet operated by a homeless man.
Yes true it was just conspiracy theory... like you know.. that government spies on you and stuff like that.

Nothing to see here those are not the droids you looking for!
correct. Damned by faint praise.
Nintendo prelaunches Miitomo
GGS has received a lot of criticisms from anthropologists.

https://www.reddit.com/r/AskAnthropology/comments/1rzm07/wha...

Like Malcolm Gladwell, Jared Diamond is very skilled at weaving a narrative that offers "aha" insight, however, it seems to come at the expense of cherry picking facts and events from history.
I've seen this being used extensively in sensor control centers (power grid/power plants), so it's definitely not limited to Google.

Basically by accurate and precise timing, they are able to reconstruct and pinpoint the origin of a failure.
If your job is making predictions, then surely your performance can easily be measured by the outcomes of those predictions. That way, not saying what you think would hurt your bonus or your company's reputation through poor performance. Perhaps that's only effective at combating widespread dishonesty and an isolated case like this wouldn't affect his overall accuracy much.
Summary of Google CEO's series of twitter posts.

1/5 Important post by @tim_cook. Forcing companies to enable hacking could compromise users’ privacy

2/5 We know that law enforcement and intelligence agencies face significant challenges in protecting the public against crime and terrorism

3/5 We build secure products to keep your information safe and we give law enforcement access to data based on valid legal orders"

4/5 But that’s wholly different than requiring companies to enable hacking of customer devices & data. Could be a troubling precedent

5/5 Looking forward to a thoughtful and open discussion on this important issue

See https://twitter.com/sundarpichai
You should compare Flask to Express or Koa, not raw nodejs. Flask is 3x faster than Express and 2x faster than Koa.
The man who wants us to embrace autism (2015)
The XPS13 may fit what you're looking for, if you want a PC. Amazing screen (touchscreen even). Solid, great build. Not hot and heavy. They even have a special one built for linux.
What do you guys think of webapp2 framework? How does it compare to flask?
Techie question: if Apple can compile a neutered version of iOS to bypass encryption, why can't a hacker (or US govt nerd) at least in theory reverse engineer iOS and patch it accordingly?

(guess answer: iOS needs to be signed. So what they are really asking of Apple is to sign a lobotomized iOS image...)
Translation: Middle management invents slang like this to seem more important.
Can you explain why using a plain text editor for a typesafe language is a bit daft?
Apply Pay is now available in China
I want to know how this works: http://gitmagic.io/
The difference is not negligible if we are talking about applications like GPS etc.
It would be quite unfair for anyone to expect martyrdom of Tim Cook, however, the action taken could send a very powerful message. Apple is one of the most loved companies in the US, if Cook and gang put the foot down firmly, surely the public struggle would generate immense discussion.

People would want to know why their favorite company was drawing a hard line, hopefully lead to a more educated debate.

We couldn't possibly expect this to take place as it would imply huge fallout for Apple. The only real course of action is to keep up the public debate in a loud way.
That would be one hell of an exam question.

Best method I can think of is to measure the proper time of both the trajectory of the earth and the trajectory of Halley's comet, and compare, but with the combined effects of gravity and a changing speed that could be quite challenging.

It's even worse if you insist on using geodesics instead of elliptical orbits, or if you decide to include the rotation of the earth in your calculations.
Meh. I use Inbox, it's my default on all devices. It's pretty smart at filtering out social/ad crap, the search bar is more prominent and works very well, and it's got a nice, simple interface. It's different, but IMO far better.
Show HN: Ignore @Before and @After on some test methods in JUnit tests
If an attacker can modify the code, they simply nullify that check (as we're discussing here). The prior state was insecure because the whole point of crypto/trusted hardware is to prevent against such attacks, and the prior state should have never allowed a code update on a locked device (if we're talking about trusted hardware).

If we're not talking about trusted hardware, then naive code which calls sleep() is defective for the same reason - the security of the system cannot depend on running "friendly" code. See Linux's LUKS which has a parameter for the number of hash iterations when unlocking, which sets the work factor for brute forcing.

If this still isn't apparent, you need to try thinking adversarially - what would you require to defeat various security properties of specific systems?
The World in 2016
The website says a lot of things, he's probably right, but as a newbie IMHO your first task is to compile enlightenment, and in elive that's already done for you...
> Seattle is currently enjoying falling rents.

But that's not true, according to your own article.

From your link: "in the core of Seattle, rents went up 3.9 percent year-over-year in September."
Upper management too. Have you ever been to a board meeting of a public company?
I have this same feelings, but after thinking a bit, you'll see this is not bad. For big projects it will help an enourmous lot, but small projects don't need to use this, and probably will not, so it is still good.
I think you should write a book, but don't go through the vanity press ripoff. Publish it yourself.

I have known people who live out of a van/truck camper until cops realize what's going on. They will harass you to no end. The tickets are expensive. The days of " Just move on." are over.

That said, in most counties, there is nowhere to park a vechicle overnight. We need to desiginate areas, in commercial areas, where people can legally sleep.

They have pretty much made it illegial to sleep Anywhere, without paying. Even Parks have time restrictions. I'm ashamed of what America has become.

If Jesus Christ reappeared, he would be hit with multiple municipal fines within a few days. It's just not right.

(If I seem mad-- I am. I had a friend who tried to live in the back of his truck, and take showers at a local gym. Cops harassed him nightly. Once the gym found out he was just using the showers--they made his life difficult. The one slime ball manager would time his workouts in order to use the facilities. Wonderful world we've got? Oh--yea, he was doing non-union construction. The last thing he wanted to do was workout at 6:30 a.m. in order to take a shower.)
That's a really cool idea!
You realize that there is much more to roasting coffee than just heating them up to some pre-specified temperature, right?

You have your bean temperature, air temperature, and drum temperature, all of which are controlled separately. You also need to bring them up at the right speed. You also control how much you circulate the air versus venting it. And all of these things are interrelated, adjusting one will change the others. I help maintain the roaster at a small coffee company, and the head roaster likes to manually control each roast. The PLC can automate an entire roast, but since there are so many variables, he likes to run it manually.
The British Library’s Collection of Chinese Propaganda Posters: An Overview
Although not a completely different field/profession:

Power Engineering interviews usually have technical questions, or how you would approach a problem. Even if you have a license. But typically if you have worked in the field, the answers are straight forward.
The problem with hiring is that hiring decisions are centralized, causing huge workloads for the decision maker. To reduce the load, arbitrary processes and voodoo tests are used, always with the same poor results.

Instead, the team hiring should themselves interview candidates and make decisions on who to hire, because it requires personal knowledge that you can't get from tests.
Sprintly is cheaper.
Google CEO Sundar Pichai has thrown in with Apple in a series of tweets explaining his position.

https://twitter.com/sundarpichai
> implying that, at the end of the day, the government can't actually do anything to a big company

I wasn't trying to imply this at all - of course the government can destroy companies.

What I was implying is that, given the past few years of heightened public awareness of domestic government programs and efforts, perhaps this time public pressure would be exerted on the government to lay off the issue. Apple is one of the most loved companies in the country, people would be very interested in knowing why it's suddenly being torn down.
If you're good at picking things up in a hurry, the best way to gain experience in new skills is to get hired for your existing skill set, either at a very small company or (better yet) a large one with incompetent management.

In a small company, everyone wears a bunch of different hats and you will often be asked to do new things outside your official role.

In a large company with bad management, staff turnover will ensure that they regularly find themselves short on skills, at which point you can stick your hand up to pick up the slack.

Either way, if you consistently deliver the goods then they'll keep coming to you with new challenges.
They tried with Yahoo 360 [1]. It flopped tremendously.

[1] https://en.wikipedia.org/wiki/Yahoo!_360%C2%B0
They can turn off the encryption silently whether or not the code is hidden.
Hashicorp's Vault (vaultproject.io) is also an excellent way of controlling access to secrets and back ends, such as PostgreSQL.

It's worth spending the time to learn, implement, and integrate into the security best practices you should already be deploying.
I host my Flask API on one server and serve a single page app (Angular) on another.

The trick with that is having to host them from separate domains and deal with CORS, however it also allows you to distribute your SPA via CDN instead of using Flask app servers to serve up that static content. This is what we do at my full-time gig, but same holds for Flask.
The (main) virus came through a user brainfart clicking on something she shouldn't have, so it got to install directly with admin privs. Amongst other things, it managed to block the MS AV from running properly and hijacked the DNS, which I had to manually reset. I can't recall how MS AV was blocked, sorry. Once it was all cleaned up I left it with MS AV active, though.

I'm not all that experienced in cleaning windows machines these days, but I do remember that each of the tools I ran cleared out something beyond just 'tracking cookies' - and each of them got something that the others didn't.

I certainly feel for mere mortals that have to do this sort of stuff on their own, given that the anti-malware websites frequently have the same garish in-your-face appearance and crappy download sites as malware-supply websites do.
A Year of Code
Can anybody tell me if you can run Go in Chrome using the NaCL stuff? I remember there was talking of it a few years ago but I don't know if anything ever came of it.

A google seach show that you could build for NaCal in Go 1.3 but only run it in special builds not Chrome itself.
Cry, US Government!