Lurker News
Hi HN, I'm curious to see what cool things everyone's building. What side projects are you developing? What are you applying to HN with?

Comments (1,232) 661 threads

Earlier comments
pbrw#
I'm working on an online tool for preparing algorithmic problems.

In my country there is quite large community of so-called "sport programmers" who master solving math/algorithmic puzzles to win competitions or gain rating on platforms like Codeforces. It's a fun way of learning coding, especially if you are into rivalry.
There is also a growing need of creating new tasks. Actual approach is using a command line tools to work with solutions, generating tests and checking correctness. It works but I feel like every time I need to reinvent those methods and repeat same mistakes. It's a tedious process.
I aim to create an SPA with elegant interface which will simplify this process as much as possible. Templates of LaTex statements, input generators, verification pipeline, user accounts, everything in one place! Additionally, I want to put there many guidelines for educational purposes.
I'm really excited about this project, working on it with my younger brother and we already learned a lot. My dream is to finally share this tool with a community ;)

dmpayton#
I run a community hackerspace in Fresno, CA called Root Access.

https://rootaccess.org/
My main focus this year has been – and continues to be – working ways to ensure the space survives the pandemic.
We started making PPE earlier in the pandemic, which resulted in a lot of donations from the community. This came in clutch, and helped us build awareness of the space locally.
https://rootaccess.org/covid-19/
We also have another grant-funded project, in collaboration with several other non-profits, to build a network of low-cost air quality monitors in disadvantaged communities across the San Joaquin Valley.
https://www.sjvair.com/
We were hoping to use the funds from SJVAir to build up the space, get some new equipment, and run some cool events, but so far it's all gone to paying rent on a building we haven't been able to use since March.

jacques_chester1 reply#
Current main side project is a website, "Theory of Predictable Software". I want to try and pull together a lot of threads of thought I've had piling up over the past few years: engineering psychology, microeconomics with specific focus on public goods, collective action problems and institutional economics generally, statistical process and quality control, systems dynamics and bunch of other buzzwords worthy of tweet-bragging.

So expect that to land any century now.

dualthro1 reply#
Got a landing page that I could put my email into to hear more about this down the line?
jacques_chester#
No, I hadn't thought of that.
glangdale1 reply#
A superoptimizer that allows you to just put in the inputs and outputs of a function that want and that finds the shortest sequence of instructions that works the same way as the function.

Currently works only on branch-free AVX2 sequences where each SIMD lane is doing the same thing, and can calculate arbitrary graphs of 4 instructions for 8/16/32/64-bit SIMD.
I plan to add both more aggressive models of what can be represented (e.g. normal x86 or ARM programming as well as general SIMD), as well as working on synthesizing iterative and recursive sequences. It's already semi-useful in a niche.

zackmorris1 reply#
In case anyone is curious, this is literally the future of programming (I realized it 20 years ago after reading Genetic Programming III by John Koza). The fact that we don't already do this just blows my mind.

For small-scale examples of this, I highly recommend reading up on basic stuff like Karnaugh map simplification and compiler optimization. Once you realize that all computation is just mapping inputs to outputs, and that the main task is actually pruning the search space (not working the problem), everything changes.
Of course, knowing all that, setting up the initial conditions, figuring out the types/ranges/valid values of input, and what the output should be, is half the battle. And it turns out that these are just exactly the tasks you have to do for stuff like training neural nets. It's all going to be machine learning in 10 years is what I'm saying.
Oh and also for anyone interested, today's processors are almost perfectly wrong for this sort of work. Since we're just piping data around (like video games), the cache is borderline useless. Data locality is important though, so just about every core needs its own memory.
My feeling is that AI hasn't improved appreciably in our lifetimes because we're so focused on serial computation that we completely missed the fact that parallel is the way to go. Our brains are 100 billion neurons running at 1 kHz. Kinda hilarious/sad to think about IMHO, but I digress.

glangdale#
You may in fact be right, but I'm keeping away from neural network and AI/ML approaches for now. Part of my motivation here is as a crutch to human understanding - I want the system to be able to fail conclusively (i.e. "no such program at this size and with these assumptions exists" as opposed to "I couldn't find anything"). It's a lot easier to search for a 5-instruction sequence mentally if a computer has told you there _really_ is no 4-instruction sequence.

This is a lot of compiler-type stuff, some bespoke optimizations and - like you say - tons of effort in pruning the search space. The backend to this is a SMT solver, but I have done a great deal of stuff to not get taken hostage by the mysteries of SMT solving (lots of tiny solves rather than handing huge parts of the problem to the solver). SMT solvers are great, and I encourage people to learn to use them, but they often need lots of domain-specific help.
I do think that once I start bootstrapping our way up from short sequences to putting together bigger programs, there will be some AI-ish stuff happening. There are common patterns to how we put together programs that feel like they could be "learned" (after a fashion).
The other big white whale here is to generate a program from a specification rather than from a black box. At the moment the superoptimizer can only make a better version of something that already exists. I do have a few ideas here, too, but there's a stretch goal.

Load more comments