HNHacker News
TopNewBestAskShowJobs

boomanaiden154

103 karma · joined November 28, 2022

submissionscomments
boomanaiden154··on Deepmind Alphadev: Faster sorting algorithms discovered using deep RL
There’s already been quite a bit of work done on replacing compiler heuristics with ML models. Google has productionized it with MLGO and there have been quite a few papers/experiments on the topic.
boomanaiden154··on PyPI new user and new project registrations temporarily suspended
It doesn't seem like the linked Github issue really backs up the claim that malware was getting shipped in the official image? The OP kept claiming that (even titling it `[Confirmed]`), but only one other person was able to corroborate the claim and their image hashes didn't match any of the hosted ones.
boomanaiden154··on Basic SAT model of x86 instructions using Z3, autogenerated from Intel docs
You can use it to (mostly) validate small snippets are the same. See Alive2 for the application of Z3/formalization of programs as SMT for that [1]. As far as I'm aware there are some problems scaling up to arbitrarily sized programs due to a lack of formalization in higher level languages in addition to computational constraints. With a lot of time and effort it can be done though [2].

1. https://github.com/AliveToolkit/alive2

2. https://sel4.systems/

boomanaiden154··on How to make smaller C and C++ binaries
If you're using Clang/LLVM you can also enable ML inlining[1] (assuming you build from source) which can save up to around 7% if all goes well.

There are also talks of work on just brute forcing the inlining for size problem for embedded releases for smallish applications. It's definitely feasible if the problem is important enough to you to throw some compute at it [2].

1. https://github.com/google/ml-compiler-opt

2. https://doi.org/10.1145/3503222.3507744

boomanaiden154··on Google Summer of Code 2023
I participated in Google Summer of Code last year and had an amazing experience. I was able to work on an awesome project (ML for replacing heuristics in LLVM), met a ton of amazing people that I otherwise wouldn't have come across, and gained a ton of SE experience, all while getting paid for it (something that might not have been an option outside of GSoC for someone fresh out of high school).

I now have an internship lined up for the summer due to the connections that I made and am working in a pretty exciting area of research. GSoC might have completely changed what I'll be doing in the future and definitely was an amazing opportunity. I'm signed up as a mentor this year, so hopefully I can help provide some of that experience to someone else.

boomanaiden154··on Spelunking Apple’s Open Source
These can definitely be fun to go through. Recently there was a code dump to `ld64` that contained references to Apple's upcoming RealityOS. [1]

Kind of surprising that they haven't taken it down. It is pretty cool to see these easter eggs in addition to the massively improved ability to debug things by having an open source toolchain, especially in regards to bringing other toolchains to MacOS (eg mold/LLVM (especially LLD)).

1. https://github.com/apple-oss-distributions/ld64/commit/59a99...

boomanaiden154··on Loongson’s LSX and LASX Vector Extensions
Toolchain wise, at least some of their stuff has been upstreamed into LLVM. I'm not sure if the vector extensions mentioned here have been upstreamed however.

[0] https://discourse.llvm.org/t/rfc-add-a-new-backend-called-lo... [1] https://discourse.llvm.org/t/rfc-promoting-the-loongarch-bac...

boomanaiden154··on Show HN: Beesy – Record Google Meets for free, download locally
Google Meets has some other bells and whistles that I don't think Zoom has comparable features for though, particularly companion mode. Being able to join a Google Meet on one device (like a phone) and join on another device for screen sharing was something I found myself doing quite often when attending online meetings and having a "Tfirst class citizen" method for that was awesome.
boomanaiden154··on Python 2 removed from Debian
There were some breaking changes within Python 3.10, mostly esoteric features that didn't seem to be used that much. Lots of deprecation warnings though and some C API changes that did break at least one package I used.

When I worked on patching/rebuilding all the Python packages for Alpine's upgrade to Python 3.10 I remember quite a few things being broken and needing patches (maybe about 5% of the overall packages), but a lot of those were also test failures due to the new deprecations, so while some stuff did truly break, it was pretty rare.

[1] https://docs.python.org/3/whatsnew/3.10.html (see the removed section especially)

boomanaiden154··on Ask HN: Who wants to be hired? (January 2023)

  Location: California (about 1.5-2 hours from most of the Bay Area)
  Remote: Yes
  Willing to relocate: Yes
  Technologies: LLVM, C, C++, Python, Tensorflow, Compilers
  Résumé/CV: https://drive.google.com/file/d/1Zgybe-e-Heuqo1CPnZ3FeQ9lwcxkK4Bt/view?usp=sharing
  Email: aidengrossmanpso at gmail.com
  Github: https://github.com/boomanaiden154
I'm currently an undergraduate student with several years of experience in personal programming projects (mostly full stack) and some other misc projects. Over the summer I worked on machine learning guided optimizations in the LLVM register allocator, and I have some fairly extensive contributions to Alpine Linux over the past two years.

I'm looking for an internship position ideally in the compilers space, but I'd be interested in anything that comes my way.

boomanaiden154··on Things Silicon Valley gets wrong about agriculture
> To feed a growing population, we need to double global food production by 2050, but we can't double agricultural acres. We need more food (or more high-quality calories and nutrients) per acre. That's where technology comes in.

While it's true that increasing global food production is one way to enable food security for a growing population, I think it's also pertinent to analyze the inefficiencies within our current supply chains. Food waste is a big issue[1] and efficiencies gained in this area could also have a big impact.

[1] https://doi.org/10.1016/j.jclepro.2020.123952

boomanaiden154··on Things Silicon Valley gets wrong about agriculture
It depends upon what you're defining efficiency as. In terms of yield per acre, there are estimates that yield per acre can increase by a lot more [1]. I haven't seen anything more efficient energy or cost wise (outside of a couple types of plants, really just microgreens).

[1] https://doi.org/10.1073/pnas.2002655117

boomanaiden154··on Codon: A high-performance Python-like compiler using LLVM
It can be, but if you're using PGO, the performance gains from JIT are a lot less significant and you lose the compilation overhead at runtime that you have with JIT.
boomanaiden154··on Lightweight Alpine VMs on macOS
Also available, at least if your hardware is aarch64. We've had some issues getting Chromium working on some of the other arm versions Alpine supports.

https://pkgs.alpinelinux.org/package/edge/testing/aarch64/co...

boomanaiden154··on Lightweight Alpine VMs on macOS
VSCode (and Electron) has been working for a while on Alpine Linux.

https://pkgs.alpinelinux.org/package/edge/testing/x86_64/cod...

← PreviousPage 2 of 2