mp3

BlackHatKings: General PPC discussion
Posted by: Alinka94
Post Time: April 21, 2019 at 05:34 PM.

GUI Design – Treats two possible workflows of the same action

There is a part of the user workflow in the product I'm designing and having issues with.

The user is in a step where he needs to enter patient data in a modal window. Once finished, there are three things you might want to do:

  • Enter the data of another patient
  • just close
  • close and fast forward to image capture

Here's the global workflow for this interaction:

General user workflow

In one use case, you may want to enter as much data as possible in a single session without continuing to capture the image. And so they would several times "save and add more" and then "save and close":

Workflow for filling data

In the other case, if the patient is in front of the user, he or she wants to enter the required data and then continue imaging as fast as possible.

fast workflow

What I want to avoid as far as possible is that too many buttons are displayed (already three options + cancel the form). I also do not know which button should be displayed as primary. I do not want to risk the user losing what he should do after completing the form.

I have so far:
my gui

Here is an extreme example of another UI of what I want to avoid:

terrible example with too many keys

It seems to be a problem for users (you will find many tutorials if you are looking for "save and add another") with no clear solution. I've found related UX stack exchange questions (here and there) that do not address the specific question of whether to do several things after saving.

In the end, my question would be, is there any way to improve the user workflow by using a better UI solution?

Windows treats m3u8 connection parameters as a CMD command from the ffmpeg command

I am trying to download the m3u8 file with ffmpeg. Until a few days ago, it worked flawlessly. She began to behave strangely.

Let me first write down what the command looks like:

ffmpeg -i https://LINK.TO/FILE.m3u8?Policy=eyQ__&Signature=eFI5zA__&Key-Pair-Id=APKAJMWS -c copied -bsf: a aac_adtstoasc output.mp4
pause

As you can see, the link for the m3u8 file is three parameters: Policy, Signature and Key-Pair-Id.

the expected result must be an mp4 file named output.mp4, but I see a bunch of error messages, then the cmd window closes. This is the error message:

& # 39; signature & # 39; is not recognized as an internal or external command,
operable program or batch file.
& # 39; Key pair ID & # 39; is not recognized as an internal or external command.
operable program or batch file.

Why is Windows treating them as commands?

You can clearly see that they are only parameters!

postgresql – Treats the INSERT race condition for the generated unique column value

I generate a unique slug while creating a record (based on that answer).

INSERT in ks.shares (
slugbase
slugindex
slug
, User identification
)
VALUES (
, Pslugbase
, (SELECT COALESCE ((SELECT (max (Slugindex)) + 1)
FROM ks.shares s
WHERE s.Slugbase = Pslugbase), 0)
)
, (SELECT Pslugbase
|| COALESCE ((SELECT --::: text || (max (slugindex) + 1) :: text
FROM ks.shares s
WHERE s.slugbase = Pslugbase), & # 39; & ses; AS-Slug
)
Puserid
)
RETURN id, modified, Slug INTO Vnewshare;

If you test under load, this can lead to an increase unique_violation Since two concurrent threads both evaluate what the current slug index is before inserting a record with the next available slug, the second thread remains with a now invalid slug.

I tried to solve the problem by implementing the LOOPING insertion and found clear limitations:

LOOP
BEGIN
INSERT in ks.shares (
slugbase
slugindex
slug
, User identification
)
VALUES (
, Pslugbase
, (SELECT COALESCE ((SELECT (max (Slugindex)) + 1)
FROM ks.shares s
WHERE s.Slugbase = Pslugbase), 0)
)
, (SELECT Pslugbase
|| COALESCE ((SELECT --::: text || (max (slugindex) + 1) :: text
FROM ks.shares s
WHERE s.slugbase = Pslugbase), & # 39; & ses; AS-Slug
)
Puserid
)
RETURN id, modified, Slug INTO Vnewshare;

- INSERT into two other tables

BACK json_build_object (
& # 39; data & # 39; json_build_object (
& # 39; id & # 39; lpad (Vnewshare.id::text,public.padding_constant (), & # 39; 0 & # 39;),
& # 39 ;, Vnewshare.modified, changed,
& # 39; slug & # 39 ;, Vnewshare.slug
)
);
EXCEPTION IF unique_violation THEN
- do nothing and try the INSERT again
THE END;
END LOOP;

(I have taken this pattern from an answer to implementing UPSERT, but I can not find it!)

However, when I implemented this feature, my database instance was stuck twice, and long queries were executed that called this function concurrently. So I seemed to have replaced a race condition with a deadlock or an endless loop

pid | Duration | Query | State
------ + ----------------- + ------------------------- -------------------------------------------------- ------ + --------
8187 | 01: 47: 35.477316 | Choose ks.post_share ($ 1 :: text, $ 2 :: text, $ 3 :: bigint) | active
1188 | 01: 57: 56.955747 | Choose ks.post_share ($ 1 :: text, $ 2 :: text, $ 3 :: bigint) | active
(2 rows)
  • Is the approach of using a LOOP the wrong way?
  • Is there a way to understand why the query gets stuck? It does not occur during the load test but has been shown twice in production (which seems contradictory).
  • Should I just return the conflict to the calling process and try the application again?

All thoughts would be very grateful.

Haunt Jack O? Lantern carving Halloween contest

Hello everyone,

Scopehosts.com
With the Halloween competition "Spooktacular" you have made your Halloween party fantastic. They are organizing a competition
When black cats roam and puppies shimmer, this Halloween can be your luck.
————————————————– ————————————————– ——–

The competition consists of the following steps:

STEP 1: Follow Scopehosts on Facebook and Twitter,

STEP 2: Like and Share the JACK-O-LANTERN COMPETITION Post Office.

STEP 3: Be creative – carve the pumpkin in the most CREEPY Wise.

STEP 4: Open the option in Laptop / PC / Tab Scopehosts.com Website, next to the carved pumpkin and CLICK YOURSELF OR IMAGE in order to.

STEP 5: Post the carved pumpkin image in the comment section by marking your friend to enter this contest and make sure it's hashtagged #JACKOLANTERN, #HALLOWEENCONTEST, #SCOPEHOSTS

Follow these 5 easy steps and win exciting goodies. To be revealed with the good things, Click here.

————————————————– ————————————————– ———

TERMS AND CONDITIONS:

1st competition starts October 25 and ends on October 31, 2018,
2. The winners will be displayed at a high level Originality and scary carved pumpkins.
3. The participants should Mark at least one friend in the comment section.
4. Try to take the best possible picture as the picture quality can leave a good impression with the judges.
5. Make sure you tell us what the pumpkin should be in the caption, just in case it's not clear.
6. The winners will be announced November 5, 2018 on the Scopehosts Facebook page.
7. Winners must enter their name and email address within 2 days to claim their prize.
8. Each winner can claim only one prize.
9. Scopehosts is not liable for incorrect entry information.

Why are you still waiting? Just follow these simple steps and win exciting prizes.

For further updates you can send us an e-mail directly: sales@scopehosts.com

If you have any questions, please contact us directly Here

Scophostst wishes you a fun and scary Halloween full of delicious treats !!!

,