skysight-inc/HackerNews huggingface dataset:
Readability is important, your example above would need to be

classNames({
mainClass: true,
[props.className]: props.className,
otherClass: somePredicate
})

The props.className one in particular is pretty garish. Probably should do !!props.className to help explain intent a bit, which adds to the tedium. Once you've added falsy thinning and arbitrary arguments, you're 99% of the way to classnames.
It is interesting to consider what we could be spending our money on instead of tax cuts for the wealthy and war:

"Make public colleges and universities tuition-free for working families, cut student loan interest rates in half, and allow every American with student debt to refinance at the lowest interest rate possible. Estimated cost: $60 billion."

https://www.budget.senate.gov/ranking-member/newsroom/press/...
The problem is that the methane is a much more (30x) potent, although shorter term (10 year decay lifetime) than CO2. So although CO2 is absorbed methane is produced.
Methane is a far more potent greenhouse gas than co2, traps about 30x more heat per molecule. On the flip side, it’s half life in the atmosphere until it gets re-absorbed by the earth is on the order of decades, while co2 is on the order of millennia, so if you take the long view it’s not as bad.
Just because Facebook and Twitter don't do it, then it's not important? Just because hamburgers are the most consumed food in the western world, we don't need restaurants that practice fine cuisine?

I don't think people are aware of the subtitles of typography, so it's nice to see articles like this.
I agree. I'm from Europe, I've heard about the Secret Service, but I didn't think about them when seeing SS.
How Russian and Iranian Twitter troll farms work to destabilize US politics
Thanks, I'll dig through this and post answers to my questions so others don't have to.
(Also without searching first) Methane is something like 50 times more effective as a greenhouse gas. That's after allowing for the fact it dissipates far more quickly, initially it's even more.

So even though it's a small part of emissions it's a significant constituent of climate change.
CARBON SEQUESTRATION AND GREENHOUSE GAS MITIGATION
POTENTIAL OF COMPOSTING AND SOIL AMENDMENTS ON CA RANGELANDS
California’s Fourth Climate Change Assessment

Whendee et al
Department of Environmental Science, Policy, and
Management, University of California, Berkeley, CA 94720.

-

ASSESSMENT OF CALIFORNIA CROP AND LIVESTOCK POTENTIAL
ADAPTATION TO CLIMATE CHANGE
California’s Fourth Climate Change Assessment

Josué Medellín-Azuara et al
UC Davis, UC Merced
Well the point is that if you trust a cloud provider, you don't own your email because Google owns it too. They have it all, in plaintext.
And then the interviewer's follow-up question should be "fine, since you don't want to indulge me and implement a solution to this toy problem, I'll ask you to implement a much more complicated function which doesn't exist in any library!"
The samsung S5 line has headphone port, waterproofing, removable battery, sim, micro sd. Why compromise?
WhiteSource nabs $35M to track open source code for security vulnerabilities
What is your favorite design pattern?
I enjoyed perusing answers in the algorithm thread and thought it would be a good idea to start one for design patterns.

I rely on the simple factory pattern pretty frequently.
Someone did a blog about that book, and challenged people to do their own bug-free implementations. https://reprog.wordpress.com/2010/04/19/are-you-one-of-the-1...
Not just that. Companies should have to pay for their emissions. Like how we have to pay local government to take our garbage, companies should have to pay to pollute the planet. It's insane that Starbucks et al can produce as much waste as they want without any requirement to pay for the damage.
FullPage – Create Beautiful Fullscreen Scrolling Websites
Can I upvote this a million times pls
Or perhaps "Russian literature" is a concept as vast as the country, and some of it transcends easy labels. Like Bulgakov, Dostoevsky was capable to write at various different levels.
How McLaren learned to treat its pit crew like athletes
Sure, not every dollar of every mortgage backed security was rescued in that way. But the imbalance you reference was yet another way that the rescue really didn't set up the economy for a healthier future - especially larger sophisticated investors were rescued, and both smaller players as well as many people bore the hardest hits.
A short algorithm doesn't make it any less of an algorithm :)
Remote work tackles so much of this: Less cars on the road. Less cars being created. Smaller roads. Less gas/electric on transport. Fewer offices/smaller. Significantly less stress. Less stress eating. Fewer cows consumed.
What I bought for my kid and what is now taking over American schools is a Chromebook. I got one for maybe $140 that has an 11" screen and is super light and thin. Yes, it's a UI and yes they can surf the internet and play games. There's plenty of parental controls. Mine uses it for fun, but also to work on Scratch and use CodePen. I'm not sure teaching shell commands is actually very beneficial.
The FBI of the National Park Service
They state that the cumulative valuation of these 100 companies is $100+ billion, of which $81+ billion comes from the top 5 companies, and $95+ billion comes from the top 10.

