Better HN
topnewbestaskshowjobs
Log inSign up

papsosouid

2,420 karma · joined Apr 9, 2012 (14y ago) · 1,199 submissions

Submissions

comment 13y ago · link · parent

If that is the purpose, it fails miserably. I don't know of anyone who was looking to build a business on handling a million idle tcp connections. Ruby is a slow language, it is not a misconception. Having a million idle connections doesn't make a language fast.

comment 13y ago · link · parent

>Wheat is thought to be only be around 10,000 years old or so.

Which is older than all of the vegetables that exist today, and older than cattle or chicken. "This food has evolved over time" is not support for a claim that the food is unhealthy or dangerous.

>It gets the blame for quite a number of ailments.

No, it doesn't? Alcohol does, but that's neither unique to beer nor does it have anything to do with grain.

comment 13y ago · link · parent

Read the studies, not the random guy summarizing them as misleadingly as possible to suit his agenda.

comment 13y ago · link · parent

>I eat more calories than before judging by the amounts of meat/butter/nuts that I eat.

So, judging by guessing. That is not how you judge. Measure your food and see how many calories you actually consume. It is fewer.

>An interesting article backing the low-carb high-fat diets that has links to the matching double blind studies

Which confirm that the people who successfully lose weight on low carb diets do so by caloric reduction. Might want to pay attention when posting sources that contradict you.

comment 13y ago · link · parent

>A basic text on biochemistry will educate you more than this "expert"

No, it will confirm what he said and that you are mistaken. You should try opening one and skimming through it before believing it will always support your assertions, regardless of their lack of factual basis.

comment 13y ago · link · parent

That doesn't mean it isn't a fad. And to be accurate, no it didn't actually happened. The cows you are eating did not exist. Neither did any of the fruits or vegetables. Almost everything you eat is much more modern than the grains you eat. Humans have been consuming grains for at least 100,000 years. There is no evidence to support the notion that grains are bad for us in any way.

comment 13y ago · link · parent

>That a handful of almonds has the same calories as a certain amount of Captain Crunch is irrelevant.

No, it really is relevant. It actually does matter. Your fad diet is not magical, just like every other fad diet was not magical.

>The latter will quickly convert to glucose in your body

This is irrelevant. There is no evidence at all to suggest "insulin spikes" (which are actually minor and totally normal) are a problem at all. And they occur when you consume any food, not just carbs.

>will make a huge difference in your satiety levels

For some people. As much as it pains true believers to hear it, many people do not lose weight on low carb diets. The only way the diet works is by making you feel full so you consume fewer calories. Many people feel very hungry without carbs, and can eat massive quantities of fat without feeling full. Those people gain weight on low carb diets.

comment 13y ago · link · parent

Right, I want some of the vim features, mainly plugins. I don't enable vi compatibility, it isn't even remotely vi compatible and it just breaks stuff. I want syntastic, that's the primary motivation for trying to get vim working. I just want it to be helpful instead of irritating. No plugins are messing with tab, I am just trying to get it to work using a normal mapping.

comment 13y ago · link · parent

I use nvi, and have tried to switch to vim a dozen or so times over the years. But there are so many irritating little quirks and misfeatures and annoyances that I can never manage to fix. Does anyone know of a guide to getting a sane, non-broken vim working with some basic plugins like syntastic? Last time I tried I couldn't bind F-keys for some reason, I couldn't get syntastic's error marking column to stay on instead of shifting my text back and forth all the time, I couldn't get auto-complete mapped to tab properly, and a few other things I can't remember now. I eventually gave up again as the extra functionality of vim ends up being counter-productive when none of it works right.

comment 13y ago · link · parent

You really think yahoo bought viaweb because of pg's legendary ability to reboot servers and type "./configure && make && sudo make install"?

comment 13y ago · link · parent

That's hard to do when you are afraid of databases and just store everything in files.

comment 13y ago · link · parent

So, you are saying that you fully understand that your post is irrelevant with regards to the post it is formatted as a reply to, and you posted it anyways? Feel free to post your opinions on their own in the future, rather than as non-sequitur replies.

comment 13y ago · link · parent

>A society's standards, including moral standards, are not something that has to pass "evidence".

What are you talking about? He is making specific, factual claims, which I quoted. He is not saying "we should do this for moral reasons", he is saying "we need to do this because porn causes violence". There is no evidence that the claim he is using for justification is accurate. Yes, factual claims 'have to pass "evidence"', you don't get to just make shit up to push your personal beliefs on people.

Please take a little more time and care when reading people's posts before you respond to them. When your response is a long tangent based on ignoring the fundamental point of the post you respond to, it doesn't lead to constructive discussion.

comment 13y ago · link · parent

>He argues that easy access to online porn increases the frequency and severity of sexual violence against women and causes longterm damage for children who view it at an early age.

Does he actually argue that, or does he just claim that? Wouldn't an argument come with some sort of evidence?

comment 13y ago · link · parent

No, that is not the point of a framework at all. I am absolutely shocked that you would present it as though the options are "blindly do stuff automagically" vs "write everything from scratch". A framework is more useful if I control it, not less useful. If you want to give me the ability to parse yaml from GET params, then give me a

    parse_yaml_from_get_params_with_a_really_long_rails_function_name()
function to do it with. Don't just do it all the time in case I might want it. You don't need to automatically run a feature in order for the feature to exist, be used, and be useful.

comment 13y ago · link · parent

>I don't think SO's modding is any worse than Wikipedia's

I agree, it isn't any worse than one of the biggest examples of biased, overzealous, insular, clique moderation online. I think setting our standards a little higher than that is pretty reasonable though.

