Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Rotareti
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
Rotareti
1y ago
Same here. I've been using Lenovo/ThinkPads for the last 12 years mainly because of the pointer. It's perfect for programming. I'm more productive and focused when I keep my hands on the home row all the time. I don'
2.
▲
by
Rotareti
1y ago
Haha, no. I'm waiting desperately for one that ships with a pointer. Seems like I'm stuck with Lenovo/ThinkPad forever...
3.
▲
by
Rotareti
2y ago
I configure bindings through Zigbee2MQTT. You can view the bindings in the switch configuration, where you can also update or remove them. I use Zigbee2MQTT to handle low-level Zigbee tasks such as pairing, binding, creating groups, setting
4.
▲
by
Rotareti
2y ago
I think it's called 'direct binding.' All of my lights are directly bound to my switches, so they work even without the server or Zigbee coordinator running. With some switches, you can even bind light scenes directly to the
5.
▲
by
Rotareti
4y ago
Same. I was using intellij, then vscode the ten years before I switched to doom. I tried a lot of other editors and IDEs, but emacs was the only one with good vim integration. From all editors I tried, it was also the only one with good plu
6.
▲
by
Rotareti
4y ago
> Meanwhile we have distros lagging behind for years to provide a new package because they can't break all the things depending on the old version. I'm glad I left this category of problems behind me 5 years ago when I switched
7.
▲
by
Rotareti
6y ago
This is awesome, thanks for sharing! I think this should be added to the PyO3 examples list :) https://github.com/PyO3/pyo3#examples
8.
▲
by
Rotareti
6y ago
Python supports type annotations and static typing via mypy and co. I find statically typed Python is absolutely comparable to other statically typed languages. At least I don't feel much of a difference working with it compared to go,
9.
▲
by
Rotareti
6y ago
> And docker on Linux doesn’t support all the features that docker on Mac does. Specifically kubernetes. This is nonsense. We invested multiple man month this year to create a local k8s dev environment for our company. Our devs use MacOS
10.
▲
by
Rotareti
6y ago
You can compile your Python code using Nuitka, the resulting binary has much better startup time. I do this for a couple of command line tools.
11.
▲
by
Rotareti
6y ago
This looks interesting! I think the approach where a typed subset of Python is used to compile a fast extension module is the way forward for Python. This would leave us with a slow but dynamic high-level-variant (CPython) and typed lowe
12.
▲
by
Rotareti
6y ago
Nuitka is great! I use it to compile some of the command line tools which I have written. Command lines tools compiled with Nuitka have a much better startup time. Nuitka also has a single file binary target in the works. Compiled single fi
13.
▲
by
Rotareti
6y ago
> This is also very easy to achieve in Python by using Cython to selectively optimize code There is also mypyc [0] coming up on the horizon. https://github.com/python/mypy/tree/master/mypyc
14.
▲
by
Rotareti
6y ago
du -hs node_modules 1.7G node_modules
15.
▲
by
Rotareti
6y ago
Same here. I don't understand why AsciiDoc doesn't get more attention.
16.
▲
by
Rotareti
7y ago
> What is it about writing views the React way that appeals to you more? JSX is JS thus it's powerful. I prefer to use JS to "sprinkel the magic", rather than using yet another (awkward) template language. Using JS for e
17.
▲
by
Rotareti
7y ago
I wish there was a union operator for typing as well to replace `Union[str, int]` with just `[str|int]`.
18.
▲
by
Rotareti
7y ago
AFAIK, Julia has a garbage collector. I envision the thing more like a rust split into two variants. One with GC and mandatory typing, one without.
19.
▲
by
Rotareti
7y ago
I hope the next big programming language will be one that is split into two language-variants: the "low-level-variant" and the "high-level-variant". The high-level-variant is a dynamic language with optional typing, whic
20.
▲
by
Rotareti
7y ago
> The 2/3 mess (yes it is still a thing) It's still a thing for the (loud) few who couldn't manage to move to 3 after 10 years. The rest just went on. The ecosystem is on 3 [0] and it has been for years now. [0]: http:&
21.
▲
by
Rotareti
7y ago
That's why I went with git-subrepo [0] over submodules. [0]: https://github.com/ingydotnet/git-subrepo
22.
▲
by
Rotareti
7y ago
If I would have to port a code base from 2 to 3 today, I think the first thing I would do is add type annotations to to the code base via typing/mypy and go from there. A fully typed Python 2 code base shouldn't be too difficult t
23.
▲
by
Rotareti
7y ago
Same here. I love to keep my hands on the home row. Nothing can beat a pointer with a concave cap! I check the system76 laptops every once in a while only to see if they added a pointer yet.
24.
▲
by
Rotareti
7y ago
> And for that it works nicely and is fast enough. It may be fast enough for you, but it certainly isn't for many other people. golang will for example never grow a large mathy/scientific ecosystem, because of it.
25.
▲
by
Rotareti
7y ago
> C interop is simple and elegant C interop in go is super slow: https://github.com/dyu/ffi-overhead
26.
▲
by
Rotareti
7y ago
> I'm putting off buying a new phone in general until we get a decent Linux variant. Me too. I want a smartphone which can run an up-to-date OS for more than 5 years, just like my laptop. LinageOS dropped official support for my c
27.
▲
by
Rotareti
7y ago
Whoops.. There is one now :)
28.
▲
by
Rotareti
7y ago
There are two new tools in the Python ecosystem, which try to fill the gap left by cargo, npm, yarn & co.: One is pipenv [0], which works similar to yarn & co. It uses Pipfile/Pipfile.lock to define and lock dependencies. P
29.
▲
by
Rotareti
7y ago
> and is there maybe a way to come up with a unified language dependency manger? For interpreter/compiler version management you can use asdf [0]. It works for all popular programming languages. You can use it to replace tools suc
30.
▲
by
Rotareti
7y ago
> Every ecosystem has these problems, and if they don't it's probably because they're still relatively esoteric. Exactly! I'm not aware of any non-compiled language where (all) these issues are solved much better. I
More ›