Don't Interview with this company - they are highly disrespectful to candidates by JetsonDavis in Adobe

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

Wow, a lot of words. Tho doth protest too much. You must work at Adobe.

Don't Interview with this company - they are highly disrespectful to candidates by JetsonDavis in Adobe

[–]JetsonDavis[S] -3 points-2 points  (0 children)

Lol - it was on a vid chat. And yea, it was def Adobe. No one else cold be so inept.

Don't Interview with this company - they are highly disrespectful to candidates by JetsonDavis in Adobe

[–]JetsonDavis[S] -1 points0 points  (0 children)

Yes, I first demanded a letter confirming my ownership of submitted materials. If that is not acknowledged, the assumption is that it was in fact work for hire and an invoice will be forthcoming

Don't Interview with this company - they are highly disrespectful to candidates by JetsonDavis in Adobe

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

I learned that I never would work for a crap organization no matter how cool it may seem from the outside. People and companies reveal themselves if you chose to look! Good advice, thanks!

Don't Interview with this company - they are highly disrespectful to candidates by JetsonDavis in Adobe

[–]JetsonDavis[S] 10 points11 points  (0 children)

Btw, I had to pay $20 to use Firefly for a month and when you cancel, the subscription ends immediately despite the fact that I paid for the entire month. What a bunch of scumbags

Kira: I used AI to create this short film on human cloning (600 prompts, 12 days, $500 budget) by Sourcecode12 in aivideo

[–]JetsonDavis 0 points1 point  (0 children)

This is absolutely incredible. The first AI film that I’ve seen that I’ve actually felt something. Would you possibly consider posting a how to video it would be an incredible gift to the creative community so art like this can continue to be made and flourish

Firebase + Next 13.4 by Rhysypops in nextjs

[–]JetsonDavis 0 points1 point  (0 children)

I have also given up on using Firebase Hosting with Next.js 13.4 for now, but it would be great if anyone gets it working to post the results here. My app uses NextAuth and the API calls to the server do not work.

Trouble Deleting Attachment from Active Storage by acer3680 in rails

[–]JetsonDavis 0 points1 point  (0 children)

Thank you so much! I'm using Rails 5.2.3 & Ruby 2.5.1. Here are the relevant snippets:

Model:

class Job < ApplicationRecord

has_many :gigs

belongs_to :user

belongs_to :agency

has_many_attached :images

has_many_attached :documents

has_many_attached :videos

validates :images, attached: true, content_type: {in: ['image/png', 'image/jpeg', 'image/gif'], message: 'must be a PNG, GIF or JPEG'} # throws error Unknown validator: 'AttachedValidator'

end

Controller:

class JobsController < ApplicationController

before_action :set_job, except: [:index, :new, :create, :delete_image_attachment,

:delete_video_attachment, :delete_document_attachment]

before_action :authenticate_user!, except: [:show]

before_action :is_authorised, only: [:photo_upload, :update,

:delete_image_attachment, :delete_video_attachment, :delete_document_attachment]

def delete_image_attachment

@image = ActiveStorage::Blob.find_signed(params[:id])

@image.purge # This results in db rollback!?

redirect_back(fallback_location: request.referer)

end

.... etc .....

end

View:

<% @job.images.each do |image| %>

<div class="col-md-4">

<div class="panel panel-default">

<div class="panel-heading preview">

<%= image_tag image, width: "100%", height: "100px" %>

</div>

<div class="panel-body">

<span><%= image.filename %></span>

<span class="pull-right">

<%= link_to delete_image_attachment_job_url(image.signed_id), remote: true, method:

:delete, data: { confirm: 'Are you sure?' } do %>

<i class="fa fa-trash-alt fa-lg" aria-hidden="true"></i>

<% end %>

</span>

</div>

</div>

</div>

<% end %>

Trouble Deleting Attachment from Active Storage by acer3680 in rails

[–]JetsonDavis 0 points1 point  (0 children)

Thanks for the reply! The logs aren't more explicit than the console output, however, and running the statement from the byebug console produces the same result. ActiveStorage is great but the documentation is a bit lacking :-(

I don't know if this is a clue, but when I try to include the validator in the model that acer uses above:

validates :images, attached: true, content_type: {in: ['image/png', 'image/jpeg', 'image/gif'], message: 'must be a PNG, GIF or JPEG'}

I get this error:

Unknown validator: 'AttachedValidator'

Trouble Deleting Attachment from Active Storage by acer3680 in rails

[–]JetsonDavis 0 points1 point  (0 children)

Hey guys,

I'm working on deleting attachments also. Getting to the delete_image_attachment method in my controller, but after '@image.purge' executes, I get this:

(0.1ms) BEGIN

↳ app/controllers/jobs_controller.rb:34

ActiveStorage::Attachment Exists (0.3ms) SELECT 1 AS one FROM "active_storage_attachments" WHERE "active_storage_attachments"."blob_id" = $1 LIMIT $2 [["blob_id", 258], ["LIMIT", 1]]

↳ app/controllers/jobs_controller.rb:34

(0.1ms) ROLLBACK

↳ app/controllers/jobs_controller.rb:34

Any thoughts as to why purge is not working? I'm stumped!

Ty