<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: daniele_dll</title><link>https://news.ycombinator.com/user?id=daniele_dll</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sun, 29 Nov 2026 12:15:32 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=daniele_dll" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by daniele_dll in "The Internals of PostgreSQL"]]></title><description><![CDATA[
<p>GET and SET (and similar) are easy, let me know if you keep the same performances once you start to need RMW operations or even transactions to deal with multi keys commands or add clustering support :)<p>Also going faster than Redis doing only GET and SET is fairly easy, the very very very early versions of cachegrand (pre 0.1) were doing well over 100M/s of GET and SET on a 32 core / 64 threads machine with pipelining.<p>Once you start to chuck the rest to make it actually "usable" it's where you start to massively lose performances.</p>
]]></description><pubDate>Thu, 05 Nov 2026 12:34:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=50378345</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=50378345</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50378345</guid></item><item><title><![CDATA[New comment by daniele_dll in "Show HN: MCP app for Android, drive apps via AI (no root, PII redacted locally)"]]></title><description><![CDATA[
<p>Thank you! I worked super hard to keep the token usage as low as possible.
It's also possible to drive mobile browsers via the MCP, although I really tested only chrome, I have done a bunch of optimization for token usage also on that front but never pushed the testing too much further, if you want to experiment and provide feedback I will be more than happy to check things out!</p>
]]></description><pubDate>Fri, 28 Aug 2026 11:30:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=49477085</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=49477085</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49477085</guid></item><item><title><![CDATA[Show HN: MCP app for Android, drive apps via AI (no root, PII redacted locally)]]></title><description><![CDATA[
<p>Hi HN, author here.<p>Android Remote Control MCP is an MCP server that runs directly on your Android phone (no root, no ADB, no computer in the middle) and lets an AI agent drive real apps the way a human would: it reads the screen through the accessibility tree, taps, types, scrolls, optionally also screenshots.<p>I spent a lot of time optimizing tool usage and token consumption, and making it work not only via local harnesses but also via Claude.ai / Claude Desktop and chatgpt.com (if you have the proper account, the app acts as its own OAuth server, you approve connections with a code on the phone).<p>The newest part is Privacy Mode, and it exists because after an earlier release someone told me in plain terms they'd never use it because, rightfully, they didn't want the LLM provider to see everything on their screen!
So now a combination of a small local model plus deterministic detectors identify personal information (emails, phone numbers, credit cards, IBANs, national IDs, English names, etc.) and redact it on-device before anything leaves the phone, with a benchmarked detection rate of about 87% (the benchmark is in the repo; non-English names, are the current weak spot but I am working on it).<p>Why did I build it? I want my agents to be able to use my phone to do searches, book things for me and do sometimes boring stuff ... without sharing all my data with service providers and without having to run a local LLM!<p>Tradeoffs: the service declares itself as an accessibility app so it can read apps which also makes it impossible to distribute this app on the Google Play store, hence it's distributed via GitHub at the moment (there's a standard build and a FOSS build without Google Play Services which soon will be published on F-Droid).<p>Also, because I care about prompt injection as much as privacy, the data returned to the agent is prefixed with a message, which uses quite some strong wording, to make it clear that the content is supplied by third party sources and is an untrusted input! Mitigates the potential attacks a lot.<p>Is it perfect? Nope, there's plenty to improve, especially around apps coverage but even small models (like Haiku) can drive the phone and handle unseen situations if you give them enough detail!<p>What I am working on next? Three major things:
- a free reverse tunnel, encrypted end to end, with Let's Encrypt certificates to be able to use the app with Claude.ai / Claude Desktop / Chatgpt.com and such for free and with much more privacy than using ngrok or cloudflare (which don't provide e2e encryption but only encryption to the edge, so they see everything)
- a skills database for the apps, so your agent can work out what to do much faster
- a custom model to improve the privacy standing, especially for non-English names<p>And, additionally, a new guided setup and a revised UI to make it easier to start to use the app!</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49362047">https://news.ycombinator.com/item?id=49362047</a></p>
<p>Points: 6</p>
<p># Comments: 2</p>
]]></description><pubDate>Wed, 19 Aug 2026 14:23:13 +0000</pubDate><link>https://github.com/danielealbano/android-remote-control-mcp/</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=49362047</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49362047</guid></item><item><title><![CDATA[New comment by daniele_dll in "LinkedIn uses 65GB of RAM with 7 tabs opened"]]></title><description><![CDATA[
<p>Well if you check the screenshot you will notice that LinkedIn was using about 10x more memory for a few tabs ;)
The most insane one is at +15GB lol<p>I felt "reductive" reading that LinkedIn was using <3GB for 2 tabs given my experience.</p>
]]></description><pubDate>Wed, 01 Apr 2026 11:12:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=47599324</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=47599324</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47599324</guid></item><item><title><![CDATA[New comment by daniele_dll in "LinkedIn uses 65GB of RAM with 7 tabs opened"]]></title><description><![CDATA[
<p>I posted because I saw that a few days ago but 2.4GB felt "reductive" considering what I experienced on my machine ;)</p>
]]></description><pubDate>Tue, 31 Mar 2026 21:48:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=47593937</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=47593937</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47593937</guid></item><item><title><![CDATA[LinkedIn uses 65GB of RAM with 7 tabs opened]]></title><description><![CDATA[
<p>https://ibb.co/605p8bP3<p>A couple of months ago my machine became totally unusable and wasn't understanding why, however after a quick check I discovered the ram was full and the swap as well.<p>After discovering that chrome ate more than half of my ram I checked out the ram consumption on chrome and I was shocked 65GB it's just insane.<p>(ram bought a couple of years ago)</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47593776">https://news.ycombinator.com/item?id=47593776</a></p>
<p>Points: 15</p>
<p># Comments: 9</p>
]]></description><pubDate>Tue, 31 Mar 2026 21:35:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=47593776</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=47593776</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47593776</guid></item><item><title><![CDATA[New comment by daniele_dll in "io_uring is faster than mmap"]]></title><description><![CDATA[
<p>It's always nice to see someone discovering that mmap is not built for performance but for easyness of data-on-disk management with reasonable speed.</p>
]]></description><pubDate>Fri, 05 Sep 2025 13:54:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=45138624</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=45138624</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45138624</guid></item><item><title><![CDATA[New comment by daniele_dll in "Show HN: Cachegrand, a fast Redis-compatible KV-store, v0.2.1 released"]]></title><description><![CDATA[
<p>Meet Cachegrand, an open-source (BSD licensed) Redis-compatible key-value store designed for speed. Our latest release offers significant improvements, allowing you to use Cachegrand in environments without clustering, while still maximizing performance.<p>Get started quickly using our Docker image and enjoy the benefits of one of the fastest Redis-compatible caching platforms out there. Cachegrand optimizes performance for both physical and virtual hardware.<p>Here our github repository
<a href="https://github.com/danielealbano/cachegrand">https://github.com/danielealbano/cachegrand</a><p>We're committed to transparency, so we've made all the raw benchmark data available at <a href="https://github.com/cachegrand/cachegrand-benchmarks">https://github.com/cachegrand/cachegrand-benchmarks</a>. We'd appreciate your feedback! Give Cachegrand a try and experience the difference today.</p>
]]></description><pubDate>Mon, 24 Apr 2023 18:10:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=35691083</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=35691083</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35691083</guid></item><item><title><![CDATA[Show HN: Cachegrand, a fast Redis-compatible KV-store, v0.2.1 released]]></title><description><![CDATA[
<p>Article URL: <a href="https://cachegrand.io/blog/version-021-released">https://cachegrand.io/blog/version-021-released</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=35689808">https://news.ycombinator.com/item?id=35689808</a></p>
<p>Points: 12</p>
<p># Comments: 1</p>
]]></description><pubDate>Mon, 24 Apr 2023 16:32:39 +0000</pubDate><link>https://cachegrand.io/blog/version-021-released</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=35689808</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35689808</guid></item><item><title><![CDATA[New comment by daniele_dll in "Ask HN: Learn C in 2023?"]]></title><description><![CDATA[
<p>This is a valid reason, but makes sense for code bases where the generation takes tens of minutes or more not seconds.</p>
]]></description><pubDate>Fri, 23 Dec 2022 19:50:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=34109889</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=34109889</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34109889</guid></item><item><title><![CDATA[New comment by daniele_dll in "Ask HN: Learn C in 2023?"]]></title><description><![CDATA[
<p>Importing a C file into a Python session is a practice that can ---easily--- cause ---a lot--- of headaches, the packages required to build the code as python library and make it importable will vary between systems and make it hard to debug in case of crashes.
I personally would distribuite the pre-compiled binaries, CI + docker makes that much easier.<p>The fact that "can be done" doesn't necessarely mean that "it's the right way" to do it.<p>Going back to embedding auto-generated code, focusing on this specific case, are you telling me that a line in the requirements.txt, on a machine where the user is expected to have access to a compiler, is the reason to keep auto generated code in the repository? Sorry, personally it seems a flaky reason.<p>Also, the very fact that you mention that users don't have superuser privileges should be even more of a reason to use virtual environments, where you don't need super privileges, or if you can't or want to use virtual environments you can still have multiple paths in the PYTHONPATH env variable and you can install packages in a specific paths leveraging the --target of pip or the PYTHONUSERBASE env variable, solving the issue as well.<p>I would prefer to suggest my users to improve their runtime environment than enable them to improve the chaos.</p>
]]></description><pubDate>Fri, 23 Dec 2022 19:48:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=34109870</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=34109870</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34109870</guid></item><item><title><![CDATA[New comment by daniele_dll in "Ask HN: Learn C in 2023?"]]></title><description><![CDATA[
<p>Fully agree with the principle but maybe let's not call Redis "well-written" :)<p>Redis is a great piece of software because of how much it impacted the "evolution" of Internet not because of the code quality, Redis's code resemble spaghetti code, a lot.<p>I will push myself and say that nowadays people would get fired for writing code like that!<p>And before someone start to throw stones (just for the sake of it), here a few examples:
- Redis source code is FULL of GIANT files with thousands and thousands of lines of code, decoupling and separation of concerns are basic things! A few examples
-- <a href="https://github.com/redis/redis/blob/unstable/src/module.c">https://github.com/redis/redis/blob/unstable/src/module.c</a>
-- <a href="https://github.com/redis/redis/blob/unstable/src/cluster.c">https://github.com/redis/redis/blob/unstable/src/cluster.c</a>
-- <a href="https://github.com/redis/redis/blob/unstable/src/redis-cli.c">https://github.com/redis/redis/blob/unstable/src/redis-cli.c</a>
-- <a href="https://github.com/redis/redis/blob/unstable/src/networking.c">https://github.com/redis/redis/blob/unstable/src/networking....</a><p>- talking about auto generated, the repo contains commited auto generated code, a valid reason though really slips my mind (yes, of course I can think of a few, but ... really? :)))<p>- <a href="https://github.com/redis/redis/blob/9c7c6924a019b902996fc4b608541f475daa649d/src/server.h#L1257">https://github.com/redis/redis/blob/9c7c6924a019b902996fc4b6...</a> ... that struct feels like an "Italian minestrone", basically a kind of soup where you throw in, literally, all the vegetables you have around and it's great for a soup, a bit less for software engineering though :)<p>- the naming structure is a bit random at times, there is a mix of camel case, camel case mixed with underscores from time to time, pascal case<p>This kind of staff might be alright for a 0.3 or 0.4, maybe even for a 1.0, definitely not for a 7.x that has had 15 years to evolve :/
Even in cachegrand, that hasn't got to a v0.2 yet, I tried to avoid these kinda of dramas, in C is quick and easy to get there if you are not careful.<p>There are plenty of other small things but most of the big dramas should be there.</p>
]]></description><pubDate>Fri, 23 Dec 2022 19:12:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=34109537</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=34109537</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34109537</guid></item><item><title><![CDATA[New comment by daniele_dll in "Cachegrand, a fast, Redis compatible, KV store – hashtable documentation"]]></title><description><![CDATA[
<p>Curious to discover how the hastable implemented in cachegrand ( <a href="https://github.com/danielealbano/cachegrand" rel="nofollow">https://github.com/danielealbano/cachegrand</a> ) - my opensource Redis compatible Key-Value store - can deliver up to 112 million GET op/s and up to 85 million UPSERT op/s?<p>I have just pushed the new documentation!
<a href="https://github.com/danielealbano/cachegrand/blob/main/docs/architecture/hashtable.md" rel="nofollow">https://github.com/danielealbano/cachegrand/blob/main/docs/a...</a><p>When tested with memtier_benchmark, using the Redis protocol, cachegrand itself, on the benchmarking hardware, thanks to the implemented hashtable can reach up to 5 million GET op/s and up to 4.5 million UPSERT op/s without batching, with it up to 60 million GET op/s and up to 26 million UPSERT op/s!</p>
]]></description><pubDate>Wed, 21 Sep 2022 18:04:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=32928849</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=32928849</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32928849</guid></item><item><title><![CDATA[Cachegrand, a fast, Redis compatible, KV store – hashtable documentation]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/danielealbano/cachegrand/blob/main/docs/architecture/hashtable.md">https://github.com/danielealbano/cachegrand/blob/main/docs/architecture/hashtable.md</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=32928848">https://news.ycombinator.com/item?id=32928848</a></p>
<p>Points: 3</p>
<p># Comments: 1</p>
]]></description><pubDate>Wed, 21 Sep 2022 18:04:07 +0000</pubDate><link>https://github.com/danielealbano/cachegrand/blob/main/docs/architecture/hashtable.md</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=32928848</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32928848</guid></item><item><title><![CDATA[New comment by daniele_dll in "Show HN: Cachegrand – a fast OSS Key-Value store built for modern hardware"]]></title><description><![CDATA[
<p>I am empathetic as well but...<p>Let me start saying that no one prevents a company from selling the software with licenses allowing to access the source code, companies even provide the code under the GPL because the BSD or the GPL nowhere state that the code has to be provided for free, big companies have provided the code under open source licenses behind fees for quite a while so far (redhat is one of the examples).<p>The BSL certainly allows you to access the code without having a license but I would dare to say that most of the companies out there, especially for critical components like this, prefer managed and supported solutions, for which rights to access the source code can be granted.<p>But in general it's absolutely true that it allows accessing the source code without having to buy the license and this is certainly a plus for the final user.<p>But that's it :)<p>I will not say that I know the legal language but I will say that the legal language really differs form what we perceive and a judge or a court perceive and the interpretation is dictated by the national law.<p>The sentence<p>> Effective on the Change Date, or the fifth anniversary of the first publicly available distribution of a specific version of the Licensed Work under this License, whichever comes first, the Licensor hereby grants you rights under the terms of the Change License, and the rights granted in the paragraph above terminate.<p>Use the word "version" which is broad and generic, can be read as "the commit makes a new version" or "the intent for the developer to release a new version".<p>Do, again, no certainty really ok the long term.<p>Going open source require sacrifices, I have given for free more than 1 year of research and development I did to build the technology behind the hashtable implemented in cachegrand and I did because I believe that true technological advancement should be available to anyone and meanwhile my work is not a game changer it my small bit to try to help.<p>That's why when I see a license like BSL pointed out as open source or "quasi" open source I do feel the need to give some context.<p>Try to imagine if Linus at the time would have decided to give Linux under BSL... Nowadays would be very different!</p>
]]></description><pubDate>Sat, 17 Sep 2022 06:54:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=32875367</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=32875367</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32875367</guid></item><item><title><![CDATA[New comment by daniele_dll in "Show HN: Cachegrand – a fast OSS Key-Value store built for modern hardware"]]></title><description><![CDATA[
<p>It's definitely not entirely true, the license grants that "the current version" under "the current license" will be under the Apache license in 5 years that translates to in 5 years dragonflydb 0.6.0 / 0.7.0 will be under the apache license.
That's the only guarantee.<p>The change date can be changed at any time, the license allows it, almost all the projects I saw using the BSL actually use a sentence like "X years from the release", on top of this it can be even removed and if that would be the case than the paragraph below would apply, which clearly refers to 5 years from the released versions.<p>> Effective on the Change Date, or the fifth anniversary of the first publicly available distribution of a specific version of the Licensed Work under this License, whichever comes first, the Licensor hereby grants you rights under the terms of the Change License, and the rights granted in the paragraph above terminate.<p>5 years old software is a dead software :)<p>The only reason for adopting the BSL is to prevent companies like Amazon to take ownership and don't give back to the project (e.g. elastic), which is totally understandable.<p>Do you think that future releases, much more feature-complete and flexible, will be given under the apache license as they are meanwhile less feature complete versions aren't? Looking at the facts, I would say the answer is very likely no.<p>Would you build something in 5 years based on dragonflydb 0.7.0 when most likely there will be a v2.0 or even a v3.0 out there?<p>When it comes to non open source licenses and companies it should be clear that the companies want (and need) to take care of their own interests: the BSL "change date" is a way to be able to say "yes but it will become OSS" so you can keep using and contributing, like the sop you give to a kid to stop him from crying.</p>
]]></description><pubDate>Fri, 16 Sep 2022 10:27:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=32864332</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=32864332</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32864332</guid></item><item><title><![CDATA[New comment by daniele_dll in "Show HN: Cachegrand – a fast OSS Key-Value store built for modern hardware"]]></title><description><![CDATA[
<p>Thanks!<p>I also promise to document more the actual inner workings of the various components, I have some scattered documentation here and there which will help me in the task!</p>
]]></description><pubDate>Thu, 15 Sep 2022 17:27:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=32855449</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=32855449</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32855449</guid></item><item><title><![CDATA[New comment by daniele_dll in "Show HN: Cachegrand – a fast OSS Key-Value store built for modern hardware"]]></title><description><![CDATA[
<p>I replied in a few posts in the thread with some details, if you want more there is also this presentation I did at the London performance summit
<a href="https://www.youtube.com/watch?v=ZSpxuWQK7sM" rel="nofollow">https://www.youtube.com/watch?v=ZSpxuWQK7sM</a><p>Most of the performance exploits for the hashtable (which is the driving engine here) are explained after minute 8.30 (although I would suggest you to watch the entire presentstion).<p>I will present my work at the p99conf as well.</p>
]]></description><pubDate>Thu, 15 Sep 2022 09:19:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=32849208</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=32849208</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32849208</guid></item><item><title><![CDATA[New comment by daniele_dll in "Show HN: Cachegrand – a fast OSS Key-Value store built for modern hardware"]]></title><description><![CDATA[
<p>Please don't confuse free source with open source, there is quite a massive difference.<p>There is a reason for which the BSL is not a recognized open source license.</p>
]]></description><pubDate>Thu, 15 Sep 2022 09:16:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=32849182</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=32849182</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32849182</guid></item><item><title><![CDATA[New comment by daniele_dll in "Show HN: Cachegrand – a fast OSS Key-Value store built for modern hardware"]]></title><description><![CDATA[
<p>It is early stage in the sense it only support commands that operate on the strings and some on the key space.<p>Other commands are planned to be added soon but the ones already implemented cover already a lot of different use cases.</p>
]]></description><pubDate>Thu, 15 Sep 2022 07:45:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=32848547</link><dc:creator>daniele_dll</dc:creator><comments>https://news.ycombinator.com/item?id=32848547</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32848547</guid></item></channel></rss>