Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hsaliak
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
hsaliak
6y ago
This is un googley behavior
92.
▲
by
hsaliak
6y ago
Clang has this too. Libraries like Glib and software like Systemd use this mechanism. Standardizing it would be nice.
93.
▲
by
hsaliak
6y ago
It would still help to standardize..
94.
▲
by
hsaliak
6y ago
It’s called Go. The downside of having half the Pl PhDs on the planet in their employ is that they can not come to an agreement.
95.
▲
by
hsaliak
6y ago
Fuchsia makes the list of OSes to prioritize but not *BSDs. This doc is biased toward the interests of Google. Which is Ok. They should just state that upfront rather than saying “our use cases” and leave it to the reader to figure it out.
96.
▲
by
hsaliak
6y ago
I disagree. Consider it the other way - it is common wisdom to keep broad communications simple enough for a 5 year old to understand. It follows that even marketing speak needs to be so simple that 5 year olds (us, engineers) can understan
97.
▲
by
hsaliak
7y ago
There’s an experimental mypyc that can compile typed code to extensions, it’s not complete but it is used in mypy itself if I understand correctly. More practically, I’ve found that it’s much easier to translate well typed code to cython. I
98.
▲
by
hsaliak
7y ago
nice to see more libraries in python that embrace optional static typing
99.
▲
by
hsaliak
7y ago
.. that’s what the article is about
100.
▲
by
hsaliak
7y ago
glib
101.
▲
by
hsaliak
7y ago
Only java, it's in the FAQ.
102.
▲
by
hsaliak
7y ago
I want alternatives too - they are good for the consumer. This article was negative to the point of being unreadable. This is not how you disrupt.
103.
▲
by
hsaliak
7y ago
pypy is going to continue supporting python 2 indefinitely. They focus on that LTS release and care about performance.
104.
▲
by
hsaliak
7y ago
Unpopular opinion - the lack of generics helped. That reduced the surface of the language a _lot_ its simplicity was a breath of fresh air. It made Go a very effective language for "just writing some code".
105.
▲
by
hsaliak
7y ago
Pretty sure generics are coming, and this is going to change best practices, and cause re-writes.
106.
▲
by
hsaliak
7y ago
Toolchain integration matters. Just use c++.
107.
▲
by
hsaliak
7y ago
This tutorial helped me to step away from the Fixed Function pipeline and finally grok the shader based programmable pipeline. (I am a hobbyist). Glumpy, which is used in this tutorial - https://glumpy.github.io/ , is IMO the
108.
▲
by
hsaliak
7y ago
Google
109.
▲
by
hsaliak
7y ago
The article is from 2015. Many of the jits (eg numba) have moved to llvmlite. https://github.com/numba/llvmlite
110.
▲
by
hsaliak
7y ago
jax does have a just in time compiler that lets you compile your python functions to XLA-optimized kernels (through llvmlite under the hood?). The fact that you can jit compile and gain the benefits of "doing this within the compiler&q
111.
▲
by
hsaliak
7y ago
How does this compare to Jax? https://github.com/google/jax Why do this in the language instead of a library?
112.
▲
by
hsaliak
7y ago
Genuine question, and I mean no disrespect with this, but the launch your own brand icon looks slightly... phallic. Was it auto generated?
113.
▲
by
hsaliak
7y ago
Good, they were poor at keeping them updated. Glad they did not limp into python3 and encumber the ecosystem with some version that would have to be supported for a long time.
114.
▲
by
hsaliak
7y ago
you can accomplish a lot in a few lines of clojure
115.
▲
by
hsaliak
7y ago
This is all nice and exciting until you start to 1) Debug code, the high density of clojure code means that this is really painful. 2) Read code you wrote a while back. The high density of clojure code means that this is really painful.
116.
▲
by
hsaliak
7y ago
You beat me to making this point. I don't see anything in the article's python code that the numba's jit decorator cannot handle. When numba works (it's rapidly improving), it's seriously impressive. For this partic
117.
▲
by
hsaliak
7y ago
The goal of something like pledge/unveil is to harden a carefully written program from being exploited, so it has a role to play at runtime. Asserts are used for program invariants, so checking them at runtime is less important. So th
118.
▲
by
hsaliak
7y ago
The article states that Got will use unveil and pledge [1] to harden to codebase. This is not supported in linux, so it's unlikely that ports with similar guarantees will be straightforward. It will not replace git in general. [1] htt
119.
▲
by
hsaliak
7y ago
This is a deeply technical and insightful question to ask. However, is this question on implementation detail the best question he could ask to determine the impact of Libra on the people he represents, or does it serve to satisfy his curio
120.
▲
by
hsaliak
7y ago
this. I find it hilarious that people keep comparing a python release from 2010 with something that was released in O(months). Modern python - mypy, attr/dataclasses has come a long way. Numba has also come a long way since it's i
More ›