Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
filmor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
filmor
2y ago
cffi replaces ctypes, which is a completely different thing. cpyext is a reimplementation of the Python C-API, so no attempt at improving the API. HPy on CPython uses the existing C-API under the hood, so there is zero need to build up some
32.
▲
by
filmor
2y ago
Well, Erlang has been picking up :) - OTP27 added sigils[0], which allow you write UTF8 strings with just an additional tilde character ~"hallöchen" =:= <<"hallöchen"/utf8>> - Also, since OTP27,
33.
▲
by
filmor
2y ago
On Gentoo, definitely. I really don't want to rebuild my whole system whenever some foundational library fixes a bug. It already annoys me quite a bit that I need to set up sccache to get half-way reasonable compile times out of Rust p
34.
▲
by
filmor
2y ago
1Il (one, upper case i, lower case L) all seem to look alike in this font. For me, that disqualifies it as a coding font.
35.
▲
by
filmor
2y ago
For me it has been running with minor issues and very few crashes for the last month as my daily driver on both my work (Fedora) and my private (Gentoo) laptop.
36.
▲
by
filmor
2y ago
Mono has support for app domains (and is in general closer to .NET Framework), a more powerful C API and runs on more architectures.
37.
▲
by
filmor
2y ago
https://rerun.io/ Quite obvious, if you scroll to the "Getting Started" section.
38.
▲
by
filmor
2y ago
Augustus, referenced in another top level comment, adds roadblocks to Caesar III (among other gameplay changes).
39.
▲
by
filmor
2y ago
Where does it say that K-cars are not allowed on highways? I'm certain that I saw quite a few, and I can find no source that says otherwise.
40.
▲
by
filmor
2y ago
The dev did not "forget a single punctuation mark". It was there and it was correct. What was /not/ correct is that he did not implement any form of implicit resource freeing in an RAII-language. Doing resource managemen
41.
▲
by
filmor
2y ago
The ? is not really the issue here. Rust is similar to C++ in that it encourages implicit resource management using scopes, so if you have resources that have to be free'd, you have to implement Drop somewhere. The code would have look
42.
▲
by
filmor
2y ago
I have no idea what you are getting at. I just stated that you alloc/realloc what you require for your type. If you want to over-allocate, do it. But I don't see the need to know the size of the memory block that fulfilled your re
43.
▲
by
filmor
2y ago
The growable array type would use `realloc` when growing, which can make use of this internal information without exposing it.
44.
▲
by
filmor
2y ago
The first two are accents, and to me it always looks extremely unprofessional when they are abused as apostrophes.
45.
▲
by
filmor
2y ago
This is about Kay Sievers, not Lennart Poettering.
46.
▲
by
filmor
2y ago
Arabian numerals are derived from Indian scripts, which are written left to right, yet the order of digits is already the same we have today.
47.
▲
by
filmor
2y ago
Because it doesn't talk to other, potentially changing systems. As soon as an application is networked, it requires maintenance.
48.
▲
by
filmor
2y ago
If webOS came out with WASM already in place, it would have been even better :) When the Touchpad was firesaled, I got one and was disappointed with the PDF viewer. Because there was no such thing as WASM (or even asm.js) at the time, it us
49.
▲
by
filmor
3y ago
The build scripts of OpenSSH are irrelevant. The malicious code is embedded on building an rpm or deb for liblzma itself and becomes active when the dynamic library is loaded. There is a recent PR for systemd that instead of linking to the
50.
▲
by
filmor
3y ago
As an aside: The particular technique used in the OP (resource objects) is actually not transparent. If you send the object handle to another machine, it will have an opaque handle that it can't do anything with apart from storing and
51.
▲
by
filmor
3y ago
It's still to a large degree Rust itself. It's the language design which makes it possible to wrap the NIF C API in a safe fashion (e.g. using lifetimes, phantom data, etc.). The only additional safety feature we use is catch_unwi
52.
▲
by
filmor
3y ago
ETS tables are absolutely mutable, they even have specific functions to iterate over them while being mutated ( https://www.erlang.org/doc/man/ets#safe_fixtable-2 ). I use them extensively to share data in a "l
53.
▲
by
filmor
3y ago
Metrics are implemented in the `opentelemetry_experimental` application. Last time I tried them, they were still a bit buggy but working (not complete, thiugh).
54.
▲
by
filmor
3y ago
SQL is built for relational/tabular data, JSON is not relational and usually not tabular.
55.
▲
by
filmor
3y ago
Yet, the per capita energy usage is much higher in Uruguay, according to these: https://www.worlddata.info/america/uruguay/energy-consumptio... (3.4 MWh) https://www.worlddata.info/america/bra
56.
▲
by
filmor
3y ago
`unwrap_or` and `expect` work exactly like they do in Rust. The naming of `expect` works nicely if the argument is the precondition that failed (see https://doc.rust-lang.org/std/error/index.html#common-messag... )
57.
▲
by
filmor
3y ago
Invalid is derived from Latin with validus meaning "strong" or "in order". The German and Dutch uses of the word are derived directly from invalidus meaning ~"weak" (maybe via French), while the English word (a
58.
▲
by
filmor
3y ago
FFI+cffi has the advantage that you leave Python specifics out of your Rust binding, so it's effectively a proper C binding that can be used for other FFI integrations as well.
59.
▲
by
filmor
3y ago
Big companies like ÖBB can get their power through long-lasting power purchase agreements from renewable energy producers.
60.
▲
by
filmor
3y ago
Not to be confused with Office Open XML (OOXML), Microsoft's "standard".
More ›