Add-UIPathUser not working for domain user.

Hello,
We tried to use the example to sync user and we found that Add-UiPathUser don't have a domain parameter.
After we tested the script, account were created with domain\login format but it was not possible to authenticate as Windows account with them.

You are correct. I will push a fix.
The sync script will continue to add users as domain\user name, because this is the only way that the Domain users can be later recognized in order for the sync to work (remove users from groups, remove users from Orchestartor). This is not how Orchestartor itself imports the users, but I think the Orchestor import is broken and a bad example (eg. it cannot import trusted domains).


Christian dbt training

Completing today's exercise by completing a pull request for the DBT training

Closing, as our training sessions have completed. Follow-on work will happen in new PRs tackling specific issues. Thanks @christian-clarion


[Refactor] Service.css page

File Name
Service.css
Reason for Refactoring the Code
The current CSS code in our project needs refactoring to improve its readability, maintainability, and organization. This issue aims to clean up the CSS code and follow best practices for a more efficient and consistent codebase. Here are the proposed changes:

Organize the CSS properties into relevant sections such as fonts, global styles, title section, navbar, etc., for better readability.
Remove unused or redundant styles to reduce code clutter and improve performance.
Use appropriate class names and selectors to make the CSS more intuitive and self-explanatory.
Consolidate common styles and avoid duplication.
Properly comment sections of the code to explain their purpose and usage.
Ensure consistent indentation and formatting throughout the CSS

Checklist

[X] I have checked the existing issues.
[X] I have read the Contributing Guidelines.
[X] The changes don't break the code and don't introduce new functionality.
[X] I am willing to work on this issue (optional).
[X] I am a GSSoC23 contributor.

Hey @Vaishnavi-Patil2211  PLease assign me this issue


AMD environment compatibility.

When using the library inside a AMD (requireJS) app I get an error probably related with the loading of lodash module. There are plans to package the library as AMD or UMD? There is a workaround for this issue?
Uncaught TypeError: _.forEach is not a function
at Object.init (instascan.js:7995)
at Stamp (instascan.js:26856)
at Function.create (instascan.js:27056)
at Scanner._createStateMachine (instascan.js:30311)
at new Scanner (instascan.js:30150)
at scanQR (play.js:866)
at HTMLFieldSetElement. (play.js:528)
at HTMLFieldSetElement.dispatch (jquery-2.1.4.min.js:3)
at HTMLFieldSetElement.r.handle (jquery-2.1.4.min.js:3)

Up

@schmich could you review my pull request to solve this issue?

I ran into a similar problem too using Durandal which uses requirejs and including the instascan.min.js.
I wonder if this issue is a duplicate or closely related to issue #94  https://github.com/schmich/instascan/issues/94.


HDDS-4033. Make the acceptance test reports hierarchical

What changes were proposed in this pull request?
Acceptance test reports of today uses a generated name for each of the executed robot tests.
Instead of using a flat structure with generated name it seems to be better to use a hierarchical structure which represents the directory structure.
before:

after:

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-4033
How was this patch tested?
Running CI on my fork:
https://github.com/elek/hadoop-ozone/runs/911471446?check_suite_focus=true
See the attached artifacts

Codecov Report

Merging #1263 into master will decrease coverage by 0.07%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1263      +/-   ##
============================================
- Coverage     73.95%   73.88%   -0.08%
+ Complexity    10171    10148      -23
============================================
  Files           974      974
  Lines         50187    50187
  Branches       4892     4892
============================================
- Hits          37115    37079      -36
- Misses        10756    10767      +11
- Partials       2316     2341      +25

Impacted Files
Coverage Δ
Complexity Δ

...on/statemachine/commandhandler/CommandHandler.java
40.00% <0.00%> (-60.00%)
2.00% <0.00%> (-1.00%)

...hdds/scm/container/common/helpers/ExcludeList.java
78.26% <0.00%> (-21.74%)
17.00% <0.00%> (-5.00%)

...doop/ozone/om/exceptions/OMNotLeaderException.java
48.48% <0.00%> (-18.19%)
3.00% <0.00%> (-2.00%)

...hdds/scm/container/CloseContainerEventHandler.java
72.41% <0.00%> (-17.25%)
6.00% <0.00%> (ø%)

...ache/hadoop/ozone/om/codec/S3SecretValueCodec.java
90.90% <0.00%> (-9.10%)
3.00% <0.00%> (-1.00%)

...e/hadoop/ozone/recon/tasks/OMUpdateEventBatch.java
75.00% <0.00%> (-8.34%)
6.00% <0.00%> (-1.00%)

...p/ozone/security/OzoneDelegationTokenSelector.java
72.22% <0.00%> (-5.56%)
7.00% <0.00%> (-1.00%)

.../apache/hadoop/ozone/protocolPB/OzonePBHelper.java
90.00% <0.00%> (-5.00%)
6.00% <0.00%> (-1.00%)

...apache/hadoop/hdds/server/events/EventWatcher.java
77.77% <0.00%> (-4.17%)
14.00% <0.00%> (ø%)

...apache/hadoop/ozone/client/io/KeyOutputStream.java
78.33% <0.00%> (-2.50%)
44.00% <0.00%> (-4.00%)

... and 18 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 093f556...51f78ff. Read the comment docs.


Is there a way to get un-sorted data

Hi !
Thanks for making this amazing tool ! It has helped me a lot recently. Now coming to my question, Currently I'm trying to convert a csv into JSON format. For me, the order in which the keys order matter. So if in my csv, the first heading is userId, I want that to be at same order in the JSON generated.
Currently the keys are ordered in alphabetical order. How can I achieve the original order of keys ?
Thanks ! :)

Found #176, Fixed the issue. Thanks :)


Allowing AnyOfField or OneOfField to use schema

Reasons for making this change
I have a use case where I'd like to be able to define an anyOf in the schema (for validation purposes), but still render items from the schema properties. This should be allowable if I create my own AnyOfField, but currently SchemaField doesn't pass through the schema to the custom Field.

hi @slashbin, can you show me an example of AnyofField/OneofField using a schema, and add some tests, so that I can see what exactly is the use case for this?

Ok, took a look again and this makes sense. Thanks for the PR!

Thanks for merging! Sorry I didn't see your reply earlier.
Just for posterity's sake, the use case here would be that I'd like to render an ObjectField from the properties, as normal, and rely on the anyOf only for validation on a subset of the properties.
So, as a simple (untested) example, I could have something like the following, which I believe is valid JSON Schema and AJV seems fine with. However, it requires that I render all properties and validate on the anyOf conditions. I understand that isn't necessarily supported out of the box yet, but we shouldn't preclude someone from creating their own AnyOfField that does this (by omitting schema, as SchemaField was doing)
{
	"type": "object",
	"properties": {
		"is_exempt": {
			"type": "boolean"
		},
		"overtime_hours": {
			"type": "array",
			"items": {
				"type": "number"
			}
		}

	},
	"anyOf": [{
		"properties": {
			"is_exempt": {
				"const": true
			}
		}
	}, {
		"properties": {
			"overtime_hours": {
				"minItems": 1
			}
		}
	}]
}


MatSelect OnChange Event in a nested component doesn't work as expected