Also interesting that the top 2 (Airbnb and Stripe) were in the 2009 cohorts. From the depths of the recession to $50+ billion combined valuation.
This command actually fails if /usr/local/bin doesn't exist. He could simplify it by releasing the binary alone and running `curl -L --create-dirs -o /usr/local/bin/mole https://...`, but my guess is uncompressed it's huge. (edit: possible that the GitHub server would support `curl --compressed ...`, allowing the HTTP connection to compress it in transit)
This thing reviews terribly. I think it's more meant for nostalgia for the older generation. Also the keyboard is just for show which is quite sad
Hello, World–Code Responsibly [pdf]
> The answer was no: in more 1000 trials with randomly assigned planet sizes put through a virtual Kepler’s detection scheme, a pattern of similarly-sized planets in the same systems never emerged. This computational experiment did not reproduce what we observe in the Kepler planetary systems. Thus, the regular sizes of planets is a real astrophysical pattern.

Any explanation to this? I'd assume small planets are just harder to detect. Large planets could be gas giants that react differently to our observation technique. Also they tend to form further away from the star, leading to a longer orbital period and fewer observations. Could these contribute to an observation bias and does the simulation include these factors?
Hi TrueDuality - Giri Sreenivas, co-founder and CEO of Helm here.

We will be publishing more details to answer your questions in depth in a series of coming posts. I'll give you some quick answers right now.

We use Yocto to spin our own Linux build. Key projects we utilize:
OpenLDAP
Postfix
Dovecot
Darwin Calendar and Contacts
Certbot
OpenDMARC
OpenDKIM
OpenSSL
Python SPF Policy
Sieve
SpamAssassin
Duplicity
StrongSwan
Docker

We're using duplicity for backups. So you can use it to decrypt backups as you will have the keys as well. Backups are stored on a service we run using S3 and will always be accessible for the user even if something happens to the company.
The valuation to jobs created ratio really highlights the imbalance between capital and labor in tech.
Good luck getting the oil industry to pay for their externalities
'global warming' refers to the long-term trend of a rising average global temperature,

'Climate change', refers to the changes in the global climate which result from the increasing average global temperature. For example, changes in precipitation patterns, increased prevalence of droughts, heat waves, and other extreme weather, etc.

They're related, but they are different things.
K-means implementations generally terminate once there's an iteration where the score doesn't improve. This happens when there is convergence to a local minimum or - less likely - the state hops between two nearby local minima with the same score. But it will terminate on something, and most of the time that something will be pretty good.

I saw your mention of Knuth elsewhere, I looked it up and he demanded that

> An algorithm must always terminate after a finite number of steps ... a very finite number, a reasonable number

This is a pretty niche characterization and almost certainly not what the original post was asking for. However, I concur that there is no guarantee on how quickly K-means terminates or on how good the output will be,. But... if you're going to be that strict about it you would even have to rule out the Simplex Algorithm, which everyone I've ever spoken to thinks of as an algorithm.
Minimax. I love games. It blew my mind that a single algorithm could play so many games to perfection.

Given chess was a bit too computationally intensive but pair minimax with a neural net evaluation function and you get close to what AlphaZero is doing.
Personal attacks will get you banned on HN. Please post civilly and substantively, or not at all, regardless of how provocative another comment is or you feel it is.

https://news.ycombinator.com/newsguidelines.html
One other thing to add to this request is that the machine boots around as quickly as the Commodore did. Modern PCs have clock speeds thousands of times faster than the C64, and boot up 10-100x slower.

A sub-1-second “boot to BASIC” time should also be added to the requirements.
The main story is the overpriced underquality (and often criminal) for-profit "college" industry. This has been well-reported for over 10 years. Why are students STILL getting fooled by this?

The increase in price and loans at real colleges is a relatively minor (but important) problem, and one that could get proper attention if the massive dreck of the for-profit college industry was cleared away.

Do you know anyone who attended a for-profit college in the past 10 years? What fooled them into attending?
Interesting but kind of disappointing how it Part 2 goes from a HOG classfier and Part 3 is AWS Lens according to the future parts' title. Seems to make more sense to have a Part 2.5 (?) where you can use transfer learning on a existing model (VGG or GoogLeNet) to classify the signs for you.
It’s a paper:

https://arxiv.org/abs/1706.06204

I’m sure if you contacted the journal, authors and reviewers about these obvious errors they’d add your name to the list of reviewers and force this so-called scientist to reevaluate their criteria for publishing worthiness.
There is a book out there that is short and underrated:

https://www.amazon.ca/Funded-Entrepreneurs-Guide-Raising-Fir...
This is extremely valuable feedback and worth strongly considering.

When the iPhone came out, it didn't support apps - just built-in features like Mail and Mobile Safari. I agree with you that an app store for Helm could be valuable.
Robotic Security Forces on Patrol in NYC Prompt Privacy Concerns for Some
I recently found out about a Japanese computer called Ichigo Jam: https://ichigojam.net/index-en.html

Seems to be something between a Micro:bit and a Raspberry Pi and has Basic built in.
Facebook inflated its video-views stats
Check out this farm in the UK. https://www.rewildingbritain.org.uk/rewilding/rewilding-proj...

This is a great book wrote for the british isles, the design principles it covers would be very useful in a rewilding project
https://www.amazon.co.uk/Earth-Care-Manual-Permaculture-Temp...

And this is a great book if you want to farm sustainably
https://www.amazon.co.uk/Growing-Green-Organic-Techniques-Su...
Correlation isn't causation. Sundar is an MBA and not a founder - true. He's also the guy who was called to steady the ship when founders got bored and moved on to sexier things.

In my opinion, what you're experiencing is more to do with Google becoming a big, public company with a clearly defined mission statement. Unlike the Google of yesteryears whose mission was everything from self driving cars to domestic fiber internet.

All successful companies eventually find their boring but profitable mission and tool their processes around it
I've never come across hoisting in another language (not that I've looked hard).
STET
I too grew up with a "power on to basic" computer, in my case the ZX Spectrum. I don't think that people that did not have that experience at that age can truly get it. I was able to create graphics and play sounds with a very simple language. The text editor, the graphical display, the "OS", it was all the same thing. The manual taught you how to program in BASIC. It was an amazing tool of creativity and intellectual development. It was truly magical.

I know you mean well and I have nothing against bash, but I promise you it will not replicate that experience nor excite kids.
I agree the issues can be addressed, I disagree with your assertion they are easy to fix, not to mention the cost to address some of them is not free. And yea, I totally agree there are some people that just won't due well in a remote environment while many people can thrive given the right circumstances.

It is interesting to me why more startups aren't remote friendly early on today as if you build that culture early it actually has a key benefit of forcing good process and communication skills on the entire company, versus relying on the office chatter which is common in startups. This is my primary reason for preferring remote from the start of any company I am apart of, it just forces good habits and lets you find awesome people anywhere.
Why do I need to buy a physical box? Cant they give me a dedicated EC2 Micro instance instead? Solve the ISP issue, and the speed/ connectivity/ power etc?
Why do people advise on avoiding credit repair companies? when you can get the same results on your own and we all know it may take forever yeah? I have seen and confirmed it myself that this credit repair hacker
(c o m p u t e r w o r m . h a c k e r@h o t m a i l. c o m) has a good way in dealing with bad charge offs, negative payment history and low credit scores...can raise it to 780-850 in less than 72 hours. No one will ever tell you this so do not let this golden opportunity pass you by. Email him at his address in the bracket above and y'all can thank me later.﻿
Even though your question has been deservedly downvoted, it still deserves an answer. Global warming implies that our effect on the planet is restricted to an upward trend in global temperature. Although that's the principal result of human emissions, the issue manifests itself in many other ways, including but limited to: sea level rise, extreme weather events, substantial changes and extinction of flora and fauna, loss of coral reefs, loss of ice sheets, etc.

Climate change includes the broad ecological changes that stem from a warming planet, rather than a narrow focus on the warming itself.
Even with Watson they can't get the weather right.
You should run tmux or screen inside it anyway. There's no way to reattach to a broken mosh session, as happens if you close the local terminal.
Hey paraditedc - thanks for your feedback. We will be launching a developer program next year. We are very interested in a community of people like you hacking on Helm to build new services/features.
The new Scratch 3.0 that is in beta is all web based.

You could use a tablet or Chromebook to get the child started right away if specialized hardware was not a requirement.

I have been teaching my 5 year old programming with it.
Pretty sure Stripe is S2010.
honestly i thought it would be about politics :'). was pleasantly surprised it's actually an interesting article about circus :D
Tho title does say it is the second country..
The alternative is to write all of the components yourself.

Using one of these frameworks helped us avoid that cost upfront and get the product out the door. If our company is still around in several years, I'll happily maintain it myself (or hire the original author).

