skysight-inc/HackerNews huggingface dataset:
So, is this is a point in favor of not commenting your Javascript code or using inline docs?

Historically, I preferred to use inline JsDoc style comments as the source of documentation for my public APIs. Recently though, I decided that I didn't like them and that I wanted something better. I was hoping to find some tool that parses my JS to AST, figures out what was being exported (e.g. what was public) and writes a JSON document that I could diff over time, to figure out what was documented and what wasn't (in my external docs). So far, I have found this project called `doctor` which sounded close to what I'm looking for, but it still relies on comments ~ https://github.com/jdeal/doctor ~ So, I might have to write it myself using something like Esprima to get the AST...
At least the criticism should attempt to be fair. I have no idea what Oprah is doing with her water tankers or where they come from, but in Palo Alto, for example, getting water by tanker can be an entirely reasonable and even environmentally responsible thing to do.

Check it out: http://www.cityofpaloalto.org/gov/depts/pwd/pollution/recycl...

There are places, Palo Alto included, which produce large amounts of recycled water suitable for irrigation but haven't yet built out the infrastructure to pipe it directly to users.

So criticizing people may be reasonable, but it's worth checking whether the criticism is justified first.
I think Turbofan aims to supersede Crankshaft, but gradually.
I don't know about Sweden, but at least here in Portugal rape is what is called a "public crime", that is, there is no need for charges to be pressed for it to be prosecuted.
I prefer to avoid morality since it's too subjective.

Morally I believe a business should only pay it's required taxes. Obviously you disagree.
Correct me if I'm wrong, but isn't there a 'soft ban' on un-necessary water usage?

Just like when there's a drought, municipalities enact a 'burn ban', charging those who have open fires with heavy fines.

I would assume that in the midst of a serious drought, there would also be heavy fines associated with using non-necessary 'luxury uses' of water; such as filling a swimming pool or watering the lawn.
Hmm so you could then see everyone who loaded that page/comment?

This has probably already been an exploit used by some people..
I don't support Hillary, but how is she "the candidate from the 90s"?
Laws are not the only topic of discussion in an open and free society. An open and free society may talk about any topic it wishes, including usage of shared resources.

Edit: If you disagree post a reply.
A lot of smart men have been passionate about the proportion of columns, or the proportion of numbers, or even the aesthetics of curly braces. So why is it inane to care about the proportion of clothing, or the angle of the hand? I think people play to their strength. Also, the trend has to change as the world changes, because aesthetics is about the whole. So it's not because it's everchanging that it's necessarily arbitrary. The more one can afford not to care about it, the more impractical it is, but I wouldn't say it is impractical to society. It is architecture for the person.
A "simple" solution would be to use a system like we do for our taxes where the first X amount is completely subsidized, the next Y amount is less subsidized, the next Z amount is even less subsidized, etc...
Blog post with full presentation and more details: http://blog.angel.co/post/131017147560/csc-upshot
Making Poetry in Piet
Let me know once you're done correcting all English speakers on how to "properly" pronounce Latin words then. Oh, go ahead and also make them speak "correctly" all the French words the English vocabulary has too! That would be super fun.
Having moved to the UK a few years ago, I have to say that, bulky though they may be, I've grown quite fond of the British plugs. Switches on the sockets, fuses on the plugs, sockets that mechanically require the ground pin to make contact (in theory, anyway. You can have a plastic ground pin...) before the live pins enter the socket. There's actually a fairly large amount of security built into them!
From the perspective of someone who actually understands modern technology, they actually mean the EU is fucked.
I may have misread. But what I took from it was the assertion that because of how hyperlinks work, the act of following them to sites we have no relationship creates the needs for ads.

I took that as a moral case, but you are right, he never states the word morality.
1300 gallons of water per hour is 22 gpm. This is basically the same flow rate as a garden hose. This is not a lot of water.
It's much more complex than that. Learning new syntax, for example, is completely different beast than actually using the syntax. Syntax has non-trivial - and rarely understood - influence on code readability and language idioms. Constructs with syntactic support tend to see more usage than the "bare" features - it takes a language as impoverished as JavaScript to convince people that they don't need syntactic sugar to use those features. Language syntax affects tooling to a great extent. And so on.

So, in short: syntax does matter, although in a different way than most people think.

On the other hand, people who are fixated on some syntax should just stop. Writing a couple of lexers/parsers helps here. Knowing different kinds - of flavours - of syntax helps even more. Syntax does matter, but not nearly as much as such people seem to think.
Or, as Nassim Nicholas Taleb put it in Antifragile: "A Stoic is a Buddhist with attitude."
Sure, here is what I used for last season:

https://basketballmonster.com/ for projections (terrible website, but really good). Don't have much information on their approach, but the common wisdom for NBA is to project fantasy points per minute and then predict how many minutes each player will get. Factors also include pace (how many possessions each team will get) and DVP (defense vs position).

