HN user

RegEx

1,051 karma

http://joequery.me - Programming and Math articles.

Posts18
Comments412
View on HN

Spanking isn't considered abuse in American culture. But you can make children obey physically without spanking. There is snatching from them, picking them up, etc. Those are physically asserting yourself over them to enforce a specific outcome. Not saying that's good or bad, just showing how the poster didn't imply abuse.

You are the one sneering. "Failing to understand" is a completely respectful stance. It places the lack of understanding on the person saying it. It leaves open the possibility that the person saying it is wrong. It's skeptical but not without a degree of humility.

This is opposed to a straight up judgement, like what you have just done.

Once you know even elementary discrete math such as sets and logic programming becomes more of an exercise in seeing if you can realize abstract ideas and models.

I agree with this 100%. The proof exercises you have to complete in discrete math make for great programming exercises. They force you to ask yourself

1. What's the problem? 2. What do we know? 3. How do we get to the end? 4. What does it look like to be "done"?

These are great questions to ask yourself when programming.

if you've been programming for 5 years, a 3 week bootcamp makes no sense

If you want to make a transition to web dev from say, systems programming, cramming that knowledge into a few weeks might not be a bad way to go. At that point, you should already know how to learn, it's just a matter of sitting down and learning it.

It depends on the school. Some bootcamps have very low acceptance rates to keep their placement numbers high - as that is their main marketing point. They bring in people who can demonstrate they already have the mindset but don't have the knowledge.

Other bootcamps just need you to be able to use your computer and you're in.

Refined Twitter 10 years ago

Runtime speed has not been a priority in most apps/websites in a long time. Even relatively new phones struggle with things like modals and swipe effects on mobile websites. So much effort is spent on making things feel "native". Native, in my opinion, should mean fast before anything else.

This is a really, really interesting point!

In addition to your point, (and perhaps this point has already been made elsewhere in the thread), but the type of people that would install hashpipe would be the kind of people to avoid the practice entirely.

Perhaps there's some mechanism for convincing people to use the tool, and if that mechanism ends up being easier than convincing people to stop piping directly to bash, it sounds like it would be worth pursuing :)

Their edited-edited post is much more approachable. Bringing up alternatives is great, that's why I generally bookmark threads like this. Passive aggressive rhetorical questions are not nearly as conducive to productive conversation. I commend them for changing the tone of their post.

This is extremely tacky. Of course you meant to put the framework down - your first statement shows you think this is a competition, and you don't want to "lose"

Your edit is just to try and convince others and yourself that you weren't being a complete tool. (You were).

It seems you had no other intention in your comment than to belittle the authors work and puff yourself up. If you actually thought you could learn something from the author you would have treated them with some degree of respect.

One thing I didn't realize until it was too late was that attending community college first forfeits an extremely large amount of potential scholarship money. Transfer scholarships pale in comparison to freshman 4-year scholarships.

Has anyone actually got this running yet? I'm using an Ubuntu 12 VM. I've spent about an hour trying to build this thing. The authors make it pretty clear in the INSTALL file that you're in for a fun time if things don't go according to plan. Maybe the process is seamless on Ubuntu 11.

Quark has been tested on Ubuntu 11.04. A basic installation process is automated in ./install_module.sh file, and you can execute the installation script to install most of the requied packages and compile Quark itself. If any of the required jobs fails because of some conflicts in your system, you have to open the installation script, and track down what went wrong manually. As future work, we have a plan to implement a fully functional installation script.

The installation script involves creating "tab" users(tab0-tab9), but the install script doesn't check to see if these users exist before attempting to create them. If the installation fails after the user creation section, the install script will error out when it attempts to create users that already exist.

Here's what I did to save you about 2 minutes of brainpower

    for i in {0..9}
    do
        if id -u tab$i >/dev/null 2>&1;
        then
            echo "user 'tab$i' already exists"
        else
            echo "creating user tab$i"
            execcomm "sudo useradd tab$i"
        fi
    done

    if id -u output >/dev/null 2>&1;
    then
        echo "user 'output' already exists"
    else
        execcomm "sudo useradd output"
    fi
As for completing the rest of the install, you're on your own, as I was unable to get things working. The install script attempts to cd into some python-browser-8 directory which is supposed to have a makefile, but I never see it created or even attempted to be created.
It's the real thing 13 years ago

Students in AP English in the US get to analyze rhetoric like this. I remember this as one of my favorite passages.

Well, maybe it shouldn't have been "techno dad to the rescue", but rather "dad spending a moment with his kids showing them how to setup a raspberry pi/their xbox/etc.". And if the kids aren't even interested in setting up their own XBox, well then that's their prerogative. Give a man a fish, etc.

...

That is exactly what the paragraph you quoted means. The author regrets just doing it, and wishes he would have taken the time to show his family how to set things up.

I'm really confused by this comment of yours.

Your hobbies are awesome, and I'm being sincere. I was merely addressing this statement made in response to the claim that sports is a common bonding activity:

Huh? You mean like these people behaving like apes in these modern-days arenas, yelling at 20 people running on the grass and hitting drums while drinking beer?

The implication was that the only bonding obtained through sports was through spectating obnoxiously, while many people enjoy playing sports together.

DecryptoCat 13 years ago

You are exactly the kind of programmer I hope I never become. But I would like to thank you for this content! I'm saving this series of comments from you - when I become a CS professor at some small community college, I want to warn my students what they can become if they aren't careful.

Please forgive me for the bikeshedding, but I have a quick question as a C novice: Is the equality check in the following necessary?

    if (foo & 0x80 == 0x80) {
I thought if you're checking a bit simply anding would be enough (since everything else would be zeros). In other words, could we just use
    if (foo & 0x80) {
If so, then it seems like this would be the preferred form to avoid the precedence issue presented in the article.

Nice sample size you have there. There are many extremely insightful comments on the programming subreddit, and there are also many empty, predictable comments on HN. I bet many people here can guess the top comment on particular threads based solely upon the submission title. (There's a high probability the top comment has the phrase "Am I the only one, or ...")

So is HN ahead of /r/programming? At times, definitely. However, anyone who frequents both will attest to the fact that /r/programming is much better at ignoring linkbait, while HN seems to fall for it on a daily basis.