News for hackers. Stuff that matters.

Allyedge

Show HN: Compi – A Make-like build system written in Rust

https://github.com/Allyedge/compi

Hello everyone!I've recently been using Make a lot, and the way it works and some certain things (such as the Makefile structure) that annoyed me made me wonder how one could build such a system, and therefore I built Compi.I am still working on it, and it could definitely be much better, so any suggestions or PRs are very welcome.It has a lot of cool features such as dependency management and...

( Read More... | no comments | 2 points | on HN )
I see your points. I will try doing this, thanks!

Ask HN: Feeling uninspired as a programmer, could I get some advice?

Hello!I am a programmer at the age of 18, and I've been coding since a few years. I initially started with Android apps, and then translated into the Web and now I work mostly with fullstack Web and backend using TypeScript, Rust, Go and Elixir. Even some embedded with STM32s and C.For the last few months to a year, I've been noticing that I feel empty. I don't have any project ideas, I don't...

( Read More... | 3 comments | 3 points | on HN )
I am a bit confused by the issues and the solution.

Is there any plan? Is there any genuine problems? Like, you can simply change the setting to stop the auto changing of the brightness?

Also a lot of typos.

Ask HN: Where to find problems, users or ideas for a SaaS?

Hello!I claim myself to be a relatively good and fast developer, with the ability and experience in many various technologies from full stack web to mobile to embedded.Yet I always have the issue of not knowing what to build, especially when it comes to a SaaS. I can never come up with a proper idea that could actually gain any users, let alone generate any money, and when I do, I never know...

( Read More... | no comments | on HN )
Re:Show HN: Fead – A RSS feed reader written in Rust on Monday February 24, 2025 @09:01AM (#43159647)
This is a simple RSS feed reader I have written in Rust to get better at the language and practice building actually useful things with it.

I hope it is useful for anyone who actually tries to use it, but more importantly, I would like to get feedback on the code and the implementation, possible improvement suggestions and more things I can add.

Thanks ahead for anyone checking it.

Not yet, but I plan to add that ability once the database is a bit more complete, which shouldn't take too long.
It is true that it is similar, but I like including my username "prefix" in my project names so unless I get a great idea for a name, I plan to keep it the same way.
Thanks!

Your project looks very interesting as well.

The project is not finished yet so I didn't do many benchmarks, but if someone cares enough to write some, I would gladly include them in the project.

My testing gave me really fast writes and deletes (since those are asynchronous), and reads were around 60 nanoseconds per read.

But it depends on the data type and I am planning to add more optimizations, especially with Rust NIFs anyways, so I will wait a bit before actually talking about the pure performance of the DB.

The name is like AlloyDB, yeah, but I use that "prefix" in most my projects so, not much I can do there, haha. :)

- I was just looking to build a database similar to Redis for practice, and thought Elixir's ETS and OTP would be useful.

- Just learning more about databases while building a Redis alternative.

- It appends operations, the same ones you write to the TCP client and when loading them, just runs those one by one. I will still add some optimizations for e.g. repetitive commands.

- I haven't thought much about it yet, feel free to start a discussion in the GitHub repository to further talk about that.

- Probably not crash the server but return more useful errors and use Elixir's OTP features.

Glad to hear that you liked the project!

The project uses no dependencies and uses ETS anyways.

I am just handling the harder parts such as persistence by myself, to let the user only worry about writing features instead of reinventing the wheel.

Show HN: AllyDB – An in-memory database similar to Redis, built using Elixir

https://github.com/Allyedge/allydb

Hey, everyone.I am currently working on AllyDB, which is basically my own Redis, which I am writing in Elixir.Currently, the database is nowhere close to being ready, as you can see in the roadmap, but I am doing my best to add stuff as fast as possible.Currently the implementation is very simple, with an in memory table, an append log persistence system, as well as an interval persistence...

( Read More... | 12 comments | 2 points | on HN )
I see, will try to do that.

Thanks!

Re:Ask HN: WSL2 users how you are handling the RAM usage? on Wednesday February 08, 2023 @06:00PM (#34716849)
I believe there was a configuration file for that.

I just set it to 12 GB max, since I have 32 GBs of RAM, and it works just great.

Ask HN: Why can I never get any project ideas or get started with projects?

I mean, I kind of know why, but have no idea how to fix it.Usually, I do not know what to code at all. People always come up with crazy projects that amaze me, yet I never get any sort of ideas to build, no matter how much I think or explore.But for example, last week I wanted to make a project where I could combine GitHub with Discord, where you could find collaborators.Now, although it sounds...

( Read More... | 3 comments | on HN )
Re:Ask HN: Using Java for a web application in 2023 on Wednesday February 08, 2023 @05:52PM (#34716749)
I wouldn't recommend JVM for web in 2023, but if you really want to use it, I would at least recommend Kotlin.

It has a better syntax, more up to date tools and is officially supported by JetBrains too. It also has the Ktor framework which is really fun to work with.