HNHacker News
TopNewBestAskShowJobs

RegEx

1,051 karma · joined July 19, 2011

http://joequery.me - Programming and Math articles.
submissionscomments
RegEx··on How the Syrian Electronic Army Hacked The Onion
The attacker (most likely) wouldn't know the phone number, so the user would have to recognize that the text prompt isn't displaying the last 4 digits of their phone number like it usually does. Then again, if you're already oblivious to the fact you're not on an official google login form, it's completely possible to miss that as well.
RegEx··on How the Syrian Electronic Army Hacked The Onion
You're completely right. I was too focused on the fact that 2FA doesn't text you every time you log in, meaning a 2FA user wouldn't find a google login prompt without a text code requirement abnormal. They couldn't login from their own machines - that's the whole point! Silly me.
RegEx··on How the Syrian Electronic Army Hacked The Onion
2FA is great, but it wouldn't save you here if you ask it to remember you for 30 days.
RegEx··on Hummingbird – A fresh take on music notation
Technically it is "reading music", but it's so slow that learning a piece takes much longer than it should. Over the years I've had a couple motivational spurts where I felt like playing piano again, and lack of frequent exposure to sheet music slowed my reading skills down to a crawl.
RegEx··on Hummingbird – A fresh take on music notation
> Case closed

You overvalue the importance of your analysis.

RegEx··on Updated Packages – Python 3.3
Ruby != Rails, but we hardly here about Ruby without Rails, and Rails does have this reputation.
RegEx··on The Ivy League Was Another Planet
This is really good information, thank you very much.
RegEx··on Why I Blog
I much prefer "Why I" over "Why you should" or "Why everything you're doing is wrong".
RegEx··on The Ivy League Was Another Planet
I was part of a poor family growing up. I received many letters and packages from upper tier schools after my PSAT. I got top 5% in the nation for math, so that may be why. I didn't take them seriously, though. Now I'm at University of Texas (at Tyler), where the idea of computer science education is a series of publisher-distributed PowerPoint slides.

I want to move to a different school with passionate teachers and students, but now I have financial obligations(unemployed mom can't find work so I'm taking over her bills while she goes to school). I'm currently looking for a python remote job or job near Dallas. Until I can find something, I have to stay at this job so I can support my mom, thus UT Tyler is my only option.

I wish I would have done more research on scholarship opportunities back in high school. Maybe I'd be somewhere great right now. Oh well.

RegEx··on Why I Chose to Learn C
The top replies to this thread illustrate your point perfectly, imo

https://news.ycombinator.com/item?id=4389691

RegEx··on Why I Chose to Learn C
You may be surprised how much a bad professor or tutorial can derail someone. Almost all concepts seems "obvious" or, HN's favorite word, "trivial" once you know it! But getting to the "a-ha" moment can take varying amounts of time depending on the quality of the presentation of the material.
RegEx··on Why I Chose to Learn C
Just because you understood it great the first time doesn't mean everyone is like you. I was turned off to C for a long time due to how awful my teachers were at explaining the concept. My first time being exposed to pointers was in a binary tree traversing algorithm handout given out by my teacher - it was just way too much at once.
RegEx··on Why I Chose to Learn C
I have 28" monitors, so I had to do some command line configuration to make the tablet respond. It may feel like the appropriate sensitivity out of the box on a smaller screen. There was also no GUI configuration last time I checked.
RegEx··on Why I Chose to Learn C
For those who hit a wall with C when it came time to learn pointers, I'd like to plug a YouTube video I made that people seem to really like.

https://www.youtube.com/watch?v=IkyWCOUY8V4

The terminology may not be completely accurate (although I did try very hard to not say anything incorrect), but I honestly think it does a good job of showing you how to actually use pointers. I know the resident C experts will probably find something wrong, but I've received tons of comments and emails from people saying they finally "get it". It's something I'm proud of.

RegEx··on Why I Chose to Learn C
If you bring a copy of the ISO you can have them all on starting from the same Virtualbox install (takes 5 minutes to set up without knowing the software + Ubuntu installation time).

But I've heard Vagrant is good for use cases like yours, though I haven't personally used it.

That sounds like a fun activity by the way, have fun with that :)

RegEx··on Why I Chose to Learn C
I dual booted for about a year, and then I used virtual machines instead for the last year. Using virtual machines has been a LOT easier. I use Lubuntu on Virtualbox, and I don't plan on going back.

Things that annoy me about Ubuntu dual boot

* My Wacom tablet is terribly hard to configure on Ubuntu. * Flash support seems to be hit or miss in terms of out of the box functionality. Sometimes it works right when you install chromium, sometimes it doesn't * Windows weird partitioning. Windows will only let you have 1 or 2 of these special types of partitions on your HDD, and I somehow maxed out that partition count and couldn't fix it. It was very difficult to work with.

