Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
timothycrosley
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
61.
▲
Show HN: EXamples – Python Tests and Document Done by Example
(timothycrosley.github.io)
1 points
by
timothycrosley
7y ago
|
0 comments
62.
▲
by
timothycrosley
7y ago
portray no longer requires a config to be present, instead you can just specify modules directly from the command line with `-m`: https://timothycrosley.github.io/portray/TROUBLESHOOTING/#no...
63.
▲
by
timothycrosley
7y ago
A lot of what you describe is for CPU bound problems, most of the problems I face personally and the the problem, in particular, the parent mentioned are IO-bound. Async in Python is a near-perfect fit for this kind of problem space and is
64.
▲
by
timothycrosley
7y ago
Do you have any concrete examples?
65.
▲
by
timothycrosley
7y ago
Have you tried async? I find it much easier personally to reason about and debug than channels, and is perfect for IO-bound problems. If you really like channels, note that Python 3.9 will have sub-interpreters and channels as well: https:
66.
▲
by
timothycrosley
7y ago
> This is exactly how I felt moving from a Python codebase to Go. But you realize on the 100th or so Python stacktrace that it's worth the investment up front, if not for type safety alone. Luckily, you don't have to choose bet
67.
▲
Documentation Powered by Your Python Code
(timothycrosley.com)
2 points
by
timothycrosley
7y ago
|
0 comments
68.
▲
by
timothycrosley
7y ago
Detailed explanation of why this project was created: https://timothycrosley.com/project-3-pdocs
69.
▲
Show HN: Pdocs – Automatic Python Docs – MIT Licensed Faithful Fork of pdoc
(timothycrosley.github.io)
1 points
by
timothycrosley
7y ago
|
1 comments
70.
▲
by
timothycrosley
7y ago
The change away from pdoc3 and to a new fork of the original pdoc (called pdocs) has landed: https://github.com/timothycrosley/portray/blob/master/CHANGE... https://timothycrosley.github.io&#x
71.
▲
by
timothycrosley
7y ago
The change away from pdoc3 and to a new fork of the original pdoc (called pdocs) has landed: https://github.com/timothycrosley/portray/blob/master/CHANGE... https://timothycrosley.github.io&#x
72.
▲
by
timothycrosley
7y ago
portray requires your project to be packaged for it's auto discovery - if you get this error and your project has a setup.py or pyproject.yaml in the root (and this is where you ran portray from) let me know and I'll create a tick
73.
▲
by
timothycrosley
7y ago
Ha, I wish it was accidental! In reality, I created the gif many more times than needed just because I wanted to create the effect.
74.
▲
by
timothycrosley
7y ago
Thanks! > Are you planning to support Restructured Text next to Markdown? I will look into supporting this, I agree that it definitely makes sense as a feature!
75.
▲
by
timothycrosley
7y ago
I saw that as well, late into the project creation. The pdoc3 maintainer claims it's not that - but there are other reasons to want to want to avoid pdoc3. I'm going to be working on replace the pdoc3 dependency with pdoc in a way
76.
▲
by
timothycrosley
7y ago
portray uses MkDocs default search plugin which uses lunr.js behind the scenes.
77.
▲
by
timothycrosley
7y ago
The biggest differences between Sphinx-doc and portray: - Markdown - Zero Config required - Focus on Simplicity https://timothycrosley.com/project-2-portray goes into why I created the project and how I viewed the current s
78.
▲
by
timothycrosley
7y ago
https://timothycrosley.github.io/portray/docs/quick_start/4.... portray is compatible with all MkDocs themes and plugins out-of-the-box
79.
▲
by
timothycrosley
7y ago
Thanks so much for this great feedback! I haven't done any speed optimization on portray yet - as both at work and online I tend to organize my own projects as small self contained repositories. Clearly there is a lot of room for impro
80.
▲
Show HN: Zero-Config Documentation Websites for Python
(timothycrosley.github.io)
233 points
by
timothycrosley
7y ago
|
81 comments
81.
▲
Show HN: Portray – Beautiful documentation for Python projects automatically
(timothycrosley.com)
2 points
by
timothycrosley
7y ago
|
0 comments
82.
▲
Show HN: Preconvert – Supercharge Your Serialization Project 1/52
(timothycrosley.com)
2 points
by
timothycrosley
7y ago
|
0 comments
83.
▲
Show HN: Me
(timothycrosley.com)
2 points
by
timothycrosley
7y ago
|
1 comments
84.
▲
by
timothycrosley
7y ago
I don't actually feel like this solves anything, but instead just adds one more avenue for name hijacking. Now instead of trying to register an angular package first, I'll try to register a google namespace, or similar. If google
85.
▲
by
timothycrosley
7y ago
https://github.com/hugapi/HOPE/ Working on hug 3.0
86.
▲
by
timothycrosley
7y ago
Black is amazing. I've added it to all my work projects and will be adding it to all my personal projects over time. My own opinion is that black is the future of Python formatting and it's a long time in coming. I disagree with m
87.
▲
by
timothycrosley
7y ago
If you are asking if Cons in general or dying, I think that's a definite no. Every conference I've been to lately has only seen tremendous growth: PyCon, PyCascades, LinuxFest NW, SeaGL, etc. However, that is just my personal expe
88.
▲
by
timothycrosley
8y ago
Glad to hear that :)! Honestly, what you've built looks super solid and polished. In many ways, it's what I wanted hug to be - it's really inspiring to see someone build that.
89.
▲
by
timothycrosley
8y ago
Note that if you are currently using Falcon, another route to get many of these features is to use hug ( https://github.com/timothycrosley/hug ) which inspired many of API Star features back in the day - and is part of t
90.
▲
by
timothycrosley
8y ago
Bottomless is awesome! I've been part of the service for a while now - and only stopped using it recently because my neighborhood coffee roaster (who I'm trying my best to support!) isn't on the service: https://lo
More ›