sending – What does “Uneconomical UTXO requested” mean?

This error message seems to indicate that one of the Unspent Transaction Outputs (UTXO) in your wallet has a lower value than the cost of spending it.

In Bitcoin, funds are tracked in the form of distinct transaction outputs. Each time someone gets paid, at least one new transaction output is created. While your wallet may show your funds as a balance, under the hood the balance is actually composed of one or multiple UTXO. To spend a UTXO, an input is added to a transaction. Transaction fees are paid per byte of data. If an input for example used 148 bytes, and the current feerate were 100 satoshi per byte, it would cost 14,800 satoshi to spend a UTXO. If the UTXO’s value was 5,897 satoshi, it costs more to spend it than its value— it is uneconomic to spend it.

You may be able to sidestep the error by setting a lower feerate. Note that this will likely cause the transaction to take a long time to confirm.

Altogether, it would be reasonable for your wallet software to filter uneconomic UTXO in the preselection, so you may want to consider reporting this as a UX bug.

applications – Sending video to Android Camera

I’m testing an app that will require users to verify their identity with front facing id, back facing id and a selfie. It’s really tedious to do the tests by hand one by one, i’d like to have a few people make videos in different lighting conditions, then I can send those videos to the camera feed of a real android phone and see how the app fares.

I know it’s possible to do something like this on PC with ManyCam, where you can send a video to the camera api, I was wondering if there’s a similar app or method to achieve the same thing on androids.

plugin development – Sending an SMS on new order placed – WooCommerce

I want to send SMS while new order gets placed, now I have used woocommerce_order_status_completed hook, but this only works while you move order processing to complete.
Alternatively, I have also used woocommerce_order_status_processing but it’s also not working.

So the question is can I send SMS at the same time while the order getting placed?
Note: SMS are working fine here

Postfix sending an email to unknown user every minute

I get this loop in my /var/log/maillog every minute. I don’t know what is the source, and who is sending this. I don’t have user apache in my server. I have been trying to fix my postfix problems, and this problem has my attention. I hope someone can help me fix this, or at least guide me to how to fix it.

Thank you 🙂