https://twitter.com/baskmonster the best twitter account for posting injury/lineup news

https://www.fantasycruncher.com/ lineup optimizer and scripting auto-entry. Also has a really nice free feature called "Lineup Rewind" that you can use to "back test" previously days/weeks data.

Fantasy Cruncher comes with their own projections, but I didn't use them; you can import the BasketballMonster projections into the tool instead.
You can mitigate that effect by some kind of basic income or return of paid VAT (you collect receipts or something and get the money back up to certain amount or 100% up to certain amount, 50% up to another step etc.). You can make VAT progressive this way.
Except the term "enlightened" is most often relative to a groups desired outcomes...
Jumping the gun on “taxes and entrepreneurship”?
“If you don't make it at Tesla, you go work at Apple”
Clean water shouldn't be à commodity like any other, but it's easy to imagine a system where luxury water use above a certain limit is charged at high or even progressive rates.

Also, if there is a shortage of water then impose some limit, and if there is no limit then the shortage can't be that severe..
You also pay for the lollipops. The key is that it's a finite resource with a relatively (3 stage, or whatever) flat rate. The price structure is not dynamic enough to account for the fact that at some point the value of the last drop of water approaches infinity.
> I'm not sure what else could be done here

Call your state representative and let them know you want market pricing for water.

A 2011 study found that the average California household used used more than 360 gallons of water per day [1]. Let's round that up to 500. Each household gets 500 gallons per day at a price that covers the pipes, i.e. the price you pay today. Nobody cares whether you drink it, use it to water your lawn, or grow 92 heads of broccoli [2]. From the five hundred and first gallon you start paying a price that reflects the fact that fresh, potable water is a scarce and rival good.

[1] http://ww2.kqed.org/lowdown/2014/01/23/how-much-water-do-cal...

[2] http://www.motherjones.com/environment/2014/02/wheres-califo...
Might be fun to animate one of the escapement gear images and include a pendulum. The tri-bevel-gear assemblies are useful for generating counter-rotating prop assemblies for propellers, drone blades in a gimbal, or ceiling fans by fixing a pair of middle gears to a hollow shaft and driving one of the other two. That's also an interesting mental exercise in topology since initially you're taught c cc c cc c when asked what is the direction of rotation for a particular gear in a series on a flat surface but here you must rotate the surface in mental space and analyze the results to determine direction from an outside perspective.
The leak is in Bel Air: typical it is not.

For instance, one prime suspect was Rupert Murdoch's urban vanity vineyard (https://www.google.com/maps/place/Moraga+Vineyard+Co/@34.084...) but they ruled it out because the zip code did not match.
An honest question:
Do the regions that use a comma for a decimal separator still call it a decimal point?
I had this exact thing happen to me. It drove me crazy. Thank you!
Wealth tax is obviously (I think!) the best kind of tax but the problem with it is it's hard to collect (you would need to assess wealth of everyone and that is a problem).
Airports Create Hotel Complexes, Aiming to Become Destinations
The abstract problem is there is a set of objects and all peers have access to some subset of them. You want to communicated an ordered list of them plus some arbitrary data (your winning hash) to as many peers in as little data as possible.

It seems to me that the best solution is to have a well agreed upon function that keeps them in an ordered state and simply keep track of what transactions your neighbors know about, the information should largely already be there due to the fact that the transactions are dissiminated by a gossip protocol in the first place.
Indian Government to Save 90Tonnes of Paper by E-Publishing Gazette Notification
This is a little narrow-minded. The process of doing mathematics is mostly diligence and hard work, and the higher up you go the more work you have to put in to reach those moments of insight and clarity that make the struggle worth it.

If your argument is that there is a blurry line between recreation and work when you love your job, then sure. Maybe the average person will believe that in some abstract intellectual sort of way. But I don't think you'll convince any mathematicians that their entire job is recreation. By analogy, I don't think you'd convince any world-class musicians that their entire job is recreation when they're doing music drills and rehearsing for ten hours a day.
Posted that yesterday, didn't get much traction.

Whenever I begin to convince myself that JS and Node are actually fine languages / environments to code on, some weird edge case like this pops up.

