HNHacker News
TopNewBestAskShowJobs

Allyedge

5 karma · joined May 30, 2022

submissionscomments
Allyedge··on Ask HN: Feeling uninspired as a programmer, could I get some advice?
I see your points. I will try doing this, thanks!
Allyedge··on Ask HN: Requesting Feedback and Ideas on something I wrote
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.

Allyedge··on Fead – A RSS feed reader written in Rust
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.

Allyedge··on Show HN: AllyDB – An in-memory database similar to Redis, built using Elixir
Not yet, but I plan to add that ability once the database is a bit more complete, which shouldn't take too long.
Allyedge··on Show HN: AllyDB – An in-memory database similar to Redis, built using Elixir
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.
Allyedge··on Show HN: AllyDB – An in-memory database similar to Redis, built using Elixir
Thanks!

Your project looks very interesting as well.

Allyedge··on Show HN: AllyDB – An in-memory database similar to Redis, built using Elixir
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. :)

Allyedge··on Show HN: AllyDB – An in-memory database similar to Redis, built using Elixir
- 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!

Allyedge··on Show HN: AllyDB – An in-memory database similar to Redis, built using Elixir
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.

Allyedge··on Ask HN: Why can I never get any project ideas or get started with projects?
I see, will try to do that.

Thanks!

Allyedge··on Ask HN: WSL2 users how you are handling the RAM usage?
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.

Allyedge··on Ask HN: Using Java for a web application in 2023
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.