Hello everyone, I want to use the OnChange event on my MatSelect component. I use this select in a custom component :
RatingsAddComponent.razor :
            <MatSelect @bind-Value="Rating.MarketAux" @onchange="@OnChangeHandler">
                <MatOption TValue="int" Value="0"></MatOption>
                @foreach (GenericCriteria criteria in MarketsList)
                {
                    <MatOption TValue="int" Value="<EMAIL_ADDRESS>                }
            </MatSelect>
...
    [Parameter]
    public EventCallback<ChangeEventArgs> OnChangeHandler { get; set; }

And I use this component in my page :
            <RatingsAddComponent
...
                OnChangeHandler="@((ev) => IsRatingFullFilled(ev, rating))" />

With the method :
    protected void IsRatingFullFilled(ChangeEventArgs e, UseCaseRating ucr)
    {
...
    }

I have some things to do in my method, but the object I've bound (of type UseCaseRating) isn't  filled with the actual value of the select component (MarketAux). the binding is always done after the event has ended...
How can I fix this ?
I've used FocusOut event before, but this doesn't fits our need as the item should be edited just after having clicked on the MatOption element...

Can you post an executable example in Blazorfiddle? https://blazorfiddle.com/
Hit save and paste your https://blazorfiddle.com/s/{key} here

I don't believe onchange works anymore for MatSelect since it's only enhanced available now. I believe you need to use ValueChanged.

@GriesmarThomas ,
Bump on getting a blazorfiddle.
Thanks!


Update rubocop on multiple items to 1.3.x

Signed-off-by: Scott Hain<EMAIL_ADDRESS>Helps add to opentelemetry-ruby 1321

@ahayworth yeah I was noticing that as I went through some of those. At a $Job-n we had some kind of standard for this... maybe @robbkidd remembers.

New gem "otel-style" in the style of "chefstyle".


Ensure parameter bag doesnt include null, undefined or empty-string v…

…alues

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%.  Consider uploading reports for the commit 4ce5481 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##              master       #64   +/-   ##
===========================================
  Coverage     100.00%   100.00%
  Complexity       380       380
===========================================
  Files             79        79
  Lines           1015      1015
===========================================
  Hits            1015      1015

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Az Login Issue

Describe the bug
PS C:\Users\Admin\Desktop\Terraform> az login
Please select the account you want to log in with.
Decryption failed: [WinError -2146893813] Key not valid for use in specified state.. App developer may consider this guidance: https://github.com/AzureAD/microsoft-authentication-extensions-for-python/wiki/PersistenceDecryptionError
Please report to us via Github: https://github.com/Azure/azure-cli/issues/20231
Related command
az login
Errors

Issue script & Debug output
PS C:\Users\Admin\Desktop\Terraform> az login
Please select the account you want to log in with.
Expected behavior
PS C:\Users\Admin\Desktop\Terraform> az login
Please select the account you want to log in with.
Environment Summary

Additional context
No response

Thank you for opening this issue, we will look into it.


Bump to 0.1.9

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Reviewing Backend Introduction and adding anchors to hypertext

4.5.2 Updating hint to: You can define your routes in any order in your code, and Flask will handle them correctly.
I've generally been converting strings to use single quotes
4.5.3 converting example to have full html
-4.5.1 behavior -> behaviour
4.5.3 in the second bullet point their is an extra tick
In general, convert f strings to .format()
In general, removing the name == "main"
4.5.4 on Ed, the default opens the page at /, so when that doesn't get defined you get a 404, which is confusing. I'm changing the hello name example to just start on the homepage
-- moving 4.5.4 to web part 2
-4.6.4 missing the port
4.6.4 I've taken out the alt param because we haven't explained it anywhere yet. Either we can add it in earlier, or we address it when we do a section on accessibility
4.6.4 I would not put in a selfie image. I think we should provide schools with a generic image, like a chicken picture or tell students to put in a picture of their pet.
4.6.4 Change folders to only one / at the front
4.6.4 change from styles.css to style.css, I think we should stick to the same name

-1.4, ed hyperlinks in websnippets and web previews can only link to ed and not external webaddresses
(I've updated the chicken images to be smaller on Ed)

I think we need a CSS cheatsheet page at the end of the styling section. It would actually be good if we could also have a downloadable pdf version that students could refer to.

Dynamic backends part 1

5.2.1 full stop missing at the end of the first sentence.
5.2.1 Converted double quotes to single quotes
5.2.1 rephrased the third point to emphasise SQL query instead of using
5.2.1 renamed headings/subheadings
5.2.1 second dot point, is Connection meant to be capitalised?
5.3 I've made some changes to how the content is presented in Ed - it's more challenge based and broken up over multiple slides
5.4.1 the example and explanation switches from single to double quotes
5.4.3 app.run missing the port number
5.4.3 I made the list example easier, just title - score
5.4.3 I've been putting ; at the end of the SQL queries
5.4.3 example is broken, missing the connection = engine.connect()
5.4.3 Remove lang='en'
5.4.3 I've added some extra explanation
5.4.3 I've added an exercise where they have to create a table display
5.4.4 Made a longer example
5.4.5 I've removed type="text/css" from the first code snippet
5.4.5 Static files in templates - move to project

Dynamic backends part 2

5.5.1 I modified this example to remove the /greet path because it was just more that the students had to type
5.5.1 Converting to single quotes
5.5.2 I changed the example a bit.
5.5.2 Move the type declaration to a 'good practices' page int:movie
6.6.3 typo: submititng
6.6.4 Removing  because students haven't encountered this and the webpage looks fine without it
6.6.4 added 'Each key-value pair is separated by an &.'
6.6.6 Missing connection = engine.connect()
6.6.6 the first function name needs to be changed, I've changed it to search()
6.6.6 capitalised AND in SQL query
6.6.6 'score' in query needs to be changed to 'review_score'
6.6.6 'movie_list.html' in the second function needs to be changed to 'filter.html'
6.6.6 movies=filtered_movies needs to be changed to movies=result
6.6.6 'genre={}' needs to be changed to"genre='{}'"

Dynamic backends part 3

6.7.3 Missing connection
6.7.3 Remove f from start of string in .format
6.7.3 rename file add_review.html
6.7.3 render_template missing from imports

3.1.2 'organizes' -> 'organises'
3.2.2 extra tick near the start
3.2.2 'labeling' -> 'labelling'
3.2, I don't think you actually learn 'How TCP ensures data is delivered reliably and in the right order' in this section
3.3.2 (in note) 'ephermeral' -> ephemeral
3.4.5 extra tick in the second paragraph


How to test using GPU

Hi, @yhenon   i trained this on  my laptop but GPU was not used... (OK trained on CPU- results good)..   How can i use my GPU for inference/testing?
Thanks,

If you have configured tensorflow to use the GPU then it should use the GPU. Note that the repo is quite slow in general though.


add fetchmany, resolves #408

Resolves #408
Description
Adds a fetchmany function that calls fetchmany on underlying cursor
Checklist

[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have updated the CHANGELOG.md and added information about my change to the "dbt-databricks next" section.

I didn't add any tests because I wasn't sure what to add. I did run the existing endpoint tests, both uc/non-uc and I'm about to run the uc-cluster tests. So far everything has passed, I will update when the uc-cluster tests are finished.

@susodapop looks good to me, thoughts?  I've verified that the issue still exists in 1.6.1 in my local project.

@NodeJSmith thanks for the contribution and apologies for the delay in communication.

Couldn't figure out how to push to here, so opened a new PR that updates the Changelog.  https://github.com/databricks/dbt-databricks/pull/440


cleanup boilerplate files slightly

update README with non-boilerplate content
remove boilerplate RELEASE.md that doesn't apply here currently
add myself to SECURITY_CONTACTS, I'm in OWNERS and already have agreed to the terms elsewhere

this PR is not particularly important, but doubles to test #7 🙃

/retest
/lgtm


Touch controls for mobile devices

add touch controls for moving and looking around on mobile devices
https://yoannmoi.net/nipplejs/

Moving out of scope for tech preview since there's a bunch of other UI work that needs to be done


"Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found"

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
TensorFlow installed from (source or binary): binary
TensorFlow version: 2.4.0
Python version: 3.8.8
Installed using virtualenv? pip? conda?: pip inside a virtualenv.
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: v11.0.3_451.82 / cudnn-11.0-windows-x64-v<IP_ADDRESS>.zip
GPU model and memory: 2080 8G
-Nvidia driver version: 465.89

Describe the problem
A similar issue as to #46606, #43193, and #45055. When attempting to run python -c "import tensorflow as tf;print(tf.reduce_sum(tf.random.normal([1000, 1000])))", I get the following trace;
2021-05-02 16:52:00.618495: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found 2021-05-02 16:52:00.618653: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. 2021-05-02 16:52:02.101881: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set 2021-05-02 16:52:02.102613: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library nvcuda.dll 2021-05-02 16:52:02.130031: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1720] Found device 0 with properties: pciBusID: 0000:2d:00.0 name: NVIDIA GeForce RTX 2080 computeCapability: 7.5 coreClock: 1.845GHz coreCount: 46 deviceMemorySize: 8.00GiB deviceMemoryBandwidth: 417.23GiB/s 2021-05-02 16:52:02.130365: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found 2021-05-02 16:52:02.130609: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cublas64_11.dll'; dlerror: cublas64_11.dll not found 2021-05-02 16:52:02.130862: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cublasLt64_11.dll'; dlerror: cublasLt64_11.dll not found 2021-05-02 16:52:02.131045: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cufft64_10.dll'; dlerror: cufft64_10.dll not found 2021-05-02 16:52:02.131225: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'curand64_10.dll'; dlerror: curand64_10.dll not found 2021-05-02 16:52:02.131484: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cusolver64_10.dll'; dlerror: cusolver64_10.dll not found 2021-05-02 16:52:02.131796: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cusparse64_11.dll'; dlerror: cusparse64_11.dll not found 2021-05-02 16:52:02.132066: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found 2021-05-02 16:52:02.132188: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1757] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform. Skipping registering GPU devices... 2021-05-02 16:52:02.132804: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. 2021-05-02 16:52:02.133414: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1261] Device interconnect StreamExecutor with strength 1 edge matrix: 2021-05-02 16:52:02.133546: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1267] 2021-05-02 16:52:02.133646: I tensorflow/compiler/jit/xla_gpu_device.cc:99] Not creating XLA devices, tf_xla_enable_xla_devices not set tf.Tensor(-115.45033, shape=(), dtype=float32)
Provide the exact sequence of commands / steps that you executed before running into the problem
I continue to get the above issue despite following the steps and suggestions in each of the other similar issues.
I tried adding the environmental variables through cmd, which wasn't mirrored in the GUI so I added them there as well. This did not fix the issue.
I re-installed the Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017, and 2019. This did not fix the issue.
I enabled long paths. This did not fix the issue.
I was already on a 64bit release of Python 3.8.8, which the venv I'm using was created with.
I've restarted the terminal and restarted my PC several times, which did not fix the issue.
I created the C:\tools\cuda folder and extracted the contents of the cuDNN there, and ensured that it was on PATH. This confuses me since it's not mentioned as a necessity in the installation process of cuDNN itself. Either way, this did not fix the issue.
Any other info / logs
deviceQuery running.

All the items in PATH.

The contents of the CUDA bin folder, showing the supposedly missing files exist.

Thank you in advance for your help.

@willawebb
Could you please try with cuda 11.0 and cudnn 8.0 as i see you have mentioned cudnn 11 in the template.

I was able to get past this error by doing os.add_dll_directory("C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.2/bin") before importing tensorflow

I was able to get past this error by doing os.add_dll_directory("C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.2/bin") before importing tensorflow

Thanks, it saved my day!

bumping this here because the fix looks like temporary. I did not face this issue using python 3.8 in a virtualenv but occured in system python 3.9 on windows. From the people it also looks like a windows issue. Even though the cuda paths added to path correctly, it still doesn't recognize the appropriate dll's.

I was able to get past this error by doing os.add_dll_directory("C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.2/bin") before importing tensorflow

Oh my god I've been 3 days through this error and I was desperated. You saved me I love you bro

Can anyone please say where should one add  os.add_dll_directory("C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.2/bin") this to get through this error?

@karthik-653 Before impoting anything(besides os ofc) should work.

This solution (the answer on the issue) is for PYTHON. THIS IS PYTHON ISSUE.  ADD THIS TO THE TOP OF THE FILE. E.G. IF YOU ARE RUNNING THE CODE WITH python main.py, add below code to top of the main.py file
import os
os.add_dll_directory("C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.2/bin")

Change path accordingly with your cuda version.

Thank you, but this still didn't solve my error. I had to copy the files into System32 in order for it to find the correct file. Im not sure why this worked but it did.

os.add_dll_directory("C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.2/bin")

Thank you, saved my day!

I was able to get past this error by doing os.add_dll_directory("C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.2/bin") before importing tensorflow

Thanks so much! I've spent far too long looking at this. They should add this to the Windows setup in the tensorflow docs, or fix the issue.

subtype:windows

Yes it really was windows program. It is working fine now... thnx

I know this is a bit older now but I also ran into this issue.  All my paths are fine, and in a conda env it works but using a python env seems to throw that error no matter what I tried, until I found this thread with the workaround.
Anyone ever figure this issue out?

Thank you very much BradBarnich
I made it, like this 👇
import os
os.add_dll_directory("C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/bin")
import tensorflow as tf
After installing CUDA, I need to restart the IDE.  Thank you so much! Let's go


CLOUDP-256771: add type mappings for supporting objects types

Description
CLOUDP-256771 - Object types in the SDK should be threated as free form types.
Move from map[string]interface{}to  interface{} allows users to supply:

base types
their own structs
map[string]interface{}

Impact
map[string]interface{} cannot handle basic types like boolean and some APIs
OpenAPI object is very generic and cannot represent both cases exclusively.
We can effectively make our schema more strongly typed by documenting cases:
// Use SomeObject model or boolean value
Field interface{}

not sure about this change, in general I think that the more specific the better, so map[string]interface{} is prefered to interface{} if we're representing a JSON object.    I'm not sure about changing this behavior because one specific struct

Provided this PR as example of capabilities we have but no strong opinion on how to handle it.

in general I think that the more specific the better,

Does that mean that we want to introduce new custom openapi types for OpenAPI and SDK to handle?
map[string]interface{} cannot handle basic types like boolean.
Since this option provides:

their own structs

We can effectively make our schema more strongly typed by documenting cases:
// Use SomeObject model or boolean value
Field interface{}

I would like to understand better the implications of this change.   I think it's better to have the more specific types the better, so fields that can be map[string]interface{} are preferred over interface{} that can represent anything.
So in this case I'm not sure about changing all maps to any.

linter is failing

in the particular case of StoredSource, it sounds a bit strange to me to have a field that can be either true, false or an object.  I think this is the main issue.
for instance the team could change to have always an object and the field be part of it, e.g.:
"storedSource": { "storeAll": true  }  # equivalent to true
"storedSource": { "dontStoreOriginalDoc": true  }  # equivalent to false

more info: https://www.mongodb.com/docs/atlas/atlas-search/stored-source-definition/
true
Specifies that Atlas Search must store all the fields in the documents. Storing full documents might significantly impact performance during indexing and querying. To learn more, see Storing Source Fields.
false
Specifies that Atlas Search must not store the original source document. This is the default value for the storedSource option.

in the particular case of StoredSource

OpenAPI does reflect all sorts of the formats that cannot be easily reflected in golang.
We might think of some hacks.

@lantoli Any impact on terraform/Integrations?

after offline discussion I'm fine with leaving the PR as it is with interface{}

@lantoli Than you for review.


Error: Value was either too large or too small for a Decimal

Hallo,
When I get large values (type of double) back from our database, I'm getting the following error:
System.OverflowException: Value was either too large or too small for a Decimal.
at System.Decimal..ctor(Double value)
  at System.Double.System.IConvertible.ToDecimal(IFormatProvider provider)
  at DevExtreme.AspNet.Data.Aggregation.SumAggregator`1.Step(T container, String selector)
   at DevExtreme.AspNet.Data.Aggregation.AggregateCalculator`1.Step(Object obj, Aggregator`1[] aggregators, String[] selectors)
       at DevExtreme.AspNet.Data.Aggregation.AggregateCalculator`1.ProcessItem(Object item)
            at DevExtreme.AspNet.Data.Aggregation.AggregateCalculator`1.Run()
                at DevExtreme.AspNet.Data.DataSourceLoader.Load[T](IQueryable`1 source, DataSourceLoadOptionsBase options)

Regards,
Erik

Thanks. The fix will be included in 1.3.0-rc5


17737 4.1 sstable preemptive open interval in mb

About the VT, the conversion happens in the last method in the converter which was not handling the special case, I will fix it in a moment.
The reverseConverter in Converter is what handles this, it should be in this case o -> o ==  null ? -1 : o.toMebibytes()),

Ha...about the VT, it seems that someone added null check in the unconvert() method and broke the special cases we have in the converter... I will see to fix it and add more tests to prevent that from happening in the future

@jonmeredith I just pushed review commits to address your feedback and follow up discussion plus improved the testing. The only current issue I see is with the fromMap in the configuration loader which does not accept currently null values for properties that are not null by default in the Config class. I will try to figure it out tomorrow but at least we have a workaround and I wanted to show you what I came up with so far. Currently that method is also only used by the in-jvm test framework.
The Converter was broken when we introduced null post CASSANDRA-15234, I will add to the new tests for the rest of the properties and converters in a separate commit tomorrow. I didn't want to overwhelm this one. Only fixed the issue with index_summary_resize_interval=null which was the same as the one with sstable_preemptive_open_interval=null on startup

@adelapena I addressed your feedback. The new tests pass locally, but I started full CI #1823 https://app.circleci.com/pipelines/github/ekaterinadimitrova2

CI shows some issue with @Nullable, I think I need to change the scope in build.xml for the annotation, I will work it now. I will let you know when I have the fix pushed

com.google.code.findbugs needs to have default compile and not provided scope for this patch to work.
Looking into its license https://opensource.org/licenses/BSD-3-Clause
and reading here - https://www.apache.org/legal/resolved.html
I think this is fine. Do we need to bring it to the mailing list? I think only introducing brand new dependencies? WDYT?
CI - https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra?branch=17737-4.1-sstable_preemptive_open_interval_in_mb

The last changes look good to me. It seems that CI hasn't been started. Also we'd need to apply the changes to the patch for trunk.


added toast errors

Closes #160

👨💻 Changes proposed:

Added toast error messages instead of simple JavaScript alerts to enhance the user experience.
Proper coloring with styling and timeout animations have been considered

📝 Additional Notes
Discord username

Link to any external resources

📷 Screenshots

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] The title of my pull request is a short description of the requested changes.
[x] I am a participant of GSSOC23

