Viewing profile — Rotareti
Rotareti
HN member- Joined
- Tue, Aug 16, 2016, 10:29 PM UTC
- HN karma
- 484
- Public activity
- 241 items
- HN profile
- View on Hacker News ↗
About Rotareti
Recent public activity
-
comment
Comment #45049983
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 …
-
comment
Comment #45049884
Haha, no. I'm waiting desperately for one that ships with a pointer. Seems like I'm stuck with Lenovo/ThinkPad forever...
-
comment
Comment #42371261
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 Zig…
-
comment
Comment #42362566
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, yo…
-
comment
Comment #35009621
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…
-
comment
Comment #34919179
> 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…
-
comment
Comment #25958925
This is awesome, thanks for sharing! I think this should be added to the PyO3 examples list :) https://github.com/PyO3/pyo3#examples
-
comment
Comment #25537227
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 fe…
-
comment
Comment #25236910
> 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 loca…
-
comment
Comment #24859637
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.
-
comment
Comment #24858807
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 slo…
-
comment
Comment #24759921
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 …
-
comment
Comment #24749366
> 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/mas…
-
comment
Comment #23177630
du -hs node_modules 1.7G node_modules
-
comment
Comment #22864028
Same here. I don't understand why AsciiDoc doesn't get more attention.
-
comment
Comment #22544612
> 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 (aw…
-
comment
Comment #22423077
I wish there was a union operator for typing as well to replace `Union[str, int]` with just `[str|int]`.
-
comment
Comment #21697451
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.
-
comment
Comment #21691824
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 dyn…
-
comment
Comment #21663511
> 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…
-
comment
Comment #21626491
That's why I went with git-subrepo [0] over submodules. [0]: https://github.com/ingydotnet/git-subrepo
-
comment
Comment #21611478
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 typ…
-
comment
Comment #21590536
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 po…
-
comment
Comment #21557358
> 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/sci…
-
comment
Comment #21556347
> C interop is simple and elegant C interop in go is super slow: https://github.com/dyu/ffi-overhead