HNHacker News
TopNewBestAskShowJobs

ceritium

50 karma · joined October 6, 2015

You can contact me at jose.galisteo.ruiz@gmail.com
submissionscomments
ceritium··on Show HN: Flatito, grep for YAML and JSON files
Hi! Author here! I am spanish, flato means that, but it's also that pain in the side of the belly when you are running.
ceritium··on Show HN: Free Plain-Text Bookmarking
How much would you pay?
ceritium··on Building a fair multi-tenant queuing system
For a small side project, instead of queuing all the tasks or writing a custom fair multi-tenant queuing system, I added all the "tasks" to the db, then with a periodic job I query with SKIP LOCKED for pending tasks and enqueue them on my queue system (sidekiq, Goodjob, etc). I only enqueue them if there are less than some amount of jobs pending, it is hardcoded, but I could do it dynamically.

The query logic take into consideration the tenants so, a big tenant (or misbehaving) can't block small ones.

The periodic job is executed every few second, but it's also enqueued when added new tasks to the db (unless it's already enqueued) or when the query logic detect that there is more jobs available, so the lag is minimal.

At the moment I am doing this with only one type of jobs, but I want to expand it to most of the jobs, and let the "query logic" balance the queues.

ceritium··on How different languages laugh online
I have never seen "memeo" in a spanish chat. I saw jaja, jeje,jojo, jiji, even juju and larger variants. We also use xD (smile with closed eyes and laughtin) or longer versions like xdddddddddd or lol (loooooooool).

"Me meo" is a real expresión, but not so common, i like to say "me deshorino" like satirical expresión.

ceritium··on Hamlet: A type-safe Haml template engine for Go
That's great; Haml is one thing I like most when doing web development on Ruby/Rails. The only thing I don't like about this implementation is the blocks with inline code:

    - if user != nil {
     %strong The user exists
    - }
ceritium··on Reclaiming the web with a personal reader
Hi, I want to comment on the "readability" package. I am using it, too, on my bookmarking project.

The main project is on Ruby on Rails, but I have a microservice on node just for the "readability". I also extracted another service that would need a lot of memory and run only occasionally.

Those microservices are only needed from time to time, and I call them from a background job, so I let them autoscale to 0 on Fly.

ceritium··on Ask HN: What apps have you created for your own use?
I did several small projects for me and my family:

- https://consumebefore.jose.gr/ to keep track of when the food expires once opened

- https://markdowntable.jose.gr/ generates markdown tables with a link to edit the table

- https://mazes.jose.gr is a simple maze generator. It never got traction inside my family, so I didn't invest much time in adding features.

- https://bookmarklet.jose.gr/ a bookmarklet generator

- https://docmati.com/ I did this for a friend and tried to productize it without much success

- https://keepthis.site/ is just for me but open to everyone. It would be cool if it gets some traction, but I know there are several alternatives, and it lacks some basic features.

ceritium··on Wait, what's a bookmarklet?
I think it's appropriate to share a small tool I did for creating and sharing bookmarklets

https://bookmarklet.jose.gr

Everything is stored in the URL, actually I am just thinking I should add offline first support.

ceritium··on Ask HN: Show me your half baked project
I am working on a bookmarking service https://keepthis.site

It is already functional with the snapshot system, full text search, data import and data export (based on sqlite, more info on the blog). I am already working in the reimport of the sqlite (I like the idea as dev and user of the product) and the web extension, which will allow automatic saving of new bookmarks and inject matching bookmarks on your searchs on main search engines (Google, Kagi, duckduckgo, etc).

ceritium··on Show HN: KeepThisSite
You are right KomoD, "https:testhello" passes the validation.

The app is in ruby, I am using "URI::DEFAULT_PARSER.make_regexp(%w[http https])" for generating the regex validation, which generates this monstrosity: https://gist.github.com/ceritium/08b34277fd252a2fa7db1f16bec...

I didn't mind being pretty strict regarding the URL validation; I don't even care too much about the fact of allowing "https:testhello", but I don't like that Chrome, Safari, and maybe others are opening <a href="https:testhello"> link </a> as "https://keepthis.site/https:testhello" but Firefox opens it as a new URL without "https://keepthis.site" which is the behavior I would expect.

I am going to re-implement the validation with simpler rules. Many thanks for your feedback.

ceritium··on Show HN: KeepThisSite
Hi KomoD, why do you think I am not doing URL validation properly? Can you give an example?

Yes, the validation checks if the protocol is http or https.

ceritium··on Ask HN: SQLite as Dump Export?
Hi, I didn't know about Dolt, it looks interesting, but probably it's more complex and has more features than I was thinking. In the end, for the idea of generating a dump of the customer data, I don't need all the "git" features.

I suggest using SQLite instead of the typical XML or JSON because SQLite is ready to be queried and easy to generate.

On SQLite, you can even store attachments b64 encoded. It will make it bigger and slower, but not so slow as trying to read a JSON or XML with the attachments inlined.

ceritium··on Reflections on Migrating My SaaS to SvelteKit
I really like Svelte and SvelteKit, I would like to use it more, but I still feel that RubyOnRails has a better ecosystem for common things like forms and validations, even better with simple_form.

I also miss some out of the box solutions like Devise (without using external services).

ceritium··on How to store your app's entire state in the url
I did the same for https://markdowntable.jose.gr

As some comments suggest, I will move the data from the query string to the URI fragment to avoid the length limitation.

ceritium··on The fine art of Italian hand gestures: A vintage visual dictionary (2012)
The book on Archive: https://archive.org/details/speakitalianfine0000muna/
ceritium··on Show HN: Ad Network for Sideprojects
I added my site nunino.com and added the script to the head.

What do I have to do to place the banner?

Would be nice a place inside the site to send you some feedback or questions.

← PreviousPage 2 of 2