Oct 26 18:25:01 mail postfix/lmtp(4429): 53EC219E08F3: to=<apache@xxxxxx.org>, relay=mail.xxxxxx.org(private/dovecot-lmtp), delay=0.11, delays=0.06/0/0/0.05, dsn=5.1.1, status=bounced (host mail.xxxxxx.org(private/dovecot-lmtp) said: 550 5.1.1 <apache@xxxxxx.org> User doesn't exist: apache@xxxxxx.org (in reply to RCPT TO command))

Oct 26 18:25:01 mail dovecot: lmtp(4276): Disconnect from local: Successful quit
Oct 26 18:25:01 mail postfix/qmgr(2235): 53EC219E08F3: removed

Sharepoint 2013 discussion board sending email to creator when people reply to discussion

I am working on sharepoint 2013 discussion board, the scenarios is when ever any user replies to a discussion, an email is sent to the author. I have checked there is no workflow associated with the discussion and no alerts are defined.

I know this is not an OOTB option, or may be I am wrong, what other options are available to send notification to the author on a discussion board.

Thanks,
Moss

php – Why isn’t my whereHas not sending only corresponding relationships?

I have a search page where I have many fields in form of dropdown select. I have availabilities, fields of works, job types, etc..

Every select works properly. However, if I select the first option for fields of work (1), it doesn’t return me the proper results. It just sends me back everything.

For the other queries, they look like that:

select
  *
from
  `candidates`
where
  exists (
    select
      *
    from
      `interests`
      inner join `candidate_interest` on `interests`.`id` = `candidate_interest`.`interest_id`
    where
      `candidates`.`id` = `candidate_interest`.`candidate_id`
      and `interests`.`id` = '2'
  )

For the fields of work (not working):

select
  `field_of_works`.*,
  `candidate_field_of_work`.`candidate_id` as `pivot_candidate_id`,
  `candidate_field_of_work`.`field_of_work_id` as `pivot_field_of_work_id`
from
  `field_of_works`
  inner join `candidate_field_of_work` on `field_of_works`.`id` = `candidate_field_of_work`.`field_of_work_id`
where
  `candidate_field_of_work`.`candidate_id` = 52

Here is my code:

    /**
     * Display a listing of the resource.
     *
     * @return IlluminateHttpResponse
     */
    public function index(Request $request)
    {
        $candidates = Candidate::query();
        $data = ();
        $data('availabilities') = Availability::all();
        $data('job_types') = JobType::all();
        $data('fields_of_work') = FieldOfWork::all();
        $data('interests') = Interest::all();
        $data('salary') = Salary::all();
        $data('trainings') = Training::all();
        $data('statuses') = AppStatus::all();
        if($request->availabilities && $request->availabilities != -1) {
            $candidates->whereHas('availabilities', function ($query) use ($request) {
                $query->whereIn('availabilities.id', ($request->availabilities, 6));
            });
        }
        if($request->job_types && $request->job_types != -1) {
            $candidates->whereHas('job_types', function ($query) use ($request) {
                $query->where('job_types.id', $request->job_types);
            });
        }
        if($request->fields_of_works && $request->fields_of_works != -1) {
            $candidates->whereHas('fields_of_work', function ($query) use ($request) {
                $query->where('field_of_works.id', $request->fields_of_works);
            });
        }
        if($request->interests && $request->interests != -1) {
            $candidates->whereHas('interests', function ($query) use ($request) {
                $query->where('interests.id', $request->interests);
            });
        }
        if($request->salary && $request->salary > 0) {
            $candidates->where(function ($query) use ($request) {
                $query->where('salary_id', $request->salary)->orWhereNull('salary_id');
            });
        }
        if($request->trainings && $request->trainings != -1) {
            $candidates->whereHas('trainings', function ($query) use ($request) {
                $query->where('trainings.id', $request->trainings);
            });
        }
        if($request->status && $request->status != -1) {
            $candidates->where('status_id', $request->status);
        }

        if($request->excel == true) {
            $exports = new AppExportsCandidatesExport($candidates);
            return $exports->download('candidats_' . mt_rand(0, 10000) . '.xlsx', MaatwebsiteExcelExcel::XLSX, (
                'Content-Type' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; charset=utf-8'
            ));
        }

        return view('admin.candidates.index')->with('candidates', $candidates->get())->with('data', $data)->with('request', $request);
    }

    public function fields_of_work() {
        return $this->belongsToMany('AppFieldOfWork');
    }
    public function candidates() {
        return $this->belongsToMany('AppCandidate');
    }

I don’t get why it doesn’t work, it should since all the other similar relationships work… Anyone has an idea?

dnd 5e – What does “familiar” mean in the Sending spell?

There are a few ways to determine how familiar “familiar” is
Dream works similarly but uses different wording targeting “a creature you know of” thus, familiar is more familiar than knowing the creature, otherwise, they would use the same wording. Thus, you have to have to at least know, what they look like, and what they sound like, because that’s one step above knowing about someone.

Scrying uses the word “familiar” explicitly to mean “you know the target well” and it is more familiar than firsthand knowledge, which is “you have met the target”
This suggests at minimum, from the fact that it is more than having met, you have had at least a conversation that goes beyond introductions.

But Clairvoyance describes familiar as having seen a place before. People aren’t places, but that’s a lot lighter than being friends.

I’d probably put it at first-hand knowledge the same as clairvoyance. You can’t send a sending to the king you never met. I’d prefer it be less harsh than scrying, because scrying you lose out on a -5 to save if you aren’t familiar, but with sending it fails. But that’s just generosity.

Familiarity is described by sending. More than having met them, knowing them well. It’s also described in clairvoyance, as having seen before.

Either way, second-hand knowledge certainly isn’t enough, as we see from dream when second-hand knowledge is the prerequisite, it doesn’t use the word familiar.

dnd 5e – Can you detect telepathic messages in your head, like the Sending spell, via Detect Magic?

Detect Magic (PHB p.231):

For the Duration, you sense the presence of magic within 30 feet of you. If you sense magic in this way, you can use your action to see a faint aura around any visible creature (…) in the area that bears magic, and you learn its school of magic, if any. (…)

This questions hinges on the definition of ‘bears’ here, and whether a creature that is being spoken to with sending bears magic:

Bear

  1. (of a person) carry.
  1. support

So is a creature who has had the spell sending cast on them supporting or carrying the spell?

Sending (PHB p.274):

You send a short Message of twenty-five words or less to a creature with you are familiar. The creature hears the Message in its mind, recognizes you as the sender if it knows you, and can answer in a like manner immediately. The spell enables creatures with Intelligence scores of at least 1 to understand the meaning of your Message.

In order for the spell to succeed, the creature targeted must have an intelligence of at least 1, and the creature can respond to the spell immediately. This would imply the creature requires some capacity to support the spell being cast on them, which I believe is enough justification for the creature to ‘bear’ at least part of the weight of the spell, and be detectable by Detect Magic. In order for the Detect Magic caster to determine the source of the magic and spell school, however, they would need to activate the faint aura within the same time frame that the targeted creature is receiving and responding to the spell.