comment 13y ago · link · parent

>There is no magic in Rails, it's just Ruby code

In the context of dynamic languages, "magic" does not mean someone casting spells. Of course it is just ruby code. It is magic ruby code. Code which is executing a whole bunch of stuff behind the scenes without the user of that code (the web developer) being aware.

Pointing out that doing really bad things like this is bad is no more transparently self-serving that you claiming "oh rails is totally fine and doing stupid shit is cool because its not really magic". Yes, it is a systemic fundamental flaw in the framework. The entire framework is built from the ground up on the idea that doing this kind of nonsense is good.

comment 13y ago · link · parent

The 'P' stands for platform. Providing the platform as a service absolutely means catering to the specific needs of the platform. There is no generic platform. If you want to support multiple platforms, then you support multiple platforms. You don't stop supporting any platform at all.

comment 13y ago · link · parent

Because moot wants 4chan to actually be online occasionally, and to load in a reasonable amount of time. Notice how terrible pr0gramm.com performs, with a tiny fraction of the traffic 4chan gets. That's why real sites can't just get phoney "unlimited bandwidth for $20/month".

comment 13y ago · link · parent

None of the cheaper options I see there are comparable services. What danso was pointing out was that the service cloudfront was wanting $3000 costs $8000 elsewhere, it is not an unreasonable price. Getting maybe bandwidth from a sketchy dedicated server provider is not the same service as a content delivery network.

comment 13y ago · link · parent

Every time this topic comes up, people discuss tools they use which all seem to be nothing more than a graphical version of psql. As in, they let you see a list of tables, then see the columns of that table, run queries, etc. But none of that is actually making anything better or easier, its just a different client with the same features.

Does anyone know of a tool that has a good visual DB design interface? That is what I am missing (not just when I work with postgresql, but period). I want to be able to easily and visually see the relationships between tables, not just the tables themselves, or one table with a list of its relationships. Something like this: http://ondras.zarovi.cz/sql/demo/ but not web based and actually supporting all of postgresql?

comment 13y ago · link · parent

>It was "Women get interviewed no matter what."

Which is precisely what we do, and precisely what I said we do.

>Even if the intent means well, these types of threads are cluttered with resentment of these practices

Why shouldn't they be?

>I'd feel weird about it.

I don't blame you, I would too. The companies making these decisions aren't concerned about how you feel about it though, they are concerned about appearing to be "the good guys" in the eyes of the people who are making an issue out of gender balance.

comment 13y ago · link · parent

While you are being honest, can you also be specific? I have large, fully normalized schemas which I have only ever viewed via psql. I run queries returning lots of data all the time. I have no idea what part of this is supposed to be impractical.

comment 13y ago · link · parent

I find your characterization very puzzling. It is the DBAs I've worked with who want to use revision control, who want to use correct database schemas, who want data integrity, who want to use stored procedures. They are the ones fighting against developers who never bothered to learn how to use a relational database and push the mysql/php style of "just make your app the database and the database is just a file full of inconsistent data, don't do joins, don't use view, don't use stored procedures or functions, don't use triggers, etc."

comment 13y ago · link · parent

>"I hope that your initial interactions involve an immediate transfer of trust in your abilities, rather than starting off by always having to prove yourself."

I suspect her experiencing this has more to do with being a web developer than being a women. Web development has always been regarded as trivial work, and not "real programming". And unfortunately a huge number of web developers have embraced that idea and decided "we ain't need no fancy book learnin". It is easy to fall into the trap of assuming anyone who says they are a web developer is probably incompetent.

comment 13y ago · link · parent

>The gate swings both ways here; getting an interview as a woman isn't any easier than getting one as a man at any place worth working in this industry, especially right now when the demand for quality is high. If they're lowering standards for their female candidates, that hurts the business and the people alike.

Your second statement does not follow from the first. If we get 10 resumes of people who seem competent, any of them is likely to be fine. The ones who get interviewed are the ones who get hired. The fact that company policy is "all female applicants are to be interviewed" means we hire more women. Our standards aren't lowered as a result, we still don't hire incompetent women. The effect on the company isn't to lower standards, it is just to hire more women. The effect on women who apply is that they are far more likely to get a job than a man who applies.

comment 13y ago · link · parent

>One problem is related to the fact that society values male roles more than female.

Only when we put blinders on and look at the top end of the spectrum. Male roles like CEOs and politicians are attractive, so we only look at them, and decide men must be getting advantages women aren't. Look down, there's other male roles too. Like prisoners, the homeless, the people committing suicide, the people taking dangerous jobs and dying. 97% of work related deaths are men, and obviously nobody is pushing to fix that imbalance.

comment 13y ago · link · parent

>The world does need men & women to be making the same amount of money for doing the same job.

The world already has that.

comment 13y ago · link · parent

That is why it is dangerous to draw conclusions from small sample sizes, and why useful samples need to be random. Your website does not attract random people, so it is not an accurate sample. Opera usage varies massively by country for example, is your website available in Czech? If not, your sample will self select to have fewer opera users.

comment 13y ago · link · parent

We're not talking about parsing in base 10, we're talking about parsing in base 8. I need to be able to tell if the parse succeeded or not, silently hiding errors is bad. The correct behaviour demonstrated in perl and python:

    $ perl -le 'print 07'
    7
    $ perl -le 'print 08'
    Illegal octal digit '8' at -e line 1, at end of line
    Execution of -e aborted due to compilation errors.
    $ python -c 'print 07'
    7
    $ python -c 'print 08'
      File "", line 1
        print 08
       	^
    SyntaxError: invalid token
1
192021
40