Amazon Mechanical Turk Manage Answer - amazon-web-services

Currently, I am managing the submitted answer from the workers. I already download it and check the answer one by one. Now, I know which HIT Id that I will reject and approve but I got 1700+ answers which will be a very tedious job. Anyone know how to automate base from the HIT Id ? maybe using some API?

You can do it by pressing the upload button. After you press the button, you can upload a CSV files in that must be contain your HITID, Assignment ID, Reject, and Approve with their colums accordingly. You can set a HIT to be approved by giving x to the approved column. If you want to reject it, fill the Reject columns with your comment that you want to give to the worker. That is all, you can fill it by using python script that can help you automate it. Thank you

Related

Automate Teams notification with visuals with Power BI Alert is triggered

Thank you for the time of checking this out.
My goal is to have Power Automate send my customer a teams notification when a goal in a metric changes, but not only with the values, but also with a / the visual linked to the goal.
I have already managed to make an automation in Power Automate that does the following:
When Goal changes --> Get a Goal --> Post message to Chat or Channel.
This produces a text notification with the content I want in it, but to make it look a bit nicer, and more in context, I would like to add a viual.
Does anyone know how to accomplish this? Thanks!

Attachment not filtered - Power Automate Send email with PBI pdf report attached

Try follow the steps in this article which describes exactly my situation
(https://wisedatadecisions.com/2021/01/18/filter-email-power-bi-report-pages-using-power-automate-excel/)
Everything worked as described, except for the part where it was supposed to attach a filtered pdf to the email, the urlfilter was not working, the pdf report attached to email contains everything unfiltered.
Also tried remove the space and include x0020 in the place of the spaces per this article (https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-url-filters).....no luck either.
Anyone had similar experience can share some knowledge, any idea what I've missed or done wrong?
Sample Excel table below. The Power Automate flow was able to extract and use all columns A-E and sent the email, only the pdf attached is not really filtered. I think something's not right with the URLFilter column, but don't know what's wrong.
thanks,

Magento products not visible via REST api addition

I'm currently running into the problem that I am using a webservice system to load products into magento.
I'm using the REST api in conjunction with Oauth to create products and assign a category. It works and when I go to the admin I can see the products as well as see they are properly assigned to the correct category. When I open the category management in the management console i can see i have (example: 106) items assigned in the category.
However, the problem is: It does not show in the site.. even with refreshing anything that is cache or index.
When I open up the management console and open 1 article and save it without changing any other property and then Save it. I can suddenly see the item in the front end webshop...
I'm lost to why this occurs.. also for 19k product updates it is becoming a bit of an annoying bit of work to update this amount of products since any bulk update method does not do the same as editing just 1 product at a time.
Any help is much appreciated.
In the end I have discovered the answer myself. Thought it might be nice to list it here as well.
In the 'rights' tab i added all the accessrights for the user using the api. This allowed me to read products etc. Very stupid mistake but somehow I overlooked this at first.
IF you'd expect security errors.. you wont get any. just empty lists and null responses.

Django Awaiting Appoval

If you want user to submit say articles to your website but you want to approve these articles before they are added to a list of articles, how would you go about doing so?
The only method I can think of is to have 2 databases; one for 'awaiting approval' and another for 'approved and ready to be displayed'. However, my issue is whether there is a fast method to go about transferring the information between the two databases? I only know about doing this manually.
Or is there already a Django module that handles this?
Thank You for any help.
As jordi has said, add an extra field, but you might also want to write a custom manager for your table that selects posts according to status.
See the Django docs: https://docs.djangoproject.com/en/dev/topics/db/managers/ where they set up a manager that filters on sex="M" to only return Male people. This makes your code neater, and means as long as you go through the right manager you'll not have to keep remembering to test for state="Approved" all the time.
If you want to get more complex, the thing you are doing is called "Workflow" and there are django and python packages that implement this - but it gets very complex very quickly...
Just add a column to the database table called status
1 = waiting
2 = approved
3 = denied

Redmine - how to add an activity in the DDL

Wow.I cant believe how raw redmine setup is.
Anyway..I wanted to update a ticket in a project and there is a activity drop down list. I cant save unless I specify an activity. There is none. How do I populate a list of activities from the UI?
Thanks
Time tracking activities: The content of the drop-down are in the global setting, relevant redmine guide link.
By the way, if you don't enter anything for spent time and the related comment in the Log time section, you don't have to select an activity.