Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
indygreg2
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
indygreg2
2y ago
I could never justify the time investment to upstream a lot of my python-build-standalone work. I made some attempts. But it always felt like I was swimming against a heavy current and the talk to meaningful action ratio was too high. The p
2.
▲
by
indygreg2
4y ago
Some of Apple's code signing is open source (mostly in SecurityFramework). But not enough is open source to be able to build a modern `codesign`. The source you linked is ~10 years old and woefully out of date, for example! I don'
3.
▲
by
indygreg2
4y ago
Note that gon is a glorified front-end for executing processes like `codesign`, `altool`, and even `ditto` for zip file generation. This Rust implementation, by contrast, has all the functionality implemented in pure Rust: there is no calli
4.
▲
by
indygreg2
4y ago
XAR signing is effectively just an RFC 5652 CMS signature plus some minimal data structure manipulation. Code at https://github.com/indygreg/PyOxidizer/blob/faa7dfcea5d66bf5... . Mach-O and bundles, by contras
5.
▲
by
indygreg2
4y ago
rcodesign can sign and notarize applications written in any language. From rcodesign's perspective, Rust is an implementation detail of the tool itself.
6.
▲
Achieving an open-source implementation of Apple Code Signing and notarization
(gregoryszorc.com)
309 points
by
indygreg2
4y ago
|
51 comments
7.
▲
by
indygreg2
4y ago
While this IFUNC feature does exist and it is useful, when I performed binary analysis on every package in Ubuntu in January, I found that only ~11 distinct packages have IFUNCs. It certainly looks like this ELF feature is not really used m
8.
▲
by
indygreg2
5y ago
The index is a power user feature. Its forced presence in Git effectively constitutes a usability barrier for new users. After all, a VCS is effectively a glorified abstraction for "save a file." Any barrier imposed between changi
9.
▲
by
indygreg2
5y ago
I once helped maintain a nearly full featured implementation of make in Python (pymake) that grew out of the Firefox project. As much as I would like to support efforts like this, I feel like it is ultimately doomed to suffer from usability
10.
▲
Bulk Analyze Linux Packages with Linux Package Analyzer
(gregoryszorc.com)
3 points
by
indygreg2
5y ago
|
0 comments
11.
▲
Rust is for Professionals
(gregoryszorc.com)
138 points
by
indygreg2
5y ago
|
153 comments
12.
▲
by
indygreg2
5y ago
I removed the background image and made the text blacker. Might take a force refresh to pick up the CSS file change. Is it good enough or are further tweaks needed? If more, my web design skills are mediocre, so actionable feedback would be
13.
▲
Modern CI Is Too Complex and Misdirected
(gregoryszorc.com)
1 points
by
indygreg2
5y ago
|
0 comments
14.
▲
Using Rust to Power Python Importing with Oxidized_importer
(gregoryszorc.com)
4 points
by
indygreg2
6y ago
|
0 comments
15.
▲
by
indygreg2
6y ago
Compare https://pyoxidizer.readthedocs.io/en/v0.4.0/config.html#file... to https://pyoxidizer.readthedocs.io/en/stable/config.html#file... . In PyOxidizer's case, I wanted to create
16.
▲
by
indygreg2
6y ago
I converted PyOxidizer's configuration files from TOML to Starlark because I found it effectively impossible to express complex primitives in a static configuration file and the static nature was constraining end-user utility. A common
17.
▲
by
indygreg2
7y ago
The criticisms about musl's memory allocator being slower than glibc may be true. However, this specific issue can be resolved by telling the Python interpreter to use e.g. jemalloc as its allocator instead of the system allocator. Unf
18.
▲
by
indygreg2
7y ago
C/C++ is a language with limited facilities to ensure correctness at compile time. The languages are riddled with undefined behavior in common features that programmers with multiple decades of experience still get tripped up by. NULL
19.
▲
by
indygreg2
7y ago
The late start was mostly due to having to retain Python 2.4/2.5 compatibility until May 2015 and it was literally impossible to use some future statements or some Python 3 syntax until 2.6 was required. I have updated the post to refl
20.
▲
Building Standalone Python Applications with PyOxidizer
(gregoryszorc.com)
4 points
by
indygreg2
7y ago
|
0 comments
21.
▲
by
indygreg2
7y ago
Patches to workaround the issue were just committed. Those patches were tracked at https://bugzilla.mozilla.org/show_bug.cgi?id=1549010 . At the time of writing this comment, that bug is not chained up to the bug linked by t
22.
▲
Absorbing commit changes in Mercurial 4.8
(gregoryszorc.com)
10 points
by
indygreg2
8y ago
|
1 comments
23.
▲
Global Kernel Locks in APFS
(gregoryszorc.com)
141 points
by
indygreg2
8y ago
|
46 comments
24.
▲
by
indygreg2
8y ago
Obviously not applicable to Linux since it is hosted on Git, but Mercurial has this "clone bundles" feature built in. If you e.g. `hg clone https://hg.mozilla.org/mozilla-central` to clone the main Firefox repo, y
25.
▲
by
indygreg2
8y ago
I'm totally OK with Python's threading choice of saying only 1 Python thread may execute Python code at any time. This is a totally reasonable choice and avoids a lot of complexity with multithreaded programming. If that's ho
26.
▲
by
indygreg2
8y ago
(I authored the linked post) While the "maybe you shouldn't use Python" comment could be construed as trolling to some, there is definite truth to your line of reasoning and I agree with comment. I absolutely love Python as a
27.
▲
by
indygreg2
8y ago
I wrote the linked post and maintain the Firefox build system. The reason is that in 2018 (and for the past 10 years honestly) and it is far easier to find people who know Python than Perl. Python is essentially the lingua franca in Firefox
28.
▲
by
indygreg2
8y ago
Git is actively rewriting many of their shell and Perl code in C. Performance and portability are given as reasons (having shell and Perl as a dependency on Windows is a bit of a kludge). And shell scripts are much slower on Windows because
29.
▲
From __past__ import bytes_literals
(gregoryszorc.com)
3 points
by
indygreg2
10y ago
|
0 comments
30.
▲
by
indygreg2
10y ago
It depends on the "window size" used by the compressor. According to https://github.com/facebook/zstd/blob/dev/doc/zstd_compressi... , the window size can be anywhere from 1KB to 1.875TB. T
More ›