Better HN
topnewbestaskshowjobs
Log inSign up

healsdata

7,141 karma · joined Jun 23, 2009 (17y ago) · 653 submissions

Submissions

571.

CodeSpells – Craft Magical Spells Using Code [video](codespells.org ↗)

67 points · by healsdata · 12y ago · 28 comments

572.

"My experience joining TopTal"(yuriybabenko.com ↗)

1 points · by healsdata · 12y ago · discuss

comment 12y ago · link · parent

I can't read this without thinking that the author isn't paying attention to the rest of the PHP community. Every point on the checklist is what composer was built to solve and it can be used without any framework. Even in terms of package creation, PSR-4 allows the author of a package to define their own directory structure and inform the autoloader what that structure is.

It's great to revisit assumptions, like using one index.php file for a whole project, but I think that's an area where talking to lots of people leads to the best solution.

comment 12y ago · link · parent

The quoted text doesn't make it clear at what point they think it's OK to see this newly broken code. For example, do they mean in the shared development branch? Certainly you wouldn't want to push it to production, right?

Personally, I break things in my local branches but make sure everything that leaves my machine is working. Git makes it pretty simple to create "save points" when refactoring and then smash everything back together into a clean, concise commit log.

comment 12y ago · link · parent

It can be damaging to talk about what any one group is better or worse at, statistically, because it leads some people to stereotype all members of that group. And I believe that most people that talk about things like this don't actually have statistic to back them up. For example, it's a pretty common to joke about "women drivers" and yet insurance companies, the folks with the most information, tend to charge women less because they're less likely to be in accidents, get speeding tickets, or DUIs.

Bone-headed people say bone-headed things and try to back them up with "common knowledge" that's just misinformation rooted in traditional views.

In regards to your wife, that can be different. I assume you're aren't saying things like "she's good at juggling because she's a woman" and instead just "she's good at juggling because she, as one individual, is good at juggling." My wife is amazing at art. It's not because she's a woman but because she's spent time practicing.

576.

Tech Company Coalition Supports Global Surveillance Principles, Reform Efforts(microsoft.com ↗)

7 points · by healsdata · 12y ago · 2 comments

577.

Amazon unveils a trio of new Kindle Fire tablets (reviews.cnet.com ↗)

108 points · by healsdata · 13y ago · 61 comments

comment 13y ago · link · parent

McDonald's food contains a larger variety of foods and nutrients than Soylent. For example, a Big Mac has all of the following:

Beef, Salt, Black Pepper, Bleached Wheat Flour, Malted Barley Flour, Canola Oil, Soybean Oil, Pickles, Egg Yolks, Onion Powder, Mustard Seed, Vegetable Protein, Turmeric, Lettuce, Onions

It's also loaded with HFCS and a laundry list of preservatives and additives. I'm not saying it's the healthiest food, but given a choice between the two, I'd choose the one that at least has a few real food components.

And before you mention Supersize Me and the effects it had on his health, remember that it was an n=1 study and The Fathead Movie did the same experiment and his health improved.

comment 13y ago · link · parent

The US isn't a direct democracy and, if I understand history correctly, that was on purpose and not just a matter of practicality. A direct democracy allows the majority to pass laws that benefit themselves while punishing the minority. We already have politicians passing ridiculous laws just to pander for votes; I can't see how it wouldn't be worse if the people being pandered to made the laws instead.

The internet has given us a front row seat to witness the fact that, regardless of which side of an issue they're on, there are a lot of people who don't arrive at their opinions through any sort of research, discussion, or consideration. This is probably confirmation bias on my part, but there seems to be a lot more people who'd vote how Wil Wheaton or Justin Bieber told them to than those who'd spend ten minutes reading a few different news sources about a particular ballot initiative to form their own opinion.

One would hope, if things were working ideally, that representatives in congress would consider the constitution, existing laws, and their constituents best interests when passing new laws. I'm not so naive to think that things are anywhere close to ideal, but I'm not sure that direct democracy is a better solution.

comment 13y ago · link · parent

From http://en.wikipedia.org/wiki/Technology_evangelist:

...a person who attempts to build a critical mass of support for a given technology, in order to establish it as a technical standard in a market that is subject to network effects.

Essentially, a PR person for the company who works by interacting with developers. They attend conferences, respond to developer concerns regarding the product, etc.

comment 13y ago · link · parent

How many Alex's work at PlayHaven? Because both of those things are clearly visible in the photo she posted. According to LinkedIn, it's a company of 11-50 people and it took me one minute to find their profiles.

comment 13y ago · link · parent

If you'll take his word at face value, the father didn't really have any motives aside from making his daughter happy.

"My three year old daughter and I play a lot of old games. Her favorite is Donkey Kong. Two days ago, she asked if she could play as the girl and save Mario. She's played as Peach in Super Mario Bros. 2 and naturally assumed she could do the same in Donkey Kong. I told her we couldn't in that particular Mario game, she seemed really bummed out by that. So what else can I do? I'm up at midnight hacking the ROM, replacing Mario with Pauline."

comment 13y ago · link · parent

Except, like most words, sexism has multiple definitions and you've conveniently plucked the one that makes your point.

