Unable to use "Create new XXX" - oracle-apex

When I try to create a region, either by clicking the + next to Regions, or by right-clicking on Regions>Content Body>"Create Region", APEX just creates a region with static content. It does NOT present the create region wizard.
Why is this?
A basic question, hopefully someone can help me here.
Thanks in advance.

This is Apex default region then you have to select what type of region you want. but if you want to create a specific region directly go to Layout ---> region ---> and choose the type of region you want.
enter image description here
for form region click to + button on the top of your page then chooose your type of form region you want
enter image description here

Related

Attach a tag along with the values to a BigQuery table using the Data Catalog

I have multiple tables in BigQuery. I also have a tag template.
Is there a way to attach this tag template and fill the details programmatically with python to any table using the google.cloud.datacatalog?
tag = datacatalog.Tag()
tag.template = 'my_project_id.my_tag_template'
data_sources_field = datacatalog.TagField()
data_sources_field.string_value = 'Test_data_source'
tag.fields['data_sources'] = data_sources_field
datacatalog_client.create_tag(parent=my_table_entry.name,
tag=tag)
I get the following error -
PermissionDenied: 403 Permission denied on resource project my_project_id.my_tag_template.
The service account has 'project editor' role.
The issue was caused by the way the tagTemplate was called.
tag.template = 'projects/<project-id>/locations/<location>/tagTemplates/<template_id>'
Calling like above solved the issue.
If you want to create a tag template and attach a tag along with the values to the BigQuery table programmatically using Python API, refer to this quickstart.
If you are facing the same error (PermissionDenied : 403 Permission denied on resource project) as the OP, refer to the answer by the OP himself.
If you want to do the same through console, follow the below steps. For more information, refer to this doc.
Create a new tag template by navigating through Data Catalog -> Tag templates -> Create tag templates (Provide the “Template id”, “Location” and “Fields” based on your requirements and click create)
To attach a tag to a table in your dataset, navigate through Data Catalog -> Search, enter your dataset/table name in the Search box, then click search. From the results, select your table which you want to attach a tag.
After selecting the table, click “Attach Tags” and select your table name in “Choose what to tag”, then choose the tag template (which you have newly created) in “Choose the tag templates” and add values based on the display name and type as per your requirement in “Fill in tag values” and click save. The “Attach Tags” page will appear as shown below:
You can check the created tag with values under the “Tags” on the table page in Data Catalog as below:

AWS Sagemaker Cant train my Keras model - ErrorMemoryError: Unable to allocate 20 GiB for an array with shape and data type

it's my very first time using AWS Sagemaker, so I'm trying to fit my keras model and get this error the whole time. I don't know how can I solve it , I tried doing echo 1 > /proc/sys/vm/overcommit_memory but then kernel died. I was using the most basic and cheapest version for Sagemaker, I think it has 4GB ,may it be the problem?
But I dont really know with this configuration I can fit this model in my own computer, so that means that Sagemaker has less power than my computer?
Thanks.
For a model that requires a 20GB array to be stored, you'd probably want to use something like an ml.t3.2xlarge or ml.m5.8xlarge instance, which have 32GB of memory available.
There are two ways to solve this problem:
Method 1
You can select this from the SageMaker Studio environment if you're using the SM Studio IDE, via the "Switch instance type" button at the top of your notebook tab.
Once you've done this, the instance list will appear in a pop up, and you need to click on the "Fast launch only" selector button, so that you can see all available instance types.
Method 2
Alternatively, if you're using a "traditional" SageMaker Jupyter notebook without the SageMaker Studio IDE:
Goto the main SageMaker console.
Click on Notebook -> Notebook Instances.
Click on the hyperlink of the notebook you want to change the instance type for.
This will take you to the "Notebook instance settings" page.
Click on the "Edit" button (top right).
Select your new, larger instance type from the "Notebook instance type" drop down list.
Scroll down to the bottom of the page and click on the "Update notebook instance" button.
This will take you back to your list of notebook instances.
Note that the list will contain the word "Updating", with a clock icon next to it in the Status column.
If this hasn't refreshed after a few minute, click on your browser refresh button.
The instance should now show as being available/In Service, with the new instance size/type listed in the "Instance" column.
If it's not started, click on the "Start" link in the "Actions" column and it should start with the new instance type.

Two different interfaces for AWS Tag Editor?