@Fenrir-04 In the issue, level3 was mentioned... Please confirm


Reset zoom shortcut doesn't work

Godot version:

b70836c
Issue description:

In 2D editor, the Reset Zoom (Ctrl+0 by default) shortcut does nothing. Might apply to other shortcuts, but not all (e.g. tools work properly).

Seems fixed in 758bccf

It does not work with CTRL + numpad 0, but work with CTRL + non numpad 0 (Godot 4.0.alpha13.official [59dcddc45])

It does not work with CTRL + numpad 0, but work with CTRL + non numpad 0 (Godot 4.0.alpha13.official [59dcddc45])

Which keyboard layout are you using? Non-QWERTY layouts can often struggle with this. Also, double-check that numlock is enabled :slightly_smiling_face:

That's because numpad 0 is a separate key.

Azerty indeed (belgian), and yes numlock is enabled. I mean, as long as you can reset it it’s ok. I did reply just in case someone wanted to know 😉
Thank you for your answer
De : Hugo @.>
Envoyé le :mercredi 10 août 2022 14:58
À : @.>
Cc : @.>; @.>
Objet :Re: [godotengine/godot] Reset zoom shortcut doesn't work (#45747)
It does not work with CTRL + numpad 0, but work with CTRL + non numpad 0 (Godot 4.0.alpha13.official [59dcddc45])
Which keyboard layout are you using? Non-QWERTY layouts can often struggle with this. Also, double-check that numlock is enabled 🙂
—
Reply to this email directly, view it on GitHubhttps://github.com/godotengine/godot/issues/45747#issuecomment-1210638218, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AR5LQEYVXAJE3W4D6AT2ZVTVYOROLANCNFSM4XFTXZXA.
You are receiving this because you commented.Message ID: @.***>


when logged in, the homepage should just be browse

and not be a thing

We redirect to ?action=browse when / is requested and the user is logged in.
(Actually when they request '' but you get the idea.)


Kubebench: Move manifests development upstream