RegEx··on Don't Get Offended
I can't control having my feelings hurt when people go out of their way to do so. I can't rationalize my way out of it. Sometimes I just have to feel emotions I don't want to feel.
RegEx··on Terminology – a new terminal emulator
I like using both. Sometimes a screen tab just isn't enough separation.
RegEx··on Rails 3.2.13 - Performance regressions and major bugs
I don't know who you are, but this comment embodies the bad side of HN. "You" is in the above comment 15+ times - it's so personally insulting and unnecessary. Belittling some stranger's worth to their team is unproductive, toxic behavior. I'm upset I can't downvote this into completely matching the site's bg color.
RegEx··on 5 minute fork
I like this a lot. I hate dealing with the gh-pages orphan branch, so this is definitely something I'll look at implementing.
RegEx··on Procrastination is Not Laziness
Those all sound like some form of fear to me. 1 sounds like fear of incompetence: You don't know how to solve the problem, but that's just because "you aren't really thinking about it", so you protect yourself from the idea that you might actually be clueless. #2 happens to me a lot, and it's being afraid that resting/sleeping will prevent you from getting work done (which may be true, but if a nap is going to make things late, it's already too late)
RegEx··on Procrastination is Not Laziness
I associate my performance in everything with my own value as a person, to an absurd extent. If I'm playing a multiplayer game such as Starcraft or Street Fighter and I make a mistake, I can't help but think "Wow, I'm really stupid". It's silly, but I can't help it. You can imagine how I feel in regards to things that actually matter.
RegEx··on Ruby Demystified: and vs. &&
It might not just be you working. Sure, use things that you understand. The problem comes when you aren't even aware you don't understand due to subtleties you may have not encountered yet. Then you do some debugging, do some googling, and bam, now it's "obvious to anyone with half a brain, everyone should just RTFM"
RegEx··on Vim users: stop using hjkl
I'm sure you've heard of the EasyMotion plugin. If you're like me, you probably found it to be overkill. I made a fork that limits the EasyMotion effect to the current line (with some slight adjustments), and my efficiency navigating the current line has increased dramatically. I encourage you to give it a go

https://github.com/joequery/Stupid-EasyMotion

RegEx··on An open source mirror of my file-based blog written with Python Flask
My reply to the question "What should developers who want to blog use?", my answer was "Roll your own, it's fun!" Additionally, you can fine tune the experience to fit your ideal workflow. After user samstave asked for a writeup/tutorial on my setup, I mirrored my site on github and improved the README to explain installation and uses.

My favorite feature so far is the ability to quickly embed source files into a post with links to the raw versions automatically generated. I frequently find myself wanting to wget some code snippet from a tutorial while on my server, but without a direct link to the raw file I have to copy/paste.

Anyway, I hope you enjoy.

RegEx··on Posterous will turn off on April 30
Of course, security is always an issue. I kept everything as simple as possible to reduce the number of ways an attack could exploit my site. I don't believe it to be any less secure than your standard Wordpress site.
RegEx··on Posterous will turn off on April 30
> Can you do a writeup/tutorial for your setup?

Sure. I can just open source the site after I remove some private stuff and improve the documentation a bit.

I have a similar site (my old web design partnership vertstudios.com) that already has an open source mirror[0], but it doesn't have source file inclusion or tags like my joequery site.

[0]: https://github.com/joequery/Vert-Flask

The article linked in the repo has information on setting up nginx and uwsgi when it comes time to run the thing live.

Keep in mind that my site's workflow isn't perfect by any stretch, but it's perfect for me. That was my main point.

RegEx··on Posterous will turn off on April 30
Roll your own! It's fun. My site is a custom made file-based blogging platform written with Python Flask, and it's a joy to use since I made it exactly how I wanted it to be made. One feature that I really enjoy is being able to call source files into the post. This allows me to create/update code snippets extremely easily. Markdown + calling includes on my source files is exactly what I needed to efficiently produce content, so I made it myself.
RegEx··on Seer SEO Toolbox
Exactly. It's easy to "copy" the backlink profile of a site using gimmicks such as blog comments and mass article submissions. But when a site is doing SEO right, when you look at their backlink profile you'll go "How the hell did they manage to get that link?!"

It's hard. You have to not just make amazing content, you have to know how to promote it and get the right eyeballs to see it.

RegEx··on HTTPretty 0.5.8 – mock HTTP requests in Python at the socket level
Ah, I see, thanks!
← PreviousPage 2 of 14Next →