HNHacker News
TopNewBestAskShowJobs

daviducolo

936 karma · joined May 26, 2015

I'm in love with Ruby, Rails, C and everything that revolves around these technologies, especially REST API design and development.

https://davidesantangelo.com https://github.com/davidesantangelo https://x.com/daviducolo

submissionscomments
daviducolo··on Show HN: GitHug – Find your code mate
Find your code mate. Discover new GitHub users you don't follow yet, matched by your stack and interests.
daviducolo··on Show HN: The notepad that thinks in numbers
yes with "prev" keyword
daviducolo··on Show HN: Numla – The notepad that thinks in numbers
Numla – A calculator notepad that understands natural language

A minimal, privacy-focused notepad for quick math, currency conversions, and everyday calculations. Just type naturally and get instant results.

Write “Rent: $1,200 + Utilities: $150” and type “sum” to get the total. Convert currencies with live rates (”$500 in EUR”), handle percentages naturally (“20% off $80”), do date math (“christmas - 30 days”), or convert units (“5 km to miles”).

Features include multi-tab support, spotlight search (⌘K), focus mode, per-note themes, and variables for reusable values. Everything runs locally in your browser—no accounts, no tracking, no server-side processing.

Built with JavaScript, fully responsive for mobile. MIT licensed.

https://numla.app

daviducolo··on Show HN: K(r)ep - A high-performance string search utility
I have applied your suggestions. Thank you again.

https://github.com/davidesantangelo/krep/releases/tag/v1.1.1

daviducolo··on Show HN: K(r)ep - A high-performance string search utility
I have just released version 1.1.0 which should fix the problems reported by users.

https://github.com/davidesantangelo/krep/releases/tag/v1.1.0

daviducolo··on Show HN: K(r)ep - A high-performance string search utility
Thank you for the report! Here’s what I changed:

1. Always use the raw bad_char_table[text[i + pattern_len‑1]] shift—no extra lowercase lookup at runtime. 2. After a full match, advance by that same table shift instead of just doing i++, so you never miss overlapping occurrences. 3. Removed the “if shift==0 then shift=1” guard—since we build the table excluding the last pattern byte, zero shifts can’t occur.

https://github.com/davidesantangelo/krep/releases/tag/v1.0.6

daviducolo··on [dead]
New modular API Highly performant Scroll-linked animations Draggables ↔ Responsive Additive animations WAAPI support

And so much more!

daviducolo··on Show HN: Cocommit – A copilot for git commit
Use this bash script https://gist.github.com/davidesantangelo/ce7424e68b7d1e7903e... and paste the result into your favorite LLM with a simple prompt "write a git commit message markdown from this <result>"
daviducolo··on Show HN: VSort: Advanced Sorting Algorithm Optimized for Apple Silicon
thanks for your feedback, I've just added a FAQ section to README

https://github.com/davidesantangelo/vsort/commit/f77a8ea49e0...

daviducolo··on Show HN: VSort: Advanced Sorting Algorithm Optimized for Apple Silicon
VSort is a high-performance sorting library that leverages the unique architecture of Apple Silicon processors to deliver exceptional performance. By intelligently utilizing ARM NEON vector instructions, Grand Central Dispatch, and the heterogeneous core design of M-series chips, VSort achieves remarkable efficiency particularly for partially sorted data collections.

VSort represents an advanced sorting solution for Apple Silicon, combining ARM NEON, GCD, heterogeneous core management, and adaptive algorithms. Its performance is competitive, with significant improvements for partially sorted or large datasets, making it suitable for high-performance computing tasks on macOS.

daviducolo··on Show HN: Fastrace- a fast, dependency-free traceroute implementation in pure C
yes projects started and never finished, I resumed working on them and finalized them.
daviducolo··on Show HN: Fastrace- a fast, dependency-free traceroute implementation in pure C
blog post: https://dev.to/daviducolo/building-fastrace-a-high-performan...
daviducolo··on Show HN: Fastrace- a fast, dependency-free traceroute implementation in pure C
thank you!
daviducolo··on Show HN: Fastrace- a fast, dependency-free traceroute implementation in pure C
Fastrace is a blazingly fast traceroute utility designed for network diagnostics and performance analysis. It maps the route that packets take across an IP network from source to destination, providing detailed timing information and identifying potential bottlenecks or routing issues.
daviducolo··on Show HN: Fastrace- a fast, dependency-free traceroute implementation in pure C
code here: https://github.com/davidesantangelo/fastrace
daviducolo··on Show HN: Krep a High-Performance String Search Utility Written in C
try the latest version 0.1.5: https://github.com/davidesantangelo/krep/releases/tag/v0.1.5
daviducolo··on Show HN: Krep a High-Performance String Search Utility Written in C
added https://github.com/davidesantangelo/krep/tree/main/test
daviducolo··on Show HN: Krep a High-Performance String Search Utility Written in C
however support for regular expressions will come very soon!
daviducolo··on Show HN: Krep a High-Performance String Search Utility Written in C
The Story Behind the Name

