HNHacker News
TopNewBestAskShowJobs

aportnoy

1,277 karma · joined August 14, 2017

email: aportnoy@pm.me
submissionscomments
aportnoy··on femtolisp: A lightweight, robust, scheme-like Lisp implementation
Is Bel a smaller LISP than what's described in The Roots of Lisp? [1]

[1] https://paulgraham.com/rootsoflisp.html

aportnoy··on Ask HN: Share your personal website
aportnoy.com
aportnoy··on Ask HN: Resources for GPU Compilers?
For NVIDIA,

1. play around with the NVPTX LLVM backend and/or try compiling CUDA with Clang,

2. get familiar with the PTX ISA,

3. play around with ptxas + nvdisasm.

aportnoy··on ECC RAM on AMD Ryzen 7000 Desktop CPUs
Well then… test your memory :)
aportnoy··on ECC RAM on AMD Ryzen 7000 Desktop CPUs
Don't overclock your memory.
aportnoy··on ECC RAM on AMD Ryzen 7000 Desktop CPUs
Wow I came back to post this exact reply. I set my system to a slightly high frequency, ran memtest overnight with errors.

Set it back down to a supported frequency, ran a full memtest suite again with no errors.

Never had any issues since.

aportnoy··on ECC RAM on AMD Ryzen 7000 Desktop CPUs
> But the lack of ECC was a huge bummer at the time of purchasing my system.

Why?..

aportnoy··on My personal C coding style as of late 2023
> extremely opinionated

I have not seen a single codebase that widely uses uint8_t and does not typedef it to u8. It is the exact opposite of "extremely opinionated".

aportnoy··on OpenAI is exploring making its own AI chips
Note Sam Altman is a Cerebras investor.
aportnoy··on JAX – NumPy on the CPU, GPU, and TPU
Asking because I am on that team :)

I went through the same hiring process and had a positive experience at every stage. I had a strong competing offer but went with the JAX team at NVIDIA.

I'll pass it along as feedback.

aportnoy··on JAX – NumPy on the CPU, GPU, and TPU
What happened?
aportnoy··on Why does all() return True if the iterable is empty?
1 is the multiplicative identity

0 is the additive identity

all([]) is True

any([]) is False

aportnoy··on SeamlessM4T, a Multimodal AI Model for Speech and Text Translation
Go to the blog and skip to results: https://ai.meta.com/blog/seamless-m4t/
aportnoy··on Show HN: Visualize core-to-core latency in ~200 lines of C and Python
The project is a port of https://github.com/nviennot/core-to-core-latency from Rust to C.
aportnoy··on Scripps Institution of Oceanography’s FLIP vessel decommissioned after 60 years
I used to surf near Scripps Pier while in college and I remember there were always a couple people sitting outside in beach chairs working on their laptops.

Salk Institute is an even more surreal place.

aportnoy··on Perl first commit: a “replacement” for Awk and sed
The funny thing is Perl is now arguably more obsolete than sed and awk.
aportnoy··on Why are there no startups in the real estate construction sector?
I recently interviewed with a fantastic startup in that space called TestFit (testfit.io).
aportnoy··on Csexp: S-Expressions over the Network
This definitely isn't "printing" in the original sense, just a serialization algorithm.
aportnoy··on Csexp: S-Expressions over the Network
In the original LISP with dynamic scoping I think it would be fair to serialize that expression as is: "just use whatever value is bound to 'y' at the time of evaluation, if any".
aportnoy··on Csexp: S-Expressions over the Network
Everything is an object that is either a cons cell or an atom. Associate the address of each object with a unique index.

Serialize each object as a pair (index, obj), where 'index' maps back to the original address where the object was stored, and 'obj' is a pair of indices if the object is a cons cell, or the appropriate representation (string literal, integer, etc.) if the object is an atom.

Then to deserialize allocate a memory location for every index and load the objects as is. Then replace the indices with the corresponding (new) addresses.

aportnoy··on Csexp: S-Expressions over the Network
Yeah, something like "a" in the below code wouldn't have a "natural" serialization I don't think:

  (define a (list "a"))
  (set-cdr! a a)
aportnoy··on Csexp: S-Expressions over the Network
> In general lisps _can't_ print arbitrary objects in a form that can be read back in.

Hmm, why not?

aportnoy··on Show HN: RISC-V core written in 600 lines of C89
I mean, his simulator already has a disassembler contained within it, would just need to replace comments with print statements.
aportnoy··on Show HN: RISC-V core written in 600 lines of C89
How about a RISC-V disassembler in 200 lines of C99?

https://github.com/andportnoy/riscv-disassembler/blob/master...

aportnoy··on Light Pollution Map
APG flaring of the Vankor field? https://en.wikipedia.org/wiki/Vankor_Field
aportnoy··on Telegram publishes users' locations online
You might want to change the title to something not as clickbaity and misleading.
aportnoy··on New slats make the Golden Gate Bridge sound like a David Lynch movie
In Python, you can use sounddevice + scipy.fft + matplotlib to implement this functionality yourself.
aportnoy··on Rust Survey 2019 Results
What a weird article… The instruction count being about the same doesn’t make it the same program… Why isn’t he using -O3?
aportnoy··on Ask HN: How to rediscover the joy of programming?
That’s because you are running it on hardware implementing IEEE 754 floating point.
aportnoy··on Ask HN: What Technologies to Learn in 2020?
Calculus, linear algebra, and C will be hot as fuck this year.
Page 1 of 6Next →