skysight-inc/HackerNews huggingface dataset:
Some of us don't float. We sink. Despite whatever the lifeguard training told you. Plunk, drop straight to the bottom.
The meaningful difference is whether there are isolation and distribution/update mechanisms so that users can install and maintain apps with less risk and hassle. This doesn't have much to do with (in-app) UI per se, though.
Captionify – image captions without jQuery
Respectfully, you sound like a fresh Alpha Male
who's found a new pride, topped the old Alpha,
and now you're looking to push him out entirely
to cement your dominance.

I can see that it comes off that way. But the reality is, everyone seems to know this guy isn't hacking it, and I could tell almost immediately -- yet decided to do nothing for over half a year. For exactly that reason: I didn't want to risk the appearance of being an ego/power-maniac. But I'm now debating the wisdom of "just ignore it".

It's things that are borderline embarrassing (real example: not knowing what ssh is) in addition to just poor coding habits (breaking every style rule in the book), no systems instincts, and so on. Plainly, I don't think the CEO knew how to vet this guy.
Cisco enters new era after John Chambers steps down
Isn't django slowness usually database related? In that case I find the the django debug toolbar gives a ton of useful information.
Over and over i have to relearn archaic does not mean stupid. If you want to build a stone cathedral today, you're not going to get more arch height than the medieval state of the art. If you want to lay a cable, it's going to go pretty much in the same spot as telegraph cables, because people solved that problem 150 years ago.

People have been cunning and brilliant forever, they just had sucky tools.
Awesome stuff.

I can't wait for Flexbox wide-spread adoption - especially in popular frameworks. It's too bad so many people are forced to not be able to use it because of IE9's total lack of support [1]. TBH, I'm not even sure if there's a good polyfill for it.