Issue Resolved
Resolves: https://github.com/kubeflow/kubebench/issues/216
Umbrella issue: https://github.com/kubeflow/manifests/issues/1740
Description
As part of the work of wg-manifests for 1.3
(https://github.com/kubeflow/manifests/issues/1735), we are moving manifests
development in upstream repos. This gives the application developers full
ownership of their manifests, tracked in a single place.
This PR copies the manifests for application Kubebench
from path apps/kubebench/upstream of kubeflow/manifests to path
manifests of the upstream repo (https://github.com/kubeflow/kubebench).
cc @kubeflow/wg-training-leads

@kubeflow/wg-training-leads kind ping

I don't think this repo is still being maintained but perhaps ping others from https://github.com/kubeflow/kubebench/blob/master/OWNERS to confirm.

ping @ddutta @gaocegege @swiftdiaries @xyhuang @akado2009 @andreyvelich @ramdootp
do you know what's the status of this repo? Can you help merge this PR?

I think we can set a DDL of 1 month, if there's no further response. We can archive this repo.

/cc @johnugeorge @xyhuang

/lgtm
/approve


Move Wiki to Discussions?

The Wiki is mostly formatted as questions/answers, which made we wonder if this would be better to have under Discussions Q/A:
https://github.com/rsmp-nordic/rsmp_core/discussions/categories/q-a
There would be no frontpage as such, however you can pin discussions, and it's also easy to link to other discussions, e.g. if we want a list of commen Q/As, like we have on https://github.com/rsmp-nordic/rsmp_core/wiki.

Sure. Perhaps Discussions Q/A is a better fit.


Fix OHLC test

Changes

Resolves #34:

For some reason calling the OHLC endpoint with AAPL returns empty data but for T it doesn't. I guess it might be because they are in different exchanges and/or as the docs describes:

Some stocks can report late open or close prices

Notes
Hi @schardtbc! I'm adding this as part of the Hacktoberfest effort 🍻🥨. In order for this PR to be accepted for the Hacktoberfest you would have to add the designated label:

An individual PR can be opted-in with a maintainer adding the "hacktoberfest-accepted" label to the PR.

If you can do that, I would highly appreciate it! 🤞🏼 Thanks

@schardtbc You got a new PR!


Get rid of PNG assets and use SVG

Did not even know that existed 👍
https://developer.android.com/studio/write/vector-asset-studio.html


Phase N: Changelog - List added, changed or removed files

List of added, changed or removed files of wazuh-indexer
Legend

(1) Change applied during the Build phase
(2) Change applied during the Assembly phase

Added

(1) wazuh-indexer initialization scripts

https://github.com/wazuh/wazuh-indexer/pull/59

(1) wazuh-indexer configuration files

https://github.com/wazuh/wazuh-indexer/pull/3
Note: The configuration files related to the security plugin are stored under the
security folder to avoid conflict with the original files. During the Assembly
phase, when the security plugin is installed, the opensearch-security folder
will be created with the default configuration files. We'll then need to overwrite
these with ours and delete the security folder before packing back.
Note: our copy of the configuration files are identified with .prod. Currently
both copies are kept in the Build phase. During the Assembly phase, these need
to become the default ones. Remove original ones and rename ours. This step is not
done during the Build phase because of the SSL certificates.
Note: our copy of the jvm.options is outdated. Update jvm.prod.options.

(1) wazuh-indexer README.md and VERSION files

https://github.com/wazuh/wazuh-indexer/pull/59

(2) OpenSearch plugins
Plugin list:
    opensearch-alerting
    opensearch-anomaly-detection
    opensearch-asynchronous-search
    opensearch-cross-cluster-replication
    opensearch-geospatial
    opensearch-index-management
    opensearch-job-scheduler
    opensearch-knn
    opensearch-ml
    opensearch-neural-search
    opensearch-notifications
    opensearch-notifications-core
    opensearch-observability
    opensearch-performance-analyzer
    opensearch-reports-scheduler
    opensearch-security
    opensearch-security-analytics
    opensearch-sql

(2) Performance analyzer RCA plugin

(2) Recompiled systemd-entrypoint module

https://github.com/wazuh/wazuh-indexer/issues/25#issuecomment-1721487076

Changed

(2) Replace jvm.options, opensearch.yml with jvm.prod.options, opensearch.prod.yml
(2) Replace opensearch-security/ files with security/ files.
(2) Replace $OPENSEARCH_HOME environment variable with /etc/wazuh-indexer
(2) Replace service and system files (needs expansion)

https://github.com/wazuh/wazuh-indexer/issues/25#issuecomment-1721487076

Removed

(1) Remove Windows scripts (*.bat).
(2) Remove install_demo_configuration.sh opensearch-security plugin's file

For a complete list of changes which were made to previous wazuh-indexer versions,
consult https://github.com/wazuh/wazuh-indexer/issues/25.

This list will help us test the packages' generation process by verifying these changes are applied.
In case I overlooked something, the list will be uploaded even if the issue is closed.


Source code and script does not define what a "higher priority" stream is

Just saw that the software switched to a "higher priority stream". Tried to figure out why it was higher priority than other streams without success, even looked at the source code but the comment was generic.
What is a "higher priority" stream? Campaigns that are ending soon?
Edit: Disclaimer: This might be defined somewhere, but since I could not find info about it, it needs to be more dummy proofed imo. Also: I am using default configs.

The list of game IDs that you have in the config is in order of priority.
For example:
Lets assume your config has "games": ["1", "2", "3"], and the bot was currently watching a stream for game 2. The bot periodically checks if there are active campaigns/streams for the other games listed, and finds one for game 1. Game 1 is listed first in the config, so it has a higher priority and the bot will switch to it.
If there are multiple active campaigns for a game, then it will give priority to the one that ends first. You can see how they are sorted in the code here.

Can this be clarified somehow for end users like me? Or explained in README.md?

yes, I've just added this explanation to the readme under the --games option


How to Restrict, only one item should be drag and drop in one place if Multiple place there and multiple item is there

//--Below is drag item

Apple
Cat
Keyboard
Shoes

//--Below is drop area

//[Drop Fruit]

//[Drop Animal]

//[Drop Computer part]

In the above scenario, i want to restrict drag and drop of only one item(Apple | cat |...) at one place(Fruit |Animal ...) without disable drop area.
Same scenario is in below image also, i want to restrict drag and drop of only one item(Mumbai | New york |...) at one place(India|US ...) without disable drop area.

There onMove, through this event, you can implement similar logic.

I had tried onMove also but onMove event not get executed in drag & drop action. Can u please suggest me any sample code link for OnMove event.

I want to implement below link functionality using Rubaxa Sortable
http://jsfiddle.net/P9bS8/
http://jsfiddle.net/TQqdF/62/
If you have any sample link like these using Rubaxa Sortable, please suggest me.

Using OnMove now it is working
onMove: function (evt) {
if (evt.to.childElementCount > 0) {
return false;
}
}
Thanks.....

Try dev-branch and see ex.: http://jsbin.com/tisequvute/edit?js,output


upload-to-imgur.sh not displaying upload URL

It's come to my attention that uploading an image through the imgur script displays a zenity window with no URL. Also spits out a 'no such option' for -f.
kevin@volt-Thinkpad-T42 ~/Pictures $ thunar-upload-to-imgur.sh -f starwars.png
This option is not available. Please see --help for all possible usages.
Linux Mint 17.3, screenie: http://i.imgur.com/mV0kmVv.png

Could it be that the IMGUR_KEY (which is inside the script) has invalidated?

They seem to have changed the API for uploading.
I just tried it via this url: https://api.imgur.com/3/gallery.xml but it requires authentication and my current Imgur key does not work.

Would love to see progress on this. Thank you

It seems like the access key needs to be replaced by an OAuth2 Client ID.
"Each client must register their application and receive the client_id and client_secret.
For public read-only and anonymous resources, such as getting image info, looking up user comments, etc. all you need to do is send an authorization header with your client_id in your requests. This also works if you'd like to upload images anonymously", so that should be enough for our purposes.
Is this application registered? If so, could the client ID be patched into the request?

I have a commit that fixes this: https://github.com/matiasw/thunar-custom-actions/commit/e7bdb894d15422da53c20720bbbd032f9d2e8938
There's a pull request, too: https://github.com/cytopia/thunar-custom-actions/pull/15


[Insight] The composer.json file should not raise warnings - in composer.json, line 0

in composer.json

Defining autoload.psr-4 with an empty namespace prefix is a bad idea for performance

Posted from SensioLabsInsight

Fixed in latest update


Cleanup _.mapObject

This is just whitespace and un-hoisting the currentKey, right? This kind of stylistic cleanup you can just push directly to master.


Consult with AIAA on Marketing/Branding of Public DevSecOps website

We used the colors and branding concepts from the actual AIAA site in our DevSecOps website, but we should check in with their branding team to see if they have updates or changes they would like us to make.

We heard at SciTech that AIAA is okay with us proceeding for now.  Closing this issue for now.


Adding 'null' checks

Found some minor issues with missing null checks, please pull merge request

Thanks, I'm going to close given there isn't a target issue these are solving.


Carthage Support

Hi there,
may anyone have knowledge to add Carthage support for this great library ?
It would be great since Carthage become popular nowadays.
Thanks.

github "adamwaite/Validator"


fix(build): specify metalsmith versioning

Specifies version ~1.2.1 for metalsmith-layouts and metalsmith-in-place for issue #79

@mcortez1497 :shipit:


[Feature Request] Have a directory of scripts that can be run

Is your feature request related to a problem? Please describe.
It would be handy if there was a directory that I could put maintenance scripts in and then run them via the VPin Studio client.  For example:

https://forums.gameex.com/forums/topic/28465-pinballx-with-vr-on-oculusmeta-quest/

I might make a vr_mode.bat and cabinet_mode.bat and could trigger them from my Mac (client).  Maybe these could should in a submenu near where the "start popper" menu item is.

I've added a hooks support for version 3.12. Let me know if this matches your requirements.
See: https://github.com/syd711/vpin-studio/wiki/Hooks


feat: support prefetch/preload for CSS

What kind of change does this PR introduce?
feature, WIP
Did you add tests for your changes?
WIP

NO
Does this PR introduce a breaking change?
No
What needs to be documented once your changes are merged?
No

Need add test for ESM modules output to esnure all works with ESM, still WIP


Unable to fetch entity by PK without SK specified using Model.get

Consider the following schema:
{
  format: "onetable:1.1.0",
  version: "0.0.1",
  indexes: {
    primary: { hash: "PK", sort: "SK" },
  },
  params: {
    typeField: "_type",
    timestamps: true,
    isoDates: true,
    createdField: "createdAt",
    updatedField: "updatedAt",
  },
  models: {
    Payment: {
      PK: { type: String, value: "payment#${id}", hidden: true },
      SK: { type: String, value: "user#${userId}", hidden: true },
      id: { type: String, required: true },
      userId: { type: String, required: true },
      status: { type: String },
      createdAt: { type: Date, required: true },
      updatedAt: { type: Date, required: true },
      processedAt: { type: Date },
    },
  },
}

When trying to fetch a record by the id:
Payment.get({ id: "123456" });

The following error happens:
{
    "errorType": "OneTableError",
    "errorMessage": "OneTable execute failed \"find\" for \"Payment. Query key condition not supported",
    "code": "ValidationException",
    "name": "OneTableError",
    "context": {
        "err": {
            "errorType": "ValidationException",
            "errorMessage": "Query key condition not supported",
            "name": "ValidationException",
            "$fault": "client",
            "$metadata": {
                "httpStatusCode": 400,
                "requestId": "...",
                "attempts": 1,
                "totalRetryDelay": 0
            },
            "__type": "com.amazon.coral.validate#ValidationException",
            "message": "Query key condition not supported",
            "error@context": {
                "_ns_name": "AWSXRay",
                "id": 0,
                "segment": {
                    "trace_id": "...",
                    "id": "...",
                    "start_time":<PHONE_NUMBER>.768,
                    "name": "facade",
                    "in_progress": false,
                    "counter": 1,
                    "service": {
                        "runtime": "node",
                        "runtime_version": "v16.16.0",
                        "version": "unknown",
                        "name": "unknown"
                    },
                    "aws": {
                        "xray": {
                            "sdk": "X-Ray for Node.js",
                            "sdk_version": "3.4.0",
                            "package": "aws-xray-sdk-core"
                        }
                    },
                    "facade": true,
                    "subsegments": []
                }
            },
            "stack": [
                "ValidationException: Query key condition not supported",
                "    at throwDefaultError (/opt/nodejs/node_modules/dynamodb-onetable/node_modules/@aws-sdk/smithy-client/dist-cjs/default-error-handler.js:8:22)",
                "    at deserializeAws_json1_0QueryCommandError (/opt/nodejs/node_modules/dynamodb-onetable/node_modules/@aws-sdk/client-dynamodb/dist-cjs/protocols/Aws_json1_0.js:2140:51)",
                "    at processTicksAndRejections (node:internal/process/task_queues:96:5)"
            ]
        },
        "trace": {
            "model": "Payment",
            "cmd": {
                "ExpressionAttributeNames": {
                    "#_0": "PK",
                    "#_1": "SK",
                    "#_2": "id"
                },
                "ExpressionAttributeValues": {
                    ":_0": {
                        "S": "payment#123456"
                    },
                    ":_1": {
                        "S": "user#"
                    },
                    ":_2": {
                        "S": "123456"
                    }
                },
                "FilterExpression": "#_2 = :_2",
                "KeyConditionExpression": "#_0 = :_0 and begins_with(#_1, :_1)",
                "TableName": "payments",
                "ConsistentRead": false,
                "Limit": 2,
                "ScanIndexForward": true
            },
            "op": "find",
            "properties": {
                "PK": "payment#123456",
                "SK": {
                    "begins": "user#"
                },
                "id": "123456"
            }
        }
    },
    "date": "2022-12-23T10:18:38.751Z",
    "stack": [
        "OneTableError: OneTable execute failed \"find\" for \"Payment. Query key condition not supported",
        "    at Table.<anonymous> (/opt/nodejs/node_modules/dynamodb-onetable/dist/cjs/Table.js:590:27)",
        "    at Generator.throw (<anonymous>)",
        "    at rejected (/opt/nodejs/node_modules/dynamodb-onetable/dist/cjs/Table.js:11:65)",
        "    at clsBind (/opt/nodejs/node_modules/cls-hooked/context.js:172:17)",
        "    at processTicksAndRejections (node:internal/process/task_queues:96:5)"
    ]
}

How to get an item just by partition key (id) without using indexes?

That should work. Get falls back to use find under the hood if you don't provide a complete SK and it then returns the first matching result.
Did a Model.find() work?
The Dynamo query looks okay at first glance, it is doing a find/query and the Key conditions and filter expressions look fine.
Can you create a test case for us to reproduce.

I'm gonna provide a test case for this. But still, how to perform just the GetItem DynamoDB operation on a table specifying only a value of the simple primary key not using any index under the hood?
Since get just "wraps the DynamoDB getItem method", why does it make find/query under the hood? Isn't it ambiguous?

It turned out that the field specified as the hash ("PK") of the primary index in the schema definition was not used in the actual DDL for the payments table. So bad configuration caused this issue. I'm closing it.
Thank you, @mobsense, for your help!


Git merge resolution

One thing I think we all struggle with consistently on larger teams is merge conflicts.   Today I was frustrated with a conflict in a package.json file that is hard to navigate and line up the differences and the normal tools aren't helping.  I was hoping for Github Copilot to be able to help with the merge more efficiently and even correct it for me, making sure that the proper library and version numbers needed against both current branch and main are covered, however, it was asking for the specific part of the file rather than being more integrated and have better context of the overall changes in both branches.
It asked "To help you fix the merge issues in your [package.json], I need to see the conflicting sections. Merge conflicts are usually marked with conflict markers like <<<<<<<, =======, and >>>>>>>."
What would be great is that Github Copilot could have better integration with Merge conflicts and git commands so that issues are dealt with better on complex merges or even those within config files that can be very tedious instead of a copy paste each section which does not give it full context of both branches.

Do you have an example of a merge conflict that AI could be expected to solve?
Also, did you try the VS Code 3-way merge editor?


[FEATURE] Validation of dynamic config using Go templates

Is there an existing issue for this?

[X] I have searched the existing issues

Feature description
Traefik dynamic configuration using the File provider supports Go Templating. My sense is that this tool does not currently support validating dynamic configuration that uses template syntax.
Assuming this is correct, perhaps this should be called out in the docs?
Not sure what kind of lift this would take, but just wanted to call it out for discussion. I use go templating in my traefik config, and would definitely like to be able to validate these files before I commit or deploy them. However, I could also see this be more appropriately built into traefik itself, similar to how the apachectl configtest command works with Apache.
Anything else?
No response

Hey @NReilingh, thanks for pointing that out.
Indeed, we do not support dynamic templated configuration. For starters, we will include a hint in the next release that Go templating is not (yet) supported. Afterwards, we will discuss internally if we are planning to support templated configurations as well - at OTTO we are not yet using them so this may not be implemented in the near future.
If you have any ideas or points you would like to discuss on this feature we would love to hear from you!


Installing in R fails

When  try to install in R with:
con <-dbConnect(duckdb(config=list('allow_unsigned_extensions'='true')), dbdir = "chip.duckdb")
dbExecute(con,"SET custom_extension_repository='http://welsch.lu/duckdb/psql/latest'")
dbExecute(con,"force install psql")

I get:
> dbExecute(con,"force install psql")
Error: rapi_execute: Failed to run query
Error: HTTP Error: Failed to download extension "psql" at URL "http://welsch.lu/duckdb/psql/latest/v1.1.0/windows_amd64_rtools/psql.duckdb_extension.gz" (HTTP 404)

Candidate extensions: "mysql", "sqlite", "sqlite3", "mysql_scanner", "sqlite_scanner"

Am I doing something wrong, or is the extension unavailable in R?
Thanks!

This extension is now a DuckDB community extension, and should be available for R as well now.
It needs DuckDB 1.1.1 as minimum version.
Try it out with install psql from community;


Tag resources created in OCI

We could make use of resource tagging in OCI to track which resources are created by the volume provisioner. The goal here would be to give the ability to see which resources are owned by a particular cluster which might be useful for debugging and introspection.
kubernetes.io/clusters/<CLUSTER_ID>={owned | }
See: https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/taggingoverview.htm

@owainlewis I wanted to look at this issue, however, as @prydie  found, we seem to be blocked by this issue. https://github.com/kubernetes/federation/issues/132


Add Ubuntu 18.04 support to libcxx_tests.Jenkinsfile

@ionutbalutoiu Is this feature complete now?

@johnkord Yes. We just need to add the testing stages and enable the CI.
There was an initial effort here, but we held on that a bit to have the libcxx Jenkinsfile refactoring for the ephemeral nodes.
The libcxx refactoring PR https://github.com/Microsoft/openenclave/pull/1542 is ready now. As soon as that PR is merged, we'll be quickly adding the 18.04 stages.


Bug: Application error: no elements in sequence

Error message: no elements in sequence
Error stack:
undefined

When did this error occur? And does it re occur, or it happened only once?
Please provide some helpful screenshots of the bug
Version 4.5.1

Please update your version of Altair. The latest version is 5.0.22.


Separate tabs for different kinds of visual output

This issue is so that if you are using different output visualisers you can toggle between them AS TABS - atm they will just stack which makes it hard for the learner to see the outputs.
Likely would need some options and then for design to provide designs.

Hey Lois - think this one has been done for now and will be refined next year. Archiving but holla if that's incorrect.


firebase_auth Sign-in with Google example is not working- PlatformException

I was trying to sign in with my google account on my phone using firebase_auth and just after I select my Google account, this error occurs.
I am using the following plugins:
pubspec.yaml
dependencies:
  flutter:
    sdk: flutter
  provider: ^2.0.1
  firebase_auth: ^0.11.1
  google_sign_in: ^4.0.1+3

I have created a Firebase project.
Registered my android app.
Added SHA-1
Made all changes to both build.gradle files.
google-services.json file is also in place.
Code
import 'package:flutter/material.dart';

import 'package:firebase_auth/firebase_auth.dart';
import 'package:google_sign_in/google_sign_in.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  String name = '';

  Future signIn() async {
    final GoogleSignIn _googleSignIn = GoogleSignIn();
    final FirebaseAuth _auth = FirebaseAuth.instance;

    final GoogleSignInAccount googleUser = await _googleSignIn.signIn();
    final GoogleSignInAuthentication googleAuth =
        await googleUser.authentication;
    final AuthCredential credential = GoogleAuthProvider.getCredential(
      accessToken: googleAuth.accessToken,
      idToken: googleAuth.idToken,
    );
    final FirebaseUser user = await _auth.signInWithCredential(credential);
    setState(() {
      name = user.displayName;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              '$name',
              style: Theme.of(context).textTheme.display1,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: signIn,
        tooltip: 'Increment',
        child: Icon(Icons.add),
      ),
    );
  }
}

fluter run -v output (only error)
[        ] <- accept
[        ] Connected to _flutterView/0x9d8c810c.
[   +1 ms] 🔥  To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
[   +1 ms] An Observatory debugger and profiler on Redmi Y2 is available at: http://<IP_ADDRESS>:45129/I06wW4iFpE8=/
[        ] For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".
[+3146 ms] E/flutter (13503): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception:
PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 12500: , null)
[   +1 ms] E/flutter (13503): #0      StandardMethodCodec.decodeEnvelope
(package:flutter/src/services/message_codecs.dart:564:7)
[   +1 ms] E/flutter (13503): #1      MethodChannel.invokeMethod
(package:flutter/src/services/platform_channel.dart:302:33)
[   +1 ms] E/flutter (13503): <asynchronous suspension>
[        ] E/flutter (13503): #2      GoogleSignIn._callMethod (package:google_sign_in/google_sign_in.dart:226:58)
[   +1 ms] E/flutter (13503): <asynchronous suspension>
[        ] E/flutter (13503): #3      GoogleSignIn._addMethodCall (package:google_sign_in/google_sign_in.dart:268:20)
[   +1 ms] E/flutter (13503): #4      GoogleSignIn.signIn (package:google_sign_in/google_sign_in.dart:339:48)
[        ] E/flutter (13503): #5      _MyHomePageState.signIn (package:todoprovider/main.dart:37:64)
[        ] E/flutter (13503): <asynchronous suspension>
[        ] E/flutter (13503): #6      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:635:14)
[        ] E/flutter (13503): #7      _InkResponseState.build.<anonymous closure>
(package:flutter/src/material/ink_well.dart:711:32)
[        ] E/flutter (13503): #8      GestureRecognizer.invokeCallback
(package:flutter/src/gestures/recognizer.dart:181:24)
[        ] E/flutter (13503): #9      TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:352:11)
[        ] E/flutter (13503): #10     TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:301:7)
[        ] E/flutter (13503): #11     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
[        ] E/flutter (13503): #12     _WidgetsFlutterBinding&BindingBase&GestureBinding.handleEvent
(package:flutter/src/gestures/binding.dart:222:20)
[   +1 ms] E/flutter (13503): #13     _WidgetsFlutterBinding&BindingBase&GestureBinding.dispatchEvent
(package:flutter/src/gestures/binding.dart:198:22)
[   +1 ms] E/flutter (13503): #14     _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerEvent
(package:flutter/src/gestures/binding.dart:156:7)
[   +1 ms] E/flutter (13503): #15     _WidgetsFlutterBinding&BindingBase&GestureBinding._flushPointerEventQueue
(package:flutter/src/gestures/binding.dart:102:7)
[   +1 ms] E/flutter (13503): #16     _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket
(package:flutter/src/gestures/binding.dart:86:7)
[   +1 ms] E/flutter (13503): #17     _rootRunUnary (dart:async/zone.dart:1136:13)
[        ] E/flutter (13503): #18     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
[        ] E/flutter (13503): #19     _CustomZone.runUnaryGuarded (dart:async/zone.dart:931:7)
[        ] E/flutter (13503): #20     _invoke1 (dart:ui/hooks.dart:234:10)
[        ] E/flutter (13503): #21     _dispatchPointerDataPacket (dart:ui/hooks.dart:154:5)
[        ] E/flutter (13503):

