Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Rotareti
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
Rotareti
7y ago
> mypy makes Python a pleasure to work with again. This is my experience as well. I love that I have the option to use Python typed and untyped. For little scripts, fiddles, prototypes, etc. it's often convenient to omit type annota
62.
▲
by
Rotareti
7y ago
Nuitka also improves performance. It has halved the startup time for a command line tool that I wrote.
63.
▲
by
Rotareti
7y ago
> I think there's a lot of worth using a high level language and integrating with C. I agree. Python is an awesome high level interface to low level libraries and algorithms. As which it became even more appealing since you can writ
64.
▲
by
Rotareti
7y ago
> I've been writing runtime validations for each individual query result. This has been a bit annoying to maintain at scale since I don't have very good patterns for it. I think pydantic [0] solves this problem perfectly. The
65.
▲
by
Rotareti
7y ago
> And now your RoR developers have to support a C library In Python you can write your low level extensions directly in Rust via PyO3 [0]. I guess there is something similar for Ruby. [0]: https://github.com/PyO3/PyO
66.
▲
by
Rotareti
7y ago
Comparing Angular to React is comparing apples to oranges. It would make more sense to compare Angular to React based frameworks such as NextJS [0]. Those are "easy to get up and running" and offer "a very solid foundation
67.
▲
by
Rotareti
7y ago
> It really does not help we have tables with few hundred companies listed. It helps so far that I (as a user) see upfront how much an article costs (in tracking data). I can then decide if I want to pay for it or not.
68.
▲
by
Rotareti
7y ago
Don't forget to mention the poor (and complicated) editor support for "these custom HTML templating languages". JSX is very well supported in most editors.
69.
▲
by
Rotareti
7y ago
I never got comfortable with debuggers for the work that I do. Thus I rely heavily on "print debugging". There are tools such as "icecream" [0] (in Python), that improve print-debugging ergonomics a lot. I wish every lan
70.
▲
by
Rotareti
7y ago
The arch linux package registry has a version of VSCode available, that is build without MS telemetry/branding. I guess that's what parent is using.
71.
▲
by
Rotareti
7y ago
Google does something similar to push Chrome over Firefox: https://news.ycombinator.com/item?id=19669586 I don't get why you are downvoted..
72.
▲
by
Rotareti
7y ago
> My dream is to be able to drop a repo inside another repo and have git just treat it as if it were part of the parent repo. And then to be able to bundle the child repo to the parent and push it. I'm not sure if I understand you
73.
▲
by
Rotareti
7y ago
That sounds awesome! :)
74.
▲
by
Rotareti
7y ago
I like this a lot! What a great evolution of Postgresl/SQL. I also love what you do for the Python/asyncio ecosystem. Congratulations on the release! Their is one point I'd like to address, though. It's still a real pain
75.
▲
by
Rotareti
8y ago
> Like any package manager it's somewhat difficult to write good packages that have all these attributes. And I think you have to admit that a well-written helm chart that covers all the bases is a lot less readable (albeit much mo
76.
▲
by
Rotareti
8y ago
> In some sense, it is, it's just happening every slowly. The web frontend world has become very functional as well. The react stack is full of FP, for example. React was initially written in SML, then transcribed to JS and recent
77.
▲
by
Rotareti
8y ago
I think it's worth mentioning, that the creator of Django REST framework is also working on Starlette [0], which is a modular framework that comes with async support, crazy performance, and more... [0]: https://www.starlette
78.
▲
by
Rotareti
8y ago
I used a ThinkPad x230, now I use a ThinkPad x280. Both machines work nicely with Linux. If you are a programmer and use the keyboard a lot, the poiting stick is simply the best poiting device you can get. With it, you never have to leave t
79.
▲
by
Rotareti
8y ago
There are linters for these kinds of things that work with most editors. E.g. VSCode with pylint marks the method immediately, if you forget `self` or `cls`.
80.
▲
by
Rotareti
8y ago
As someone who works full time in Python and TypeScript, I find the typing experience quite similar in both languages. You can be "productive" in both languages "in medium-to-large-sized projects". > Mypy mostly seem
81.
▲
by
Rotareti
8y ago
Python has type annotations since 3.5 and you can get static type checking via mypy. This is a type system that works quite well IMHO and eleminates most of the issues you mentioned.
82.
▲
by
Rotareti
8y ago
Now that we have type hints and statically typing in Python, I hope to see an open source Python compiler, that improves performance and produces single file binaries.
83.
▲
by
Rotareti
8y ago
Don't forget the one from Dropbox: * https://github.com/python/mypy
84.
▲
by
Rotareti
8y ago
In addition to this. About Python and typing, have you tried mypy (statically typed Python)? I find the typing story quite decent since Python 3.6. I use it on every project that goes above ~1000 LOC. http://mypy-lang.org/
85.
▲
by
Rotareti
8y ago
I wonder, how do you do source control, unit testing, docs/comments in visual programming?
86.
▲
by
Rotareti
8y ago
I gave poetry a try and liked it a lot as well, but I really miss the virtualenv handling from pipenv. How do you handle virtualenvs with poetry?
87.
▲
by
Rotareti
8y ago
> The dramatic reduction in insects on car windscreens could be "explained away" by technological advances in car design I have been driving the same car for 20 years with the same roof-rack. 20 years ago the roof-rack was cr
88.
▲
by
Rotareti
8y ago
How about https://github.com/dokku/dokku ? There is a one-click install for Dokku on digitlocean.
89.
▲
by
Rotareti
8y ago
I'm a Python guy too, and what I like about Python is that I can choose between using it dynamically typed or statically typed. When I start a new script/app, I usually start without type annotations and as soon as the data-model
90.
▲
by
Rotareti
8y ago
Have you tried matomo? https://github.com/matomo-org/matomo
More ›