NIFI-5195 Added clustering to the docker image

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

@apiri can you review?

hey @MikeThomsen.  thanks for tackling this.  I think I will have some time later tonight or tomorrow to scope it out.

@MikeThomsen Hi. Any change is in this PR to make secured-cluster?

@dkhwangbo we can set up a new ticket for adding that.

@MikeThomsen - could you rebase against master? thanks!

@pvillard31 done.

Thanks @MikeThomsen - will wait for a final review from @apiri.
Out of curiosity, any reason why to use bitnami/zookeeper?

@pvillard31

Out of curiosity, any reason why to use bitnami/zookeeper?

Probably copy pasta from a previous docker compose file.

@MikeThomsen this looks good to me and will provide a nice start for folks to spin up a cluster as well as a basis for further extension.  thanks for your time and I'll merge this in.


metadata update

@cherylmc : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Not using mode when redeploying

Describe the bug
When re-deploying policies spliited deployment, mode is not used.
When policy initially is deployed mode is set to all, this setting is not used when redeployed.
In the DeploySplittedPolicyDefinition.ps1 i found the following contruct:
if($policy){
Write-Output "Policy '$Name' exists and will be updated."
$policy = Set-AzureRmPolicyDefinition @scope @policyParameter
}else{
Write-Output "Policy '$Name' does not exist and will be created."
$policyParameter.Mode = $Mode
$policy = New-AzureRmPolicyDefinition @scope @policyParameter
}
I think mode is not set, when policy exists?

They. Thanks for posting.
The reason it is not set on redeployment is, because the cmdlet  Set-AzureRmPolicyDefinition does not support the parameter "Mode" in version 5.7.0 for AzureRM. And at the time of writing the agents did not support a newer Version.
I need to check, how I can improve this.

Thanks for clarifying…we reaaly enjoy this task in our pipelines.