flutter doctor -v
[✓] Flutter (Channel master, v1.6.2-pre.29, on Linux, locale en_IN)
    • Flutter version 1.6.2-pre.29 at /home/ayush/development/flutter
    • Framework revision be2918ff30 (34 hours ago), 2019-05-22 18:14:01 -0700
    • Engine revision 8dc3a4cde2
    • Dart version 2.3.2 (build 2.3.2-dev.0.0 e3edfd36b2)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /home/ayush/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /home/ayush/development/android-studio-ide-181.5056338-linux/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[✓] Android Studio (version 3.3)
    • Android Studio at /home/ayush/development/android-studio-ide-181.5056338-linux/android-studio
    • Flutter plugin version 34.0.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.3)
    • IntelliJ at /home/ayush/development/ideaIU-2018.3/idea-IU-183.4284.148
    • Flutter plugin version 31.1.4
    • Dart plugin version 183.4733

[✓] VS Code (version 1.34.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.0.2

[✓] Connected device (2 available)
    • Redmi Y2 • f9028c2 • android-arm • Android 8.1.0 (API 27)
    • Linux    • Linux   • linux-x64   • Linux

• No issues found!

@zoechi Can you please have a look?

Update: The Sign-in With Google Example in https://github.com/flutter/plugins/blob/master/packages/firebase_auth/example/lib/signin_page.dart is also not working. Same error. @collinjackson @zoechi @Hixie Can you please kindly have a look?

Facing same issue. Platform Exception while using firebaseAuth

I am facing the same issue; I do not think firebase is related to this issue. I was able to access firebase by using email and password credentials via the signInWithEmailAndPassword method.  The exception only occurs when using the signIn method.

The exception is with this line:
final GoogleSignInAccount googleUser = await _googleSignIn.signIn();

I'm also getting the same issue in my project. I have my project set up in firebase and have uploaded my debug SHA-1 key and downloaded the up to date google-services.json, yet I still get api exception 12500

I'm also getting the same issue in my project. I have my project set up in firebase and have uploaded my debug SHA-1 key and downloaded the up to date google-services.json, yet I still get api exception 12500

Check if your google plays servires are up to date.

They are, I've tried it on 3 different devices, all up to date, as well as
an emulator with Google play installed.
On Wed, 29 May 2019, 17:18 Rubens de Melo<EMAIL_ADDRESS>wrote:

I'm also getting the same issue in my project. I have my project set up in
firebase and have uploaded my debug SHA-1 key and downloaded the up to date
google-services.json, yet I still get api exception 12500
Check if your google plays servires are up to date.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/33303?email_source=notifications&email_token=AEDZEFXD5PYEFKTU6Y34XRTPX2UGHA5CNFSM4HPORV3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWP3NGI#issuecomment-497006233,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEDZEFWLNCADLPD7WXZFE43PX2UGHANCNFSM4HPORV3A
.

Not sure but this might be of some help. I tried everything from changing SHA1 keys to restarting multiple times. The error was solved when i gave the support email in firebase console.

Not sure but this might be of some help. I tried everything from changing SHA1 keys to restarting multiple times. The error was solved when i gave the support email in firebase console.

You beautiful person, that was it. I've been fighting with this for days. As far as I know there's absolutely nothing in the documentation that says you need a support email in the firebase console to enable google sign in, or if there is it isn't very visible. Thank you :)

Thanks @abhishekamit!!
Here's a link to a related StackOverflow question: https://stackoverflow.com/questions/47632035/google-sign-in-error-12500
This issue doesn't really seem to be on the Flutter side, but I'll add a note to the README encouraging developers to include a support email.

Not sure but this might be of some help. I tried everything from changing SHA1 keys to restarting multiple times. The error was solved when i gave the support email in firebase console.

I LOVE YooooooooooooooooooooooooooooooooooooUUUOUOOUOUOU.....

Not sure but this might be of some help. I tried everything from changing SHA1 keys to restarting multiple times. The error was solved when i gave the support email in firebase console.

You beautiful person, that was it. I've been fighting with this for days. As far as I know there's absolutely nothing in the documentation that says you need a support email in the firebase console to enable google sign in, or if there is it isn't very visible. Thank you :)

This solved my issue some weeks back. Now any new project created in Firebase is going back to the 12500 error again. I've recreated projects, code, added SHA1 (and 256), support email (and changed support email just for completeness), and so on and nothing is working. However, all of my old projects still work. I even deleted an old project and recreated it and, while keeping the original code, and of course there is there is the 12500 error again.
Has something changed on Firebase / Google's side? Anyone still getting this error?

@epiphanatic i'm getting the same error too, i'm going to be crazy.
i tried everything :

completed support email
recreated the debugkeystore, updated the SHA (tried with SHA1 only, and then with SHA1 and SHA256)
tried with others plugin versions
recreated from scratch the project

Nothing is working.

@epiphanatic i'm getting the same error too, i'm going to be crazy.
i tried everything :

completed support email
recreated the debugkeystore, updated the SHA (tried with SHA1 only, and then with SHA1 and SHA256)
tried with others plugin versions
recreated from scratch the project

Nothing is working.

Did you update your Google Play Services ?

I did.

I found a solution. See my answer https://github.com/flutter/flutter/issues/33393#issuecomment-510390858

@xero88 omg, thank you soooo much!! That did it. Although like the person says, how are we supposed to figure this stuff out if they always leave out key things in the documentation? That's my one beef with Google (I love everything else about the ecosystem).

@epiphanatic I agree totally with you. I have always issues with Google documentation. Glad that the solution helped you !

If you use flutter channel platform
In my case, I use 3rd party library in android and load all logic on MainActivty so flutter not handle the load on the app then I moved all logic on new activity and call by intent.
it worked for me.
make sure the load on MainActivty is not increasing.

@epiphanatic i'm getting the same error too, i'm going to be crazy.
i tried everything :

completed support email

recreated the debugkeystore, updated the SHA (tried with SHA1 only, and then with SHA1 and SHA256)

tried with others plugin versions

recreated from scratch the project

Nothing is working.

Same here🥺

@epiphanatic I found a solution. See my answer #33393 (comment)

how much time did it took to verify your app??


Update Resource events

API changes have been detected in Azure.Messaging.EventGrid. You can review API changes here

API changes have been detected in Azure.Messaging.EventGrid. You can review API changes here


Possibly include vendor files

In order to get the plugin working I had to run the composer.json and get the vendor files. Following the approach of the standard grav plugins (see here) it might be better to include the vendor files in the repo itself.

It may be a necessary evil, but I really dislike the idea of tracking vendor dependencies in this repo. Do you happen to know, @owlas, if there was any further development along the lines indicated in this comment? Specifically this paragraph:

Alternatively you could leave all the composer vendor folders out of the repo, just commit the composer.json and create a bulild script to make your 100% self contained zip packages that are intended for distribution. This is probably the route we will go with for Grav in GitHub in the near future.

Setting up a proper automated build/release system feels like a more "right" solution to me, but I have to admit I've not been keeping up with developments in the Grav community as much as I should -- if it can't be done, it can't be done.

Hi — very useful plugin idea!
But - - I am getting a "Class 'DrewM\MailChimp\MailChimp' not found"  error even after I have installed what I think are the right files via composer. And the 'drewm' folder appears in the vendor folder.
Mind you this is all new to me.  Can we just get an example of what should be installed where for this to work?
thanks!

Generally, it is best practice to ship non-compiled libraries - which Grav's extensions ostensibly are - with vendor dependencies. Otherwise you are adding another layer of installation that requires dependencies themselves; Composer in this instance. For some cases, where there are a lot of tests or utilities, shipping only with the distributed files is preferred. This is more common with Node's NPM, but Composer also supports --prefer-dist for packages that use a /dist-folder.
A build-release system is possible, but generally for PHP it is unnecessary weight when scripts compile on run-time. For large vendor dependencies without /dist, use .gitignore to exclude unnecessary files. But being able to run the plugin directly after a git clone is beneficial, and for Grav common practice.

I agree with @OleVik here, @aaronhipple. This process of using composer to run the dependencies is too complex for the common user and it may not be feasible in a shared environment, if at all.
Also important: the dependencies are being installed in the /vendor directory, in the root of the CMS, which makes it even harder to maintain GravCMS in the different environments. My very humble opinion is that this dependencies should be inside the plugin folder, in a separate vendor directory.
@aaronhipple are all of these necessary? Is this production code or test code? there are more that 5 thousand files in the dependencies: for instance phpunit

Thanks for the feedback @ganar -- I'm a little curious about the number of dependencies you're seeing, as this plugin declares only two package dependencies (with a minimum PHP version also specified here):
https://github.com/aaronhipple/grav-plugin-mailchimp/blob/8c6d20d43132e070f4c68dada8fec4e9ae7aacee/composer.json#L15-L19
It's possible that in some configuration or another, one of those is bringing along its development dependencies (which include phpunit, among other things). I'd expect a typical installation not to do that, though.
Separate from all that, I have set up a build system for this project to produce archives containing vendor dependencies and attach them to releases, visible on the Releases page. While it's not the solution asked for in this issue, they should provide an easier path to "drop-in" installation of the plugin.
In general my feelings about dependencies-in-version-control haven't changed — if anything, my current day-job workflow has moved even further away from that approach and as I'm only able to check in on and maintain this plugin sporadically, I'm hesitant to add another different thing to remember when I am able to come back to it.

I'm a little curious about the number of dependencies you're seeing(…)
It's possible that in some configuration or another, one of those is bringing along its development dependencies (…)

I did the following:

Did a clean installation of GravCMS
Installed composer in order to install grav-plugin-mailchimp
Installed grav-plugin-mailchimp
Compared the /vendor directory of my development machine with the one in the production server.

Ah, yes, composer does do the dev dependencies by default in that scenario. composer require aaronhipple/grav-plugin-mailchimp --update-no-dev should install without incorporating those dev dependencies. I've updated the README to reflect this.

Yes! that is so much better:
- Removing webmozart/assert (1.4.0)
  - Removing victorjonsson/markdowndocs (dev-master)
  - Removing theseer/tokenizer (1.1.2)
  - Removing symfony/finder (v4.2.8)
  - Removing symfony/dom-crawler (v4.2.8)
  - Removing symfony/css-selector (v4.2.8)
  - Removing symfony/browser-kit (v4.2.8)
  - Removing sebastian/version (2.0.1)
  - Removing sebastian/resource-operations (2.0.1)
  - Removing sebastian/recursion-context (3.0.0)
  - Removing sebastian/object-reflector (1.1.1)
  - Removing sebastian/object-enumerator (3.0.3)
  - Removing sebastian/global-state (2.0.0)
  - Removing sebastian/exporter (3.1.0)
  - Removing sebastian/environment (4.2.2)
  - Removing sebastian/diff (3.0.2)
  - Removing sebastian/comparator (3.0.2)
  - Removing sebastian/code-unit-reverse-lookup (1.0.1)
  - Removing phpunit/phpunit (7.5.11)
  - Removing phpunit/php-token-stream (3.0.1)
  - Removing phpunit/php-timer (2.1.1)
  - Removing phpunit/php-text-template (1.2.1)
  - Removing phpunit/php-file-iterator (2.0.2)
  - Removing phpunit/php-code-coverage (6.1.4)
  - Removing phpstan/phpstan-deprecation-rules (0.11)
  - Removing phpstan/phpstan (0.11.6)
  - Removing phpstan/phpdoc-parser (0.3.3)
  - Removing phpspec/prophecy (1.8.0)
  - Removing phpdocumentor/type-resolver (0.4.0)
  - Removing phpdocumentor/reflection-docblock (4.3.1)
  - Removing phpdocumentor/reflection-common (1.0.1)
  - Removing phar-io/version (2.0.1)
  - Removing phar-io/manifest (1.0.3)
  - Removing ocramius/package-versions (1.4.0)
  - Removing nikic/php-parser (v4.2.1)
  - Removing nette/utils (v3.0.1)
  - Removing nette/schema (v1.0.0)
  - Removing nette/robot-loader (v3.2.0)
  - Removing nette/php-generator (v3.2.2)
  - Removing nette/neon (v3.0.0)
  - Removing nette/finder (v2.5.0)
  - Removing nette/di (v3.0.0)
  - Removing nette/bootstrap (v3.0.0)
  - Removing myclabs/deep-copy (1.9.1)
  - Removing jean85/pretty-package-versions (1.2)
  - Removing guzzlehttp/promises (v1.3.1)
  - Removing guzzlehttp/guzzle (6.3.3)
  - Removing fzaninotto/faker (v1.8.0)
  - Removing facebook/webdriver (1.6.0)
  - Removing doctrine/instantiator (1.2.0)
  - Removing composer/xdebug-handler (1.3.2)
  - Removing codeception/stub (2.1.0)
  - Removing codeception/phpunit-wrapper (7.7.1)
  - Removing codeception/codeception (2.5.6)
  - Removing behat/gherkin (v4.6.0)
  - Installing composer/installers (v1.6.0): Loading from cache
  - Installing drewm/mailchimp-api (v2.5.3): Loading from cache
  - Installing aaronhipple/grav-plugin-mailchimp (v0.1.1): Downloading (100%)

Calling this fixed by the CI/release setup and availability in gpm (see #16)


WSLv1 or WSLv2: improve README in repo and in Marketplace

Is this action for setting up WSLv1 or WSLv2?
Thank you!

The only possible, WSL 1.
I don't know whether Hyper-V is available and enabled, but either way, the current Windows build is 17763 and you need at least 18917 to be able to get WSL 2 running.

Oh, good for me actually, since WSLv1 is what I need :)
It would be nice if you specify this in README in the repo and in the Marketplace!
I also created an issue for improving README for windows-2019 virtual environemnt: https://github.com/actions/virtual-environments/issues/2060

Very!

Thanks


Tenet.nextindex! does not seem to work when initializing Chains

Previously, before the changes in PR #170, the following code worked without problems, but now we get:
julia> mps = rand(Chain, Open, State; n=5, p=2, χ=20)
MPS (inputs=0, outputs=5)

julia> mpo = rand(Chain, Open, Operator; n=5, χ=2, p=2)
MPO (inputs=5, outputs=5)

julia> Tenet.@reindex! outputs(mps) => inputs(mpo)
ERROR: ArgumentError: set of new indices must be disjoint to current indices
Stacktrace:
 [1] replace!(::TensorNetwork, ::Pair{Symbol, Symbol}, ::Pair{Symbol, Symbol}, ::Pair{Symbol, Symbol}, ::Vararg{Pair{Symbol, Symbol}})
   @ Tenet ~/.julia/packages/Tenet/BcZdx/src/TensorNetwork.jl:398
 [2] reindex!(a::Quantum, ioa::Symbol, b::Quantum, iob::Symbol)
   @ Tenet ~/.julia/packages/Tenet/BcZdx/src/Quantum.jl:259
 [3] top-level scope
   @ REPL[27]:1

In my opinion, it seems that nextindex! is not currently working properly:
julia> mps = rand(Chain, Open, State; n=5, p=2, χ=20)
MPS (inputs=0, outputs=5)

julia> inds.(mps)
5-element Vector{Vector{Symbol}}:
 [:A, :F]
 [:F, :B, :G]
 [:G, :C, :H]
 [:H, :D, :I]
 [:I, :E]

julia> mps2 = rand(Chain, Open, State; n=5, p=2, χ=20)
MPS (inputs=0, outputs=5)

julia> inds.(mps2)
5-element Vector{Vector{Symbol}}:
 [:A, :F]
 [:F, :B, :G]
 [:G, :C, :H]
 [:H, :D, :I]
 [:I, :E]

So nextindex! is working correctly because current behavior is to always start from the first letter.
The problem is in reindex! or replace!.


Workflow Templates and Getting Started

Description
To expand on the initial adoption/onboarding experience of Flow, we want to implement a better Getting Started (to replace the banner) and provide workflow templates that can be leveraged.
Impacts

Removes the banner from the workflows screen
Adds a new Getting Started choice in the navigation menu
Adds the ability for the user to determine which screen is the default
Adds the ability for the user to access templates from both screens.

Timeline
3.4 / 3.5
Open Questions

Graphic for the Getting Started screen
Feature content for Getting Started Screen

Implementation Options
Conceptual designs

Getting Started page

Replaces the banner (which has been finicky)
Talks about some of the features
Suggests the Documentation or Slack
Show 6-8 templates that they can get started with.
Have a button to change it from the main page (like the old IBM Cloud Private did)

We add a secondary shadow button to Create from Template (similar to Notion)

Wider screen modal
Have a left-hand nav with the names of the workflows
Right hand panel shows a screenshot of the workflow editor
Potentially a wizard to choose the workflow template and then select the creation details

We adjust the create modal to allow you to create from the template and offer a few templates to choose from

Migrating the getting started through to #88

Hi @marcusdroy @morarucostel how are we going with the getting started? What 5 templates do we load for 3.4?

Closing issue as we have a bug to track the missing templates and a new task for the getting started.


Search in ocamllex/ocamlyacc/menhir source files

These are not exactly valid OCaml code but usually contain a lot of OCaml code and people using OCaml will probably want these files also searched.

@Leonidas-from-XIV  posted to the ack-users list:
.mll is an OCaml file extended with lexer token definitions for the
ocamllex tool that comes with OCaml itself.
.mly is an OCaml file extended with grammar definitions for the
ocamlyacc tool that comes with OCaml and menhir, an alternative to
ocamlyacc.

Also from @Leonidas-from-XIV :
It is similar to the C tools lex/flex (ocamllex) and yacc/bison
(ocamlyacc): OCaml code which contains valid OCaml plus some additional
constructs. These files are meant to be processed by the preprocessors
and produce (huge, generated but) valid OCaml files which contain
lexers and parsers.
More information about these tools can be found in the official OCaml
documentation,
http://caml.inria.fr/pub/docs/manual-ocaml-4.00/manual026.html

Ok, this extends an existing --type, to be more useful to that community, this is plausibly low impact.
I do wonder though if lexer/parser files are things that only core devs want to search and that most OCaml/Clojure users would want to ignore as "internals" ?  Since they produce huge OCaml, maybe it's good to search them too since it's more concise ?

I believe that, considering that writing compilers/static verifiers (aka tools that need to parse formal languages) is rather popular (Hack, Flow, Pfft all 3 by Facebook, Haxe, CompCert, initial versions of the Rust compiler are all implemented in OCaml), this could be useful for others. Not every OCaml user will use these files, but I do not see much of a downside of treating those as OCaml.

Thanks.  e1ddf4e


SignallingRef has to be upcast to Signal for syntax

This is annoying.

This should be fixed by https://github.com/armanbilge/calico/pull/183 shouldn't it?

Unfortunately not, this is really an FS2 issue.
//> using lib "co.fs2::fs2-core::3.6.1"

import cats.effect.IO
import cats.syntax.all.*
import fs2.concurrent.{Signal, SignallingRef}

def sigRef: SignallingRef[IO, String] = ???

@main def main =

  (sigRef: Signal[IO, String]).void

  sigRef.void

[error] ./signal.scala:13:3: value void is not a member of fs2.concurrent.SignallingRef[cats.effect.IO, String].
[error] An extension method was tried, but could not be fully constructed:
[error]
[error]     cats.syntax.all.toFunctorOps[
[error]       ([A] =>> fs2.concurrent.SignallingRef[cats.effect.IO, A])
[error]     , String](sigRef)(cats.Invariant.catsApplicativeForArrow[F, A])
[error]   sigRef.void
[error]   ^^^^^^^^^^^
Error compiling project (Scala 3.2.2, JVM)
Compilation failed

But, I just had an idea how to fix it :)

