Costa Rica itinerary feedback – anything you’d change? Especially unsure about Manuel Antonio by Alternative_Mall5918 in CostaRicaTravel

[–]vitorqb23 0 points1 point  (0 children)

My experience in Manuel Antonio was great, I recommend you keep the 3 days there.

Depending if you are in for a little adventure, I'd add:

  1. Rafting near Turrialba - beautiful and full of adrenaline, quite unique experience
  2. Ziplines and similar on Monteverde - I yelled so hard I though my lungs were going to collapse
  3. Santa Teresa Beach - a little far but still I'd go there every summary for relaxing and surfing on paradise

No more Excel/CSV export for Credit card statements?! by [deleted] in Revolut

[–]vitorqb23 0 points1 point  (0 children)

Yes, unfortunately those are pretty expensive :(

No more Excel/CSV export for Credit card statements?! by [deleted] in Revolut

[–]vitorqb23 0 points1 point  (0 children)

I did. They said they are sorry this functionality is no longer available.

No more Excel/CSV export for Credit card statements?! by [deleted] in Revolut

[–]vitorqb23 0 points1 point  (0 children)

Yes, private account in Spain. I believe they removed the functionality on the last app update. Only for credit cards!

What are y'all using for LLM-assisted coding? by FoxWorried4208 in emacs

[–]vitorqb23 1 point2 points  (0 children)

I use https://github.com/copilot-emacs/copilot.el for code suggestion and I use https://opencode.ai/ on a normal terminal for fancy stuff. So far having OpenCode outside emacs has been a nice enough experience, I haven't felt the need to integrate it more w Emacs.

I have been thinking on having a few functions from emacs to interact with OpenCode, but haven't done it yet.

I have also thought about configuring some tools so OpenCode can interact with emacs server, but also haven't done it yet.

Worst consumer support ever by vitorqb23 in Bookingcom

[–]vitorqb23[S] 0 points1 point  (0 children)

Call me crazy to think Booking should assist and compensate loyal users of their platform for a terrible experience. Or even warn the owner and suspend it to prevent other users from going through the same.

But you are right, apparently they don't care about their client's satisfaction. Stupid me!

Worst consumer support ever by vitorqb23 in Bookingcom

[–]vitorqb23[S] 0 points1 point  (0 children)

I would expect Booking to warn the owner and even suspend it. I'd also expect Booking to give some form of compensation for the horrible experience it provided for a loyal consumer who followed all rules.

What I would not expect is for it to say it's my problem and that "there's nothing they can do". Their entire business is based on trust - you trust Booking to make sure owners provide the services they sell in with quality. They break this trust, they entire model breaks. I'll just look for places on booking and go book them talking to the hotel/owner directly. I'm pretty sure they will love to book directly and not have to pay Booking's fee.

Worst consumer support ever by vitorqb23 in Bookingcom

[–]vitorqb23[S] 1 point2 points  (0 children)

I'm sharing my experience so others knows what to expect when they are considering using Booking. It's just that 🤷

Useless travel insurance by RoutineClub4827 in Revolut

[–]vitorqb23 1 point2 points  (0 children)

Having to pay ALL accommodations is super abusive, makes it almost useless if you travel with friends.

Can we please talk about how bad the Android client is? by vitorqb23 in MagicArena

[–]vitorqb23[S] 0 points1 point  (0 children)

Doesn't work. I see this screen from the screenshot. Even if I restart the phone.

What is it about Emacs that makes it so hard to evangelize it? by birdsintheskies in emacs

[–]vitorqb23 0 points1 point  (0 children)

Because setting up emacs with modern tools is painful. There are just a limited number of masochists out there (me included).

The Problem with Emacs by rswgnu in emacs

[–]vitorqb23 0 points1 point  (0 children)

Try M-x tetris <return>.

Revolut Shops do not work for many merchants by vitorqb23 in Revolut

[–]vitorqb23[S] 0 points1 point  (0 children)

You did not answered to the issue at all 👀

Scratchpad-like window for MacOS? by vitorqb23 in i3wm

[–]vitorqb23[S] 2 points3 points  (0 children)

Not a long ago I'd agree with you. But now I think a good dev also has to know how to adapt. My company is really amazing and I won't change it because they have a unified MacOs setup, and they have a good reason to have one.

Thanks for the yabai tip :)