Fra: Sebastian Schütze<EMAIL_ADDRESS>Sendt: Monday, September 30, 2019 11:20:31 AM
Til: RazorSPoint/azure-devops-azure-policy-extension<EMAIL_ADDRESS>Cc: atpcln<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Emne: Re: [RazorSPoint/azure-devops-azure-policy-extension] Not using mode when redeploying (#10)
They. Thanks for posting.
The reason it is not set on redeployment is, because the cmdlet Set-AzureRmPolicyDefinition does not support the parameter "Mode" in version 5.7.0 for AzureRMhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fazurerm.resources%2Fset-azurermpolicydefinition%3Fview%3Dazurermps-5.7.0&data=02|01||3062c12dd62243e3fb5f08d745877173|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637054320328704796&sdata=Ja%2BXNe%2BZ3OYZ6TnYRPUrUR5%2FdpAI5pTtKU67uIl0%2Bx0%3D&reserved=0. And at the time of writing the agents did not support a newer Version.
I need to check, how I can improve this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FRazorSPoint%2Fazure-devops-azure-policy-extension%2Fissues%2F10%3Femail_source%3Dnotifications%26email_token%3DAGM26EXHEOR5KE7HOWUE4F3QMHAF7A5CNFSM4I3RV6LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD75AF4A%23issuecomment-536478448&data=02|01||3062c12dd62243e3fb5f08d745877173|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637054320328714801&sdata=4RK6Wf1ly8NsA9kF0GF%2Byyf%2F%2BPYaMJFeg6aLrZ%2Fj6n0%3D&reserved=0, or mute the threadhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGM26EWFW3PGHPDLVE5KZSLQMHAF7ANCNFSM4I3RV6LA&data=02|01||3062c12dd62243e3fb5f08d745877173|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637054320328724812&sdata=jh4Mcy35NWf9%2FLH7UPy8KdMFufFh6dqPVJSPkOf9Ng0%3D&reserved=0.

Thanks! Maybe you can give it a rating if you like it. :-D
But I will check if I can convert it to the Az module for the next version.
Do you have any improvement ideas that you would like to have?

Hi Sebastian
I gave you a five star rating 🙂
And thanks for getting back to me.
As improvement, it would be nice if your task would be able to assign the deployments.
Kind regards
Claus Nielsen

From: Sebastian Schütze<EMAIL_ADDRESS>Sent: Monday, September 30, 2019 10:39 PM
To: RazorSPoint/azure-devops-azure-policy-extension<EMAIL_ADDRESS>Cc: atpcln<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [RazorSPoint/azure-devops-azure-policy-extension] Not using mode when redeploying (#10)
Thanks! Maybe you can give it a rating if you like it. :-D
But I will check if I can convert it to the Az module for the next version.
Do you have any improvement ideas that you would like to have?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FRazorSPoint%2Fazure-devops-azure-policy-extension%2Fissues%2F10%3Femail_source%3Dnotifications%26email_token%3DAGM26EQP6T26D5PPXZ2H2NLQMJPXPA5CNFSM4I3RV6LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD77APJI%23issuecomment-536741797&data=02|01||2fbff2ad5ed7425c69d508d745e645e7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637054727618934633&sdata=BMKb9LqMfmpMvvNgWg84FZvaNG8MQv2giOpyo1WlhGE%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGM26EQCN6FO2BCB6XE4F2LQMJPXPANCNFSM4I3RV6LA&data=02|01||2fbff2ad5ed7425c69d508d745e645e7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637054727618944644&sdata=7oTo8g8QXBsy8MGFBjbfKnNy9kd7pf8mqhj2qQy4960%3D&reserved=0.

Currently updating(PR: #12) the extension to support the Az module instead of AzureRM. Also splitting up definitions and initiatives.


“can't dup NilClass”

System is OS X 10.10.1, ruby is 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14], scss-lint is 0.31.0.
Using scss-lint manually or with grunt-scss-lint, I get the following on any .scss file I have tested:
$ scss-lint master.scss
can't dup NilClass
/Library/Ruby/Gems/2.0.0/gems/scss-lint-0.31.0/lib/scss_lint/config.rb:159:in `dup'
/Library/Ruby/Gems/2.0.0/gems/scss-lint-0.31.0/lib/scss_lint/config.rb:159:in `ensure_exclude_paths_are_absolute'
/Library/Ruby/Gems/2.0.0/gems/scss-lint-0.31.0/lib/scss_lint/config.rb:151:in `block in ensure_linter_exclude_paths_are_absolute'
/Library/Ruby/Gems/2.0.0/gems/scss-lint-0.31.0/lib/scss_lint/config.rb:149:in `each'
/Library/Ruby/Gems/2.0.0/gems/scss-lint-0.31.0/lib/scss_lint/config.rb:149:in `ensure_linter_exclude_paths_are_absolute'
/Library/Ruby/Gems/2.0.0/gems/scss-lint-0.31.0/lib/scss_lint/config.rb:80:in `load_options_hash_from_file'
/Library/Ruby/Gems/2.0.0/gems/scss-lint-0.31.0/lib/scss_lint/config.rb:21:in `load'
/Library/Ruby/Gems/2.0.0/gems/scss-lint-0.31.0/lib/scss_lint/config.rb:37:in `for_file'
/Library/Ruby/Gems/2.0.0/gems/scss-lint-0.31.0/lib/scss_lint/cli.rb:132:in `block in files_to_lint'
/Library/Ruby/Gems/2.0.0/gems/scss-lint-0.31.0/lib/scss_lint/cli.rb:130:in `reject'
/Library/Ruby/Gems/2.0.0/gems/scss-lint-0.31.0/lib/scss_lint/cli.rb:130:in `files_to_lint'
/Library/Ruby/Gems/2.0.0/gems/scss-lint-0.31.0/lib/scss_lint/cli.rb:51:in `scan_for_lints'
/Library/Ruby/Gems/2.0.0/gems/scss-lint-0.31.0/lib/scss_lint/cli.rb:45:in `act_on_options'
/Library/Ruby/Gems/2.0.0/gems/scss-lint-0.31.0/lib/scss_lint/cli.rb:25:in `run'
/Library/Ruby/Gems/2.0.0/gems/scss-lint-0.31.0/bin/scss-lint:6:in `<top (required)>'
/usr/bin/scss-lint:23:in `load'
/usr/bin/scss-lint:23:in `<main>'

Happy to give more information or do more testing if needed, but I'm afraid I'm going to need specific instructions. I'm not a ruby guy. :)

Hey @yellowled, thanks for the report.
Can you include your .scss-lint.yml file? This appears to be something to do with the configuration you're using, as it's not clear how you got into this state (and I can't reproduce locally).

Right, sorry. .scss-lint.yml

Ah, your BangFormat options are not indented correctly. They should be written like this:
  BangFormat:
    enabled: true
    space_before_bang: true
    space_after_bang: false

...not this:
  BangFormat:
  enabled: true
  space_before_bang: true
  space_after_bang: false

There might be something scss-lint can do to detect this and present a friendlier warning, so I'll leave this issue open for now. Thanks!

Thanks, that fixes the error message for me. Guess I got screwed by automagic ruby indentation on that one.

There isn't really a terribly elegant way of dealing with this that doesn't involve overly complicating the Config class, which is complex enough as it is.
Thanks for the report. Until we see more people tripped up by this, we're going to leave this as-is for now.

+1 tripped me up today, and indeed it was an yaml parse error (a stray single space, incorrectly indented comment, a UnnecessaryParentReference: without any values within).


Android Progressbar Does Not Spin on GVRViewSceneObject

The android progress bar widget seems not spin when rendered on the GVRViewSceneObject.
I test on the code from GearVRf-Demo (https://github.com/gearvrf/GearVRf-Demos/tree/master/gvr-events). I inserted the progressbar code into the activity_main.xml.
        <ProgressBar             android:layout_width="wrap_content"             android:layout_height="wrap_content" />
The progress bar can be shown on the GVRViewSceneObject but is not spinning. It spins only if I touch the touchpad.

I believe the View will only be redrawn when you call frameLayout.invalidate(); from the UI thread, or you can call frameLayout.postInvalidate(); from any other thread. Perhaps the simplest solution to your problem would be to change make the onStep function of the EventsMain class call postInvalidate like so:
    @Override
    public void onStep() {
        frameLayout.postInvalidate();
    }

This works well. Thanks for your answer!

I did more tests on this and found that, actually, this simple solution introduces huge CPU overhead.  In the gearfr-demo example, the CPU usage doubled (from ~16% to ~30%) after I added the frameLayout.postInvalidate();. If I apply the same code to my a little larger project, the fps drops a lot.
Do you have any idea about this?

@lxc-xx There is a texture that needs to be updated to pick up the view changes. Updating it too frequently is expensive. You could try calling postInvalidate less frequently than every 16ms. 32ms looks like a good tradeoff. 48ms might be possible too. The less frequently you call it the better but the animation will get choppier.

Hi @lxc-xx,
If possible, could remove frameLayout.postInvalidate(); and test your application with my branch
https://github.com/ragner/GearVRf/tree/keyboardview ?
It could be a good test to my https://github.com/Samsung/GearVRf/pull/1345
it is about keyboard support but also has some improvement to GVRViewSceneObject

@ragner Tried your branch with gvr-events but it throws NPE:
08-01 17:29:21.273  8872  8872 E AndroidRuntime: FATAL EXCEPTION: main
08-01 17:29:21.273  8872  8872 E AndroidRuntime: Process: org.gearvrf.events, PID: 8872
08-01 17:29:21.273  8872  8872 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.gearvrf.events/org.gearvrf.events.EventsActivity}: java.lang.NullPointerException: Attempt to write to field 'int android.view.ViewGroup$LayoutParams.width' on a null object reference
08-01 17:29:21.273  8872  8872 E AndroidRuntime: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3317)
08-01 17:29:21.273  8872  8872 E AndroidRuntime: 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3417)
08-01 17:29:21.273  8872  8872 E AndroidRuntime: 	at android.app.ActivityThread.access$1100(ActivityThread.java:226)
08-01 17:29:21.273  8872  8872 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1843)
08-01 17:29:21.273  8872  8872 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:102)
08-01 17:29:21.273  8872  8872 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:158)
08-01 17:29:21.273  8872  8872 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7522)
08-01 17:29:21.273  8872  8872 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
08-01 17:29:21.273  8872  8872 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
08-01 17:29:21.273  8872  8872 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
08-01 17:29:21.273  8872  8872 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to write to field 'int android.view.ViewGroup$LayoutParams.width' on a null object reference
08-01 17:29:21.273  8872  8872 E AndroidRuntime: 	at org.gearvrf.events.EventsActivity.onCreate(EventsActivity.java:65)
08-01 17:29:21.273  8872  8872 E AndroidRuntime: 	at android.app.Activity.performCreate(Activity.java:6876)
08-01 17:29:21.273  8872  8872 E AndroidRuntime: 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
08-01 17:29:21.273  8872  8872 E AndroidRuntime: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3270)
08-01 17:29:21.273  8872  8872 E AndroidRuntime: 	... 9 more

The frameLayout's layoutParams is null. I see you have removed the registerView call. What is it replaced with now?

Hi @liaxim,
I have updated my branch to keep compatibility with current GVRView implementations ...
Could yout fetch it again?
But with my changes  gvr-events could be updated to use the following constructor:
 /**      * Constructs a scene object that inflate a view from an XML resource. The scene object      * notifies the {@linkplain IViewEvents listener} of the view to set its initial properties      * after it has been inflated.      * Internally the scene object uses the {@linkplain GVRContext context} to create      * its own quad mesh based on the the width and height of the view:      *     gvrContext.createQuad(getWidth() / Math.max(getWidth(), getHeight()),      *                           getHeight() / Math.max(getWidth(), getHeight()));      *      * @param gvrContext current {@link GVRContext}.      * @param viewId The resource ID to inflate. See {@link LayoutInflater}.      * @param eventsListener Listener to be notified after the view has been inflated.      */     public GVRViewSceneObject(GVRContext gvrContext, int viewId, IViewEvents eventsListener) {

With my changes,
that call to frameLayout.invalidate(); should not be necessary anymore.

@ragner It does work and it does perform very well. Why does it work though? updateTexImage is still there on every frame. What was the overhead in the old approach? We had to rely on invalidating the layout to get Android to draw apparently; is that it? Is your RootViewGroup something customized off the platform? Thanks.

Hi @liaxim,
I think that the overhead was call invalidade that causes draw() call unnecessarily even the View has not been changed.
About this invalidade issue I don't have a final fix but my workaround was override invalidateChildInParent(...) and call postInvalidate() inside of it. So RootViewGroup
will call draw(canvas) of its children only when its content has been changed.
Also I am just calling setWillNotDraw(true) of RootViewGroup that allow some optimizations. https://developer.android.com/reference/android/view/View.html#setWillNotDraw(boolean)

@lxc-xx We merged https://github.com/Samsung/GearVRf/pull/1345. The performance will be much better. You are not going to need postInvalidate anymore.

@lxc-xx Assuming it is all good. Planning to close this issue some time next week.


firebase.set fails if gender is not set

Lots of errors:
No gender found
no mail found
not writing all data ino firebase


Water Sensors: EJU VT (1084048)

all offline may 11, -999 in temp sensor

I checked this farm on the tech dashboard (device status view) and all is working fine as far as sending data .
R1C: middle and deep are reading 42 and 55 percent of water; maybe a bent TDR prong. it could be real if really wet field.
R1B: b (middle) is reading zero. most likely air pockets and the sensor is not all the way in.
R2C: A and B (top and middle) are reading really close to zero. most likely not all the way in.
R2B B (middle) is reading zero. most likely an air pocket.

online since 6/9. Very noisy data in 1B middle and 2C middle reinstall these sensors?

not sure what to do here! so much noise from everything. @saseehav what do you think?

working good now, data still noisy but usable.


Feature: hide login email adress in reply emails to customer or set a default value

If a customer reciews a email he will get<EMAIL_ADDRESS>and a reply to<EMAIL_ADDRESS>but in this way the suppername email-adress will spread around in the world ;)
Why not use "Supporter name<EMAIL_ADDRESS>in From and<EMAIL_ADDRESS>in Reply-To field ?
So we have a central account for the world and the support users can login with there emailadresses.
Maybe we can set this a optional flag ?
What do you think ?

It makes sense, let me discuss it with my team (who uses handesk in our company) and see if they believe it should be the default behavior as well

Great that you implemented it :-)
but i get a runtime error -
[2017-09-20 11:18:22] production.ERROR: Call to a member function author() on null {"userId":2,"email":"xxxx@yyyyyyy.com","exception":"[object] (Symfony\\ Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to a member function author() on null at /home/forge/handesk.vikinks.com/app/Notifications/NewComment.ph p:68) [stacktrace] #0 /home/forge/handesk.vikinks.com/app/Notifications/NewComment.php(59): App\\Notifications\\NewComment->shouldUseAgentName()

haha my bad, I did a typo..
Should be fixed now

Fixed :) Thanks a lot


add script for running clang format

hey, so we have a .clang-format config we should use for formatting our code, people tend not to use it because they don't know how (maybe other reason)
we would like to create a script that invokes clang-format executable and takes all the project files and format them with that config :)

do you want to work on this?

@cieslarmichal  yes, could you please assign this to me?

Assigned

hey @cieslarmichal I've tried creating a script with command-line arguments, is this what we are planning to add?

the bash script will do

something like clang-format src/**/*.cpp src/**/*.h include/**/*.h -i -style=file


Use .rust-version files to denote directory overrides

Could rustup respect .rust-version files for directory overrides? This way clearly communicates to users, operators, and version control, which version of Rust is expected for a given project. This trick is used by chruby and nodenv to signal Ruby and Node.js versions, for example.

I think this is a dupe of https://github.com/rust-lang-nursery/rustup.rs/issues/460

Closing as dupe


Errors when loading meshes from .cdb files when using multiprocessing

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
Hi,
For my work, I need to run many FE analyses (several thousand), and I have been using pyansys (I love it btw :)). As time matters, I have been exploring various methods for optimizing the speed. In particular, I am loading pre-made meshes from .cdb files and running several analyses simultaneously using the multiprocessing module.
The script fea.py is as follows:
from multiprocessing import Pool
from ansys.mapdl.core import launch_mapdl
from pathlib import Path
import tqdm

def fea_analysis(sample):

    mapdl = launch_mapdl(exec_file='C:/Program Files/ANSYS Inc/v212/ansys/bin/winx64/ANSYS212.exe')
    mesh_path = Path().cwd().joinpath(sample)
    mapdl.cdread('db', mesh_path)

if __name__ == '__main__':

    samples = ['1.cdb', '2.cdb']

    with Pool(2) as pool:
        results = list(tqdm.tqdm(pool.imap(fea_analysis, samples), total=len(samples)))

where tqdm is a module that allows me to display a progress bar, fea_analysis is my analysis function in which mapdl instances are created and terminated, and samples is an indexing list.
When loading the .cdb mesh files, some of the analyses (not all of them) fail with the following error:
Traceback (most recent call last):
  File "C:\Users\mp2333\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py", line 121, in worker
    result = (True, func(*args, **kwds))
  File "E:\Maxime\ansys_analysis\fea.py", line 17, in fea_analysis
    mapdl.cdread('db', mesh_path)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 1134, in cdread
    self.input(fname, **kwargs)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\errors.py", line 116, in wrapper
    out = func(*args, **kwargs)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 1293, in input
    with open(os.path.join(local_path, tmp_name), "w") as f:
PermissionError: [Errno 13] Permission denied: 'C:/Users/mp2333/AppData/Local/Temp/ansys_wtkojixrqs\\_input_tmp_.inp'

I also had the same window pop-up error as here: #181 a few times (I couldn't find a general rule for predicting which of the two errors gets raised).
These errors only occur when the analyses are performed simultaneously using Pool. When I run only one, it works fine. Because of this behavior and of the error messages, I think that there is maybe some sort of conflict occurring when writing and reading files. It might also have some connection with what is discussed here #844  as the path PermissionError: [Errno 13] Permission denied: 'C:/Users/mp2333/AppData/Local/Temp/ansys_wtkojixrqs\\_input_tmp_.inp' has a mixture of / and \.
Please let me know if you have any idea of where this might come from!
Steps To Reproduce

Rename 1.txt and 2.txt as 1.cdb amd 2.cdb (Github won't let me import .cdb files)
Move to a directory with fea.py, 1.cdb and 2.cdb.
Run: python fea.py
As mentioned, running the exact same script several times can trigger different errors, so several trials might be needed to reproduce the error.
1.txt
2.txt

Which Operating System are you using?
Windows
Which Python version are you using?
3.7
Installed packages
aiohttp==3.8.1
aiosignal==1.2.0
ansys-api-mapdl==0.5.1
ansys-corba==0.1.0
ansys-grpc-mapdl==0.2.0
ansys-mapdl-core==0.61.6
ansys-mapdl-reader==0.51.11
appdirs==1.4.4
async-timeout==4.0.2
asynctest==0.13.0
attrs==21.4.0
cachetools==5.0.0
certifi==2021.10.8
charset-normalizer==2.0.12
colorama==0.4.4
commonmark==0.9.1
COMPAS==1.15.1
contextlib2==21.6.0
cycler==0.11.0
Cython==0.29.28
fonttools==4.32.0
frozenlist==1.3.0
geomdl==5.3.1
gmsh==4.10.0
google-api-core==2.7.1
google-api-python-client==2.43.0
google-auth==2.6.3
google-auth-httplib2==0.1.0
googleapis-common-protos==1.56.0
grpcio==1.44.0
httplib2==0.20.4
idna==3.3
imageio==2.16.2
importlib-metadata==4.11.3
importlib-resources==5.7.1
jsonschema==4.4.0
kiwisolver==1.4.2
matplotlib==3.0.3
meshio==5.3.4
mpmath==1.2.1
multidict==6.0.2
networkx==2.6.3
numpy==1.21.5
packaging==21.3
pandas==1.3.5
parallelbar==0.1.19
Pillow==9.1.0
protobuf==3.20.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycollada==0.7.2
Pygments==2.12.0
pyiges==0.2.1
pyparsing==3.0.8
pyrsistent==0.18.1
python-dateutil==2.8.2
pytz==2022.1
pyvista==0.34.0
requests==2.27.1
rich==12.3.0
rsa==4.8
schema==0.7.5
scikit-spatial==6.4.0
scipy==1.7.3
scooby==0.5.12
six==1.16.0
slackclient==2.9.3
sympy==1.10.1
tqdm==4.64.0
typing_extensions==4.1.1
uritemplate==4.1.1
urllib3==1.26.9
vtk==9.1.0
watchdog==2.1.7
wslink==1.5.2
yarl==1.7.2
zipp==3.8.0

Hi @maximepollet27
Thank you very much for posting this issue.
It is indeed a permission error. When using mapdl.cdread PyMAPDL resources to mapdl.input which generates a file _input_tmp_.inp in the Python Working directory where it writes some commands (hence the "w" in that line you mentioned). Since you have two pools, and both with the same Python working directory, both processes are attempting to write the same file, hence the error.
I will work on a solution for this. On your side, without editing the code, I do not think there is much you can do. Since the file name is hardcoded.

Hi @germa89
Thank you for being so quick to reply!

Hi @germa89
Sorry for reopening this issue so long after you found the first solution, I was occupied by other things. After installing the latest update, I resumed trying to implement this script that combines multiprocessing and loading .CDB mesh files.
Unfortunately, I keep running in issues when i run the script. The errors are not always the same and seem to still be due to temporary files reading and writing. Here are some examples of the errors I run into:
Traceback (most recent call last):
  File "E:\Maxime\fe_debug\fea.py", line 11, in fea_analysis
    mapdl.cdread('db', mesh_path)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 1183, in cdread
    self.input(fname, **kwargs)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\errors.py", line 116, in wrapper
    out = func(*args, **kwargs)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 1358, in input
    with open(os.path.join(local_path, tmp_out)) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/mp2333/AppData/Local/Temp/ansys_hrooifpbup\\_input_tmp_yeqwmuykmg_.out'

or
Traceback (most recent call last):
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\launcher.py", line 1488, in launch_mapdl
    **start_parm,
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 344, in __init__
    self._multi_connect()
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 392, in _multi_connect
    timeout=attempt_timeout, set_no_abort=set_no_abort
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 533, in _connect
    self._set_no_abort()
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\misc.py", line 283, in wrapper
    out = func(*args, **kwargs)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 666, in _set_no_abort
    self.nerr(abort=-1, mute=True)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\_commands\session\run_controls.py", line 423, in nerr
    return self.run(command, **kwargs)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl.py", line 2572, in run
    text = self._run(command, verbose=verbose, mute=mute)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 729, in _run
    response = self._send_command(cmd, mute=mute)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\errors.py", line 131, in wrapper
    raise MapdlExitedError("MAPDL server connection terminated") from None
ansys.mapdl.core.errors.MapdlExitedError: MAPDL server connection terminated

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\Maxime\fe_debug\fea.py", line 9, in fea_analysis
    mapdl = launch_mapdl(exec_file='C:/Program Files/ANSYS Inc/v212/ansys/bin/winx64/ANSYS212.exe')
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\launcher.py", line 1496, in launch_mapdl
    lic_check.check()
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\licensing.py", line 449, in check
    raise LicenseServerConnectionError("\n".join(self._license_file_msg))
ansys.mapdl.core.errors.LicenseServerConnectionError: Exceeded 10 seconds while waiting for C:\Users\mp2333\AppData\Local\Temp\.ansys\licdebug.FEAT_ANSYS.181.out to exist.

or
Traceback (most recent call last):
  File "E:\Maxime\fe_debug\fea.py", line 11, in fea_analysis
    mapdl.cdread('db', mesh_path)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 1183, in cdread
    self.input(fname, **kwargs)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\errors.py", line 131, in wrapper
    raise MapdlExitedError("MAPDL server connection terminated") from None
ansys.mapdl.core.errors.MapdlExitedError: MAPDL server connection terminated

There are also times when the script run successfully.
Do you have an idea of where this could come from ?
To produce these issues, I am still using the fea.py script from above, which I changed slightly:
from multiprocessing import Pool
from ansys.mapdl.core import launch_mapdl
from pathlib import Path
import tqdm
import traceback

def fea_analysis(sample):
    try:
        mapdl = launch_mapdl(exec_file='C:/Program Files/ANSYS Inc/v212/ansys/bin/winx64/ANSYS212.exe')
        mesh_path = Path().cwd().joinpath(sample)
        mapdl.cdread('db', mesh_path)
        mapdl.exit()
    except Exception:
        traceback.print_exc()

if __name__ == '__main__':

    samples = ['1.cdb', '2.cdb']

    with Pool(2) as pool:
        #results = list(tqdm.tqdm(pool.imap(fea_analysis, samples), total=len(samples)))
        results = list(pool.imap(fea_analysis, samples))

The packages I have installed are:
aiohttp                               3.8.1
aiosignal                             1.2.0
ansys-api-mapdl                       0.5.1
ansys-api-platform-instancemanagement 1.0.0b3
ansys-corba                           0.1.0
ansys-mapdl-core                      0.62.1
ansys-mapdl-reader                    0.51.14
ansys-platform-instancemanagement     1.0.2
appdirs                               1.4.4
async-timeout                         4.0.2
asynctest                             0.13.0
attrs                                 21.4.0
cachetools                            5.0.0
certifi                               2021.10.8
charset-normalizer                    2.0.12
colorama                              0.4.4
commonmark                            0.9.1
COMPAS                                1.15.1
contextlib2                           21.6.0
cycler                                0.11.0
Cython                                0.29.28
fonttools                             4.32.0
frozenlist                            1.3.0
geomdl                                5.3.1
gmsh                                  4.10.0
google-api-core                       2.7.1
google-api-python-client              2.43.0
google-auth                           2.6.3
google-auth-httplib2                  0.1.0
googleapis-common-protos              1.56.0
grpcio                                1.44.0
httplib2                              0.20.4
idna                                  3.3
imageio                               2.16.2
importlib-metadata                    4.11.3
importlib-resources                   5.7.1
jsonschema                            4.4.0
kiwisolver                            1.4.2
matplotlib                            3.0.3
meshio                                5.3.4
mpmath                                1.2.1
multidict                             6.0.2
networkx                              2.6.3
numpy                                 1.21.5
packaging                             21.3
pandas                                1.3.5
parallelbar                           0.1.19
Pillow                                9.1.0
pip                                   22.0.4
protobuf                              3.20.0
protoc-gen-swagger                    0.1.0
pyasn1                                0.4.8
pyasn1-modules                        0.2.8
pycollada                             0.7.2
Pygments                              2.12.0
pyiges                                0.2.1
pyparsing                             3.0.8
pyrsistent                            0.18.1
python-dateutil                       2.8.2
pytz                                  2022.1
pyvista                               0.34.0
requests                              2.27.1
rich                                  12.3.0
rsa                                   4.8
schema                                0.7.5
scikit-spatial                        6.4.0
scipy                                 1.7.3
scooby                                0.5.12
setuptools                            61.0.0
six                                   1.16.0
slackclient                           2.9.3
sympy                                 1.10.1
tqdm                                  4.64.0
typing_extensions                     4.1.1
uritemplate                           4.1.1
urllib3                               1.26.9
vtk                                   9.1.0
watchdog                              2.1.7
wheel                                 0.37.1
wslink                                1.5.2
yarl                                  1.7.2
zipp                                  3.8.0

Hi @maximepollet27
Before I try something, can you use license_server_check=True at launch_mapdl??

Hi @germa89
Thanks a lot for the quick reply. I used license_server_check=True and ran the script two times. Here are the resulting errors for the two trials:
Traceback (most recent call last):
  File "E:\Maxime\fe_debug\fea.py", line 9, in fea_analysis
    mapdl = launch_mapdl(exec_file='C:/Program Files/ANSYS Inc/v212/ansys/bin/winx64/ANSYS212.exe', license_server_check=True)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\launcher.py", line 1498, in launch_mapdl
    raise exception
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\launcher.py", line 1488, in launch_mapdl
    **start_parm,
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 344, in __init__
    self._multi_connect()
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 392, in _multi_connect
    timeout=attempt_timeout, set_no_abort=set_no_abort
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 533, in _connect
    self._set_no_abort()
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\misc.py", line 283, in wrapper
    out = func(*args, **kwargs)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 666, in _set_no_abort
    self.nerr(abort=-1, mute=True)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\_commands\session\run_controls.py", line 423, in nerr
    return self.run(command, **kwargs)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl.py", line 2572, in run
    text = self._run(command, verbose=verbose, mute=mute)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 729, in _run
    response = self._send_command(cmd, mute=mute)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\errors.py", line 131, in wrapper
    raise MapdlExitedError("MAPDL server connection terminated") from None
ansys.mapdl.core.errors.MapdlExitedError: MAPDL server connection terminated

and
Traceback (most recent call last):
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\launcher.py", line 1488, in launch_mapdl
    **start_parm,
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 344, in __init__
    self._multi_connect()
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 392, in _multi_connect
    timeout=attempt_timeout, set_no_abort=set_no_abort
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 533, in _connect
    self._set_no_abort()
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\misc.py", line 283, in wrapper
    out = func(*args, **kwargs)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 666, in _set_no_abort
    self.nerr(abort=-1, mute=True)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\_commands\session\run_controls.py", line 423, in nerr
    return self.run(command, **kwargs)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl.py", line 2572, in run
    text = self._run(command, verbose=verbose, mute=mute)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 729, in _run
    response = self._send_command(cmd, mute=mute)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\errors.py", line 131, in wrapper
    raise MapdlExitedError("MAPDL server connection terminated") from None
ansys.mapdl.core.errors.MapdlExitedError: MAPDL server connection terminated

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\Maxime\fe_debug\fea.py", line 9, in fea_analysis
    mapdl = launch_mapdl(exec_file='C:/Program Files/ANSYS Inc/v212/ansys/bin/winx64/ANSYS212.exe', license_server_check=True)
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\launcher.py", line 1496, in launch_mapdl
    lic_check.check()
  File "E:\Maxime\venv\ansys_analysis\lib\site-packages\ansys\mapdl\core\licensing.py", line 449, in check
    raise LicenseServerConnectionError("\n".join(self._license_file_msg))
ansys.mapdl.core.errors.LicenseServerConnectionError: Exceeded 10 seconds while waiting for C:\Users\mp2333\AppData\Local\Temp\.ansys\licdebug.FEAT_ANSYS.181.out to exist.

I will have a look soon (ping me if you dont get news in several days)

Great, thanks!


Add a logical query option for fieldnamePostfix

If you add the following to your logical query config:
fieldnamePostfix = __C
The fieldnames will have __C appended to the end (ie str0__C)

Hi, @pvanderknyff! Thanks for opening this PR!

In the file tdvt/tdvt/config_gen/gentests.py:

Line 82:30: W605 invalid escape sequence ']'
Line 82:24: W605 invalid escape sequence '['

For reference: Error Code Reference, PEP8, Python code style


Waveform is not displayed, when option fluid is enabled

Description
Waveform is not displayed, when option fluid is enabled.
Steps to reproduce

Edit options for examples/audio-only.html

{
    controls: true,
    fluid: true,
    plugins: {
        wavesurfer: {
            src: "live",
            waveColor: "black",
            progressColor: "#2E732D",
            debug: true,
            cursorWidth: 1,
            msDisplayMax: 20,
            hideScrollbar: true
        },
        record: {
            audio: true,
            video: false,
            maxLength: 20,
            debug: true
        }
    }
}

Launch in browser

Results
Expected
For videojs 6.1.0: Waveform is not displayed.

For  5.20.3: Waveform is displayed at them bottom of the player:

Actual
Waveform should be displayed
Error output
No errors
Additional Information
versions
videojs
6.1.0, 5.20.3
browsers
Version 60.0.3112.113
OSes
MacOs

I worked on this a while ago in videojs-wavesurfer, see https://github.com/collab-project/videojs-wavesurfer/compare/responsive-28 and https://github.com/collab-project/videojs-wavesurfer/issues/28 but haven't found the time to complete it. Any help is greatly appreciated!

Update: support for the fluid option is available in videojs-wavesurfer when videojs-wavesurfer 2.0.0 is released. See #167 for progress on compatibility with 2.0.0 with videojs-record. Once that's done fluid can be properly implemented in this plugin.

videojs-wavesurfer 2.0.0 is released and it's working properly for audio-only modes in upcoming videojs-record 2.0.0, still need to take a look at the other modes with @ikbensiep.

Still need to fix it in non-audio-only modes.

2.0.0 is now available.


w3c accessibility refactor

This PR implements the accessible carousel suggested by w3c.
The only differences to the w3c example are that the aria attributes for control remain in place, and the pause button is included in the controls list instead of the dot navigation list (this seemed to make more sense semantically). Based on this article on heydonworks, the aria-controls attribute is very poorly supported. Not sure whether it is detrimental to leave them in or not, so I left them in for now.
Working example can be found at http://jsfiddle.net/kryp71c/t2qffprm/4/
Only the last carousel in the example has the autoplay option turned on and therefore is the only one showcasing the pause button.
Note that when accessibility is turned off, the styles change as the accessible version gets a wrapper class "slick-accessible". When a11y is turned on, the focusOnSelect option only turns the focus on for the previous and next buttons (the focus always automatically changes when the dot navigation is used as per the w3c design pattern).
This PR is based on the discussion in https://github.com/kenwheeler/slick/issues/3268
One of the key differences to the discussion is the unchanged reading order. Seeing as the visual order is the same as the markup order, and w3c also suggests it this way, it seemed prudent to stick with it. For screen readers this might be more difficult to understand, but since the focus changes when the dots are used, it should still work.

Hi @innocentiv,
Good catch. Interestingly, in the w3 example the playback control only changes state when the slide nav buttons are used, not when the arrow keys are pressed, or when the animation is paused because of focus or hover states. Probably best to move the state changes into the pause / play functions, and trigger pause when a dotnav item is pressed.
I also noticed the autoplay is not interrupted on hovering over the arrow keys. I will update the PR accordingly.

Hi @kryp71c,
on a more thorough analysis, I found out some other issue:

The pull request make use of two es6 feature: arrow function and default parameter. It's not really a big problem, for those who transpile their code, but I don't see the need to break ie11 support at the moment (no use of this inside the arrow function and undefined is already a falsy value)
I think the dot content when multiple slide are showed is confusing. On the sixth example you provided, when I click on the arrows the screen reader read out "Slide 1 of 6" and "Slide 4 of 6". But when I click over the dots, the content is "1 of 6" and "2 of 6". I think that would be better to set the dot content to "1 of 2" and "2 of 2" to inform the user of the number of dots present.

Do you think you could address these issues as well?

@innocentiv ah yeah, I'll look into the numbering and remove the es6 code, thanks.

Finally had some time to implement the fixes.
@innocentiv perhaps take another look?

Any updates on this PR ? Do you plan to merge it soon ?

Hi @okeul,
Thanks, for pointing this out. I would agree with you on the focus, however the w3c design pattern leaves the focus on the prev / next buttons when navigating with them, and also uses aria live to announce the active slide (see w3c working example)
The rationale behind this PR was to bring the accessibility to a level that can be agreed upon, since there seem to be different opinions on what constitutes an accessible version. The w3c standard seemed like a good starting point for this.
Perhaps, the UX of the w3c recommendation is not ideal? It might be best to raise this issue with w3c first. They have a git repo for their accessibility tutorials: https://github.com/w3c/wai-tutorials

Hi, any update on merging this PR? Thx!


Test issue where VM is out of memory

Windows Version
N/A
WSL Version
N/A
Are you using WSL 1 or WSL 2?

[ ] WSL 2
[ ] WSL 1

Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
N/A
Expected Behavior
N/A
Actual Behavior
N/A
Diagnostic Logs
WslLogs-2024-03-14_14-12-01.zip

The logs shows that WSL2 ran out of memory, trying increasing wsl2.memory in .wslconfig and see if that solves the issue.

The logs show that WSL2 ran out of memory. Try increasing wsl2.memory in .wslconfig and see if that solves the issue.

The logs show that WSL2 ran out of memory. Try increasing wsl2.memory in .wslconfig and see if that solves the issue.

Diagnostic information```
Found evidence of kernel panic: $kmsg
```

The logs show that WSL2 ran out of memory. Try increasing wsl2.memory in .wslconfig and see if that solves the issue.

Diagnostic information
Found evidence of kernel panic: [   33.577240] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007

/feature


Preparing for v0.2.0

Codecov Report
Patch coverage: 80.06% and project coverage change: -0.42 :warning:

Comparison is base (d3126b6) 74.73% compared to head (8463398) 74.32%.

:exclamation: Current head 8463398 differs from pull request most recent head 68999bd. Consider uploading reports for the commit 68999bd to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #25      +/-   ##
==========================================
- Coverage   74.73%   74.32%   -0.42%
==========================================
  Files         126      137      +11
  Lines        5752     6371     +619
==========================================
+ Hits         4299     4735     +436
- Misses       1453     1636     +183

Impacted Files
Coverage Δ

examples/common/TestMsgRapidJsonSerializer.h
95.23% <ø> (ø)

include/ichor/Callbacks.h
100.00% <ø> (ø)

include/ichor/Common.h
100.00% <ø> (ø)

include/ichor/Enums.h
0.00% <ø> (ø)

include/ichor/coroutines/AsyncManualResetEvent.h
100.00% <ø> (ø)

...clude/ichor/dependency_management/DependencyInfo.h
100.00% <ø> (ø)

...de/ichor/dependency_management/ILifecycleManager.h
100.00% <ø> (ø)

include/ichor/dependency_management/IService.h
100.00% <ø> (ø)

...clude/ichor/services/logging/CoutFrameworkLogger.h
100.00% <ø> (ø)

include/ichor/services/logging/NullLogger.h
0.00% <ø> (ø)

... and 103 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


How do I update a cell to the value 4-char string NULL or 6-char string 'NULL'?

The documentation for the Results editor does describe how to update a cell to NULL: by simply entering NULL literally. However, it doesn’t specify how to set a stringish column to the literal value 'NULL' (i.e., the four character string with characters capital N, capital U, capital L, and capital L, respsectively) or '''NULL''' (i.e., the six character string with characters single quote, capital N, capital U, capital L, capital L, and single quote, respectively).
So I am left with the question: how do I do I set the value to this string value with the Results pane editor? The documentation should be clear on this.
I can figure out how to set the cell value to the four-character string literal 'NULL'. To do so, simply write 'NULL' literally.
I cannot figure out how to set the value to the 6 character string literal '''NULL'''. I asked on SO and have yet to receive a satisfactory answer. Perhaps it’s impossible. If so, the documentation should be updated to clarify that.
It also would be great if the documentation could explain how to interpret “NULL” in the results pane. Does it mean the 4-character string, the absence of a value, or something else? Or how about “'NULL'”?
Thanks.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 143cac09-f6f2-5c37-1209-165bf05b7747
Version Independent ID: 11b8de0b-5ddd-9e3f-a083-f1eca0cd31a9
Content: Edit Rows in the Results Pane - Visual Database Tools
Content Source: docs/ssms/visual-db-tools/edit-rows-in-the-results-pane-visual-database-tools.md
Product: sql
Technology: ssms
GitHub Login: @markingmyname
Microsoft Alias: maghan

@binki -- Nathan, thank you for your detailed feedback.
@markingmyname -- Mark, please look into this issue #4075.

@binki
Please excuse the delayed response.
Thank you for your feedback! We will investigate and get back to you with the relevant info.
However, please add your experience in UserVoice to find if you see more people experience the same situation.

@binki
What version of SSMS are you using because it works in version 18.4 (newest)?
Please let me know if this works with that version for you.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion, and we will reopen the issue. To see what the community is wanting, please visit the UserVoice site.

@markingmyname

@binki
What version of SSMS are you using because it works in version 18.4 (newest)?

18.4. I find it impossible to enter the 6-character literal 'NULL' through the Results pane. I don’t see how it’s “working”.

You need to enter 'NULL' (i.e. NULL enclosed in single quotes)
It is not possible to enter the string literal 'NULL'.

@markingmyname Where is this behavior documented? Shouldn’t it be documented?


[fix] Don't rev favicons.

RE: #219

putting this here to show another route I was going down... but abandoned. Documented for posterity.


feat: ingress

Thnx

@ebcFlagman I will merge and adjust change by myself.

@ebcFlagman closed via #18

@ebcFlagman released 1.0.0


See #3 for a second attemt.


how to share state between two react-apps

I have a global variable like
window.myStore = store({})
This works perfectly on one app, but when I use/update the same variable window.myStore on different react apps,  either of the one updates/renders but not both.

I think you have two separate instances of easy state (one for each app). There should only be a single easy state instance for it to work properly. Let me know if you can't get rid of one of them.

I managed to change the code to use two different stores and sync them with pub sub.
So now I can slowly move my redux code to react-easy-state
what would be nice is able to listen to updates(like pub-sub) on a particular key,
so if I update a.b.c=20 then I can listen to changes like a.b.c.onUpdate(()=>{ /*do something*/ })
or even subscribe(a.b.c, ()=>{ /*do something*/ })
I am not sure what would be the best way to do this 🤔

Easy State is a thin wrapper over the observer-util library which can create general purpose reactions. view is a special reaction which renders components on data changes. The below snippet is an example of a more general reaction.
import { store } from 'react-easy-state'
import { observe } from '@nx-js/observer-util'

const a = store({
  b: { c: 12, d: 3, e: 2 }
})

// this runs whenever a.b.c or a.b.d changes but does not run when a.b.e changes (since it is not used in the function)
observe(() => {
  console.log(a.b.c + a.b.d)
})

You could do anything in these generic reactions, console.log is just a bad example.
I am strongly suggesting though to only use reactions for 'end-of-the-chain' effects - like rendering and data persisting. Do not mutate data based on other data mutation, but use getters instead.
import { store } from 'react-easy-state'
import { observe } from '@nx-js/observer-util'

const a = store({
  b: { c: 12, d: 3 }
})

const z = store({ q: 12 })

// don't do this
observe(() => {
  z.q = a.b.c + a.b.d
})

// do this instead
const a = store({
  b: { c: 12, d: 3 }
})

const z = store({
  get q () {
    return a.b.c + a.b.d
  }
})

Another warning: do not try to solve double easy-state instance issues by synchronizing the stores with reactions as it will cause a lot of headaches. If you can't get to a single easy state somewhy letme know.
I hope some of these helps 🙂

Ah that's perfect!!
Thanks a lot for the explanation!!!


Documentation of pvsamv1 irrad_mode variable options appears to be incorrect.

...in the SDKtool UI for which value of irrad_mode is which option is incorrect. Specifically, the option 0 is not Beam+Diff, but instead Global+Beam (so the default requires global). Might be something to improve in later releases.

https://sam.nrel.gov/node/75857

The documentation is actually correct for all irrad_mode options. Option 0 does use Beam + Diffuse, but faulty logic inside the function threw the error that "global" was still required, when in fact it was not required but not used. There was a similar problem with the "gcr" input, where it would fail as being required when in fact it was not. This error only affected the irradproc compute module (cmod_irradproc), NOT any of the other compute modules using the irradproc functions (pvsamv1, pvwatts, etc).


yet another one problem with global objects

Hi.
There is another problem with global objects(at least one i noticed). With that "old" version of glibmm library(i wonder, it is from april 2017) when we quit, global Project object(Project::current) is destroyed in a time when it is too late to use some resources(again global mutex in glibmm), so quick and easy solutuon would be to assign it a nullptr in an Application' destructor. This happens, for example, when we "compile" project and then exit.

Thank you, should be fixed in the above commit. Pushing to master soon.
The exit code now also runs when closing a window through the x symbol in its decoration, that is using the desktop environment to close the window.


[Feature Request] System Info on XCreds Login Window

Similar to NoMADLogin-AD, having the option to display system info on the login window would be great, and is beneficial in a lab environment.
Clicking on the System Info text would also cycle between hostname, serial, MAC, version, IP address.
https://github.com/twocanoes/xcreds/blob/eaf319e143d9b6d25270981c7acb0f050506902b/NomadLogin/UI/SignInWindowController.swift#L365-L383

Big +1 from me. This has always been one of my favorite QoL features at the login window. If someone is on a business network can't login, but can pull the computer name, IP, or serial it can speed reaching the computer and providing support.

This would be great for us as well.

Looks like this:

nice idea. i added this key:
systemInfoButtonTitle
The title of the button for system info in the bottom right corner of the login screen. This can either be plain text or one of these special values: .os, .hostname, .ipaddress, .serial, .mac, .computername, .ssid. Using the special value will populate the associated infomation as the button title.

Hi:
How about providing options to pin items based on available space or font size?
Or options to implement custom text based on the script? Like checking > 30 days, OS updates available, etc. or many other options based on the needs of the organization using Xcreds. Also, would this support emojis to give other options outside font color to highlight important items, etc?
Like for example
🛜 SSID: [SSID]
🏷 Name: MAC1234

Filing a new bug with info from previous comment

@twocanoes I believe systemInfoButtonTitle functionality from this issue is now complete for v5.0 and testing shows success.  Any new functionality described here to be addressed in new issue #255 so marking this issue as closed.

HI @davelebbing :
Thanks for the update. Is there an option to always so the system info or is manually clicking the button the only option currently?

@uurazzle that's right.  Clicking for info is currently the only option.


have a way to see profile card when no messages have been sent

Also, in addition to this, it would be great if the chat interface displayed the name of the person you are talking to! Maybe between the back and report buttons?

Well, you can when you click on the profile picture. But I agree with the profile link on the chat interface

Can't you already when you click on the profile picture (https://streamable.com/nujf41) ?

Can't you already when you click on the profile picture (https://streamable.com/nujf41) ?

@viAtom
I think he means from within the chat interface!

Can't you already when you click on the profile picture (streamable.com/nujf41) ?

@viAtom
I think he means from within the chat interface!

In this case yeah your point should be the best way, showing the name and you can click on it :)

This has been fixed on Android, is it still present on Vs-code or IOS?

Closing due to probably being fixed on all platforms.

Closing due to probably being fixed on all platforms.


The LAION-ART (Filtered) 600K Dataset

Hello,
Thanks for you great work!
In the published paper, it was mentioned, "In controllable image synthesis tasks, for each type of conditional data, we employed a refined version of the LAION artistic dataset [37], comprising approximately 600k images. This refined dataset excludes duplicates, low-resolution images, content with potential harm, and those of subpar quality."
We are interested in accessing the filtering program or filtered metadata, such as links and captions (like JSON or Parquet format). This would greatly aid our research efforts.
Looking forward to your response.

As described in our work, we applied several filters to the LAION data, including checks for watermarks (pwatermark), unsafe content (punsafe), aesthetic scores, and resolution quality. Additionally, we utilized classifiers that were trained through manual annotation. Due to organizational restrictions, we may not be able to make this subset (600k) list of LAION-ART available. BTW, we discovered that an increased volume of data typically enhances the quality of generated results.

Thanks.


Signed url example

ref: https://github.com/developmentseed/titiler/discussions/331

FYI: CI is failing because of https://github.com/developmentseed/cogeo-mosaic/issues/177


Feedback for: Tools for PWA Developers [en]

https://github.com/google/WebFundamentals/blob/master/src/content/en/ilt/pwa/tools-for-pwa-developers.md
In "Force update the service worker" section, images inserted between list items reset list numbering.
Screenshot (see blue arrows):

GitBook reference
Source doc

Merging to #4261


Seemingly unnecessary anchor tag

While reading the docs, I found html code which dosen't seem to be  in the right place

Internal previews

📄 File
🔗 Preview link

aspnetcore/tutorials/first-mvc-app/working-with-sql.md
Part 5, work with a database in an ASP.NET Core MVC app

Hello @doki050 ... These are in the docs by design. We use them for cross-linking from other topics. You'll see them all over the place.


add support for json source generation to JsonPatch

Json Source Generation requires that JsonConverter be public.  This is a small PR to make the PatchJsonConverter public to support source generation.
Reference:
https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/source-generation

Can you explain what's going on here?  It seems this test would work just fine without that context object.  You're just creating a patch, serializing it, and verifying its serialized form.
What's being generated?

The benefit to the JsonPatch object itself isn't huge.  However, when you enable source generation for all the rest of your Web API endpoint, JsonPatch also has to support source generation as it gives an error otherwise.  You have to include all objects that JsonSerializer will deal with.
The following project is an example of setting up source generation for asp.net web api.
Creating the context to enable source generation:
https://github.com/loresoft/Estimatorx/blob/JsonSerializable/src/EstimatorX.Shared/Models/JsonContext.cs
Configure asp.net web api to use the source generation:
https://github.com/loresoft/Estimatorx/blob/29e0e4740bf0fb64cf174d4c28048194d0d7988f/src/EstimatorX.Service/Program.cs#L126
As for the benefit of Json Source Generation, you can read the follow post for a good overview.
https://devblogs.microsoft.com/dotnet/try-the-new-system-text-json-source-generator/
hope that helps
~ Paul

Thanks for that.
I'll pull this into a temp branch so I can make some edits before publishing.


From Cloudformation documentation, tags should be expressed as arrays of Key/Value

CloudFormation Lint Version
cfn-lint 1.10.0
What operating system are you using?
Linux hepao 6.6.49-NixOS SMP PREEMPT_DYNAMIC Wed Sep  4 11:28:31 UTC 2024 x86_64 GNU/Linux
Describe the bug
Looking at CloudFormation documentation regarding tags on, for instance, Batch job definitions, a template for this type of resource would be (from my understanding):
AWSTemplateFormatVersion: '2010-09-09'
Resources:
  TesJobDefinition:
    Properties:
      Tags:
        - Key: key
          Value: value
      Type: Container
    Type: AWS::Batch::JobDefinition

But cfn-lint validation fails:
❯ cfn-lint test.yaml
E3012 [{'Key': 'key', 'Value': 'value'}] is not of type 'object', 'string'
/workspace/test.yaml:5:7

Expected behavior
The expectation would be that the example template is valid.
Nevertheless, I must say that I find the Cloudformation documentation on this point particularly awkward as I would have expected an object to express a list of tags.
As a matter of fact, this is what cfn-lint currently considers as valid:
AWSTemplateFormatVersion: '2010-09-09'
Resources:
  TesJobDefinition:
    Properties:
      Tags:
        key: value
      Type: Container
    Type: AWS::Batch::JobDefinition

But as the current CloudFormation documentation goes, other tools like cloudtools/troposphere seem to follow it and generate tags as arrays of Key/Value.
Looking at PRs related to this, I have stumbled upon #3437 which seems to say that the Cloudformation specification says "object" and the documentation says "array".
As troposphere also uses the Cloudformation specification to generate most of its code, I am rather puzzled...
So, which one is right?
And where is the source of truth if not the Cloudformation documentation?
Reproduction template
AWSTemplateFormatVersion: '2010-09-09'
Resources:
  TesJobDefinition:
    Properties:
      Tags:
        - Key: key
          Value: value
      Type: Container
    Type: AWS::Batch::JobDefinition

If you use your template against the service early validation will fail with:
Property validation failure: [Value of property {/Tags} does not match type {Map}]

From this I think you need to follow the Tag structure of mapping like Key: Value

Hello @kddejong, thanks for your input.
I am not sure about what you call the "service early validation", I suppose this is related to the CLI command aws cloudformation validate-template.
So I have tested it with the following template:
AWSTemplateFormatVersion: '2010-09-09'
Resources:
  TesJobDefinition:
    Properties:
      Tags:
        - Key: key
          Value: value
      Type: Container
    Type: AWS::Batch::JobDefinition

And the result seems to be a success (0 status code):
❯ aws cloudformation validate-template --template-body file://test.yaml
{
    "Parameters": []
}

Can you give me a bit more details so that I am sure that we are talking about the same validation process?
Also the comments I have highlighted in the issue description make the distinction between what is said in the Clouformation documentation and the Cloudformation specification. Where is this specification available if this is not the documentation?

Early validation is where the property values are validated against the provider schema
https://aws.amazon.com/about-aws/whats-new/2024/03/aws-cloudformation-new-validation-checks-stack-operations/
To use this feature you have to create a stack with that template.

OK, so looking at the provider schema (eu-west-3 in my case) for AWS::Batch::JobDefinition, the property Tags is described this way:
    "Tags" : {
      "type" : "object"
    }

Now I understand your point, so the issue is troposphere generating an array of Key/Value instead of a dictionary.
Thanks @kddejong for the clarification, I can close the issue.


Display summary info for all students in the class report

There has been a change to the report format.
We now want to show 'not answered' for any student in the class who hasn't answered a question, regardless of whether the student (or any student) has started the activity / offering.
Change on line 72:  Even if the student hasn't 'started' the activity, we want to report 'not answered'
Change on line 178:  We don't process an embeddable at all if there isn't a report learner for it, so we end up with null in answers[key].  Instead of assigning an empty array, we assign an array of 'not answered' student answers.
Overall, I think this whole process could be streamlined so that first we generate a map of embeddables with default answers, then fill in the actual answers where we have them.  But since there is more work on this soon, I thought I would post-pone that optimization.
@pjanik @dougmartin  take a look?
[#116769539]
https://www.pivotaltracker.com/story/show/116769539

:+1: Looks good.


Feature-request: a way to mock now()

In a lot of cases it would be extremely helpful to have the ability to mock the return value of now() in tests.
Is there any chance that something like this could be added to this extension?
Here's an example implementation, which seems to make use of a separate schema and search_path ordering:
https://gist.github.com/thehesiod/d0314d599c721216f075375c667e2d9a

I like that a lot - sorry just seeing this.  I'm wondering how this would work with testing functions where you define the search path as part of the function declaration.  I'll try to find some time to run a few tests.  If you're open to it, would absolutely love to have this as a part of the extension

Here's an old gist showing how: https://gist.github.com/thehesiod/d0314d599c721216f075375c667e2d9a
Basically you would change search_path before running your query.
This SO post has more in depth info on the procedure: https://dba.stackexchange.com/questions/69988/how-can-i-fake-inet-client-addr-for-unit-tests-in-postgresql


cookie headers case-sensitive update, usage for instagram user latest posts

issue with cookies was fixed earlier and finally in #444


Document CocoaPods & Carthage installation issues & troubleshooting tips

A common source of issues can be traced back to installation failures when using CocoaPods (here are some), which can typically be resolved by resetting the pods:
rm -rf ~/Library/Caches/CocoaPods
rm -rf Pods
pod install

We should document this so we have a canonical place to point users to when this happens, and ideally even help users resolve this by themselves, without requiring active help from our support team.

Not to pick on CocoaPods, this also happens with Carthage: see #2853.


Default Link/Button color to "primary"

This makes it easier and more semantically correct to change.

Codecov Report

Merging #596 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #596   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          20     20
=====================================
  Hits           20     20

Impacted Files
Coverage Δ

src/index.js
100% <ø> (ø)
:arrow_up:

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 ba829ec...fd3e675. Read the comment docs.

Thanks for the suggestion! But this would mean a breaking change, and we'll have to wait for the next major version to change something like this


test: add test coverage for KeyRegistry Ownable2Step

What is the feature you would like to implement?
Add test coverage for Ownable2Step behaviors
Why is this feature important?
Ensure that it is implemented correctly

Would appreciate a review from @varunsrin 🙌


Linear Regression tutorial improvements.

Thanks, @zackchase. Pushed updates.

@zackchase: Pushed a change to address feedback from @mli
We should merge this after it builds.

This PR is messed up beyond repair. Will open a new one.


Send email to user's email address when a PUT/POST/DELETE is made via TO API

This Feature Request affects these Traffic Control components:

Traffic Ops
Traffic Portal

Description
For security reasons, it would be helpful to receive an email when a change is made by my user to notify me of any potential unauthorized changes. This email would only be sent on PUT/POST/DELETE api calls performed by my user. Not GETs. The email would be sent only if an email address is defined for the user.
In addition, the user should be able to opt out of emails but by default emails should be sent.
The contents of the email can simply be the change log content. ie.:
`
USER: username1234
SERVER: cdn-ec-02.cdn.foo.bar, ID: 1234, ACTION: updated
If this action was not performed by you, please contact your security representative
`

That seems extremely annoying. Imagine that I filter the servers table by those with a given Profile, then queue updates on those servers. I now have potentially hundreds of emails being sent to me. It's hard to imagine anyone not opting out of that.

That seems extremely annoying. Imagine that I filter the servers table by those with a given Profile, then queue updates on those servers. I now have potentially hundreds of emails being sent to me. It's hard to imagine anyone not opting out of that.

yeah i see your point. bulk actions would result in bulk emails although bulk actions is not supported in TPv1 but i suppose they are in TO api if you build a script to do so.


Use named alternate layer for the contour source if glyph exists there

Enable the designer to set (in instance custom parameters) a named layer as a source for alternate skeleton sources. If a glyph exists in that layer then the dotter would use that glyph as the source rather than the normal one.
This would allow for instance-specific alterations to the skeletal source that would change the dotted results, much like delta hints. These would then have no impact on other instances or on other operations such as stroking.

I've done some of the scaffolding for this but before I go any further and plumb it into the interface, I think we need to step back a bit and think about what parameters get stored where; and this is something I would like your involvement in. Currently we are storing the dotter and stroker parameters in the font's top-level, global "user data". But I can see arguments for some or all of the parameters being stored:

Globally in the font
At master level (e.g. it may make sense to put the alternate layer name here)
At "export" (instance) level e.g. different instances will have different stroke thicknesses and dot sizes.
Per-glyph for overrides for specific glyphs (some may want splitPaths, some may not?)

For reference here are the current set of parameters and their defaults:
DOTTER_PARAMS = {
    "dotSize": 15,
    "dotSpacing": 15,
    "preventOverlaps": True,
    "splitPaths": False,
    "alternateLayerName": None,
}
STROKER_PARAMS = {
    "strokerWidth": 50,
    "strokerHeight": 50,
    "strokerAngle": 0,
    "strokerHeightLock": True,
    "startCap": "round",
    "endCap": "round",
    "joinType": "round",
    "removeExternal": False,
    "removeInternal": False,
    "segmentWise": False
}

Yeah - good question. It might be good for us to talk about this, as I need to understand better how instance definitions in Glyphs relate to config.yaml recipes. We also need to consider how this data would ideally be represented in a UFO+designspace world so we are careful not to make that more difficult. As I understand it, the fundamental difficulty in Glyphs3<>UFO+designspace is the significantly different family structure model.
By "Globally in the font" I think you mean at the top level of the Glyphs file - right? "Font" is potentially confusing. I'm assuming this is what you mean.
Here are my first thoughts on what belongs where in a conceptual, not necessarily actual, hierarchy. Basically it's storing everything in the internal export/instance, but allows a named layer in individual glyphs to be used for alternate data.

GLYPHSFILE

MASTER

GLYPH

LAYER (SOURCE) - info that is considered permanent and is used in the build

Alternate skeletons
Override for splitPaths, preventOverlaps
Overrides for stroker params?

LAYER (PREVIEW) - outlines that are stored for visual review but not used in build

EXPORT (INTERNAL) - info that is accessible to Glyphs plugins and applied in preview (instances)

Default location for all dotting and stroking params, including alternateLayerName
Guideline params, though not used by preview?

EXPORT (EXTERNAL) - info that may exist externally (recipes)

There are some stroker params that I don't understand, so haven't include those in my thinking (strokerHeightLock, removeExternal, removeInternal, segmentWise).
Where I'm really unsure of things is related to final .ttf naming (family and file names). I know the recipe deal with this, but I don't know how that relates to individual instance definitions in the Glyphs file.
Let me know when you'd be available to talk though this.

BTW alternateLayerName is definitely needed at the instance level, as different instances (say, with different dot densities) may require different overrides.

Currently the "thing" we dot is a master, not an instance; the build process:

Takes each layer of the font source (corresponding to the outlines for a given master)
Obtains parameters from somewhere (currently global, but we want to change that)
Replaces the outlines of the layer with a series of dots.
Writes a new .glyphs file with these dotted masters.
Builds that new .glyphs file to get dotted instances.

But it sounds like we actually want to do dotting a bit further into the build process. (No problem, I think we can do this!) Doing the dots on "exports" (instances) would mean we could have separate font binary files with different dot parameters from the same master outlines. I can see that as being desirable.
The way I'm handling this development process is pretty cyclic; we're iterating on different components as we circle towards what we eventually want to see, as that's the best way to firm up the desired user experience and requirements. So we started with a simple interface, then spun off the actual "dotting" part of it to a separate process so we could work on getting a simple build process working; now we need to go back and build out the user interface (making all these decisions  about what information goes where and how best to give the user access to it), and then after that we can pull apart the build process and rebuild it to match what we actually want.
So I shall do some thinking about a new front-end in Glyphs (also bearing in mind the comments in #1 about it not being modal and not really being a filter), and then there will be lots of code movement and things will break, and then we can fix it all again. But we are heading in the right direction. :-)

This is now done in the Designer, on to the build.


MFA Stack Fails below

Can't seem to execute deployment option 1 from https://aws-quickstart.github.io/quickstart-freeradius-mfa-workspaces/.
Here is exact template URL I am starting from:
https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create?stackName=quickstart-freeradius-mfa-workspaces&templateURL=https://aws-quickstart.s3.us-east-1.amazonaws.com/quickstart-freeradius-mfa-workspaces/templates/ws-main-1.template.yaml
Here is my parameters to the template (in [screenshots)](

)
When I debug it I get to https://github.com/aws-quickstart/quickstart-freeradius-mfa-workspaces/blob/0eea5c13e2e451290d159c18183fa75564ff4910/templates/ws-main-1.template.yaml#L811 and it fails to find this template. thoughts?

also worth noting the default stack name fails now, had to shorten it due to length constraints.


If you import bootstrap, it flickers on initial load because bootstrap stylesheet isn't rendered before js

Can you change it so that when you do a build it renders the stylesheet on top of js instead of it being in one? Or is there another work around? Seems like having it together can cause flicker with using Bootstrap.

You can include "global" css styles from the "app/style" folder, this will generate an external css file that is included in index.html (and thus is loaded like we're used to).
You just need to require it in one of your files (usually the app.ts, at the beginning, or the vendor.ts).
Let me know if that fixes the problem for you.

Okay, requiring it in vendor.ts did the trick thanks.

Perfect :)
:+1:

I experiencing the same issue.
I added this in vendor.ts
import 'bootstrap-sass/assets/stylesheets/_bootstrap.scss';
ERROR in ./~/css-loader?sourceMap!./~/postcss-loader!./~/sass-loader!./~/raw-loader!./~/postcss-loader!./~/sass-loader!./~/bootstrap-sass/assets/stylesheets/_bootstrap.scss
Module build failed:
/*!
^
Invalid CSS after "module.exports": expected "{", was '= "@charset \"UTF-8'
in /Users/x203949/Sites/angular2-webpack/node_modules/bootstrap-sass/assets/stylesheets/_bootstrap.scss (line 1, column 15)
@ ./~/bootstrap-sass/assets/stylesheets/_bootstrap.scss 4:14-250


Generate and review validation reports: black_gold_oai

Step 2: Generate reports [status: in progress --> ready for review]

[x] Generate validation reports (run validate_by_mapper DAG): https://7a8067cb-3b99-477e-a883-7e311175a9b4.c3.us-west-2.airflow.amazonaws.com/dags/validate_by_mapper_type/grid?dag_run_id=manual__2023-11-15T00%3A34%3A59%2B00%3A00
[x] Add a comment (in this issue) to the output URLs
[x] Download the validation reports locally; prepend the collection registry number to the filename
[x] Upload validation reports to the Rikolti Data Validation folder

Step 3: Review reports  [status: ready for review --> review in progress]

[x] Review sample collections validation reports; leave notes in the spreadsheet
[x] Quickly (and not very deeply) scan through other validation reports (to identify if any new metadata fields surface)
[x] Synthesize notes at the mapper level
[x] Share an update (and surface any anomalies) during a weekly check-in (Mondays at 3:00pm)

Step 4: Have data validation issues? Address & resolve validation issues (synthesized mapper-level):

[x] Create a new issue (“Validation results: Rikolti mapper name“) and report/request CIC fixes & investigations. Assign to CIC.
[x] Add a comment to link to the new “validation results” issue.
[x] Add a “blocked/paused” label to this issue. Include a status note in this issue title (e,g., HOLD for CIC fixes; HOLD for code review; etc.)
[x] Move this issue back to the “To Do” pile.

[Re-generate & re-review (repeat steps 2-3 above, as needed.]
Step 5: Have acceptable validation reports?

[ ] Move the valid (accepted) reports to the “VALID” folder in google drive.
[ ] Update the mapper progress spreadsheet; indicate that the mapper is accepted

`- [2023-11-15, 00:40:51 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/4891/validation/11-15-2023T00:40:35.csv

[2023-11-15, 00:40:51 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#4891/

[2023-11-15, 00:40:51 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26865/validation/11-15-2023T00:40:36.csv

[2023-11-15, 00:40:51 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26865/

[2023-11-15, 00:40:51 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26866/validation/11-15-2023T00:40:37.csv

[2023-11-15, 00:40:51 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26866/

[2023-11-15, 00:40:51 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26867/validation/11-15-2023T00:40:37.csv

[2023-11-15, 00:40:51 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26867/

[2023-11-15, 00:40:51 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26868/validation/11-15-2023T00:40:38.csv

[2023-11-15, 00:40:51 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26868/

[2023-11-15, 00:40:51 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26869/validation/11-15-2023T00:40:39.csv

[2023-11-15, 00:40:51 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26869/

[2023-11-15, 00:40:51 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26870/validation/11-15-2023T00:40:40.csv

[2023-11-15, 00:40:51 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26870/

[2023-11-15, 00:40:51 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26896/validation/11-15-2023T00:40:50.csv

[2023-11-15, 00:40:51 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26896/

[2023-11-15, 00:40:51 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26897/validation/11-15-2023T00:40:51.csv

[2023-11-15, 00:40:51 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26897/`

@christinklez This is ready for note review/synthesizing.

Issues reported to CIC here: https://github.com/ucldc/rikolti/issues/636

[2023-12-21, 19:58:13 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/4891/vernacular_metadata_2023-12-21T19:53:31/mapped_metadata_2023-12-21T19:57:35/validation_2023-12-21T19:57:58.csv
[2023-12-21, 19:58:13 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://{bucket}.s3.us-west-2.amazonaws.com/index.html#4891/vernacular_metadata_2023-12-21T19:53:31/mapped_metadata_2023-12-21T19:57:35/data/
[2023-12-21, 19:58:13 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26865/vernacular_metadata_2023-12-21T19:53:49/mapped_metadata_2023-12-21T19:57:37/validation_2023-12-21T19:57:59.csv
[2023-12-21, 19:58:13 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26865/vernacular_metadata_2023-12-21T19:53:49/mapped_metadata_2023-12-21T19:57:37/data/
[2023-12-21, 19:58:13 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26866/vernacular_metadata_2023-12-21T19:53:57/mapped_metadata_2023-12-21T19:57:37/validation_2023-12-21T19:57:59.csv
[2023-12-21, 19:58:13 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26866/vernacular_metadata_2023-12-21T19:53:57/mapped_metadata_2023-12-21T19:57:37/data/
[2023-12-21, 19:58:13 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26867/vernacular_metadata_2023-12-21T19:54:09/mapped_metadata_2023-12-21T19:57:38/validation_2023-12-21T19:58:00.csv
[2023-12-21, 19:58:13 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26867/vernacular_metadata_2023-12-21T19:54:09/mapped_metadata_2023-12-21T19:57:38/data/
[2023-12-21, 19:58:13 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26868/vernacular_metadata_2023-12-21T19:54:19/mapped_metadata_2023-12-21T19:57:39/validation_2023-12-21T19:58:01.csv
[2023-12-21, 19:58:13 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26868/vernacular_metadata_2023-12-21T19:54:19/mapped_metadata_2023-12-21T19:57:39/data/
[2023-12-21, 19:58:13 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26869/vernacular_metadata_2023-12-21T19:54:34/mapped_metadata_2023-12-21T19:57:39/validation_2023-12-21T19:58:01.csv
[2023-12-21, 19:58:13 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26869/vernacular_metadata_2023-12-21T19:54:34/mapped_metadata_2023-12-21T19:57:39/data/
[2023-12-21, 19:58:13 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26870/vernacular_metadata_2023-12-21T19:54:46/mapped_metadata_2023-12-21T19:57:40/validation_2023-12-21T19:58:02.csv
[2023-12-21, 19:58:13 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26870/vernacular_metadata_2023-12-21T19:54:46/mapped_metadata_2023-12-21T19:57:40/data/
[2023-12-21, 19:58:13 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26896/vernacular_metadata_2023-12-21T19:54:49/mapped_metadata_2023-12-21T19:57:40/validation_2023-12-21T19:58:12.csv
[2023-12-21, 19:58:13 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26896/vernacular_metadata_2023-12-21T19:54:49/mapped_metadata_2023-12-21T19:57:40/data/
[2023-12-21, 19:58:13 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26897/vernacular_metadata_2023-12-21T19:57:27/mapped_metadata_2023-12-21T19:57:52/validation_2023-12-21T19:58:13.csv
[2023-12-21, 19:58:13 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26897/vernacular_metadata_2023-12-21T19:57:27/mapped_metadata_2023-12-21T19:57:52/data/

[2024-01-26, 00:06:54 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/4891/vernacular_metadata_2024-01-26T00:01:55/mapped_metadata_2024-01-26T00:06:14/validation_2024-01-26T00:06:38.csv
[2024-01-26, 00:06:54 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#4891/vernacular_metadata_2024-01-26T00:01:55/mapped_metadata_2024-01-26T00:06:14/data/
[2024-01-26, 00:06:54 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26865/vernacular_metadata_2024-01-26T00:02:06/mapped_metadata_2024-01-26T00:06:16/validation_2024-01-26T00:06:39.csv
[2024-01-26, 00:06:54 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26865/vernacular_metadata_2024-01-26T00:02:06/mapped_metadata_2024-01-26T00:06:16/data/
[2024-01-26, 00:06:54 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26866/vernacular_metadata_2024-01-26T00:02:16/mapped_metadata_2024-01-26T00:06:17/validation_2024-01-26T00:06:40.csv
[2024-01-26, 00:06:54 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26866/vernacular_metadata_2024-01-26T00:02:16/mapped_metadata_2024-01-26T00:06:17/data/
[2024-01-26, 00:06:54 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26867/vernacular_metadata_2024-01-26T00:02:32/mapped_metadata_2024-01-26T00:06:18/validation_2024-01-26T00:06:41.csv
[2024-01-26, 00:06:54 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26867/vernacular_metadata_2024-01-26T00:02:32/mapped_metadata_2024-01-26T00:06:18/data/
[2024-01-26, 00:06:54 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26868/vernacular_metadata_2024-01-26T00:02:45/mapped_metadata_2024-01-26T00:06:18/validation_2024-01-26T00:06:41.csv
[2024-01-26, 00:06:54 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26868/vernacular_metadata_2024-01-26T00:02:45/mapped_metadata_2024-01-26T00:06:18/data/
[2024-01-26, 00:06:54 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26869/vernacular_metadata_2024-01-26T00:02:57/mapped_metadata_2024-01-26T00:06:19/validation_2024-01-26T00:06:42.csv
[2024-01-26, 00:06:54 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26869/vernacular_metadata_2024-01-26T00:02:57/mapped_metadata_2024-01-26T00:06:19/data/
[2024-01-26, 00:06:54 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26870/vernacular_metadata_2024-01-26T00:03:12/mapped_metadata_2024-01-26T00:06:20/validation_2024-01-26T00:06:43.csv
[2024-01-26, 00:06:54 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26870/vernacular_metadata_2024-01-26T00:03:12/mapped_metadata_2024-01-26T00:06:20/data/
[2024-01-26, 00:06:54 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26896/vernacular_metadata_2024-01-26T00:03:15/mapped_metadata_2024-01-26T00:06:20/validation_2024-01-26T00:06:54.csv
[2024-01-26, 00:06:54 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26896/vernacular_metadata_2024-01-26T00:03:15/mapped_metadata_2024-01-26T00:06:20/data/
[2024-01-26, 00:06:54 UTC] {{logging_mixin.py:150}} INFO - Download validation report at: https://rikolti-data.s3.amazonaws.com/26897/vernacular_metadata_2024-01-26T00:06:04/mapped_metadata_2024-01-26T00:06:32/validation_2024-01-26T00:06:54.csv
[2024-01-26, 00:06:54 UTC] {{logging_mixin.py:150}} INFO - Review collection data at: https://rikolti-data.s3.us-west-2.amazonaws.com/index.html#26897/vernacular_metadata_2024-01-26T00:06:04/mapped_metadata_2024-01-26T00:06:32/data/

Accepted on 2024-01-26!


update swc_ecma_transforms_proposal to v0.167.15

This version fixes https://github.com/swc-project/swc/issues/8020, which currently causes incorrect ReferenceErrors in Deno:
// foo.ts

using foo = null

const bar = 1

console.log(baz()) // should log `1`

function baz() {
  return bar
}

$ deno run foo.ts
error: Uncaught ReferenceError: bar is not defined
  return bar
  ^
    at baz (file://.../foo.ts:8:3)
    at file://.../foo.ts:5:13

I'm going to do it tomorrow probably. There were a bunch of other fixes that have landed now.


fix HPAs by setting resource requests

Towards https://github.com/giantswarm/giantswarm/issues/29149
Backend HPA:
Resources definition for the ruler were broken because the sidecar section was defined twice in default values.
Now both definitions are merged.
Gateway HPA
Added resources request for dnsmasq sidecar

Successfully tested on gaia.


just wondering if splitting is fully implemented.

I see that there is a grey circle on split targets but the bot refuses to split onto them, so i was wondering if this was a mistake or just the first step into implimentation

There is no current automatic splitting functionality this is mainly for people that use the bot in follow the mouse mode or just as a tool to graze for food and then actually do the harder work.

thanks


why is pytest-subtests 0.2.1 required?

Hi,
why is specifically pytest-subtest 0.2.1 required for installing schemathesis?
Installing schemathesis with pytest-subtests 0.3.0 will uninstall it and install 0.2.1
Kind Regards

Hi!
I think that there is no specific reason and we can relax our requirements. I'll test the new version of pytest-subtest


The table format isn’t captured in the accessible view: A11y_Visual Studio Code Client_Usability

GitHub Tags:
#A11yTCS; #A11ySev4; #Visual Studio Code Client; #BM_Visual Studio Code Client_Win32_JULY2024; #DesktopApp; #FTP; #A11yUsablehigh; #Win32; #Benchmark;
Environment and OS details:
Application Name: Visual Studio Code
OS: Windows 11 version 23H2 OS built: 22631.4169.
Version: 1.95.0-insider (user setup)
OS Build: 26100.1742
Version: 24H2
Reproduction Steps:

Open Visual studio code insider editor.
Tab till copilot chat and ask copilot to generate Arg query for Indian region accounts
Press Alt + F2 to view accessible view.
Observed that the table format isn’t captured in the accessible view.

Actual Result:
For some screen reader users, GitHub copilot’s accessible view is an integral tool and Table format is not communicated in that experience
Expected Result:
This requires technical explorations to either introduce further formatting options in the accessible view. Also consider exploring allowing users to open content in a web view when they’ve requested HTML components.
User Impact:
Users were unaware that a table could be generated and instead ended up asking for HTML code to put into a web view experience.
Attachment:
https://microsoft.sharepoint.com/:p:/t/FableEngagement/EcCC6L78IhNDmx5ABbNLJnMBCa0Yomng6xSCIYtpaqOF2Q?e=gM4Vpy&nav=eyJzSWQiOjEzOTcsImNJZCI6Mjg0ODc5MTQxOX0

We can indicate the number of tables, if any, in the chat response's aria label similar to what we do for code blocks so a user is aware.
The accessible view is meant to be a flat rendering of just the text content by design. A user can navigate the table in the chat response if they want to.


[2.0 Beta] Ability to call Custom Events from other Custom Events

Is your feature request related to a problem? Please describe.
There is no direct way to call one Custom Event from another Custom Event. Currently to achieve this I have make the call in a regular event, copy that, and then paste it in the other.
Describe the solution you'd like
It "seems" simple enough to add the Custom Events to the list of addable events within a Custom Event, except possibly the same event itself (to protect against recursion, I'm not sure).
Describe alternatives you've considered
I can't think of any useful alternatives.
Additional context
So my specific use case was for calling Sound Effect Custom Events that get called during a Game Menu Custom Event, so that specific sounds could be played in reaction to opening the menu, menu selections, and cancelling out of the menu.

After reading #393 it looks like direct support for this may be coming soon-ish, and I'm probably pretty lucky that this actually works. However, my use case is probably pretty safe since the callees of the callee are very simple with no logic and not modifying any variables.


[PPP-4905]- Vulnerable Component: SQLite

PPP-4905- Vulnerable Component: SQLite

:x: Build failed in 2m 48s
Build command:
mvn clean verify -B -e -Daudit -amd -pl \
assemblies/core/lib,assemblies/lib

:exclamation: No tests found!
Errors:
Filtered log (click to expand)

script returned exit code 1

:information_source:  This is an automatic message

:x: Build failed in 3m 5s
Build command:
mvn clean verify -B -e -Daudit -amd -pl \
assemblies/core/lib,assemblies/lib,core

:exclamation: No tests found!
Errors:
Filtered log (click to expand)

script returned exit code 1

:information_source:  This is an automatic message

:x: Build failed in 3m 8s
Build command:
mvn clean verify -B -e -Daudit -amd -pl \
assemblies/core/lib,assemblies/lib,core

:exclamation: No tests found!
Errors:
Filtered log (click to expand)

script returned exit code 1

:information_source:  This is an automatic message


Prototype TextEdit module

Will be written (eventually) in C++ for runtime and Dart (for editor)

prototype is in playground/textedit.
Basic editing, cursors, style-runs all (mostly) working. Probably enough works that we can start migrating it into the Editor.


Home Component

User Story
As a user when I visit the app I will see a home page component with an H1 tag of 'I Got Next 2.0' and two buttons titled Join a Team and Create a Team
Acceptance Criteria
WHEN the user visits the home page
THEN an H1 header of 'I Got Next 2.0' will appear on the top of the page
AND two buttons will appear which gives the user to either join a team or create a team
Dev Notes

In src/components/pages/Home/home.js create the standard React setup; export default the component at the bottom of the page.

Create the Create a Team button, which will route to the 'create team' form

<Link className="btn btn-primary" to="/teams/new">Create a Team</Link>

Create the Join a Team button, which will conditionally render the part of the card where the player can join a team

<Link className="btn btn-secondary" to="....">Join a Team</Link>

Import { Link } from 'react-router-dom at the top of the file

Style according to mockup

@rtate2 also the link for the admin portal


Empty gh-pages

@awlx can you add me to the organization of this repo.
To fix the CI you need create an empty gh-page branch and configure github pages to use them.
git switch --orphan gh-pages
git push -u origin gh-pages
git commit --allow-empty -m "GH-Pages Branch"
git push -u origin gh-pages

@catrielmuller I've already fixed the issue

But it would be nice to have you on board. I think you will be added to the wg-access-server-chart team shortly.