Not entirely sure if it's just its popularity, which is bound to expose its rough corners, or if it's fundamentally bad designed (written in 10 days in the late 90's, etc)
And that's proof of what? Opencompute is for building out their clouds, not their internal IT.
This feels like it could be a challenge similar to that DARPA challenge to spot all of the red balloons as fast as possible.

Not nearly as trivial as observing a conspicuous balloon, though. But I'd like to think this could be reduced to a tech challenge somehow, through ambient humidity detectors, or something ridiculously straight-forward like that.

Obviously with enclosed structures, and plumbing being what it is, it's probably not even close to being as simple.
How fast do you think this could be made to work? AWS spot instance termination notifications give you a 2 min warning.
I did say something along the lines of FairTax. They proposed a yearly 'prebate' check of the taxes paid on base level spending. That is to combat the regressive tax situation.
This leads to a situation whereby elected representatives are assigned local constituencies, rather than having any particular link. Or atleast that's the argument which is always returned when people suggest a full PR system.

Personally I think larger multi-member constituencies under STV provide the best compromise.
So why not send a message that isn't open to loopholes? Like mail them a picture of you personally giving him a check with a letter explaining why, and then post it on the internet.
Firejail looks great, I did not know about that. Thanks.
Willing (YC S15) Is Hiring a Full-Stack Ruby Engineer in Miami
Read "nobody" in the colloquial, rather than linguistic sense. In the same way that nobody uses Blackberries anymore :)
CSC Upshot: Announcing a $400M fund for startups on AngelList
at 9:45am on the morning of July 15th, 2012, at Fox News’s headquarters in New York City, there was a brief water shortage, then everything appear to return to normal. i will have used the water outage, however, to sneak myself more water. People will shriek in horror, children will cry for their lives, my mom will get scared and say “You’re movin’ with your auntie and uncle in Bel-Air.” I whistled for a cab and when it came near The license plate said fresh and it had dice in the mirror If anything I could say that this cab was rare But I thought, “Nah, forget it. Yo home to Bel-Air!” I pulled up to the house about 7 or 8 And I yelled to the cabby yo holmes smell ya later Looked at my kingdom I was finally there To sit on my throne as the prince of Bel-Air.
Large Scale C++ with Modules: What You Should Know [video]
Exactly this.

I heard a report on kqed, the local npr station and the team, wife and husband were quite excited about their next step in outing the users.

It does not seem to disgust them in any way, rather, they see themselves as heroes for doing avant guarde reporting and turning the tables on the powerful, etc. And the kqed producers were quite happy with the reporting.

I dont use much water and think it's very wasteful, but this public shaming and virtual mob mentality is disgusting, but their audience who suffer from a guilt complex, lap it up with vigor.
I can't believe we still celebrate Christopher Columbus
Why we publicly version control our contracts
I hope you told the researchers! (That you had literally just learned this method.) Probably a more important data point than anything else they happened to be studying.
Dell didn't buy LeftHand, HP did and continue to sell it as StoreVirtual. Also Dell was going to buy 3PAR but was outbid by HP, which is why they ended up with Compellent.

ex-NetApp, ex-EMC and greatly preferred the latter as an employer even if I miss my net worth at the former.
Clean water certainly should not be a commodity like any other. It should not be allowed, for example, for someone to corner the market for water. I would say water is in fact a commodity _unlike_ any other.
What is Dream Butter?
Currently on front page: https://news.ycombinator.com/item?id=10372465
The little printf interjected: No, that's not what I mean, and he then added I mean it's funny that tools are meant to solve problems for us, but for you, the tools themselves have become a problem.

HN homework should be to re-read that section a couple of times.
Or how about a watching list? I'll start:

- "Happy People: A Year in the Taiga " http://www.imdb.com/title/tt1683876/

- "Oh Boy" http://www.imdb.com/title/tt1954701/

- "American Beauty" http://www.imdb.com/title/tt0169547/

- "Amélie" http://www.imdb.com/title/tt0211915/
No, I think san Ramon anticipated the drought and drew up pricing schemes to disincentivize waste, Livermore is following suit.
I had the great pleasure of seeing this read in person. It was brilliant.
If you are low income and they give everyone a tax refund on the first 30k or so of spending, then you perhaps pay 0% in taxes while the person spending over 30k starts paying a tax.
> This sounds like a horrifying hack (...) how Angular's shorthand DI works.
Exactly. And then just make these tiers be per occupant, and perhaps per square feet of land area if you're feeling generous. It can just be two tiers too. Either you're within the limits of what seems acceptable to a person living on a certain amount of land, or you're not.
How is taxing revenue more invasive than taxing profit? In the former scenario you have half as many things to audit than in the latter.
This is really interesting. One my biggest problems is extracting cash out of stuff that I am too busy to sell. Printing a label and packing is a bit of a hassle still though. Make that easy and I'll make it rain.
I look at it a bit less negatively. I think there are people who believe in micro-management. Most micro-managers don't think of themselves as such, but it isn't really up to them.

IMO you know you are looking at micro-management when negative outcomes are dominated by decision fatigue on the part of the micro-manager. I call it decision fatigue because I generally assume my manager is a smart guy.