But, I just had an idea how to fix it :)

Erm, spoke too soon :) I thought the problem is in FS2, but it's not really. You can't have a Functor for SignallingRef, so the implicit search gives up quickly and with good reason.
So it turns out, this is something that would need to be fixed in Cats 😂 the question is, if you have Foo[A] <: Bar[A], and Bar implements Functor but Foo does not, should you be able to use functor syntax on Foo? All the methods would return Bar in that case.
I have a hard time imagining such a major change like that being made in Cats.
That said, maybe the fix is to add an .asSignal method to SignallingRef in FS2 /shrug

One more datapoint: experimented with the extension-based encoding in Scala 3, and it doesn't work there either. That's even harder to fix than the implicit class syntax used in Scala 2. So I don't really think we can "fix" this, we can just make the upcast more convenient.
trait Functor[F[_]]:
  extension [A](fa: F[A]) def map[B](f: A => B): F[B]

trait Foo[A]
object Foo:
  given Functor[Foo] = ???

trait Bar[A]

def foo: Foo[String] = ???
def bar: Bar[String] = ???

@main def main =
  foo.map(_.length)
  bar.map(_.length)

15 |  bar.map(_.length)
   |  ^^^^^^^
   |  value map is not a member of Bar[String]
1 error found


Progress color does not completely fill the wave area

