HNHacker News
TopNewBestAskShowJobs

RegEx

1,051 karma · joined July 19, 2011

http://joequery.me - Programming and Math articles.
submissionscomments
RegEx··on US will ban Wall Street investors from buying single-family homes
I believe your comment is operating under the assumption that people are merely choosing to rent over buying because it's the more economically wise choice. That's not how things work in reality. Many people want to buy but cannot put up the initial costs.
RegEx··on Many patent holders stop looking to East Texas following Supreme Court ruling
Tyler is far from podunk.
RegEx··on Taking Children Seriously
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.
RegEx··on Uber gets sued over alleged ‘Hell’ program to track Lyft drivers
In other words, every hack is legal?
RegEx··on JSON Web Tokens should be avoided
https://github.com/rails/rails/issues/5228
RegEx··on Cloud9 Acquired by Amazon
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.

RegEx··on Confessions of a $20K bootcamp graduate
I agree with this. I used to teach at a coding school. I told my students to emphasize projects on their resume, not the fact that they went through our program.
RegEx··on Bootcamps vs. College
> 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.

RegEx··on Bootcamps vs. College
> 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.

RegEx··on Bootcamps vs. College
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.

RegEx··on Refined Twitter
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.
RegEx··on Why Lisp is now an acceptable scripting language
What are the bread-and-butter (aka not sexy and cutting edge, but mature and stable) lisps used for web development?
RegEx··on Hashpipe – Pipe iff the hash matches
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 :)

RegEx··on Show HN: Picnic.css, a lightweight Bootstrap alternative
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.
RegEx··on Show HN: Picnic.css, a lightweight Bootstrap alternative
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.

RegEx··on Who Gets to Graduate?
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.
RegEx··on I got hired at a Bangladesh sweatshop. Meet my 9-year-old boss [video]
These comments...they are completely awful. I don't want to be associated with this place anymore. How do I delete my account?
RegEx··on Quark: A secure Web Browser with a Formally Verified Kernel
I did not see that directory at all. I tried to Grep to see if some process creates the directory, but I couldn't find it.
RegEx··on Quark: A secure Web Browser with a Formally Verified Kernel
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.
RegEx··on It's the real thing
Students in AP English in the US get to analyze rhetoric like this. I remember this as one of my favorite passages.
RegEx··on Kids can't use computers, and why it should worry you
> 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.

RegEx··on Art prodigy poses 'ethical nightmare' for parents
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.

RegEx··on Art prodigy poses 'ethical nightmare' for parents
You know, adults actually PLAY sports for...you know, FUN...
RegEx··on DecryptoCat
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.
RegEx··on Browser Pong
Stewart Smith has a presentation in which he discusses Browser Pong along with some other projects. It's a very enjoyable presentation to watch!

http://vimeo.com/22433439

RegEx··on Pandora Paid Over $1,300 for 1 Million Plays
Every couple of months, I visit my Pandora profile, go through songs I have liked since my last splurge, and just click the "Buy on Amazon" links all the way down.
RegEx··on Statically Recompiling NES Games into Native Executables with LLVM and Go
The example was using C, not Go.
RegEx··on Statically Recompiling NES Games into Native Executables with LLVM and Go
I believe 0x80 is 0b1000000
RegEx··on Statically Recompiling NES Games into Native Executables with LLVM and Go
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.
RegEx··on Ask HN: Alternatives to HN
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.

Page 1 of 14Next →