It seems that there are two different Web UI for AWS Tag Editor (you need an AWS account to try them):
https://resources.console.aws.amazon.com/r/tags
I got this link from AWS Doc
https://eu-west-1.console.aws.amazon.com/resource-groups/tag-editor/find-resources?region=eu-west-1
In Management Console, if you select Resource Group > Tag Editor on the top of the console page, it will take you to this page
The two WebUI behave differently:
The former is global but the latter is region-specific (it will put you into a region even if you don't put the region parameter in the URL)
The former allows you to search for Not tagged in the filter; but the latter does not
The UI are slightly different
Is one of UI a newer version?
Update (2019-05-14)
(Please also see an explanation about the two links being NEW and OLD UIs that AWS offered at a certain point in time) By now the first link is gone. If you visit it, you will get a 404 Not Found error from AWS.
I am part of the team building the new Tag Editor. Yes, you are correct: Classic Tag Editor is deprecated, and will be shut down soon entirely. We are working on full feature parity between the two Editors, so you will very soon find everything you can do in the old one as well in the new one.
To add some more context on your different items below:
1) Both old and new Tag Editor use the same underlying tagging infrastructure, so this should never happen. Maybe there is some browser issue involved here? Feel free to open a support issue so we can look deeper into it, if this continues the case.
2) Yes, the new one also includes Lambda, and will very soon add more resource types. The same by the way for regions: The old Tag Editor supports not all regions, for example eu-north-1 or eu-west-3.
3) No, Route53 Hosted Zones are supported in both Editors. Route53 resources only exists in the us-east-1 region, so maybe you used the Tag Editor in another region?
4) Both Editors show the same data. The old editor merged what you used as Name Tag and the ID in the same field - in the new one, you see only the ID in the column ID, and the Name Tag is displayed in the column Tag: Name.
Searching across regions is something the new Editor soon will support, too, and the same applies for the filter you mention. For showing resources without a specific tag, there is a workaround you already can do: Click on the settings icon in the top right of the table, and enable the tag you are interested in as a column. You then can sort this column so that all untagged ones show up on top.
If you have any other ideas or requests for the Tag Editor, please let us know. The fastest and most reliable way is to just use the 'Feedback' Button in the console in the bottom left.
Cheers,
Florian
Hi I am providing my own answer here (thanks my colleagues Kannan for the insight)
#1 above is what AWS called Class Tag Editor. If you click on the Question mark on the Web UI (upper right corner), you will be taken to a page that says:
This documentation is for classic Tag Editor, which has been
deprecated
So #2 is the version that AWS want us to use.
Below I will called #1 Old and #2 New
I compared the example outputs from our environment (about 50 resources). The two outputs differ in these respects:
New seems to retain past resources for a longer time. For example, if an EC2 instance has been terminated, it may take a
longer time to be removed from the listing of New
New seems to include resources for DynamoDB but Old does not
Old seems to include resources for Route 53 Hosted Zones but New does not.
Both New and Old show Security Groups, but the ID strings are rendered slightly differently.
New renders an ID as sg-xxxxxxxxxxxxxxxxxxxxxx
Old renders an ID as someName (sg-xxxxxxxxxxxxxxxxx)

Create Instance Template based on an exported image

I have an image created from a VM and I want to create an Instance Template to use that image for boot disk. I cannot find any way to do this in Google Cloud Console. How can create an Instance Template, using an image for boot disk?
Thanks!
Go to Compute Engine -> Images. In Filter images, enter the tag that you used to create the image. If you did not use a tag or something descriptive, then you will have to look thru the entire list. If you do not find your image, then go back and figure out what went wrong with your import.
Once you know your image and its name, go to Compute Engine -> Instance tempates.
Click on Change in Boot disk. Select the tab Custom images. If you do not see your image, then go back again and figure what went wrong with your import.
If you see your image select it and press the Select button. Continue configuring your instance template.

how to change my display name as amazon mturk requester?

I am trying to change my display name as a requester in mturk. Instead of my real name, I want a company name to show up.
Whatever I tried, did not make this change.
I tried changing my name in "Account Settings" in mturk, my global Amazon name, my Amazon address, nothing helped.
Also, I get inconsistent behavior with respect to what's shown in the greeting when I log-in to mturk. Sometimes the company name is shown, and sometimes my real name is shown (in the same spot).
(for workers, my real name is always displayed.)
I am not the first to have this problem:
https://forums.aws.amazon.com/thread.jspa?messageID=209269
Changing your name can be done online by following these steps:
Log into your Requester account at -- https://requester.mturk.com/
Click the "My Account" link in the upper right corner.
Under "Personal Settings", click the "Edit" button next to your name.
Log into the following screen to confirm ownership of the account.
Click the "Edit" button next to your name again.
Update your name and click the "Save Changes" button.
The change won't take effect shortly. It took a couple of hours in my experience, and somebody said 48+ hours. Anyway, being patient would be helpful.
Go to amazon.com and sign in. Click Your account, and then under settings, click Change Account Settings.
Editing the name there will change the name displayed to workers for Requester:.
Source: I just did this and it worked for me.