Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aleden
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
aleden
2y ago
Yes! This is along the lines of what I thought of when I saw ghostty. https://news.ycombinator.com/item?id=42524537 It's too bad I don't use vscode. I think it would be cool to have something that can jump be
2.
▲
by
aleden
2y ago
If you spent enough time and energy on it.. I'm fairly confident you could get the newest Ubuntu running. You'd have to build your own kernel, manually generate the initramfs, figure out how to and then flash it. You'd probab
3.
▲
by
aleden
2y ago
You could install Ubuntu 24.04 using debootstrap. That would just get you the user space, though, you'd still have to build your own kernel image.
4.
▲
by
aleden
2y ago
Are you aware that mainline linux runs on these Jetson devices? It's a bit of annoying work, but you can be running ArchLinuxARM. https://github.com/archlinuxarm/PKGBUILDs/pull/1580 Edit: It's been
5.
▲
by
aleden
2y ago
Is that why I got down voted? This thing is header-only, I'm guessing it doesn't need rtti or have a big footprint.
6.
▲
by
aleden
2y ago
Nobody knows about BOOST_SCOPE_DEFER? #include <boost/scope/defer.hpp> BOOST_SCOPE_DEFER [&] { close(fd); }; Implementation here: https:/
7.
▲
by
aleden
2y ago
Fantastic links. They should be at the top of this thread. This stuff looks really impressive to me. I'm not an expert. I take it that it is implicitly assumed that code running on the server (which I cannot spot the source for) doesn&
8.
▲
by
aleden
2y ago
How did they do it? The idea for homomorphic encryption has been around a long time, but as far as I am aware the time+space requirements have found to be tremendous, thus rendering any serious implementation of it impractible. If they mana
9.
▲
by
aleden
2y ago
I went to ghostty.org and spent a long time staring at that animated ghost, and thought of clippy. Except this guy seems to have wider range of emotions. Anyways, I eventually learned this was about a terminal emulator (which is awesome), b
10.
▲
by
aleden
2y ago
What I like about foot is the heuristics governing text selection with the mouse. I find that more often than not, if I double click with the mouse on some text, what it ends up selecting is just the part I need.
11.
▲
by
aleden
2y ago
Yeah, totally. I find LLMs are very useful for doing stuff with the preprocessor, too. ChatGPT taught me how to use boost preprocessor (BOOST_PP_FOR_EACH_PRODUCT). Still though, I want to see MyMapType::value_type in compiler errors rather
12.
▲
by
aleden
2y ago
For the love of God when will c++ compilers finally be able to output template errors that aren't completely expanded and are written in terms of the user's typedefs? Most of the time I spend parsing template errors with boost is
13.
▲
by
aleden
2y ago
Before #define ing MY_MACRO, do #ifdef MY_MACRO #error #endif edit: and #undef MY_MACRO after done using it, ideally.
14.
▲
by
aleden
2y ago
Many people dismiss mathematics because they aren't interested in it. I definitely wasn't interested in doing dozens and dozens of error-prone problem sets that mainly boiled down to performing arithmetic. I don't need to do
15.
▲
by
aleden
2y ago
In my high school we were basically only instructed to get good at applied math. Calculus. Which more often than not was simply "plugging it in". Most of that work is trivially automatible through Mathematica. When I reached a uni
16.
▲
by
aleden
2y ago
Then what is proton written in? C++?
17.
▲
by
aleden
2y ago
My model for LDD in my head was, "run the app up until the entry point of the executable, print the loaded DSOs, and exit() before ever starting the exe." That'd get you potentially more libraries than if you just statically
18.
▲
by
aleden
2y ago
I guess I wasn't sure that DT_NEEDED entries covered everything. Sometimes you have stuff that happens in DT_INIT constructors.
19.
▲
by
aleden
2y ago
Disentangling who loads what without actually running the app, i.e. allowing a sequence of dlopen() calls to succeed, seems impossible to accomplish in the presence of binary code which cannot be effectively scrutinized.
20.
▲
by
aleden
2y ago
Yes, there are some wrinkles in upgrading packages on Arch, like you said. I've had to manually install archlinux-keyring with pacman. Ive had to manually upgrade yay because a shared library it is dynamically linked to was upgraded. I
21.
▲
by
aleden
2y ago
I always have such a difficult time messing with packages on debian. On arch, there is a single PKGBUILD file, and it's basically the simplest thing anyone could think of which makes it bliss to work with. On the other hand, debian
22.
▲
by
aleden
2y ago
Are delay slots unique to mips? They're a pretty significant aspect (complication) that I don't see anywhere else. Also, the gp register- don't know of any other arch where you need to set something like that up to access glo
23.
▲
by
aleden
3y ago
Yeah and key here is that there's nothing to stop you from cloning the repo for a package, checking out an older revision, and running makepkg (granted, it's not guaranteed to work but...)
24.
▲
by
aleden
3y ago
The GLIBC_TUNABLES can be used to "choose" between different versions of e.g. memcpy at runtime. This can be really useful for debugging, if you want to allow/disallow AVX extensions, for example (even if your CPU supports th
25.
▲
by
aleden
3y ago
In drawing comparison to the "Angry Young Men" [1] of British playwrights, did this piece of writing establish a new wave of "Angry Young Hackers"? [1] https://en.wikipedia.org/wiki/Angry_young_men
26.
▲
by
aleden
3y ago
Personally I regard llvm-readobj and llvm-objdump as the state of the art. They are very well written.
27.
▲
by
aleden
3y ago
I'm surprised no one has mentioned qpdf. https://qpdf.readthedocs.io/en/stable/overview.html It turns a PDF (typically everything in it is compressed binary blobs) into a mixed binary/ASCII file (which i
28.
▲
by
aleden
3y ago
I have an Intel GPU (HD Graphics 520) and gamescope doesn't work for me under arch Linux :( https://github.com/ValveSoftware/gamescope/issues/356
29.
▲
by
aleden
3y ago
IFunc relocations are how glibc dynamically chooses the best memcpy routine to use at runtime based on the CPU. see https://github.com/bminor/glibc/blob/glibc-2.31/sysdeps/x86_...
30.
▲
by
aleden
4y ago
Why not use the linux kernel's statically-sized hashtable code? https://pastebin.ubuntu.com/p/rvT9yKTqnP/
More ›