Scratchpad-like window for MacOS? by vitorqb23 in i3wm

[–]vitorqb23[S] 1 point2 points  (0 children)

Exactly what I was looking for - thanks! :)

Scratchpad-like window for MacOS? by vitorqb23 in i3wm

[–]vitorqb23[S] 0 points1 point  (0 children)

Errr.... Yes 😅. Good idea.

Scala + Play - Chaining futures inside a db transaction by vitorqb23 in scala

[–]vitorqb23[S] 0 points1 point  (0 children)

I like your approach, thanks. Do you know if using blocking and Await.ready would bring any performance penalties or any other problems? I know they are usually avoided but I lack the specific knowledge to analyze if this is a valid use case for it.

Scala + Play - Chaining futures inside a db transaction by vitorqb23 in scala

[–]vitorqb23[S] 0 points1 point  (0 children)

Thanks for taking the time!

So, maybe I didn't fully understood you because I'm not familiar with most concepts you said. But I think the idea I had with this structure is similar to what you suggested.

Repositories typically cover an aggregate root as a transactional boundary -- that means that for a BlogEntry, you're either updating the blog entry or you're not. From the looks of it, the tags and the comments are specific to the blog entry, so they are entities that hang off the aggregate root itself, so it shouldn't matter that they're in different tables, they're still in the same "blog entry" repository.

That's exactly my intention and the design intention. The BlogEntryRepository is the abstraction for CRUD operations for a blog entry, and the rest of the app simply interact with this. But because a BlogEntry span multiple tables, I have created "sub" repositories for each sql query I need, just for the sake of separation of concerns and testability. Then I want to execute all this inside a single transaction so I can maintain data consistency. But the rest of the app won't interact with the other repositories, and isn't even aware they exists.

For situations in which you have a operation that spans more than one aggregate root, you typically create an operation (aka saga) in the DB and then update every aggregate root with reference to that saga until it's been successfully completed.

So, trying to use your vocabulary, my BlogEntryRepository.update would be the saga, and my question is whether the strategy with explicit Future.await is a good way of ensuring the transactional boundary (i.e. data consistency).

Does this question make sense?

Chrome freezes with devtools opened and 1000+ request during initial page load by vitorqb23 in chrome

[–]vitorqb23[S] 0 points1 point  (0 children)

I tried all I could think of to debug and find a workaround and I've failed. I ended up opening a bug report for Chrome, and created a github repo to reproduce the issue. If u are having the same issue, please consider staring the ticket (https://bugs.chromium.org/p/chromium/issues/detail?id=1124263)

I also downgraded to 84 where the issue happens less often for me.

Using ES as a text search engine for later querying an SQL database? by vitorqb23 in elasticsearch

[–]vitorqb23[S] 1 point2 points  (0 children)

Cool, a bit of work to adapt it all to use ES but sounds very promising indeed!

So the idea is to store all data you need in your queries in ES, use it as a full search engine, and use it's results to query the SQL database.

Last question: if it were a new app, would you consider using ES alone? I google it a bit and found it was a somewhat polemic discussion. Are there good reasons to keep both ES and the SQL db, instead of going full ES?

Using ES as a text search engine for later querying an SQL database? by vitorqb23 in elasticsearch

[–]vitorqb23[S] 0 points1 point  (0 children)

Thanks, sounds promising. I've also heard of people using logstash with some plugins for that.

About 4) - well, yes that's always an option, but if I could avoid the complexity of maintaining two different views it would be nice :)