name-needed
Our great sponsors
AdventOfCode2019 | name-needed | |
---|---|---|
1 | 7 | |
0 | 96 | |
- | - | |
1.8 | 7.6 | |
about 3 years ago | 26 days ago | |
Rust | Rust | |
- | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
AdventOfCode2019
-
Ask HN: What is your current side-project?
I've been (slowly) doing Advent of Code 2019 on an STM32F303 microcontroller. I want all of the problem data to be stored in the binary, with the answers being output on a display. Most of my time so far has been spent on getting the clock working, and compression/decompression. I only have limited space (256KB), and the 20 of last year's problems I solved take up 221KB, so I decided the best course of action would be to store them compressed when possible.
I did consider just using compression library, but decided against it partly because it would be more interesting to write it myself, but also having a quick look I couldn't find one that could do decompression without needing additional temporary storage. It's not that fancy, just LZW with a multi-stage compression to optimize the dictionary.
Because of how many of the inputs work, you can often handle it in smaller chunks (e.g. one line at a time, I called them records), so the inputs have a small amount of pre-processing on my PC to split them up into smaller chunks so the entire input doesn't need to be held in RAM at once.
Of course, not all input data will compress well, some will even "compress" to a larger size, so I've also abstracted over the data storage so that it can handle reading records from compressed or uncompressed inputs.
I've done 4 days so far, and none of the inputs have compressed. Total runtime is 3.24 seconds (that day 4...).
Current state can be found here for the morbidly curious: https://github.com/Measter/AdventOfCode2019 Spoilers are in the mcu/src/challenges folder.
name-needed
- Ask HN: Could you show your personal blog here?
-
Ask HN: How do you keep track of your to-dos? longer-term projects?
For my long term side project I just dump ideas into a barely organised backlog.md [^1]. After finishing a feature or taking a few months away, I normally dive back in by browsing this and choosing the next milestone.
It's worked well for a couple of years, and helps me keep the long term goals in mind.
[^1] https://github.com/DomWilliams0/name-needed/blob/develop/.pl...
-
Ask HN: Share Your Personal Site
https://domwillia.ms
It uses a custom static site generator because I needed to procrastinate somehow before starting the first post... Now it's nicely stable and punishing new posts is quick and easy
-
Ask HN: Who wants to be hired? (March 2022)
Location: Tallinn, Estonia (UK citizen intending to move there)
Remote: Willing to work partly remote but I require a sponsored visa to work in Estonia
Willing to relocate: Yes, to Tallinn :^)
Technologies: Rust, C, Python preferably, but C++ too. I enjoy low-level work focused on performance; see my toy OS, JVM implementation and game engine on my github profile.
Résumé/CV: https://domwillia.ms | https://github.com/DomWilliams0 | please reach out via email for my résumé
Email: [email protected]
-
Ask HN: What are some tools / libraries you built yourself?
I've written some pretty low-level OpenGL bindings in Rust, because the existing solutions are either too high level or over the top complexity wise.
At the time I only had experience with the OpenGL C api and didn't want to learn a totally different Rust abstraction or mix C/C++ libraries into a pure Rust project.
https://github.com/DomWilliams0/name-needed/tree/develop/ren...
-
Ask HN: What (side-)project are you working on?
I've been alternating between two long term Rust projects, which seems to work in keeping the motivation up for both!
A Dwarf Fortress-like game (and engine): https://github.com/DomWilliams0/name-needed
A x64 operating system: https://github.com/DomWilliams0/DomeOS
-
Ask HN: What is your current side-project?
A Dwarf Fortress-like game (and engine) in Rust: https://github.com/DomWilliams0/name-needed
Ambitious to be sure, but after a year and a half I'm still consistently working on it, and still enjoying it!
What are some alternatives?
openmiko - Open source firmware for Ingenic T20 based devices such as WyzeCam V2, Xiaomi Xiaofang 1S, iSmartAlarm's Spot+ and others.
esper
coprocessor.js - serial-based, nodejs-backed, remote code execution system
notebook
SearchStory - Lucene based search application to search your own history (notes, papers, browser history)
okta-aws-cli-assume-role - Okta AWS CLI Assume Role Tool
ExtPay - The JavaScript library for ExtensionPay.com — payments for your browser extensions, no server needed.
GoJS, a JavaScript Library for HTML Diagrams - JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
saasform - Add signup & payments to your SaaS in minutes.
rk-minimal - Personal site and experiment playground