Here's the second from Merriam-Webster: "behavior, conditions, or attitudes that foster stereotypes of social roles based on sex"

These behaviors continue to push the idea that women are eye candy.

comment 14y ago · link · parent

As someone else mentioned, the only criticism I'd level at them is that they decided to split the Lego magazine into boys' and girls' magazines. There's going to be children of any gender who enjoy the Friends sets as well as children who enjoy the Star Wars sets. No real reason to try and fit each child into one of those camps.

comment 14y ago · link · parent

"A meta-analysis of prospective epidemiologic studies showed that there is no significant evidence for concluding that dietary saturated fat is associated with an increased risk of [coronary heart disease] or [cardiovascular disease]." http://ajcn.nutrition.org/content/early/2010/01/13/ajcn.2009...

Disregarding your specific mention of saturated fat, grams of fat produce more calories than grams of sugar, so the Fage has 190 and the Dannon has 160. At that point (100+ yogurt cups to make a 1lb difference), it really comes down to the individual deciding/recognizing their body's own reaction to each macro-nutrients and fitting the right version in to their diet.

comment 14y ago · link · parent

SFTP not handling symlinks has been the one headache I've had with PhpStorm recently. Glad to see it getting fixed.

It's also awesome to see Symfony2 support is coming along and more and more ways for the IDE to determine what type a variable is.

comment 14y ago · link · parent

"Real-World Solutions for Developing High-Quality PHP Frameworks and Applications" by Sebastian Bergmann (referenced in the original article) and Stefan Priebsch. It won't go in to things like "how do I use usort" but it touches on important things like testing.

comment 14y ago · link · parent

Thanks for pointing that out. For some reason, when I read it earlier, I missed the bullet point about the conversion process.

comment 14y ago · link · parent

Is there a security disadvantage to taking the MD5 hashes you already have and running those through bcrypt? It seems like that would let you get to a salted bcrypt implementation in one day as opposed to waiting for all your users to log in. Perhaps you could do the mix (md5 + bcrypt) until the user logs in and then switch them solely to bcrypt?

comment 14y ago · link · parent

Of those ten rules, nearly half of them hurt password strength. The others make it harder for users to remember their passwords which will lead them to frustration and, ultimately, bad passwords.

Austin#1 is a perfectly valid password according to those rules. zxcvbn says it'd take 2.508 seconds to crack that.

comment 14y ago · link · parent

I just received the third email from Prismatic today. At this point, I haven't even gotten home to check out the first newly announced feature yet and I've already forgotten what it was.

592.

Validation or How I Stopped Worrying About the Cool Kids(d20monkey.com ↗)

1 points · by healsdata · 14y ago · discuss

comment 14y ago · link · parent

> we are breeding new generations who have no concept that anything worth doing requires hard work and commitment, and whose total career aspirations are to climb the middle management ladder as fast as possible

Bull. It's a common problem for older generations to besmirch younger generations for exactly the same stunts they pulled.

There are still soldiers, Olympians, prodigies, single parents, and many more examples of young people doing things that require a ton of dedication. Every week, Undercover Boss manages to find young people working their tails off to pay for school, medical bills, and work towards their dreams. Last night's episode featured a young man who wanted to be a choreographer but knew he needed schooling to make it; thus he was hauling huge carts of pretzels all over Philly every day to pay for classes.

And yes, there are people who hope to get to middle management as soon as possible. They have tons of motivations but they're no different than the last generation's ton of people who wanted to get stable union jobs. Most of them want to make a decent living to provide a roof and food for their children. The path to doing that has changed generation over generation, but it's still the same idea.

Certainly we can do things to help lift them up and help them innovate, but we're not going to make any progress by calling the next generations lazy.

comment 14y ago · link · parent

No problem at all. I applaud them for finding ways to help increase the amount paid while leaving it open as "pay what you want". Both changes have increased the amount paid without while leaving folks free to pay one cent if they really want.

comment 14y ago · link · parent

This bundle has a higher average (almost double) than previous bundles. My gut tells me that this is related to the new rule that requires a minimum $5 payment to get the Steam keys. That's an interesting way for the humble folks to get people to pay more but now we're two steps removed from the "pay what you want" model; I wonder what compromise will be next.

596.

Apple May Give Up "Thermonuclear War" With Android(tomsguide.com ↗)

2 points · by healsdata · 14y ago · discuss

comment 14y ago · link · parent

Thanks for the heads up! I'll pass that info along to those folks who put together the application form.

comment 14y ago · link · parent

King of Prussia, Pennsylvania (near Philadelphia, PA) - ReminderMedia is currently looking for entry-level and senior developers plus a web designer to work on our PHP-based applications.

We're currently in the midst of moving our CRM from a homebrew framework to Symfony2, improving test coverage, and "measuring everything" so that we can boost performance and usability.

Feel free to contact me directly at jcampbell@remindermedia.com or visit our careers page here: http://remindermedia.com/careers/search/state/PA

comment 14y ago · link · parent

I mean this in the nicest way possible, but did you read the article before commenting? Your exact example is mentioned in the article and the author gives their opinion; they would rather we have jury nullification with the potential downfalls than not have it.
1
1819202122