Recent submissions

Comment · 7 years ago
Before modifying an existing line of code, understand what it's purpose is/was. Even if it doesn't appear to have one, or make any sense, someone created it for a reason.

Also IDE/search tools for determining where a function is used are great for removing stale, unused cruft.

Comment · 7 years ago
Off-topic but can you recommend any resources off-hand for improving in your preferred C++? I share your approach but have a heck of a time finding quality books and such. (Email in profile if preferred.)
Comment · 7 years ago
I'm sorry you're going through this, but I think it's prudent to consider the converse of the situation you're desiring. What if CrowsourcedCriminalMugs.com did exist, and your face was erroneously added to it? Isn't this whole idea just a form of high-tech mob justice?
Comment · 8 years ago
U.S. emissions have declined three years in a row. (Sounds like the capitalist approach might be working?) But by all means, instead of going after countries whose emissions are actually increasing, let's instead implement one of the most murderous political philosophies of all time. If these politicians were serious about addressing the issue, they wouldn't tie it to such a controversial measure.
Comment · 8 years ago
> The single most crucial aspect of the Green New Deal is its proposed job guarantee, a controversial policy that says that every American can have a job with the government if they want one. Data for Progress, a leftist advocacy group, claims that the Green New Deal could generate 10 million new jobs across the country over 10 years.

Let's deal with Climate Change by implementing socialism. Yes, I'm sure that will work. Reminds me of the regexp joke. Have a problem? Use a regexp! Now two problems.

Comment · 8 years ago
I think a huge component of this is the ever-present stigma of mental health and counseling. People who are incredibly stressed and suffering mentally and physically should be able to visit a therapist as easily as they can a doctor. When they don't, or feel like they can't, they lose the chance to learn helpful coping mechanisms and life strategies which can have a drastic impact.
Comment · 8 years ago
So the government should routinely measure hormone levels of almost everyone, and levy fines against employers which will inevitably be passed on to employees or consumers. No thanks.
Comment · 8 years ago
Comment · 8 years ago
Per my comment above, we actually just experienced the largest 2-year drop in temp in the last 100 years. The danger with a hugely complex system like "global warming" (i.e. world climate) is that it can be attributed to be the cause of anything.
Comment · 8 years ago
Since everyone is arguing their beliefs without evidence, and throwing out random storms and climate events as counter-evidence, here are some actual facts:

1. Recent studies on current climate models show they consistently over-predict carbon impact on global warming (source: Nature, Nov 2017: Emission budgets and pathways consistent with limiting warming to 1.5 °C). The article shows that the previous carbon budget was off by a factor of 4 for the next few years, and always predicted higher temps. In other words, the models over-fit the data and thus lose predictive capabilities.

2. Increase/decrease in drought occurrence is inconclusive (Trenberth et al in Nature, 2013): "Two recent papers looked at the question of whether large-scale drought has been increasing under climate change. A study in Nature by Sheffield et al entitled ‘Little change in global drought over the past 60 years’ was published at almost the same time that ‘Increasing drought under global warming in observations and models’ by Dai appeared in Nature Climate Change (published online in August 2012)."

3. On storms, SREX p. 159: The present assessment regarding observed trends in tropical cyclone activity is essentially identical to the WMO assessment (Knutson et al., 2010): there is low confidence that any observed long-term (i.e., 40 years or more) increases in tropical cyclone activity are robust, after accounting for past changes in observing capabilities.

4. The greatest two-year cooling event of the last 100 years just occurred in Feb, per GISTEMP Team, 2018: GISS Surface Temperature Analysis data. Global avg temp dropped 0.56 deg C.

Comment · 8 years ago
This is not a difficult experiment. If you keep a weapon, you should familiarize yourself with the relevant local laws. RTFM, as they say. If someone makes a threat against you that is not immediate, you should contact the police. Yes, you would be put on trial for deliberately going outside and shooting someone not on your property. Duh.
Comment · 8 years ago
I think the key is what happens when they're ready for interaction. When she's done brushing or using the bathroom, do you put the phone down right away, or finish reading/playing? Similarly, if you're focusing on something else instead of playing the (boring) game, your kid will know it. Kids are very good at recognizing when mom and dad aren't paying attention. They'll learn your "attention hierarchy". Do it enough and they'll learn that phone > my game/idea/talk. Definitely a balancing act.

We've found it useful to just be honest with them. "Dad needs 5 or 10 minutes of Dad time, then we'll play."

Comment · 8 years ago
I recommend finding books based on actual parenting research, rather than collaborative or consensus-based sources. Consensus does not mean truth. There are countless parenting myths bandied about that are based on nothing more than idle blog posts or simple social inertia. Parenting advice is especially susceptible to "feel good" myths which sound like common sense, but aren't actually true. (I've found that most "consensus" advice is just rationalization validating the giver's choices, e.g. saving for college, bedtime routines, etc.)

In my experience, pediatricians often have good advice on relevant books and topics.

Comment · 8 years ago
I think the simplest solution is the correct one: because politics. Consider how many ideologues flip-flop over similar situations when "their" side is the victim. For example, Trump and Cambridge Analytics vs. Obama's campaign and Facebook. At the end of the day, it's people making these decisions and movements, and most people are not well-trained in ethics.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton