Better HN
topnewbestaskshowjobs
Log inSign up

gjenks

105 karma · joined Aug 30, 2011 (15y ago) · 30 submissions

listen | learn | think | solve http://www.grantjenks.com/
Submissions

comment 4y ago · link · parent

Try “blue” instead: https://pypi.org/project/blue/ It’s mostly black with some monkey patching for single quotes. (I’m on of the authors. Feedback welcome!)

comment 4y ago · link · parent

There’s also “blue” which I’m the author of and looks similar: https://pypi.org/project/blue/ would love to get your help and thoughts in the issue tracker or by email.

3.

Fight Night in Literate Python [video](youtube.com ↗)

1 points · by gjenks · 7y ago · discuss

comment 7y ago · link · parent

Closest thing to a spec is the Python Language Reference: https://docs.python.org/3/reference/ which is actually pretty good.

5.

Show HN: Not-Sucky Python Filebased Cache Backend (Django-Compatible)(grantjenks.com ↗)

2 points · by gjenks · 10y ago · discuss

comment 10y ago · link · parent

Author here. Longish article but I wanted to make a fairly comprehensive reply to those who have doubted SortedContainers' ability to scale. If you jump down to the benchmarks section, you'll see the performance at 10,000,000,000 (ten billion) elements. I ended up paying $40 to rent a highmem instance on GCE for 1,011 minutes to run the benchmarks. For those curious, the memory high-water mark was ~128GB using PyPy. These results would be a lot more expensive to replicate with any other sorted collections library today.

7.

Python SortedContainers at Scale(grantjenks.com ↗)

2 points · by gjenks · 10y ago · 1 comment

comment 10y ago · link · parent

Author here. I created this because the filebased cache backend that ships with Django is really broken for caches with more than 1,000 keys. The design of DiskCache is based on SQLite and the filesystem which is a pretty solid combination. Frequent cache reads are stored in shared memory-mapped files while remaining thread and process safe. That makes lookups faster than networked options like memcached and redis.

9.

Show HN: Python DiskCache – Django Compatible Cache Library(grantjenks.com ↗)

2 points · by gjenks · 10y ago · 2 comments

comment 10y ago · link · parent

I wrote a Python module called PyPatt that implements Pythonic Pattern Matching as you'd find in functional languages. There's both a function-based and macro-based version. The macro version is deprecated but was used for a while.

Docs: http://www.grantjenks.com/docs/pypatt-python-pattern-matchin... Source: https://github.com/grantjenks/pypatt_python_pattern_matching...

11.

Registration Open for PyCon 2016 in Portland, OR(us.pycon.org ↗)

1 points · by gjenks · 11y ago · discuss

12.

Sisyphus(en.wikipedia.org ↗)

1 points · by gjenks · 13y ago · discuss

13.

Forecasts Achieve High Throughput and Low Delay over Cellular Networks(alfalfa.mit.edu ↗)

1 points · by gjenks · 13y ago · discuss

14.

Research in Software Engineering (RiSE) for Fun(rise4fun.com ↗)

1 points · by gjenks · 13y ago · discuss

15.

AffectAura: An Intelligent System for Emotional Memory(research.microsoft.com ↗)

4 points · by gjenks · 13y ago · discuss

16.

CoupleVIBE: Mobile Implicit Communication to Improve Awareness for Couples [pdf](kevinli.net ↗)

1 points · by gjenks · 13y ago · discuss

17.

Billionaires' Advice For New College Grads(forbes.com ↗)

2 points · by gjenks · 13y ago · discuss

18.

Energy-Harvesting Active Networked Tags(enhants.ee.columbia.edu ↗)

1 points · by gjenks · 13y ago · discuss

19.

GraphLab: Distributed Graph-Parallel API(docs.graphlab.org ↗)

2 points · by gjenks · 13y ago · discuss

20.

RAMCloud - All Your Storage in DRAM(ramcloud.stanford.edu ↗)

64 points · by gjenks · 13y ago · 16 comments

21.

The 'Big Data' Revolution: How Number Crunchers Can Predict Our Lives(npr.org ↗)

2 points · by gjenks · 13y ago · discuss

22.

Scaling deep learning to 10,000 cores and beyond(cs.washington.edu ↗)

38 points · by gjenks · 13y ago · 8 comments

23.

Solve for X(solveforx.com ↗)

4 points · by gjenks · 13y ago · discuss

24.

Why Bill Gates Is A Hero And Donald Trump Is A Zero(forbes.com ↗)

1 points · by gjenks · 14y ago · discuss

25.

Hi, my name is Grant and I fixate on problems(grantjenks.com ↗)

1 points · by gjenks · 14y ago · discuss

26.

The Quantified Self: Counting Every Minute(economist.com ↗)

5 points · by gjenks · 14y ago · discuss

27.

Show HN: I created Good Shoppr to Fundraise for Urban Community Development(goodshoppr.com ↗)

1 points · by gjenks · 14y ago · discuss