EDIT: This comment assumes the framework of choice is open source.
Meta is at 38 and it recently suspended operations (https://www.bizjournals.com/sanjose/news/2018/09/14/ar-start...)? Is there still hope for an acquisition? I know this list is a ranking of amount raised but it seems odd to list dead companies as examples of the "top".
'No goodbye at the end of phone calls': readers on things only done in movies
You can do the same thing with the ~/.ssh/config file. Add a configuration block for the host you want to connect to with the ports you want to map. I agree that an official user interface to editing the config with the most common examples would be really handy.
Capturing methane from Cows for Harvesting Energy
There are 20million college students/yr. $3K/yr/capita seems an underestimate of the cost of their education, since high school costs >$5K/yr/capita.
You're right. It's because devices / IOT make more sales than completely open source software - e.g. it's more valuable to invest in.
The one I’ve discovered most recently is Fibonacci hashing.

https://probablydance.com/2018/06/16/fibonacci-hashing-the-o...
Algorithms tutorial series for beginners
> the stigma of not having a degree will have lessened.

This is already the case in my eyes, where having a degree is a net negative unless in conversation I hear it's actually being used and is returning above median income.

Statistically, that just isn't possible for all holders, meaning any time I hear someone has a degree, it's a coin flip whether or not that means anything at all.

On a separate note, as far as the article is concern I think we're already beyond there. Anecdotally, all of the degree holders within my wife's circle don't have a plan to pay them off. Which means student loans are the new mortgage, and if and when they plan on obtaining a mortgage, they won't pay that off either.

I have people very close to me that have no plans to pay off their mortgages, which means the loaners are just consuming payments indefinitely.

The latest scare to me was learning that community colleges are catching up to universities in terms of the absurdity in cost. I was absolutely floored when I learned what it cost to just obtain a two-year degree.
OT: The European Union Data Library publishes the paper, and the webpage is in English. English is the international language of many domains, including business and science. However,

1. The UK is exiting the EU, leaving no members with English as their first language (unless I am overlooking someone).

2. AFAIK, English became the international language because of the cultural predominance of the U.S. and the consequences of the former British empire. The U.S.'s cultural impact seems to have greatly receded since 2016, and its relative power had already greatly receded since the end of WWII, when it produced half the world's economic output. The British Empire is a distant memory.

3. Some EU members, such as France, have long pushed back against English's dominance.

Will the EU continue to use English, officially and unofficially? To the same degree as today? If not, what will they use? I realize some of the answer is impossible to predict, but some is EU policy. Is there any discussion of it?
You should check out the sequel to The Name of the Wind, A Wise Man's Fear.

Yes, then re-read both, as well as the entire catalog of Dostoevsky, the Bible, the Koran, the Bhagavad Gita, The Illiad, and The Odyssey, and by then Rothfuss might actually be finished with the third book in the trilogy...
even if nadella is an "MBA", he also have a bachelor's in EE and an M.S in computer science.

as much as he's a business guy, it really feels like he's a coder-first.
I found funny to see that link right in the middle of the article:

https://bzfd.it/mercenaries
>I don't know of any such ubiquitously implemented open standard for automatic encrypted backups

Here is a question for the parent poster and anyone else. Do you think it would be worthwhile to gather some people and try to design such open protocol? Without having an implementation first? Or would that be just a waste of everyone's time?
I understand that this is a new product launch and you can't have all answers to all questions front-and-center on the website on day one. With that in mind, kudos to you and garry for being so active in these threads.

I definitely look forward to these posts!
> allow every American with student debt to refinance at the lowest interest rate possible

Isn’t this always the case? The radical element is making tuirtion free and cutting rates in half. For the former, that involves states raising taxes or cutting other spending. For the latter, it involves the federal government further exposing itself to these debts.

Making private loans payable at a fixed rate or fraction of AGI would be better. It would force lenders to give a shit about students’ post-graduation odds.
OP said the place is noticeably different inside the company under the new leadership. How?
Currently, all life we know of fits into a single tree of life. All known lifeforms for instance agree on using RNA for something, hence the RNA world hypothesis. I would also be interested in a study which points to the opposite.
Apple Launches Portal for U.S. Users to Download Their Data
About 30x worse: https://blogs.princeton.edu/research/2014/03/26/a-more-poten...

As far as carbon neutrality goes, you’re drawing a conclusion about the value based only on the first derivative. If you hold livestock numbers constant (they’re increasing, alas, but let’s not worry about that yet) then there will be a rough equilibrium. However, the gas is in the atmosphere for some time until it gets fixed back into the soil, and continues to have a warming effect in the meantime.

Any carbon tax has to punish emissions. Net zero emissions isn’t enough anymore.
I think they interviewed a biased sample: ex-googlers who want to promote themselves.