A micro-manager's first instinct is to find something to change whether it is needed or not. Don't give it to them. Make them ask questions and work through the problem themselves. If they are allowed to skip to the end you tend to find they end up off in the weeds and are dogmatically opposed to retreading ground where they have made a mistake or an incorrect assumption.

That's your Mad Men style turn a no into a yes sort of situation and you are going to be fighting against the decision fatigue your manager is feeling because they micro-manage :-)

This is the same strategy I use when mentoring or managing. If I can't convince someone who thinks they are subordinate to me then how do I know I am right? How do I equip them to come to the correct conclusion on their own in the future? I generally ask people to articulate rather than trying to figure it out myself because I am usually juggling N other balls and they can do it faster and better.

I care a lot less about larger organizational issues. Why take on someone else's responsibility? Employees are free to leave at any time in the current environment so why borrow trouble? Are you expecting someone to thank you?
This is very impressive.
Sleeveless Peplum Dress
Sure, but the cost in terms of wasted space is enormous. In the U.S. I can fit a USB power adapter in my pocket. In the U.K. such an adapter will often be larger than the device it's powering.
I don't feel safe plugging things in anywhere else. Those funny little plugs that don't say in the sockets - I hate them.

Last time I went to America, the illusion of boundless wealth was rapidly shattered when I went to plug something in and was confronted by a little bit of plastic with two thing on the end, and couple of slots in the wall. I plugged the thing in, and it fell out. There were sparks. This is how I imagine things to be in North Korea.
Not buying the argument, since according to Maslov, very few people become self-actualized. His own research was sparked by a very limited set of individuals that exhibited the qualities of being what he later described as 'self-actualized'. So it's hard to believe that enough people in tech are self-actualized for that to be a big differentiator. In other words, it just doesn't seem realistic that the current gender balance snowballed out of males being drawn to technology out of self-actualization.
My point is not that women might like different things, just as Ted still enjoyed playing Weasel Escape, but that because of the T-shirts and all that they feel unwelcome. It's like the inside jokes making Ted feel left out. Sure they could explain the jokes and culture, and sure, there are probably lots of nice people in software willing to explain the culture, but it's tiring to feel like you're on the outside culturally even if the actual job (coding) is unrelated to the extraneous culture.
This logic confounds me. Is there some inherent reason to disproportionately focus our national choices on the areas of the country with the fewest people (rural areas)?

I've lived in both the most rural and urban parts of the US, and it's clear that the current system massively discounts the will of people in urban areas in this stated endeavor of providing some kind of rural / urban "balance".

Depending on what you consider urban, the US is roughly split 80% urban, 20% rural.

To me, it seems unlikely that a ground effort in rural America would be completely neglected in a proportional system. If a party did neglect the ~20% of rural voters, it would seem to put itself at a disadvantage to other parties, especially given the lower relative cost of rural media markets.

We see the same problem with the Senate, where populous states such as Texas and California stand at a remarkable disadvantage to Montana and Wyoming in terms of representation. The voice of a constituent in Wyoming is 66 times that of one in California.

How can we call this system representative?
Wait, doesn't that logic essentially inoculate hedge fund managers and private equity barons from rape prosecutions? That can't possibly be right.
Uncle Phil taking a bath?
Apple Removes Apps That Expose Encrypted Traffic
Big thread running- https://news.ycombinator.com/item?id=10372739
>>There have already been numerous reports of Oprah getting tankers to deliver water to her home

If those tankers bring water from a place where water is plentiful, that actually sounds like a very reasonable thing to do, and she should be praised, not ostracized for it.
Why is the stock still trading at 28? It looks like the market doesn't expect the deal to go through?
Agree that harassment isn't the way to go about this, but I think we can put a good amount of blame on the individual here - selfish water usage doesn't seem like a great idea in California.
"PS Please excuse my not mailing this — but I don't know your new address."
I fully admit that it's a difficult problem and I don't pretend to have the answers. It's difficult to articulate clearly, but I think my general thought is that it would be good if we could collectively agree that a world where race or gender didn't have to come into consideration is something to aim for. Maybe that's idealistic, I don't know. I just feel that a system which explicitly takes race or gender into consideration can only go so far towards ameliorating discrimination, and at some point it can begin to perpetuating the very thing it seeks to change.
There is a big trend in Chinese PE throwing money into the US market with expected returns that much lower than what the western market would expect, and therefore western PE is continually being outbid by the Chinese. So, even if Chinese get lower returns for their capital in the US than typical PE's, those returns are still higher what they would get domestically in China.
An investor who cannot determine risks is not really an investor. More of a cash supply.
> So, is this is a point in favor of not commenting your Javascript code or using inline docs?

You can of course strip comments when making builds. In fact you can even write functions of more than 600 chars and get away with it as long as you use a minifier. If you have a minified function of more than 600 chars then that's a bulky function which should instead be split in smaller ones.