The name "krep" has an interesting origin. It is inspired by the Icelandic word "kreppan," which means "to grasp quickly" or "to catch firmly." I came across this word while researching efficient techniques for pattern recognition.

Just as skilled fishers identify patterns in the water to locate fish quickly, I designed "krep" to find patterns in text with maximum efficiency. The name is also short and easy to remember—perfect for a command-line utility that users might type hundreds of times per day.

daviducolo··on Show HN: Krep a High-Performance String Search Utility Written in C
Because I wanted to experiment and have fun with a personal project that I will evolve
daviducolo··on Show HN: Krep a High-Performance String Search Utility Written in C
thanks, I've just fixed https://github.com/davidesantangelo/krep/commit/95ed1853b561....
daviducolo··on Show HN: Krep a High-Performance String Search Utility Written in C
Source Code on GitHub: https://github.com/davidesantangelo/krep
daviducolo··on Show HN: Krep a High-Performance String Search Utility Written in C
You can read my blog post about the project at https://dev.to/daviducolo/introducing-krep-building-a-high-p...
daviducolo··on [dead]
When I first started working on large-scale log analysis projects, I quickly discovered that traditional string search tools weren't keeping up with my needs. Processing gigabytes of log files daily meant that every millisecond of search time translated into minutes of waiting in real-world usage. This realization led me to develop krep, a blazingly fast string search utility designed specifically for performance-critical applications.
daviducolo··on Show HN: Lanet a lightweight and powerful LAN communication tool
Hey, I’m the creator of Lanet (https://github.com/davidesantangelo/lanet), a Ruby gem for lightweight LAN communication. It’s built to make peer-to-peer messaging on local networks dead simple—think secure device-to-device comms with AES-256 encryption, network scanning, and both targeted and broadcast messaging.

You can ping hosts, discover devices (TCP, ICMP, ARP, etc.), or listen for messages, all through a clean API or CLI. Perfect for small office setups or tinkering with network tools. Been a blast to build—would love your thoughts or PRs!

daviducolo··on Show HN: SearQ - A REST API that allows users to search from RSS feeds
ah ok no, API extracts feeds from March 8, 2023
daviducolo··on Show HN: SearQ - A REST API that allows users to search from RSS feeds
all list are paginated and you can search over the entire dataset.
daviducolo··on Show HN: SearQ - A REST API that allows users to search from RSS feeds
yes you are right I need to improve in communication. The feeds shown are those from which the items are extracted. 98 for now.
daviducolo··on Show HN: SearQ - A REST API that allows users to search from RSS feeds
yes exactly, for now there are 98 feed sources but anyone can add more to the importer which then automatically updates the feeds every 24 hours.
daviducolo··on Show HN: SearQ - A REST API that allows users to search from RSS feeds
What is Searq? Built on Ruby on Rails, a popular web application framework that provides a robust foundation for building scalable and maintainable web applications, Searq uses MeiliSearch as its search engine, providing powerful search capabilities through its simple and intuitive API.

Searq provides several endpoints that developers can use to interact with the API:

Search Endpoint

The search endpoint is one of the most important endpoints in Searq. It allows developers to search the index for specific items using a search query. To use the search endpoint, developers can send a GET request to the items endpoint with a search query parameter.

Feeds Endpoint

The feeds endpoint allows developers to add, delete, and update RSS feeds. To add a feed, developers can simply send a POST request to the feeds endpoint with the URL of the RSS feed. Searq will then fetch the feed and add it to the search index.

Tasks Endpoint

The tasks endpoint allows developers to view the status of tasks that are running in the background. For example, when a new feed is added, Searq will fetch the feed and update the search index in the background. Developers can use the tasks endpoint to monitor the status of this process.

Items Endpoint

The items endpoint allows developers to search the index for specific items. Developers can send a GET request to the items endpoint with a search query, and Searq will return a list of items that match the query.

Benefits of using Searq

There are several benefits to using Searq:

Easy to use: Searq provides a simple and intuitive API that developers can use to build their own search engines. Flexible: Searq allows developers to use RSS feeds as the data source, providing flexibility in the types of content that can be searched. Fast: By using MeiliSearch as the search engine, Searq provides lightning-fast search capabilities. Scalable: Searq is built on Ruby on Rails, a framework that provides a robust foundation for building scalable web applications.

Page 1 of 3Next →