The progress area is drawn on top of the main wave area, but it does not fit it.

Is this by design or is it a bug?
How to make the progress canvas completely overlap the canvas of the main wave?
You can check it on the examples page: https://wavesurfer.xyz/examples/?all-options.js
Set the progress color to black and the wave color to red for example.

It's definitely a bug.


No Music Discovered

I'm using docker to give this a go but unfortunately, no music is discovered.
Here's my slightly modified compose file:
version: '3.4'
networks:
        reverse-proxy:
                external: true
        blackcandy:
                external: false
services:
  app: &app_base
    container_name: 'app'
    image: blackcandy/blackcandy
    volumes:
      - ./log:/app/log
      - /datapool/media/music:/media_data
      - /datapool/media/uploads:/app/public/uploads
    environment:
      DB_HOST: postgres
      DB_USER: postgres
      REDIS_DATA_URL: redis://redis:6379/0
      REDIS_CACHE_URL: redis://redis:6379/1
      REDIS_SIDEKIQ_URL: redis://redis:6379/2
      MEDIA_PATH: /media_data
      SECRET_KEY_BASE: redacted
    depends_on:
      - postgres
      - redis
    networks:
      - blackcandy
  postgres:
    container_name: 'blackcandy_postgres'
    image: postgres:11.1-alpine
    volumes:
      - production_db_data:/var/lib/postgresql/data
    networks:
      - blackcandy
  redis:
    container_name: 'blackcandy_redis'
    image: redis:4.0-alpine
    volumes:
      - production_redis_data:/data
    networks:
      - blackcandy
  worker:
    container_name: 'blackcandy_worker'
    <<: *app_base
    command: bundle exec sidekiq
    networks:
      - blackcandy
  web:
    container_name: 'blackcandy_web'
    <<: *app_base
    depends_on:
      - app
      - worker
    command: nginx -g 'pid /tmp/nginx.pid; daemon off;'
    networks:
      - reverse-proxy
      - blackcandy
