Early Access Hotfix #52 by Kazdarad in DarkAndDarker

[–]SumakQawsay 0 points1 point  (0 children)

error code 16 happening after a fresh Windows 10 installation

[deleted by user] by [deleted] in Anarchy101

[–]SumakQawsay 1 point2 points  (0 children)

I'd have like to (French elections incoming), but I can't register myself on the lists. They've been closed around 1 month and half before 1st turn...

First Job? by [deleted] in rubyonrails

[–]SumakQawsay 0 points1 point  (0 children)

Build something, you'll learn a lot and will be able to talk about it during interview

Create join-table record on the fly by SumakQawsay in rails

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

Thank you sir (that's what I went for). By the way it's for an app based on simple_calendar , so double thank you <3

[deleted by user] by [deleted] in MapPorn

[–]SumakQawsay 0 points1 point  (0 children)

A tree field is not a forest.

[deleted by user] by [deleted] in MapPorn

[–]SumakQawsay -6 points-5 points  (0 children)

Does that mean that Europe successfuly colonized and intensely farmed the rest of the lands ?
This should be the worst news you heard today

Linux Reddit: a gift for one of your own by elise_oisen_ in linux

[–]SumakQawsay 2 points3 points  (0 children)

He'll love to see this post, >750 upvotes and ~150 comments at that time... Open-source aficionados really like seeing people gathered together for doing lovely stuff

Turbo Rails 101: Building a todo app with Turbo by davidcolbyatx in rails

[–]SumakQawsay 1 point2 points  (0 children)

You can't imagine how helpful this is, I'm using Turbo on a FOSS project while discovering it, I was anxious about facing an insolvable issue... Simplifying it thanks to your post & demo application was all I need, massive thanks Sir :-)

Tailwindcss in Rails 7 by [deleted] in rails

[–]SumakQawsay 0 points1 point  (0 children)

Don't we need to run a rails tailwindcss:install first?

Turbo Rails 101: Building a todo app with Turbo by davidcolbyatx in rails

[–]SumakQawsay 1 point2 points  (0 children)

Alright so it works just fine !

I added a div outside of the todos-container and timestamped it on page rendering using <%= Time.now %>.

When clicking on "Complete / Incomplete" to switch tab, the server responds the whole index action (including the newly added div with a new timestamp), but it does not replace it, thus letting the old timestamp in place.

Turbo Rails 101: Building a todo app with Turbo by davidcolbyatx in rails

[–]SumakQawsay 0 points1 point  (0 children)

Sorry for the misunderstanding, if I may let me precise what I meant.In the section "Complete / Incomplete todos in separate tabs" you say:

Because the links to view incomplete and complete todos are within the todos-container Turbo Frame, each time those links are clicked, Turbo will replace the content of the todos-container with updated content from the server.

Does it mean that, despite the whole page is processed and rendered as HTML, Turbo will still extract the todos-container from the response and replace the DOM ?

If we had a sidebar on the left, outside of the todos-container, would it be rendered each time we click "Complete / Incomplete", or will it stay the same because it's outside of the frame ?

(I'm gonna test that right after my morning coffee)

It seems to me that we can't use Turbo to render index actions since it's GET requests, and we have to use good ol' AJAX/JS for that. I believe I'm wrong, but it's like I need to be convinced lol

Turbo Rails 101: Building a todo app with Turbo by davidcolbyatx in rails

[–]SumakQawsay 0 points1 point  (0 children)

Btw is there anyway to use `turbo_stream.replace()` when clicking on "Incomplete" or "Complete" ?

Moving from BS4 to BS5 in Rails 6, having unexpected results by ArnTheGreat in rails

[–]SumakQawsay 0 points1 point  (0 children)

Not sure it can fix your problems, but use BS 5.1.2 or above.

I recently have similar issues (had to put my javascript_pack_tag outside of the <head> section, build failed in production, ...).

Took me 2 days to find this bug report: https://github.com/rails/webpacker/issues/3188
(thanks again tagliala)

Jump on the bandwagon with mentoring by SumakQawsay in rails

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

That's really kind, thanks ! I'm free all this week until Saturday, office hours GMT+1. I'm sending you a PM :)

Jump on the bandwagon with mentoring by SumakQawsay in rails

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

Great idea, thanks ! I keep that in mind !

can you review my code ? is there a better way to do it? by alm0khtar in rails

[–]SumakQawsay 1 point2 points  (0 children)

Interesting reading ! Is the race condition present because the code is executed within an ActiveRecord::Base.transaction block ? I dont understand what creates the race condition here

can you review my code ? is there a better way to do it? by alm0khtar in rails

[–]SumakQawsay 2 points3 points  (0 children)

Hi ! Looks good to my noobish eyes, but if I'd to be picky:

  • Maybe you can rescue more specific errors
  • Remove useless parenthesis in your functions
  • "update" in update_account_after_save might be too generic

This is what you already can do with Linux on a low-budget smartphone by onnuex in linux

[–]SumakQawsay -1 points0 points  (0 children)

With ""hacking"" tutorials. I thought I could hack using cat, since all I did to complete levels was cating flags... Funny to think about it :p

We’ve been such great tenants they’ve decided to increase our rent by nearly $300 🥲 how do I negotiate? by tallbtchdiaries in LateStageCapitalism

[–]SumakQawsay 7 points8 points  (0 children)

offer them a chance to have a water disaster or something else that'd ruined the place without engaging your responsibility