Better HN
topnewbestaskshowjobs
Log inSign up

jknupp

1,116 karma · joined Jul 17, 2009 (17y ago) · 187 submissions

email: <my-user-name>@gmail.com

[ my public key: https://keybase.io/jeffknupp; my proof: https://keybase.io/jeffknupp/sigs/7Io3CXiZL-UByymj5V_cg4qQ1ZE5OalCTIpHKIhf1oU ]

Submissions

1.

Building an NBA stats warehouse without writing any of the code(jeffknupp719305.substack.com ↗)

4 points · by jknupp · 2mo ago · 1 comment

2.

Python: `with` Context Managers(jeffknupp.com ↗)

1 points · by jknupp · 10y ago · discuss

3.

How Do You Rewrite a Project From Scratch Once It's On GitHub?(jeffknupp.com ↗)

4 points · by jknupp · 12y ago · discuss

4.

Omega: The Last Python Web Framework(jeffknupp.com ↗)

1 points · by jknupp · 12y ago · discuss

5.

Writing Idiomatic Python Ebook(jeffknupp.com ↗)

3 points · by jknupp · 12y ago · discuss

6.

Docker Blurs the Line Between SaaS and Self-Hosted Apps(jeffknupp.com ↗)

3 points · by jknupp · 12y ago · discuss

7.

Docker is the Most Disruptive Technology in the Last Decade(jeffknupp.com ↗)

4 points · by jknupp · 12y ago · discuss

8.

Python Classes and Object Oriented Programming(jeffknupp.com ↗)

1 points · by jknupp · 12y ago · discuss

comment 12y ago · link · parent

A shorter, more comprehensible version:

import requests

from bs4 import BeautifulSoup

from urlparse import urljoin

URL = 'http://philadelphia.craigslist.org/search/sss?sort=date&quer...

BASE = 'http://philadelphia.craigslist.org/cpg/'

response = requests.get(URL)

soup = BeautifulSoup(response.content)

for listing in soup.find_all('p',{'class':'row'}):

    if listing.find('span',{'class':'price'}):

        price = int(listing.text[2:6])

        if 100 < price <=250:

            print listing.text

            print urljoin(BASE, listing.a['href']) + '\n'

10.

REST APIs, ORMs, And The Neglected Client(jeffknupp.com ↗)

1 points · by jknupp · 12y ago · discuss

11.

In Support of Female Engineers(jeffknupp.com ↗)

1 points · by jknupp · 12y ago · discuss

12.

How 'DevOps' Is Killing The Developer(jeffknupp.com ↗)

318 points · by jknupp · 12y ago · 209 comments

13.

Great Products Seem Obvious in Retrospect(jeffknupp.com ↗)

2 points · by jknupp · 12y ago · discuss

comment 12y ago · link · parent

I never accused him of being a homophobe, I simply stated all that I can glean from the facts: he doesn't believe homosexuals should be allowed to marry.

comment 12y ago · link · parent

Notice I never said "He should never be allowed to state his opinion." He's free to do so, and did. And in doing so made a public statement about his views. If you believe basic human rights should be denied to a group of individuals, I have an issue with that.

comment 12y ago · link · parent

I agree. I'm not being consistent in my views. I'm going to continue to use JavaScript, but I don't the Eich should be running Mozilla. Humans are complicated.

17.

Why I'm Boycotting Mozilla Products(jeffknupp.com ↗)

13 points · by jknupp · 12y ago · 28 comments

18.

Writing Idiomatic Python: The Video Series(kickstarter.com ↗)

1 points · by jknupp · 12y ago · discuss

19.

A Web Hosting Service That Teaches You How To Host Your Web App(jeffknupp.com ↗)

2 points · by jknupp · 12y ago · discuss

20.

Contribute to an OSS Python app for reviewing OSS Python apps(jeffknupp.com ↗)

1 points · by jknupp · 12y ago · discuss

comment 12y ago · link · parent

jeff@jeffknupp.com please

comment 12y ago · link · parent

jeff@jeffknupp.com

comment 12y ago · link · parent

Sorry, seems like Disqus was serving up spammy ads along with the comments. I've disabled the ads.

comment 12y ago · link · parent

The goal was not to convince anyone that they needed to use a web framework. Rather, I hoped to explain to novices exactly what a web framework is and what problems it solves.

comment 12y ago · link · parent

No, I mean ZeroMQ takes care of the underlying queue for free (there is an underlying set of queues, which can be persisted if necessary)

comment 12y ago · link · parent

Checkout sandman: www.sandman.io or www.github.com/jeffknupp/sandman

comment 12y ago · link · parent

ZeroMQ takes care of the queueing. Though I didn't delve into it in depth in this example, you can create quite sophisticated broker-less distributed systems pretty easily with ZeroMQ.

comment 12y ago · link · parent

Pickle (or any use of eval) is a security risk only if you're using it in the context of untrusted code. Basically any distributed task queue is going to have that risk if it can execute arbitrary code.
1234567