Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
petr25102018
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
petr25102018
1y ago
The older standard tools, because they can be easily put in CI pipelines and shared as scripts with coworkers. For example, in my personal and professional life I use Make everywhere. The book mentions alternatives, but the examples are bui
32.
▲
by
petr25102018
1y ago
Thanks!
33.
▲
by
petr25102018
1y ago
One of my favorites from the book is to alias "xdg-open" to "open" because I never remember the command. So now I can just type "open X" to open a file system location or file in a normal GUI program when neede
34.
▲
by
petr25102018
1y ago
Not for now. But I am happy to send you the PDF by email and receive a donation via PayPal if the reason is not to fund Gumroad. Just contact me on petr@stribny.name or @stribny on X.
35.
▲
by
petr25102018
1y ago
Do you mean the website or are you talking about the book PDF?
36.
▲
by
petr25102018
1y ago
I just changed the payment model before posting it here, so there is no past data on this. I don't expect it to generate revenue compared to normal sales (it will most likely be a small fraction). But for normal sales you need to be ab
37.
▲
by
petr25102018
1y ago
Noted. For now I put links here, in the comments, and in the Gumroad page to sample pages. I will need to change the homepage later. Thanks for the input!
38.
▲
by
petr25102018
1y ago
Honestly I haven't tried yet. Maybe Asciidoctor (Which I used) has it figured out. It would at least need to have good enough output for the code examples, otherwise it would probably be a non-starter. I added links to example pages (w
39.
▲
by
petr25102018
1y ago
True, the landing page could be more detailed. I didn't want to repeat much the info on Gumroad page, but maybe I should rethink it. And thanks for the copy suggestions. I am not a native speaker :)
40.
▲
by
petr25102018
1y ago
Noted. I will try to provide alternative formats. Not sure how it will go with the code examples, but I shall try. Edit: One reason why I picked PDF is that I expect the readers to actually follow the examples in their own terminal while go
41.
▲
by
petr25102018
1y ago
Example pages here: https://drive.google.com/file/d/1PkUcLv83Ib6nKYF88n3OBqeeVff...
42.
▲
by
petr25102018
1y ago
Thanks for the feedback. I was trying to make it work on mobile but maybe I didn't test it well in the end. As for a sample, I will go and try to make something now. Thanks. Edit: Example pages here: https://drive.google.com
43.
▲
Show HN: I wrote a modern Command Line Handbook
(commandline.stribny.name)
454 points
by
petr25102018
1y ago
|
109 comments
44.
▲
by
petr25102018
2y ago
> Regarding #3, you can already do this with Jinja2 template functions perfectly well. You can also do it with template tags, but it isnt as nice. This is exactly the problem tho. Every Django solution is "install this thing that re
45.
▲
by
petr25102018
2y ago
> I’ve been beating this drum for a decade now. Django needs “django.contrib.rest”. REST API frameworks have always been too important to leave to third-party maintainers. They need to be maintained in the core. > I just want somethin
46.
▲
by
petr25102018
2y ago
It would be a long list. I will post some examples but you can summarize it as "Django is not ideal choice to build a modern SAAS applications" and "Django developer experience is lacking". 1. REST/HTTP API building
47.
▲
by
petr25102018
2y ago
I don't know if Plain has a chance to succeed but I understand why it is a fork. Django leadership haven't been able to move Django forward outside of its old paradigms and every attempt, be it a fork or third-party app, counts.
48.
▲
by
petr25102018
2y ago
Started using it recently, works great. Very nice way to e.g. define a Python version and have a venv created automatically in a location you want.
49.
▲
Django roadmap session – January 2024
(docs.google.com)
2 points
by
petr25102018
3y ago
|
0 comments
50.
▲
by
petr25102018
3y ago
In the region where I was growing up next to Poland, we say "chodit do roboty" when describing normal work.
51.
▲
by
petr25102018
3y ago
You will most likely need to build something yourself. Django's authorization is limited in this aspect :(
52.
▲
by
petr25102018
3y ago
Not sure about all features, but certainly calling and screen-sharing works for me.
53.
▲
by
petr25102018
3y ago
> Helix plugin for VSCode Which one?
54.
▲
by
petr25102018
3y ago
https://stribny.name/blog/
55.
▲
by
petr25102018
4y ago
You can server-side render the SPA. Not with Django, but with things like Nuxt or Next. Then the SEO penalty is just the increased page size (maybe some extra loading time). But at least the content can be crawled normally.
56.
▲
by
petr25102018
4y ago
It is different. JS is popular because people who write SPAs also want to write backends in the same language. What I really like about Django and Python ecosystem in general is the kind of stability that it doesn't move too fast and b
57.
▲
Django 4.2 Released
(djangoproject.com)
158 points
by
petr25102018
4y ago
|
85 comments
58.
▲
by
petr25102018
4y ago
https://www.youtube.com/watch?v=rwaaFwTluLU
59.
▲
by
petr25102018
4y ago
You can also use my article to learn a bit about testing with Pytest! https://stribny.name/blog/pytest/
60.
▲
by
petr25102018
4y ago
My first choice if the product is a good fit would be old school Django deployed to a single VPS (no docker). I am creating a public starter kit that does exactly that, including the deployment part: https://stribny.github.io
More ›