volumes:
  production_db_data:
  production_redis_data:
  production_uploads_data:

I've connected using docker-exec and all of my music is showing up in /media_data as I would have expected so I'm not sure what's going wrong. There's nothing obvious in the logs either.
Please advise?

Did you try to go to the setting page and click the sync button to sync?

What sync button?

You should use admin user to login


How to debug Bootstrap-Flask applications

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[x] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[x] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
Spyder debugger does not stop on breakpoint.
What steps reproduce the problem?

Install Bootstrap-Flask
Open the Bootstrap-Flask example called app.py in Spyder
Set a breakpoint on .e.g. https://github.com/greyli/bootstrap-flask/blob/master/examples/app.py#L93
Run in debug mode
Open browser for http://<IP_ADDRESS>:5000/form

What is the expected output? What do you see instead?
Spyder debugger should stop at breakpoint. Note that the web framework needs environment variables to get into debug mode before running app.py in debug mode:
export FLASK_ENV=development
export FLASK_DEBUG=True

Paste Traceback/Error Below (if applicable)
n/a
Versions

Spyder version: 4.1.4
Python version: 3.8.2
Qt version: 5.12.9
PyQt version: 5.12.3
Operating System name/version: Ubuntu 20.04

Dependencies
# Mandatory:
atomicwrites >=1.2.0           :  1.4.0 (OK)
chardet >=2.0.0                :  3.0.4 (OK)
cloudpickle >=0.5.0            :  1.5.0 (OK)
diff_match_patch >=20181111    :  20200713 (OK)
intervaltree                   :  None (OK)
IPython >=4.0                  :  7.16.1 (OK)
jedi =0.17.1                   :  0.17.1 (OK)
keyring                        :  None (OK)
nbconvert >=4.0                :  5.6.1 (OK)
numpydoc >=0.6.0               :  1.1.0 (OK)
parso =0.7.0                   :  0.7.0 (OK)
pexpect >=4.4.0                :  4.8.0 (OK)
pickleshare >=0.4              :  0.7.5 (OK)
psutil >=5.3                   :  5.7.2 (OK)
pygments >=2.0                 :  2.3.1 (OK)
pylint >=1.0                   :  2.5.3 (OK)
pyls >=0.34.0;<1.0.0           :  0.34.1 (OK)
qdarkstyle >=2.8               :  2.8.1 (OK)
qtawesome >=0.5.7              :  0.7.2 (OK)
qtconsole >=4.6.0              :  4.7.5 (OK)
qtpy >=1.5.0                   :  1.9.0 (OK)
sphinx >=0.6.6                 :  3.1.2 (OK)
spyder_kernels >=1.9.2;<1.10.0 :  1.9.2 (OK)
watchdog                       :  None (OK)
xdg >=0.26                     :  0.26 (OK)
zmq >=17                       :  19.0.1 (OK)

# Optional:
cython >=0.21                  :  None (OK)
matplotlib >=2.0.0             :  None (OK)
numpy >=1.7                    :  1.17.4 (OK)
pandas >=0.13.1                :  None (OK)
scipy >=0.17.0                 :  None (OK)
sympy >=0.7.3                  :  None (OK)

Hi @PanderMusubi,
Right now, we don't have an option to add environment variables for debugging in Spyder. However I was able to run the debugger in the example that you provided by FLASK_ENV=development FLASK_DEBUG=True FLASK_APP=path/to/app spyder. In this way you will have all the environment variables that you need in order to debug the app.
We will work for adding this option in Spyder 5,
Thanks for reporting!


Reject in the payment promise

Here is my code
  payment(accountType) {
    return new paypal.Promise(((resolve, reject) => {
      getBillingAgreementToken(accountType)
        .then((data) => {
          if (data.data.agreementToken) {
            resolve(data.data.agreementToken);
          } else {
            reject("Couldn't set up a token, please try later");
          }
        })
        .catch((err) => { reject(err); });
    }));
  }

  render() {
    return (
      <Button
        commit={this.state.commit}
        env={this.state.env}
        client={this.state.client}
        style={this.state.style}
        payment={() => this.payment(this.state.accountType)}
        onAuthorize={(data, actions) => this.onAuthorize(data, actions)}
        />
    );
  }

getBillingAgreementToken is a http promise which returns the agreement token.
How am I suppose to use the reject in the payment promise?
whether I reject with a string  or with the error element I get from the http promise, I still get an uncaught exception from the paypal-checkout library.
Thanks

Been having same issue. Have you managed to get reject working without throwing that error in the console?

Nop...

I hope someone will be able to give an answer. Is this just normal behaviour and you always get that error in the console if you use reject, or we're doing something wrong.

Yes, this is expected. Rejecting in payment() is an error case and throwing to the console helps when we need to debug.


safeDump automatically reformat yaml strings

I have question regarding the behavior of js-yaml with safeDump, we have a yaml editor which use the following method to generate yaml from js object:
self.generateYAML = function (graph) {
                if (graph === undefined) {
                    return '';
                }
                try {
                    return jsyaml.safeDump(graph, {
                        noCompatMode: true // fix auto quoting 'y'.
                    }).trim();
                } catch (e) {
                    var error = 'YAML validation error: ' + e.message;
                    console.log(error);
                    return '';
                }
            };

graph is passed with an object that has the following content:
'Fn::Base64':

  'Fn::Join':

    - "\n"

    -

      - scriptFile=~/createSchema.sh

      - scriptLog=~/createSchema.log

      - rm -f ${scriptFile}

      - touch ${scriptFile}

      - touch ${scriptLog}

      - echo "sqlplus / as sysdba << EOF" >> ${scriptFile}

      - echo "drop user c##myappuser cascade;" >> ${scriptFile}

      - echo "create user c##myappuser identified by ${schemaPassword};" >> ${scriptFile}

      - echo "grant create session, create table, unlimited tablespace to c##myappuser;" >> ${scriptFile}

      - echo "quit" >> ${scriptFile}

      - echo "EOF" >> ${scriptFile}

      - sh ${scriptFile} >> ${scriptLog}

Somehow after safedump, the line break was reformated (though it's still correct) and yaml becomes the following

The version we used is 3.10.0. Please let me know if there's anything I can do to disable this automatic transformation. Thanks.

https://github.com/nodeca/js-yaml#safedump-object---options-
set lineWidth to Infinity

Hi, @puzrin Tried setting lineWidth but doesn't work. I also notice that if replace "\n" to '\n' there's no automatic conversion happen. Do you have any idea why and if it's a config issue or bug for ace editor?

Try to create a repo with minimal possible code to reproduce your problem.

Just unzip the file and open index.html and check console. The result is reformatted after dump.
js-yaml.zip

I just realized it's not an issue with safeDump but probably the way safeLoad works.
For template that contains "\n", it will be converted to enter key, but for '\n' it will be treated as "\\n", and I just took a look here http://docs.octoprint.org/en/master/configuration/yaml.html. Seems like the behavior is correct on js-yaml. Thanks for helping. The template user provides is invalid in our case here.


7178 printable skip rule

Current status

Good start! Couple quick notes: needs some I18n and a feature spec in addition to the style work. Should all be quick though. Then decorator can be reused in the read-only mode issue!


Add hostname note to README.md

Added information regarding setting the Droplet name. This had previously been done in another Pull Request back in July, but was rejected on the grounds that the relevant Vagrant documentation wasn't linked too from the amendment.
The original author of that Pull Request never changed it, so I quickly did it as it was an issue that caught me out earlier!
Linked to issue #196.

We should really follow the Vagrant convention of vm.define if this has been a problem. Please see the Website Management Platform that we're building for amendment recommendations to this pull request: https://github.com/devopsgroup-io/catapult-release-management/blob/master/Vagrantfile#L48


Fix getEdgeOffset from src/utils.js

getEdgeOffset works buggy. It seems the problem is node.offsetTop/node.offsetLeft returns distance to closest RELATIVE parent node, but we want to get distance to ACTUAL parent node. Replacing offsetTop/offsetLeft with getBoundingClientRect should fix problem.

The problem with offsetParent is it can be above parent in DOM.

Agreed I have the same problem, if there is a parent that is not the offsetParent in the chain it breaks.
So either getBoundingClientRect() or chase offsetParent rather than parentNode and return the summed values when hitting a null or the parent.

This PR seems to use the getBoundingClientRect() approach, but it does not handle the null case for the return.  As I mentioned in my comment/suggestion, the value of the offset is irrelevant if it just returns undefined when it hits the null case.


[Feature Request] Collection only workspace

I often just want to see my collection as it is without all the cards I don't have in the middle.
It'd also be helpful if I were to a build deck with cards in my collection but the current display is discouraging in that regard.

I do have a to-do already to make a site for just the collection view, separate from the deck-builder altogether.
The second one should be pretty easy to do, you can set the slider for cards to at-least one.

Not that it would stop you from using cards you don't have. That would be a feature I can put in my todo.

Ah, sorry, it must have slipped from my view. //
Also, smart idea, I didn't realize I could do that.
SInce it's already in your to-do I'll close it here.


Fix Group DoesNotExist error in user removal from groups.

Coverage decreased (-0.02%) to 92.863% when pulling e6eeb1c9f8906c78a44b604df4fa3ede522f524e on akatsoulas:group-does-not-exist-error into f706e480a9a8a41e8c77cf905958eaf31c7ee8fb on mozilla:master.

@johngian r?

@akatsoulas r+ 👍

This method not longer exists in groups/tasks.py. I am closing this PR


[CSL-1994] Move Explorer BinarySpec to Cbor, use binaryTests instead of binaryEncodeDecode

We don't need this.