Dimitar Stojanov (@justd100) wrote a super kick-ass write-up on scotch.io covering basically everything there is on Flexbox [2]. It's probably much quicker than 20 videos, has an amazing interactive demo, been shared over 2.4k times, and is probably the best write-up on Flexbox I've read (I'm obviously biased though).

[1] http://caniuse.com/#feat=flexbox

[2] https://scotch.io/tutorials/a-visual-guide-to-css3-flexbox-p...
It really does. The most helpful resource I found for Flexbox is a cheatsheet from css-tricks.com.

https://css-tricks.com/snippets/css/a-guide-to-flexbox/
As someone who works on ad networks, I agree. While they put a lot of work into the backend stack, the frontend is usually written in the worst possible way.

Tons of document.write, loading dozens of more tags, everyone has their own copy of jquery, etc.

The industry just doesn't have any technical leadership in the governing bodies so there's no accountability or any expertise to check that the networks are built right.
> Sigma, which is part of the anti-spam infrastructure

Sounds like something which can be done as a batch-job with little memory. Or not?
I was pleasantly surprised to see that article on the front page. It wasn't up when I posted my comment. I do hope this becomes a major issue.
Democratic access to power has in no other circumstances required knowledge of coding.
Honestly, it sounds more like you're jealous of
his compensation relative to yours

I know it's hard to sound convincing, but trust me, I'm not: I am well-compensated (and negotiated for such), perhaps even more than he (don't want to get too detailed here).

Where I am upset about compensation is that we've hired an engineer getting orders of magnitude less equity and performing orders of magnitude better work. Even if I can't change comp, I worry about how the "good guy" must feel & how to retain him if I just continue to "shrug off" the cofounder problem.
> In my experience you bob to the top because of the buoyancy of air in your lungs

Depends on a number of factors -- body composition (fat is less dense), how much air you have in your lungs (did you inhale or exhale before entering the water), etc.
That's right. Petitions are just pleas to the king. Except that there is no king here. There is an oligarchy. This is what a republic is. In a real democracy (such as ancient athens) the citizens get to vote the laws directly and public officials are held accountable for their actions.
Interesting to see what was meant to be the most glorious and final (to end all Flux wars) version of Flux get revamped with Rx:

https://github.com/jas-chen/rx-redux
They aren't written for the user experience, they're written by low-level techs usually (because the JS part isn't as "cool/exciting/important" as the backend part) to just get the ad on the page somehow.

It's probably the worst of the worst in JS engineering sadly.
The customers for this from the GS side are what are referred to as high net worth individuals and family trusts. They aren't your friend across the street taking out a second mortgage on his home so he can play the private markets. There is an assumption that you're an accredited investor, and while I don't know the GS requirements for getting in on deals like this, I can only imagine it's far in excess of the accreditation requirements (which is relatively straightforward to achieve -- $1M in liquid assets or 2 years of income over $200K / $300K if filing jointly).

There may be some reason to be concerned otherwise -- pensions and endowments are often customers for this sort of thing -- but they have risk managers that hopefully know what they're doing. Which may not give you warm fuzzies, given recent history, but in general these are not the people losing their shirts and affecting the economy as a whole.
Advertising is the worst model, except for all the rest of them.

Charging for things, in and of itself, is hard and, on some level, facetious. If all knowledge were known, why would you pay anyone to do anything? It's not clear to me why anyone pays anyone except in the case of information arbitrage. Advertising is a form of explicit information arbitrage, where we convert dollars into attention. Other information arbitrage's include licensing, where we essentially leverage the properties of intellectual property and technical obfuscation to generate returns.

The ills of advertising are a consequence of information arbitrage. What most people are railing against is the act of arbitraging what they view as trivial information, and yet this is the essential point that makes a business.

We think advertising is evil because it monetizes our attention in a vaguely non-consensual manner, but there are tons of businesses which are valued with respect to attention that are not valued with respect to dollars (think porn as the canonical example). Advertising is simply the easiest way to convert attention into dollars. There are higher friction methods, but their returns are generally commensurately lower.

If I could just reach into your bank account and pull a penny out for every minute you use my app, or listen to my song, or read my book, that might be a viable business. Barring that access, advertising appears to be best.
How to monitor Varnish
Yes, if you read what I wrote I mentioned the three orders of magnitude increase in write endurance as compared with NAND. But when paired with the three orders of magnitude increase in performance, that means it takes the same number of hours to burn it out. And a NAND device without wear leveling can be burned out in less than a day of heavy use.

Bit addressability has absolutely nothing to do with endurance. NOR flash is bit addressable but suffers from the same endurance limitations as NAND, because they're fundamentally the same kind of memory cell, just connected differently.
His reasons are solid: Who would you rather have, a liar with prepared answers or a high functioning "nut job" who gives truthful answers?
The contractors on Thumbtack (at least) set their own prices. I've used them a couple times and they always come back with a range of bids, sometimes differing by up to 2.5x.

Ditto Craigslist; you may mention your budget, but the movers will quote you a price, and there may be some negotiating back and forth until you find a price that's mutually acceptable.

IIUC, Uber gives drivers a set rate per fare, and it's take-it-or-leave-it.

(And no, they're not "automatically entered" into a W-2 relationship - it's not as cut and dried as that. But "ability to set prices" and "ability to control how the work is done" are 2 of ~5 criteria used to determine whether a contractor is really an employee, and they are two of the most important criteria.)
> He did not disclose the documents, respected journalistic institutions did.

How did the "respected journalistic institutions" get them if Snowden didn't disclose them once he had gotten them?
It is responsive to democratic actions even if it isn't directly under the peoples control. Bitcoin, your average citizen has no recourse, period.
> is there anything sadder than a political agenda that can be expressed in 140 characters?

Formerly respected news outlets reproducing others' 140 character comments as a substitute for actually asking subject experts specific questions.

I understand the rationale for reproducing Twitter comments when they come from someone directly connected with the story. I can even see how comments from people claiming to be involved or particularly pithy statements might make it into a "breaking news" feed. What I don't understand is why news outlets with loftier ambitions than Buzzfeed think tweets like these:
http://www.bbc.co.uk/news/world-asia-33656579
is substantial enough to constitute a commentary piece.

(Or worse still, the obituary complete with "@randomdave said 'RIP U were a legend'")
If we were to use the wall analogy, I'd put it this way: the customer should care about the structural integrity of the wall, how much load-bearing weight it can carry, or whether extensions can be added easily to it etc.

So while getting "the damn thing up" may be the burning expectation in everyone who isn't making the wall, the wall maker knows the consequences of poor work and it is his responsibility to educate folks who depend on said wall.
I lifeguarded throughout high school and college, and it always surprised me that most of the difficulties I had were with parents/adults. For the most part, kids would give a sullen look and then listen. My only memorable troubles were the occasional adults who would just flat-out ignore or contradict rules, no matter how many times you told them (I always assumed because they thought they knew better than a ~15 year old). At that point, you have a young lifeguard who has to choose between causing a minor scene (ie: whistling a manager over to "tattle" on them) or having other children see rules not being consistently enforced, which they perceive as license to do whatever they want.

I made one rescue after a little girl faceplanted from the high dive and came up crying and clearly struggling - the whole time I was helping her to the wall, I had her mom yelling at me from the pool deck that "she's fine, you're just scaring her!" I came away from that second-guessing myself - that maybe I SHOULDN'T have gone in after her, and that I should've just let it play out a little more - which is a really scary thing to second-guess.
what is the benefit to any isolation of a process for a single tenant ? and why cant you just run cgroups without the overhead of docker ?

see : bocker
Honestly, the only way to solve this is to be direct and ask him to leave the company. Bringing that up could go two ways; really good or really bad.

If he leaves then the company will probably have to buy back his equity stake, which will be expensive.

Also, don't forget, he probably has the power to fire you on the spot. These things do happen.
Of course?

Where else would you route them? Did they expect that previous undersea cables would squiggle around for thousands of miles undersea the fun of it? Or connect desert to desert instead of population center to population center?

Also, there are huge changes in comparison to modern undersea lines. The majority of connectivity on the Pacific rim, a huge factor in the modern Internet, and all the Pacific undersea cables are all absent from the historical map. If we talk about the big land cables, you'd see a lot of changes there too, some of which actually have to do with geopolitical changes! This only discusses underseas cables with an Atlantic focused view, which is all pretty similar.
Of course?

Where else would you route them? Did they expect that previous undersea cables would squiggle around for thousands of miles undersea the fun of it? Or connect desert to desert instead of population center to population center?

Also, there are huge changes in comparison to modern undersea lines. The entire Pacific rim's connectivity and the Pacific undersea cables are all absent from the historical map.
> Public records show that he has sentenced whistleblowers to 25 times the jail time of all previous Presidents combined.

I strongly doubt that public records show that people sentenced were whistleblowers, or that the President sentenced them.
White House shoots down petition to pardon Edward Snowden
I've been a happy rsync.net customer for some time now. I don't use it much but it's there when I need it. When maintenance or issues arise, notifications come with good warnings and explanations – the cost is reasonable and the service good.
OpenZFS resumable send/receive is coming soon http://blog.delphix.com/matt/2015/03/25/resumable-zfs-sendre...
I think it depends on your density. If I exhale, I will sink. This is an item of curiosity to my wife, who has to work to stay underwater, even after exhaling completely. For more:

http://www.quora.com/What-is-the-density-of-the-human-body
If Mozilla is really concerned with leaking user information, then the extension should extend the use of WebRTC with a default to restrict the use of WebRTC
In that case, check out Reactive-Banana, after learning some Haskell.
Just curious why do you want him fired over,
as the CEO suggests, finding a less critical
role for him?

It's a great question, and one reason I'm grateful for the comments (thanks!) is that maybe I shouldn't be looking at it in this way.

Is your reasoning solely based on salary/equity
the guy has?

It's one of two: 1, yes, I feel we could be using the same massive comp to reward or hire people who are actually high performing. But 2, equally if not more important, co-founder or not I worry about the cultural weakness we get in to by just "burying" or ignoring a low performer.
A Field Study on Technical Debt
Same reason a room doesn't get quieter when lots of people are talking.
> Without years of expertise, and tons of free time, you will not be able to modify the free software either. You can have someone do it on your behalf though, and just as well you could have had someone (Yahoo? Microsoft?) run Google software for you, had it been available as free software.

I'd like to see something like this with regards to B corporations or non-profits. Something like Gmail, Gravatar, or the like that are services you can pay for, but they're not run for-profit. Companies can bid on the management of the service, maintenance of the underlying open source packages, and so forth.

Something between municipal fiber and Wikipedia, but for SaaS services.
You can now buy your favorite Kickstarter products on Amazon
This is great! Ever since our company quit supporting IE9, I've had the joy of working with flexbox. What once took 10-20 lines of Sass hackery now takes only a few, and the code makes sense.
Maybe they are really short. 30 seconds * 20 => 10 minutes, which seems reasonable.
128Gb, not 128GB. You still need quite a few chips to build a usefully large drive.
>The Internet infrastructure has nothing to do with what we are talking about. You actually pay for the infrastructure monthly to your ISP.

Actually, your tax dollars for the last 40+ years subsidized the internet and you now pay your ISP because of their ability to leverage regulatory arbitrage against you. Their secret is their ability to get governments to give them money for delivering services that they then charge exorbitant fees for; it's a good game.

If you look at the cost structures of the networks in contrast to the tax dollars subsidizing them, you'll realize that the networks were basically paid for by the citizens and operated privately at a profit. Here's a good book on the subject: http://www.amazon.com/Broadbandits-Inside-Billion-Telecom-He...

>Also, your understanding of the point of a business is really flawed. Everyone can have perfect information and businesses can still function just fine. I continue to pay restaurants for food even though I know they are making a profit off me.

Sure, you definitely pay people for services where you are aware they are making a profit, but the reason those services make a profit is secrets: knowing where the best sources of meat come from, the best vegetables, the vendors who show up on time etc. All businesses have secrets.

And no, we cannot simultaneously have perfect information exchange and functioning markets. You might have microcosms of functionality, but the global economy would cease to function. Lots of deals are dependent upon one side believing the other side is not cheating them. With perfect information, all of those secrets would be revealed and the consequences would be unpredictable at best and dire at worst.
I was actually curious about parent's friend's idea. To be fair all these apps haven't yet figured out the whole market, so perhaps instead of genius we can call them 'implementable'.
I'm a fan of line_profiler: https://github.com/rkern/line_profiler

% cat > l.py
@profile
def slow_func():
for i in xrange(1048576):
continue

return -1

@profile
def fast_func():
for i in xrange(10):
continue

return -1
@profile
def the_func():
for i in xrange(10):
slow_func()
fast_func()

if __name__ == "__main__":
the_func()

% kernprof -l l.py
% python -m line_profiler l.py.lprof
Timer unit: 1e-06 s

Total time: 5.21814 s
File: l.py
Function: slow_func at line 1

Line # Hits Time Per Hit % Time Line Contents
==============================================================
1 @profile
2 def slow_func():
3 10485770 2644263 0.3 50.7 for i in xrange(1048576):
4 10485760 2573875 0.2 49.3 continue
5
6 10 5 0.5 0.0 return -1

Total time: 8.9e-05 s
File: l.py
Function: fast_func at line 8

Line # Hits Time Per Hit % Time Line Contents
==============================================================
8 @profile
9 def fast_func():
10 110 61 0.6 68.5 for i in xrange(10):
11 100 26 0.3 29.2 continue
12
13 10 2 0.2 2.2 return -1

Total time: 10.5501 s
File: l.py
Function: the_func at line 14

Line # Hits Time Per Hit % Time Line Contents
==============================================================
14 @profile
15 def the_func():
16 11 3 0.3 0.0 for i in xrange(10):
17 10 10549853 1054985.3 100.0 slow_func()
18 10 203 20.3 0.0 fast_func()
> Yeah, but then there's still the issue of secrets

How would Docker help with this? Genuinely curious.

I store them in bash scripts outside the repo that populate the relevant data into environment variables and execute the code. The code then references the environment variables.

> How about installing the required dependencies?

There are two kinds. On the OS level and on the platform level.

On the OS level, you can have a simple bash script. If you need something more complex, there are things like Chef/Puppet/etc.

On the platform level, you have NPM/Composer/PIP/etc which you can trigger with a simple cron script or with a git hook.

> There's the issue of deploying changes fast without leaving files in an inconsistent state

So the argument here is that you're replacing one file in one go vs possibly thousands? That in the latter scenario the user might hit code while it's in the process of being updated?

Ok. With docker, you would shut it down to update. You would have to.

Same goes for the traditional deployment? Shut it down, update, start it back up?

You can, of course, automate all of this with web hooks on Github/Bitbucket, for both docker and the traditional deployment.

The traditional deployment should also be faster, since it's an incremental compressed update being done through git.
I'm fairly spoiled by Perl's Devel::NYTProf. Example profiler output: http://moritz.faui2k3.org/tmp/otrs-tt/

It makes it pretty obvious where time is spent, and every piece in the flame graph (and in the list of routines below) is a link to the source code, with each line annotated by number of calls and time spent.
Costwise, I think that would be in the ball-park, if we can figure out what to monitor, and how, it could most likely be manufactured for <$10.

I do work in this field (wireless vital signs monitoring) and unfortunately I don't know of any current technology that I would trust to monitor heart rate on a swimmer other than perhaps a chest strap (but not as a safety device either). For a point of reference, the Apple watch fails to accurately record heart rate when very sweaty or experiencing periodic movement (such as the periodic arm waving).

There was a kickstarter project for a swim safety device (mentioned by others in this thread) but I believe that was based around picking up the arm movement characteristic of this response, which may be a sensible approach (I don't know enough about the characteristic motions of the drowning response vs regular splashing).
>This is a minor hassle compared to the fairly significant cost savings.

The costs will always be equivalent as you pay with the not-so-major-hassle of losing access to the streaming service for some reason. It's a fact of life that there's no such thing as a free lunch. If you lose access, that is a cost in terms of time. However you may perceive it doesn't discount its existence.

>When I was a teen/early 20s I'd spend something like $50-100 per record store visit.

Today the price of a digital album barely breaks 15 USD. And in terms of inflation adjusted dollars, you and I were paying closer to 20 dollars (today's dollars) per album (I'm assuming 1990s era prices). As such, in many ways today's 20 somethings are getting a windfall in terms of digital purchases (DRM-free).

> Now, I'm paying $120 annually, in 2015 dollars, and every single song of that 30m library is available on my phone, which seamlessly connects to my car and other devices. I can also listen via the under-rated google music web player.

Which are held contingent on the fact that music labels can re-negotiate terms of access to their catalogs. If tomorrow any one of them decide to cut off the streaming services, then where's the music you had in the playlist? Clearly, this isn't likely to occur but it's not impossible nor is it theoretical. Netflix often rotates film and TV series through their streaming library. Music streaming isn't exempt from this same problem once music labels begin to assert their dominant position.

>I don't know any young person without Google Music or Spotify. They're popular for a reason and not because we don't understand economics.

I think you're confused as to what I'm pointing out which is that people are valuing access over ownership. This isn't a lack of any understanding of economics, it's just preference of consumers. I think the sooner you understand that all preferences are equal in the market the sooner you'll come to grasp my points.
How cool, thanks. Have not seen that before!
Send feedback directly from your iOS app with NPCricket
So now I'm wondering: is it too much or did "the web" fail yet again to deliver a simple CSS/layout solution?