Add Entity Transformer Feature

In certain cases database naming conventions can vary.  A use case scenario is outlined below.
Source Table : Applications_T1

Application_IDNO
FirstName_TEXT
LastName_TEXT
DOB_DTTM
Current Entity Class Output: Applications_T1.generated.cs

Application_IDNO
FirstName_TEXT
LastName_TEXT
DOB_DTTM
Desired Transformation Example   Entity Class Output: Applications.cs

ApplicationId
FirstName
LastName
DOB

@stealth1980 I added some flexibility to the generation code.  Take a look at CreateEntityGenerator in Program.cs.  You'll see a DefaultEntityFileModelBuilder.  Go ahead and create your own custom EntityFileModelBuilder by creating a new class that implements the IEntityFileModelBuilder interface.  In that class you can do the name transformations that you want to do for the Entity and for the Properties.  Then, go back to Program.cs and change CreateEntityGenerator to instantiate your custom class instead of DefaultEntityFileModelBuilder.

@stealth1980 check out that sweet SingletonPropertyNameTransformer.

Added INameTransformer interface
Singleton added a class for his needs.

Closing issue.


select_mutations() function

Instead of expecting users to deal with matrices, allow them to specify a vector of names.

Subset the rows to just those names.
Remove any column that is all 0s.

Closed as already implemented, then forgotten about, then poorly described in this issue, then re-discovered.


no_std support

This implementation has LCell and QCell (fast_new only) fully supported on no_std.
If you enable the alloc feature, you gain QCell::new.
TCell and TLCell are supported only under the std feature.
This shouldn't touch any functional code, just modify some imports, add feature gates, and tweak documentation.
Tests for items that aren't available are not enabled.  This excludes most of the QCell tests when the alloc feature is disabled, as they rely on QCell::new.  Here are the my test counts:

cargo test --no-default-features:  8 tests, 25 doc-tests.
cargo test --no-default-features --features "alloc":  13 doc-tests, 45 doc-tests.
cargo test and cargo test --no-default-features --features "std":  28 tests, 92 doc-tests.

There is one doc-test in lib.rs that I had to add the std feature-gate to, this makes it look a little funny in the source code but the resulting HTML documentation is unchanged.
I just shuffled some things around in assertions.rs to group the feature-gated ones, but feel free to double check that I didn't accidentally delete any.

This all looks fine, thanks. The feature documentation is a nice touch.
Before I do the next release, I'll go over the docs again and maybe tweak a few things. The new and fast_new calls are likely to be much closer in speed than they were previously. However fast_new is still important for pure no_std.
Are you planning any more PRs? This is just to decide when to do the next release.
Also, do you have plans to use qcell in a no_std project? This is just to understand how it might be used. (For example, if there is no alloc, then Rc is out.)

I have a couple other ideas I might prototype over the weekend and suggest.
I'm intending on making qcell an optional dependancy of one of my crates, as a pluggable alternative to RefCell.  It will unconditionally depend on alloc (for precisely Rc).

Okay, thanks! If you want to thrash out any ideas, you could raise an issue to discuss them, or add to the discussion on no_std if it is related.


ThankYou Form Element

Complement to the WelcomeMessage, this should be a required rich-text page that ends a survey.

Task list

[ ] Get listed in proper place in SurveyFormEditor
[ ] Sort into proper place in SurveyApp
[ ] Make sure newly added elements don't appear after ThankYou
[ ] Shouldn't be deletable
[ ] Don't show [Next] button on that page
[ ] Add configuration to support multiple responses
[ ] Social media sharing buttons
[ ] Storybook test cases
[ ] Unit tests

Closed in #55109a5


[Compile] urllib3 2.2.0 needs module named 'js'

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
After I updated urllib3 from version 2.1.0 to 2.2.0, I noticed this warning while compiling on Windows 10 with Python 12 (also on Windows 7 with Python 3.8):
218 WARNING: Failed to collect submodules for 'urllib3.contrib.emscripten' because importing 'urllib3.contrib.emscripten' raised: ModuleNotFoundError: No module named 'js'
Can this be safely ignored for now?
Could this module be beneficial for yt-dlp in the future?
From the changelog:

Added support for Emscripten and Pyodide, including streaming support in cross-origin isolated browser environments where threading is enabled. (#2951)

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '--ignore-config']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out cp1252 (No VT), error cp1252 (No VT), screen cp1252 (No VT)
[debug] yt-dlp version<EMAIL_ADDRESS>[acaf806c1] (win_exe)
[debug] Python 3.12.1 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 3.0.11 19 Sep 2023)
[debug] exe versions: ffmpeg N-113520-g01388936a8-20240203 (setts), ffprobe N-113520-g01388936a8-20240203, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, mutagen-1.47.0, requests-2.31.0, sqlite3-3.43.1, urllib3-2.2.0, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1832 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-master-builds/releases/latest
[debug] Downloading _update_spec from https://github.com/yt-dlp/yt-dlp-master-builds/releases/latest/download/_update_spec
[debug] Downloading SHA2-256SUMS from https://github.com/yt-dlp/yt-dlp-master-builds/releases/download/2<IP_ADDRESS>800/SHA2-256SUMS

It is for WASM and is not relevant to yt-dlp. You may want to report the warning to urllib3 devs though

Starting with 2.2.0, urllib3 supports pyodide, emscripen and pyscript as a target to run on. Since we dont target these runtimes, and support is experimental, I would ignore it for now.

js is not a PiP package, but a module that become automatically available inside pyscript (and similar?). pip installs should not be looking for it.

We don't use any of urllib3.contrib.* features so any warnings about importing them when using pyinstaller should be able to be ignored. I imagine similar warnings are showing for pysocks etc.


rbd: Implement snapshot and clone from snapshot

This Adds support for create,delete snapshot and creating a new rbd image from the snapshot.
Create a snapshot

Create a temporary snapshot from the parent volume

Clone a new image from a temporary snapshot with options --rbd-default-clone-format 2 --image-feature layering,deep-flatten

Delete temporary snapshot created

Create snapshot from clone image

Check the image chain depth, if the Softlimit is reached Add a task Flatten the cloned image and return success. if the depth is reached hard limit Add a task Flatten the cloned image and return snapshot status ready as false
1) rbd snap create <RBD image for src k8s volume>@<random snap name>
2) rbd clone --rbd-default-clone-format 2 --image-feature
layering,deep-flatten <RBD image for src k8s volume>@<random snap>
 <RBD image for temporary snap image>
3) rbd snap rm <RBD image for src k8s volume>@<random snap name>
4) rbd snap create <RBD image for temporary snap image>@<RBD image for temporary snap image>
5) check the depth, if the depth is greater than configured hard
limit add a task to flatten the cloned image return snapshot status
ready as false if the depth is greater than soft limit add a task
to flatten the image and return success

Create a clone from a snapshot

Clone a new image from the snapshot with user-provided options

Check the depth(n) of the cloned image if n>=(hard limit) Add a task to flatten the image and return ABORT (to avoid image leak)
2) rbd clone --rbd-default-clone-format 2 --image-feature
<k8s dst vol config> <RBD image for temporary snap image>@<random snap name>
 <RBD image for k8s dst vol>
4) check the depth, if the depth is greater than the configured hard limit
add a task to flatten the cloned image return ABORT error if the depth is
greater than soft limit add a task to flatten the image and return success

Delete snapshot or PVC

Move the temporary cloned image to the trash

Add task to remove the image from the trash
1) rbd trash mv <cloned image>
2) ceph rbd task trash remove <cloned image>

With earlier implementation to delete the image, we used to add a task to remove the image with new changes this cannot be done as the image may contain snapshots or links.
Signed-off-by: Madhu Rajanna<EMAIL_ADDRESS>Note: Created a new PR to make review easy and addressed review comments in https://github.com/ceph/ceph-csi/pull/693 and https://github.com/ceph/ceph-csi/pull/467
closes #693
closes #467
The snapshot, creating a PVC from Restore and creating a PVC from PVC will be done in different PR's
TODO

[x] Implement snapshot create, delete and create PVC from a snapshot
[ ] Create PVC from PVC
[ ] Fix issues with snapshot/clone (512) limits https://github.com/ceph/ceph-csi/issues/1098
[ ] Allow Parallel cloning and snapshots creation on one PVC/clone (Need to work on in-memory locking)
[ ] Improve/Add Documentation for snapshot and cloning
[ ] Check Anything Needed to support datapool
[ ] Add doc file for the commands
[ ] If required some code cleanup
[ ] Replace GetStoredImageID with GetImageAttributes in all places

Converted to Draft as scale testing is pending and also need to add TODO for remaining tasks

still need to do some smaller changes, marked as ready of review.

@dillaman PTAL

@nixpanic addressed review comments. PTAL. as i need to do follow up PR's to address TODO if any minor changes are required i can do it.
@dillaman @ShyamsundarR @humblec can you please review this one?

@nixpanic GitHub is not allowing me to reply to a few comments, let me know if we need to discuss any particular comment.

@nixpanic GitHub is not allowing me to reply to a few comments, let me know if we need to discuss any particular comment.

You might be able to reply if you click the Commits tab, the first commit, and then Next > until you find a comment you want to respond to? That is also how I left the comments.

* we need to have some flag to indicate that all RBD images for PVCs need to be flattened upon creation. This flag would be set to `true` if they have at least one compute / worker node with an old OS that doesn't support the deep-flatten feature and the operations feature that is set when you use clone v2 (setting of the flag can be an exercise for the user / Rook).

From a standalone csph-csi perspective, the NodeStageVolume call can possibly detect the local OS version and also the image depth that is required to be mapped, and decide to allow/disallow the operation.

* we need to have some flag to indicate that all RBD images for PVCs need to be flattened upon creation. This flag would be set to `true` if they have at least one compute / worker node with an old OS that doesn't support the deep-flatten feature and the operations feature that is set when you use clone v2 (setting of the flag can be an exercise for the user / Rook).

From a standalone csph-csi perspective, the NodeStageVolume call can possibly detect the local OS version and also the image depth that is required to be mapped, and decide to allow/disallow the operation.

If we just wanted to randomly fail at that step, you could just let it attempt to rbd block map and that will fail as well.

* we need to have some flag to indicate that all RBD images for PVCs need to be flattened upon creation. This flag would be set to `true` if they have at least one compute / worker node with an old OS that doesn't support the deep-flatten feature and the operations feature that is set when you use clone v2 (setting of the flag can be an exercise for the user / Rook).

From a standalone csph-csi perspective, the NodeStageVolume call can possibly detect the local OS version and also the image depth that is required to be mapped, and decide to allow/disallow the operation.

This could give a bad user experience- Any cloned or restored PVC cannot be mapped on the nodes where the kernel version is <8.2+(the user has the manually reschedule the app to the nodes where the kernel is 8.2+ with some affinity). instead of this, we can flatten the image. The only issue with this is Creation operation can be slow. eventually when users move to new kernel versions we can disable the flag by default

* we need to have some flag to indicate that all RBD images for PVCs need to be flattened upon creation. This flag would be set to `true` if they have at least one compute / worker node with an old OS that doesn't support the deep-flatten feature and the operations feature that is set when you use clone v2 (setting of the flag can be an exercise for the user / Rook).

From a standalone csph-csi perspective, the NodeStageVolume call can possibly detect the local OS version and also the image depth that is required to be mapped, and decide to allow/disallow the operation.

This could give a bad user experience- Any cloned or restored PVC cannot be mapped on the nodes where the kernel version is <8.2+(the user has the manually reschedule the app to the nodes where the kernel is 8.2+ with some affinity). instead of this, we can flatten the image. The only issue with this is Creation operation can be slow. eventually when users move to new kernel versions we can disable the flag by default

I am not suggesting we do away with a flag, I am suggesting that we also add a check on the nodeplugin to detect and prevent the Staging.

As per the latest discussion to handle mounting of rbd images or clone images in the chain which has the deep-flatten feature on the nodes who is having lower kernel version will flatten the image before use,
There are two problems we need to address

We don't have a specific error message to return in NodeStageRequest(intermediate error) currently we are return InternalError to retry with backoff( maybe we need to file an issue in CSI spec to extend node stage error message).as the kubelet retry's when an internal server error occurs we are good here.
The secret we are using for node stage in the rook doesn't have the permission to talk to the manager to issue rbd flatten images. we need to update rook to extend user caps

@ShyamsundarR PTAL.

some cleanup required in commits will do it once changes look good.

@ShyamsundarR @nixpanic @humblec PTAL

The commit message of db5d142 (rbd: Implement snapshot and clone from snapshot) contains lots of details. Is this also available in some .md file in the repo? If not, adding it as a design would be great (and mention in the comments in the implementation that the doc exists, so it gets updated)

I can do it as a follow up pr as I still need to address few todo. Will add a md file for both snapshot , restore and clone

@nixpanic comments are addressed PTAL

created a Tracker issue for TODO https://github.com/ceph/ceph-csi/issues/1188. once this is merged the next plan is to fix the TODO which is present in tracker

I'm ok with getting this merged. There are many TODO's left. What is the plan to address them? If you want to sent them as follow-up PRs that is fine, but each TODO needs an issue in that case, and add it to the open TODO list in this PR.
Make sure all of the TODO-issues get added to the "Backup & Restore" project, and/or the v3.0.0 milestone. Without that, tracking the status of the feature will be difficult.

opened a single issue to track all the TODO https://github.com/ceph/ceph-csi/issues/1188

@ShyamsundarR @nixpanic PTAL.

Was there a request for skipForceFlatten? It would need an e2e test-case, I think.

This cannot be tested in CI as kernel in CI doesnt support deep-flatten

Not sure the commit message high performance is suitable. Volume creation might be faster when flattening is skipped, but that also means there is more indirection when reading/writing.

Updated the commit message

@humblec @nixpanic can you please review it?


REXX - Symbols and localization (characters allowed in variable names)

Development environment used

Z Open Editor version: 1.41.1
Editor Platform

[X] Visual Studio Code
[ ] Red Hat CodeReady Workspaces
[ ] Eclipse Che
[ ] Standalone Theia

Editor Platform Version: 1.62.3
Operating System: Windows 10 1909
Java Version: java version "1.8.0_102", Java(TM) SE Runtime Environment (build 1.8.0_102-b14), Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)
[ ] Related to RSE API?

RSE API Plugin version:
Zowe CLI version:
Node.js version:

Logs attached: no

Problem Description
The REXX language authorizes a set of characters to name a symbol, i.e. a variable.
From TSO/E REXX Reference manual:

Symbols are groups of characters, selected from the:

English alphabetic characters (A–Z and a–z)
Numeric characters (0–9)
Characters @ # $ ¢ . ! ? and underscore.
Double-Byte Character Set (DBCS) characters (X'41'-X'FE')-ETMODE must be in effect for these characters to be valid in symbols.

Any lowercase alphabetic character in a symbol is translated to uppercase (that is, lowercase a–z to uppercase A–Z) before use.
If a symbol does not begin with a digit or a period, you can use it as a variable and can assign it a value. If you have not assigned it a value, its value is the characters of the symbol itself, translated to uppercase (that is, lowercase a–z to uppercase A–Z). Symbols that begin with a number or a period are constant symbols and cannot be assigned a value.

Regarding the @ # $ ¢ ! characters, this is understood in the standard US codepage, IBM-037.
When working with another codepage, for example in my case IBM-1147 (France Euro), it is necessary to adapt and consider the equivalents occupying the same hexadecimal positions:
IBM-037  hex  IBM-1147
   @     7C      à
   #     7B      £
   $     5B      $
   ¢     4A      °
   !     5A      §

Likewise, some characters used in operators, for example || in IBM-037, must be encoded differently for other codepages, for example !! in IBM-1147.
However, the textmate grammar used for the Rexx language, which works in ascii or utf8, translates for the IBM-037 EBCDIC representation. As a result, the use of another host codepage leads to non-recognition of the characters used in the names of variables or operators.
This is specified in the reference documentation:

You should be aware that:

Some code pages do not contain all characters that REXX defines as valid (for example, ¬, the logical NOT character).
Some characters that REXX defines as valid have different encoding in different code pages (for example, !, the exclamation point).

One result of these differences is that users in countries using code pages other than 037 might have to enter a character different from the one shown in this manual to accomplish the same result.
Another result of character sensitivity in different code pages concerns operating environments. When REXX programs are transferred between different environments, such as PC REXX and TSO/E REXX, adjustments might need to be made as special characters might have different meanings in the different environments.

Observed behavior

Expected behavior
The problem remains mainly visual and does not prohibit the editing of REXX source code in Z Open Editor.
However, the Textmate grammar should provide for the use of the non-IBM-37 EBCDIC codepage and be open to the use of characters other than those corresponding to the IBM-037 EBCDIC codepage.

Ich bin derzeit nicht im Büro.
Während meiner Abwesenheit bitte bei Postkorb SCM-Admin melden!
Die Rückmeldung bezieht sich auf ein Mail mit folgendem Thema:
[IBM/zopeneditor-about] REXX - Symbols and localization (characters allowed
in variable names) (Issue #190)

Gesendet (c) GRZ/RSG Linz 2021 Agent 'Abwesenheit'

Raiffeisen Software GmbH
Firmenbuchnummer: 86804d, Landesgericht Linz
UID: ATU 36961105
Der Austausch von Nachrichten mit dem oben angeführten Absender via E-Mail
dient ausschließlich Informationszwecken. Rechtsgeschäftliche Erklärungen
dürfen über dieses Medium nicht ausgetauscht werden.
Correspondence with above mentioned sender via e-mail is only for
information purposes. This medium is not to be used for the exchange of
legally-binding communications.

Could a solution be to force an EBCDIC IBM-037 / UTF-8 conversion, regardless of the EBCDIC code page actually used, during exchanges between the host and the workstation, or between the host and the Git repository, for REXX source codes?
In this case it would not be Z Open Editor that would be affected, but either Zowe Explorer (the REXX source code was obtained via Zowe Explorer), or a .gitattributes declaration.
As a reminder, we use z/OSMF and not RSE, so the solution should not be based on functionality specific to RSE.

Ich bin derzeit nicht im Büro.
Während meiner Abwesenheit bitte bei Postkorb SCM-Admin melden!
Die Rückmeldung bezieht sich auf ein Mail mit folgendem Thema:
Re: [IBM/zopeneditor-about] REXX - Symbols and localization (characters
allowed in variable names) (Issue #190)

Gesendet (c) GRZ/RSG Linz 2021 Agent 'Abwesenheit'

Raiffeisen Software GmbH
Firmenbuchnummer: 86804d, Landesgericht Linz
UID: ATU 36961105
Der Austausch von Nachrichten mit dem oben angeführten Absender via E-Mail
dient ausschließlich Informationszwecken. Rechtsgeschäftliche Erklärungen
dürfen über dieses Medium nicht ausgetauscht werden.
Correspondence with above mentioned sender via e-mail is only for
information purposes. This medium is not to be used for the exchange of
legally-binding communications.

Thanks for the detailed explanation. It looks like utf-8 is the only encoding currently supported by the Language Server Protocol. Would forcing a conversion to utf-8 break characters in certain code pages?

Hi @bknaysi
Problem is not UTF8 itself.
Problem is Rexx (on z/os) design to work « only » with IBM-037 US encoding.
When working on not IBM-037 US encoding on z/os, in my case IBM-1147 French encoding, and configuring Zowe CLI profile (probably same for RSE) with 1147 codepage, Rexx source are translated from IBM-1147 to/ from UTF8 and not from IBM-037 to/from UTF8, resulting in a wrong interpretation by textmate grammar.

I see, so translating from IBM-1147 to IBM-037 to UTF-8 would result in the correct interpretation? Could that sequence of conversions start with other non-US z/OS encodings as well?

@kkrein Could you turn off your automated email replies?

Hi @bknaysi
No, that won't work...
When working on z/OS, we "cheat" by encoding "wrong" characters so that the Rexx interpreter understands the code because it interprets everything in IBM-037.
For example, to code a character recognized as "@" by Rexx, if you are in IBM-1147, you code "à".
So if we apply an IBM-1147 to IBM-037 conversion we will always have "à", then to UTF-8 we will always have "à"...
You have to apply a direct IBM-037 to UTF-8 conversion without taking into account the encoding actually used on z/OS (or in the Zowe profile).
Thus the "à" character encoded in IBM-1147 will be considered as an "@" during a direct IBM-037 to UTF-8 conversion.

Hi @FALLAI-Denis,
Sorry for the delay, we're investigating possible z/OSMF compatible solutions. I'll report back once we have a proposition!

Hi @bknaysi
I don't think z/OSMF is directly affected.
What is concerned is the access API which must recognize the nature of the file, and adapt the ccsid accordingly.
This seems to be supported by Zowe CLI for RSE via a configuration file.
The equivalent does not exist for Zowe CLI for z/OSMF. You have to manage it specifically and add an option --ec 037 when transferring a Rexx file.

Confer https://github.com/zowe/zowe-cli/issues/1463

Hi,
I try this settings in ZOE 5.0.0, in z/OSMF profile context:
"zopeneditor.encodings.filePatterns": {
  "**/*.rexx": "IBM-037"
}

This doesn't solve problem...
File is still downloaded using encoding declared in z/OSMF profile, (IBM-1147 for me).
But this work for me:

Thanks.

Incidentally, I have just discovered a problem in downloading a Rexx file with a poorly converted character, while this same character is correctly converted everywhere else in the file...
This makes me think of a problem with multi-byte characters in UTF-8 on a memory block boundary... a problem attributable either to z/OSMF or to Zowe.
Tested several times in a row with always the same problem.


React Router problem in Golang

Currently the frontend uses react router. This doesn't work well with Golang router:
s.server.Static("/", "ui/dist")

In this case, if we route to /Applications it won't return 404. The current workaround is to add a rewrite middleware, but it needs to enumerate all frontend routes.
We should come up with a more generic routing solutions that basically routes all path except /api/* to static pages.
Per antd docs, it seems to work with Spring and express: https://pro.ant.design/docs/deploy#use-spring-boot

ref #105


[Bug]: In pagemenu Open link in new window doesn't work to a PDF-file

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Open the pagemenu and create a page to a pdf file. I have selected the Open Link in new window.  The PDF-file opens in the menu but not in a new window.
Steps to reproduce?
open pagemenu
create a page to a pdf file
Open Link  in new window is selected
PDF-file open in the menu but not in a new windows
Current Behavior
PDF file doesn't open in a new window
Expected Behavior
PDF file should open in a new window
Relevant log output
No response
Anything else?
No response
Affected Versions
9.13.3 (latest release)
What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
Code of Conduct

[X] I agree to follow this project's Code of Conduct

What theme (or skin) are you using?
I just tried it in v9.13.03 and made sure the current page was using Xcillion and it worked as expected; opened in a new tab which Chrome then switched to a download and closed the new tab.
My test settings on a clean-new DNN instance.

I have seen this often. That checkbox only provides the information to the menu system. If the site is using a theme where that property is not implemented properly then it will not open in a new tab or window. I will close this as it is not reproducible with the provided theme.
If you need an example to fix your theme/menu implementation it is the [?TARGET] property that makes it open in a new tab/window here https://github.com/dnnsoftware/Dnn.Platform/blob/develop/DNN Platform/Skins/Xcillion/Skin/Menus/MainMenu/MainMenu.txt

Thanks for your answers. I will look in our 'custom made' skin.


Improves Extensions.TryConvert to avoid test by exception

Description
Instead of letting PyObject.AsManagedObject throw an exception because the types do not match, we check whether the target type is assignable from the python object type.
Related Issue
Closes #2091
Requires Documentation Change
No.
How Has This Been Tested?
Algorithm provided in #2091.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/etc)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[x] All new and existing tests passed.
[x] My branch follows the naming convention bug-<issue#>-<description or feature-<issue#>-<description>

Do we need some unit tests to cover this guy?

Is it really safe enough to merely compare the __name__ when what we're trying to test for is identity?

@mchandschuh We have unit tests that were and are passing.
@disruptek, this code is meant to tackle particular case: when a python class inherit from a C# class, "its" type is the C# type when, in fact, it is a python type.

I get it, but the __name__ property is hardly immutable or unique...

@disruptek -- is there an alternative solution you see here?


Update magento.md

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @madelinestein,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX


fix(chrome-extension): Align env variable with dashboard example

Type of change

[ ] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[x] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[ ] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/fastify
[x] @clerk/chrome-extension
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore

Description

[x] npm test runs as expected.
[x] npm run build runs as expected.

I will open a PR in dashboard to update the env examples


Error when updating hardcore stash tab

[02-09-2015 19:16] Error downloading stash for Hardcore, exception details: System.NullReferenceException: Object reference not set to an instance of an object.
at POEApi.Model.POEModel.GetStash(String league, String accountName)
[02-09-2015 19:16] System.Exception: Downloading stash for Hardcore, details logged to DebugInfo.log, please open a ticket at https://github.com/Stickymaddness/Procurement/issues
at POEApi.Model.POEModel.GetStash(String league, String accountName)
at Procurement.ViewModel.LoginWindowViewModel.LoadStashItems(Character character)
at Procurement.ViewModel.LoginWindowViewModel.d__6.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Procurement.ViewModel.LoginWindowViewModel.<>c__DisplayClass2.b__1()
at System.Threading.Tasks.Task.Execute()

how can i fix this?

Somehow this issue completely slipped past me, sorry!
If you still have this issue, retest with Procurement 1.9.8-RC1 and open a new ticket with your debuglog if the error persists


Edit Epidoc 18 Files From Lipara

Cleaning up the Epidoc from autogenerated files.

NB the code for ancient Greek on xml:lang is "grc" not "gr"

I made a series of minor corrections (you encoded language as gr not grc and omitted the # from your resp statement on the text div; other minor things not worth noting), and have now merged your files into the I.Sicily master. Start a new fork for your next round of work.


Add Loot Lookup Plugin

Add plugin to quickly reference the monster drop tables from OSRS Wiki in the right sidebar panel
README
Features

"Lookup Drops" menu option
Search bar for monster names
Collapsible sections for each drop table
Collapse all / Expand all button
Display rarity as percentage
Button to open the OSRS Wiki page for the monster in default web browser
List and Grid views
Links to wiki pages for items in List view
Customize colors for rarity and prices

You will need to follow the Third party dependencies section of the README to add your new dependencies.

This fails to build because it uses String#strip() which doesn't exist in Java 8, and hub plugins must compile on 8. You can instead use StringUtils#strip() as that's available to you.

I've removed some unnecessary 3rd party dependencies and added this plugin to the verification template for jsoup which parses the HTML of the OSRS Wiki pages.

This fails to build because it uses String#strip() which doesn't exist in Java 8, and hub plugins must compile on 8. You can instead use StringUtils#strip() as that's available to you.

Thanks for pointing that out. I'll make sure to get this updated for Java 8.

the compile configuration is deprecated; you must use implementation instead.
you should use the client's existing OkHttpClient rather than creating your own or using HttpUrlConnection. Also you should set your user agent to include your plugin's name in this case (RuneLite.USER_AGENT + " (loot-lookup)" or something).
your config group shouldn't have spaces
you need to always check the menu Type before reading data such as the identifier out of it

@abextm Thanks. I've pushed a commit that addresses these changes.

implementation instead of compile for jsoup. link
Replace new OkHttpClient() with RuneLiteAPI.CLIENT. link
Update constant for user agent to include RuneLite.USER_AGENT and the plugin name. link
Add new constant for config group and replace space with hyphen. link
Check that menu type is MenuAction.EXAMINE_NPC or MenuAction.NPC_SECOND_OPTION before reading the identifier. link

@Nightfirecat Thanks!


Revisit suppression placeholder list

Refer to the issue: https://github.com/Azure/azure-sdk-tools/issues/3885

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Azure.Identity:0.1716343,Storage:0.12950255,EngSys:0.058566768'

//cc: @pallavit

@sima-zhu I looked at the referred issue which is language agnostic. Are there specific instances where .NET does not meet the standard needs? If so, can you share them? The goals here are too generic that I am afraid it is unclear what the end result should look like?

Have a meeting with @pallavit and @nisha-bhatia, we currently need a more clear picture of what errors are there if no suppression list.
@nisha-bhatia will have a breakdown list for this by next Monday.

Discussed offline with @sima-zhu and @weshaggard. Once the test recordings are out of the repo we would clearly see more actionable items in the repo.

Closing this issue as there is nothing actionable on it currently, will revisit as test recordings are moved out of the repo.


Fix installation instructions

Goal of this PR
Fixes #249 by setting the correct path to go get
How to test it

Run go get -u github.com/containous/yaegi/cmd/yaegi

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Not found

I am on Qlik Sense Server with a install of GMS. I have used a REST endpoint I created myself to "host" the repo.
When I use the /masterlib/testpage:
"Test Connection" works.
"Reload Metrics Library" works.
"Update Metrics in Apps" returns the following error:
POST http://localhost:8590/masterlib/update/all 400 (Bad Request)
I hope you can help me to solve this. Are there any logs I can check - and is there a way to validate the Metrics Library application?
This is a screenshots from the "Metrics Library" app:

Ahh - I realized it was naming convention. All  the metrics should be with capital letter.

@dauledk, grab the latest release I posted today.  Available here.


Could not initialize DPS provisioning client after reboot of host-OS

Describe the bug
We have multiple devices installed using Eflow and Windows 10.
When a host gets rebooted, the TPM provisioning of the device fails which renders the device useless.
To Reproduce
Steps to reproduce the behavior:

Reboot the windows-host.
After reboot iotedge gives us, Connection refused (os error 111), when running the command iotedge list

Expected behavior
The expected behavior is the device will reprovision when the host starts.
Windows Host OS (please complete the following information):

Edition: Windows 10 PRO
Version: 20H2
Virtual Machine: EflowVM 1.1.2202.21022
Virtual Switch
Static IP

Additional context
We can solve the issue by either running Stop-EflowVM followed by Start-EflowVM.
Or we can solve it by restarting the EFLOW Proxy Service.
Or we can solve it by setting delayed start on the EFLOW Proxy Service.
We can see some troubles under the Event viewer concerning the EFLOWProxy and the operational events.
Attaching logs from a device in state of failure.
eflowlogs.zip
Is there a configuration we can make without tampering with delayed start?
Is there some timing issues when different services starts after a reboot?

Hi @chokosticks,
We are aware of this issue and we plan to fix it in the upcoming EFLOW updates. In the meantime, they are two workarounds that you can evaluate:

Change the IoT Edge configuration, so that it's not reprovisioning every time the VM reboots. For more information, check dynamic_reprovisioning inside the IoT Edge confg.yaml
Check this similar issue 131 - The user was able to fix this by adding a scheduled task that will periodically ping the EFLOW VM

I hope you're able to use these workarounds, and we will provide a fix as soon as possible.
Thanks,
Francisco

We have met the same problem in the CR version 1.2.8. But I cannot fix it with #131 or restart EFLOW Proxy Service. Do you have any ideas? @fcabrera23
Thanks.

Hi @Dolphinsimon,
We plan to fix it in our upcoming EFLOW versions for both LTS and CR.  Please check our latest EFLOW release notes.
Thanks,
Francisco

@Dolphinsimon,
This should be fixed with our latest update.
Thanks,
Francisco


Preference Menu is disappeared

Not sure why the preference menu disappeared I tried hard to get it back but no luck.
reinstalled, rebooted noting worked.

press command+, to show footer - has resolved it


Fix homepage to use SSL in CrashPlan Cask

The HTTP URL is already getting redirected to HTTPS. Using the HTTPS URL directly
makes it more secure and saves a HTTP round-trip.

I'm curious, guessing you've got a script running to find the outdated links?

You've got me there.^^
I'm using brew cask home a lot and thought this would be a good way to contribute some little improvements.
https://github.com/jansauer/formula-checker
Running the ssl-redirect check outputs all matching formulas with the needed commands and information to quickly prepare and verify a PR.
beatport-pro
/usr/local/Library/Taps/caskroom/homebrew-cask/Casks/beatport-pro.rb
from: http://pro.beatport.com/
to:  https://pro.beatport.com/

cd /usr/local/Library/Taps/caskroom/homebrew-cask/Casks;\
git fetch upstream;\
git merge upstream/master;\
git checkout -b fix-beatport-pro-ssl;\
sed -i "" "s,http://pro.beatport.com/,https://pro.beatport.com/,g" beatport-pro.rb;\
git add beatport-pro.rb;\
sed -i "" "s,draftCommit=.*$,,g" ../.git/sourcetreeconfig;\
echo "draftCommit=Fix homepage to use SSL in Beatport Cask{{newline}}{{newline}}The HTTP URL is already getting redirected to HTTPS. Using the HTTPS URL directly {{newline}}makes it more secure and saves a HTTP round-trip." >> ../.git/sourcetreeconfig;\
stree

At the moment I only check the homepage stanza for errors and redirects.
My plan is to also check if the webserver has working ssl but doesn't redirect es well es doing the same for the url and appcast stanza.


NEW!! LOOKING FOR SOMEONE TO TAKE ME UNDER THEIR WING!!!

I'm a 21yr old living in Ontario, just recently got into coding, I'm hoping to find someone to take me under their wing just so i can join in and you can teach me the ins and outs of coding. I'm more of a hands on learner and I really think if someone could just walk me through things for a little while I could really get the hang of this. Hopefully this gets out to someone.......
Cheers.

Please start by reading and working through the Zulip contributor guide. Best of luck!


Extended time series regularizer

Pull Request Description
Extended time series regularizer

After creating the pull request: in order to pass the release_notes_updated check you will need to update the "Future Release" section of docs/source/release_notes.rst to include this pull request by adding :pr:123.

No linked issues found. Please add the corresponding issues in the pull request description.  Use GitHub automation to close the issue when a PR is merged


DataSet.derive()/add_meta() should check for duplicate numerical codes in values

There are already checks in place, but there is still some room for failures.

this is done via #924


Preview disappeared and not showing anything

Describe the bug
Preview disappeared and not showing anything
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-wdv5xy
Steps to reproduce
click on preview
Expected behavior
showing preview
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 64924909,
  "usedJSHeapSize": 60086689,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = Seva-pm
Chat ID = 4b02b91cf3f8

Additional context
No response

Appreciate the feedback here. We are tracking this issue: #1791. You can follow there for updates. If you continue to have this problem, posting the requested details on that issue page would be helpful. Thanks!

Same issue for me now @endocytosis . No preview in UI but does seem to be working when I download and run. Hopefully can get some comp tokens for all of the "hmm, it doesn't seem to be rendering in the frontend" back and forth's 😅🙈

Yes, I am having the same issue

same issue here.  built a bunch of stuff, didn't see preview.  Reverted.  Wasted tokens.  Bummer.

Same issue here... it is very annoying!

same issue

Appreciate the feedback! We are aware of this issue and are tracking it, along with potential solutions, here.

after 3 weeks there is still no solution and we are paying for this service.


typo: "Serialziable"/"Serializable"

Small fix I noticed on the homepage.
Great project by the way - wish I'd used this a couple years ago! 😄

Thank you - appreciated! As always any suggestions for new features, better docs or anything in between is always welcome.


Allow setting loopback as direct routing device in Cilium 1.15+

How to categorize this PR?
/area networking
/kind api-change
What this PR does / why we need it:
Since Cilium 1.15, the loopback device will be no longer autodetected as direct routing device and has to be manually configured.
https://github.com/cilium/cilium/issues/30889
https://github.com/cilium/cilium/pull/31200
Special notes for your reviewer:

The struct Nodeport in types_network looks unused.
For reference: Cilium documentation regarding devices and directRoutingDevice

Thank you @robertvolkmann for your contribution. Before I can start building your PR, a member of the organization must set the required label(s) {'reviewed/ok-to-test'}. Once started, you can check the build status in the PR checks section below.

/ok-to-test

The change looks good in general.
Only, I would formulate the comment a bit different.

/lgtm


Environment and dependecy management - needs to be clearer

In the "levels of RAP" people become confused by environment and dependency management -  we need to link to page which very clearly describe these, what the point of it is, and how they can know if they're meeting this requirement.

In backlog under issue https://nhsd-jira.digital.nhs.uk/browse/NV-1307

duplicated by https://github.com/NHSDigital/rap-community-of-practice/issues/11 @SamHollings


add test resource method

#104

Hello, @MaksSieve , thank you for this contribution!
But we are not able to merge this since it has conflicts. Please solve them and we will gladly merge these changes.
Regards

done, but forgot check formatting) one moment please

now it's done! ready to merge and release!


#question Using multiple datasources in spring boot with multiple environments.

Hi @eugenp . As you mention in the article, you indicate that to use spring boot default configuration, persistence-multiple-db-boot.properties file should be use. If you have differente environments (dev, pre, pro), is it allowed and the right way to do it using persistence-multiple-db-boot-dev.properties and so on? Should be possible to use application-dev.properties, application-pro.properties... to configure the properties that are stored in persistence-multiple-db-boot.properties file?

Hi @TheTechOddBug In the example from this article, we're using a custom properties file which is loaded using:
@PropertySource({"classpath:persistence-multiple-db-boot.properties"})
Yes, you can also use the default application-{profile}.properties files in Spring Boot. The only reason to use a custom properties file is if you want to segregate your properties in different files based on their intended use, like putting the persistence-related properties in a persistence-xxx.properties file.
If you're ok with having them in the default file, or you don't have too many properties, then sure, you can use that one, as you described.
Cheers.

Only as information, the suggested solutions works but I wasn't able to have 2 datasources on this way because one of them is a Redshift and itt doesn't support hibernate_sequence and the application crash at startup.


minor code tweaks

Remove blank line from inventory.yaml
Add missing change_when condition in playbook.yml
Add task to ensure required packages are installed in cockpit.yml
Moved Reload systemd daemon handler to the handlers in setup_gnome_display_manager.yml
Add task to ensure required packages are installed and remove the option to uninstall to ensure uniformity.
Updated Readme

Sorry I've not been very responsive in recent times - I was on vacation for most of August, and have been busy with other projects.

My only observation/comment over all would be to ensure that whenever you leverage notfications to trigger handlers, that you be aware that notification events are not persistent...
Your current usage pattern is safe in this regard since you are explicitly triggering pending handlers immediately after the actions that may trigger a notification.
But, in general, relying on handlers can come with some risks, especially if there are additional actions between the notification and when the handlers run, either due to an explicit meta flush_handlers, or implicitly at end of the current play, in that if any of those actions fails, that sometimes cause the notification to be lost, and thus the handler won't get run, and, depending on what actions were triggering the notification, a subsequent re-run of the playbook may not result in the notification being triggered.
For more general Ansible usage scenarios this risk can be acceptable, but for critical systems management scenarios care must be take to avoid such scenarios. Hence my original code pattern of using explicit reboot actions at the appropriate points in the code, though even that wasn't perfect ;-)
The best general purpose code pattern that I have seen proposed for using handlers to reliably trigger special actions, while somewhat cumbersome, is to actually use two levels of notification handlers, where the first level notifies a handler that sets a persistent flag indicating an action needs to be performed, and then notifies the real handler for that action, the handling of which finishes up by notifying another handler which clears the persistent flag. Finally, including a pre-task actions list in relevenat plays, that explicitly checks for the relevant persistent flags trigger any associated real handlers as needed, ensures that any pending notification are reliably acted up.
In the case of these Ansible for ALP playbooks you are effectively doing something akin to this with your automated re-running of the playbook after a reboot, so long as you trigger the handlers to be run immediately the action that notify them, so your current code pattern is pretty safe, but perhaps you may want to ensure that requirement is explicitly called out in a coding guidelines, either in the README.md, or in a separate document.


[WIP] Export dataloader refactor

This PR will update the existing flows for transformers to use a single function for fetching dataloaders accross different tasks, the same function will also be used  for export flows

Functionality added in other smaller chunks


adding missing __getitem__ to matplot _AxesBase

in the code the __getitem__ call is  really on the parent class
https://github.com/matplotlib/matplotlib/blob/1efc391434812f0f24392ca4a45c5cd846f46862/lib/matplotlib/axes/_base.py#L1378
https://github.com/microsoft/pylance-release/issues/3192

I think this is incorrect. It's a method of class AxesBase.ArtistList, not AxesBase!


[Feature Request] Relax requests dependency for python package

requests is such a widely used python package that the pinned dependency in this project leads to potential dependency conflicts.
i'd suggest relaxing it to be >= 2.28.1 && <3.0.0

cc @HLWeil

Isn't this already the case?
https://github.com/nfdi4plants/ARCtrl/blob/30e5a1900296bde5bed68bfa149d1d65c0a12351/src/ARCtrl/ARCtrl.Python.fsproj#L69

Ah I see, it's in the pyproject.toml

can this be closed via #476 @HLWeil ?


autoscaling: add ASG LC LT [in progress]

Add LaunchConfiguration/template List function
Add Autoscaling List function

LGTM but you need to order the imports, check the CI.

LGTM but you need to order the imports, check the CI.

Sure Will do it.
I only validated LC with terracognita. I will wait to validate the autoscaling/LT too before to merge

Coverage remained the same at 66.124% when pulling b29684fef2c90aee9bb6f9ba89cdcf5237c68769 on fl-asg into 504d97184cd03816e07c86e38ecaec162c1af9f9 on master.


Fix a docblock error

Coverage decreased (-0.1%) to 91.72% when pulling 29ee50007bb542917ce297e05634a5970fc0dd53 on alexbowers:hotfix/documentation-fix into 46c83b605bbe239df024464d05922e9b322fab46 on tedious:master.

Coverage decreased (-0.1%) to 91.72% when pulling 29ee50007bb542917ce297e05634a5970fc0dd53 on alexbowers:hotfix/documentation-fix into 46c83b605bbe239df024464d05922e9b322fab46 on tedious:master.

Coverage decreased (-0.1%) to 91.72% when pulling 29ee50007bb542917ce297e05634a5970fc0dd53 on alexbowers:hotfix/documentation-fix into 46c83b605bbe239df024464d05922e9b322fab46 on tedious:master.


Only use TLS 1.0 on the SBA website

Probably due to a bug in an SSL terminator. [1] Newer versions of OpenSSL
contain a protocol-level workaround. [2]
References:
1: https://support.f5.com/kb/en-us/solutions/public/14000/700/sol14758.html
2: https://tools.ietf.org/html/draft-ietf-tls-padding-01

My god you did it. Thank you @divergentdave! You've spared us all.


Add unit tests for GetWorkflowExecution

What changed?
Add unit tests for GetWorkflowExecution

Why?
Improve test coverage

How did you test it?
unit tests

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 018e15f3-f9f8-4597-a317-098d00b445e9
Details

0 of 0   changed or added relevant lines in 0 files are covered.
57 unchanged lines in 15 files lost coverage.
Overall coverage increased (+0.02%) to 63.777%

Files with Coverage Reduction
New Missed Lines
%

common/persistence/executionManager.go
2
78.59%

common/persistence/historyManager.go
2
66.67%

common/persistence/sql/sqlplugin/mysql/db.go
2
79.49%

common/persistence/sql/sqlplugin/mysql/task.go
2
73.68%

common/task/fifo_task_scheduler.go
2
87.63%

common/task/parallel_task_processor.go
2
93.06%

common/task/weighted_round_robin_task_scheduler.go
2
89.05%

common/util.go
2
91.69%

service/history/execution/mutable_state_builder.go
2
68.74%

service/matching/taskReader.go
2
84.88%

Totals

Change from base Build 018e15cf-3d6d-468c-b814-72a9a96fede3:
0.02%

Covered Lines:
93497

Relevant Lines:
146599

💛  - Coveralls


Memory Access Across Memory Spaces

Currently, we are able to read memory from user space by using the PageTable::translate_bytes API.
The API simply translates the address of every page and returns a Vector of them.
https://github.com/neuq-rcore/rCore/blob/f5f752dfcee9a70cf7f608a649c1ccdb1b27a2b6/os/src/syscall/fs.rs#L9-L15
Although this API is not very convenient to use, it is efficient for avoiding the use of memory copying.
However, we are still unable to write to user memory space.
We've issued a proposal to store data in the kernel space and then copy to the user space.
https://github.com/neuq-rcore/rCore/blob/f5f752dfcee9a70cf7f608a649c1ccdb1b27a2b6/os/src/syscall/process.rs#L18-L41
This may not be the most efficient solution, but it's the most generic version.
Considering the case where bytes of a struct(or any other data structure) across pages(the pages may not even be continuous), things get much harder to solve.
Usually, the kernel doesn't need to write a large amount of data to the user space. So the cost of allocation on the kernel stack and mem copying is negligible.
The PageTable::copy_to_space basically does two things:

Enumerate through the pages where the data is stored.
Copy the data until no byte left.

pub fn translate_bytes(token: usize, src: *const u8, dst: *mut u8, len: usize) {
    let page_table = PageTable::from_token(token);
    let mut start = dst as usize;
    let end = start + len;

    while start < end {
        let copied_this_page = // min(PAGE_SIZE - offset, left_bytes);

        // copy data

        start += copied_this_page;
    }
}

We also need to assert whether the pointer is a valid one.

Add new API to copy from space to space
fn copy_across_spaces(src_token, dst_token, src, dst, len);


Development 10588

THANKS

@Karl-QQ Hi,
Development changes will be place on the master branch on the next formal release.
master branch always holds our latest stable formal release.
Thanks for you PR but this is a process that is done after a certain development version is pre-released and validate.
I'll close this PR for now and you can watch the releases to be informed when a new version is releases.
Thanks!


States without an included hospital

HI, AK, ND, SD, WY, SC, AR, DE, IN, WI
Only 10 to go before we can reach @r-pop's goal of breadth.  As new masks begin to flow toward urban hotspots, broad coverage will be increasingly essential.

Suggestion on how to call hospitals:

make sure they're not already in our data by looking on findthemasks.com
Have our form pulled up and just enter the data straight in - that will also help provide a script. https://docs.google.com/forms/d/13-Hl2fW16zMy1zRuXJSlCouWsw7toTygDe1FjNfcnIg/edit
call, ask for charge nurse ("which one?" "ER")
ask if they accept PPE donations from members of the public, and if they say yes, ask what they need, and what the procedure is to dropoff safely and properly.
enter address city state yourself, taking care to use the street address they said for donations which may be different than the hospital address

Up to 49 states!  AK is missing . Haven't grepped for the other. Almost to 51 (PR included)!

Congrats team! It looks like we now have all states listed. I am closing this issue out.


isFloat() vs isDecimal()

Is there a reason for isDecimal(str) not to support the same options as isFloat(str [, options])?

No reason, it just hasn't been requested yet ;)

Happy to accept a PR to get the two validators accepting the same options.


[question] should we update requirement for developer guide?

Issue Description
As the issue #205 and https://github.com/containerd/containerd/issues/1883 mentioned, I think the kernel version should be 4.x. Lower version maybe cause unexpected issue.
ref: https://github.com/containerd/containerd#runtime-requirements
Describe what happened:
For #205, if the kernel is lower than 3.18, the kernel doesn't have the overlayfs.
The pouch create command will fail.
Describe what you expected to happen:
Should no error for normal usage.
How to reproduce it (as minimally and precisely as possible):
I use vagrant ubuntu/trusty64 whose kernel is 3.14 and reproduce #205 issue.
Anything else we need to know?:
Environment:

pouch version (use pouch version):
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

Yes, I think we need to update this. User always comes first, you know.


java.net.SocketException: Connection refused; errno=61

I have no idea what the cause was, because unlike #283 Discord was open.
Unhandled exception in [StandaloneCoroutine{Cancelling}@7330e1f4, Dispatchers.Default]

java.net.SocketException: Connection refused; errno=61
	at org.newsclub.net.unix.NativeUnixSocket.connect(Native Method)
	at org.newsclub.net.unix.AFSocketImpl.connect0(AFSocketImpl.java:372)
	at org.newsclub.net.unix.AFSocket.connect0(AFSocket.java:265)
	at org.newsclub.net.unix.AFSocket.connect(AFSocket.java:234)
	at org.newsclub.net.unix.AFSocket.connect(AFSocket.java:229)
	at dev.cbyrne.kdiscordipc.core.socket.impl.UnixSocket.connect(UnixSocket.kt:19)
	at dev.cbyrne.kdiscordipc.core.socket.handler.SocketHandler.connect(SocketHandler.kt:59)
	at dev.cbyrne.kdiscordipc.KDiscordIPC.connect(KDiscordIPC.kt:83)
	at dev.cbyrne.kdiscordipc.KDiscordIPC.connect$default(KDiscordIPC.kt:76)
	at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.connection.DiscordIpcConnection$connect$2.invokeSuspend(DiscordIpcConnection.kt:59)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
	Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelled}@7330e1f4, Dispatchers.Default]

I've the same issue sometimes. But, it’s not supposed to do that. The plugin should not crash like that, it’s amazing. Line 59 of the file, can not normally crash. (I think)

I've the same issue sometimes. But, it’s not supposed to do that. The plugin should not crash like that, it’s amazing. Line 59 of the file, can not normally crash. (I think)

The actual line in 1.11.0 is:
https://github.com/Almighty-Alpaca/JetBrains-Discord-Integration/blob/aaeb7b7f40cfcbc7de2f4272ece27e7122eb029c/plugin/src/main/kotlin/com/almightyalpaca/jetbrains/plugins/discord/plugin/rpc/connection/DiscordIpcConnection.kt#L59
But the master branch wasn't updated in a while.

I've the same issue sometimes. But, it’s not supposed to do that. The plugin should not crash like that, it’s amazing. Line 59 of the file, can not normally crash. (I think)

The actual line in 1.11.0 is:
https://github.com/Almighty-Alpaca/JetBrains-Discord-Integration/blob/aaeb7b7f40cfcbc7de2f4272ece27e7122eb029c/plugin/src/main/kotlin/com/almightyalpaca/jetbrains/plugins/discord/plugin/rpc/connection/DiscordIpcConnection.kt#L59
But the master branch wasn't updated in a while.

Yes, thank you, sorry !


Ionic Support - Help?

Hi there,
I know there has been great discussion on how to get this plugin to work for Ionic,  but I have searched and read everything - but I can't find a solution. Everytime I try to init the Maps - I get nothing (I assume that it's hidden behind the JS framework).
I have tried this (https://github.com/wf9a5m75/phonegap-googlemaps-plugin/issues/199#issuecomment-56475636), but it doesn't work and it's written for OsenUI.
Is there a solution for Ionic users that we all reference? I know your probally tired or hearing this, but just wanted to get an answer:
   var currentLocation = new plugin.google.maps.LatLng(position.coords.latitude, position.coords.longitude);

                        var mapDiv=document.getElementById("map_canvas");
                        $rootScope.map = plugin.google.maps.Map.getMap(mapDiv);

                        map.on(plugin.google.maps.event.MAP_READY, function onMapInit(map) {

                            $rootScope.map.animateCamera({
                              'target': currentLocation,
                              'zoom': 18,
                            });
         })

At this stage, there is no page on the page, and it's completely empty. This only way to solve this is to completely go map.openDialog which makes it go full screen. Any way to limit the margin on this?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26911337-ionic-support-help?utm_campaign=plugin&utm_content=tracker%2F637500&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F637500&utm_medium=issues&utm_source=github).

Have you looked at https://market.ionic.io/starters/google-maps ? You'll still have problems with the menu, as ionic menu tries to slide the content (the map in our case) instead of sliding the menu over the content. Better use onsen.

I've actually found out the issue - I was setting a background-color (via an important class) on the body of the element, so the map couldn't see through, I'll go ahead and close this one. Sorry about this!


What command to use to connect azure devops PAT authentication

Hi Team,
$az devops login --organization https://dev.azure.com/contoso
Token:
above command is used only in Azure CLI. what command should i use in PowerShell ISE.
In PowerShell, az is not recognizing
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ac17c09f-fe22-0eae-855f-dca9eb5b660e
Version Independent ID: c3c47436-7e6b-7af2-03e8-ef05159813ba
Content: Quickstart - Choosing the right command-line tool for Azure
Content Source: articles/azure-cli/choose-the-right-azure-command-line-tool.md
Service: azure
GitHub Login: @mcleanbyron
Microsoft Alias: mcleans

No response, closing.


Give time to the overlay test backoff collectors to finish

Not the most elegant/robust solution but it solves the problem without adding
extra methods to the backoff interface (only to check if they are ready from
tests).


RxJava Support

See the discussion at https://github.com/ParsePlatform/Parse-SDK-Android/issues/457

By analyzing the blame information on this pull request, we identified @yunarta, @stefanrusek and @grantland to be potential reviewers.

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

TODO: tests

This adds a hard dependency to Bolts-Android, which means we cannot accept this as it'll require anything depending on Bolts-Android to also depend on RxJava, so we cannot accept this.

should not approve this. now Rx version is 2 as well.


Bundler/OrderedGems Autocorrection doesn't seem to work

Expected behavior
Running
rubocop -a Gemfile

should correct any offenses by re-ordering the gems
Actual behavior
The cop only detects the offenses but does not correct them.
Steps to reproduce the problem
$ rubocop -a Gemfile
Inspecting 1 file
C

Offenses:

Gemfile:21:1: C: Gem turbolinks should appear before uglifier in their gem group.
gem 'turbolinks', '~>2.5'
^^^^^^^^^^^^^^^^^^^^^^^^^

1 file inspected, 1 offense detected

RuboCop version
$ rubocop -V
0.46.0 (using Parser <IP_ADDRESS>, running on ruby 2.3.1 x86_64-linux)

Hi
The cop doesn't have auto-correct feature in version 0.46.0, however I've implemented the feature.
So, this feature will be available in next release.
Note: The auto-correction has a bug in current HEAD. #3776
I'll fix the bug by the next release.

Ah I see. Was clearly blind when reading the changelog :sweat_smile: Thanks for this!


Simple ripple feedback via attached property on RippleAssist

Fixes #289.  Implements the spirit of #227, but does not add ripple to calendar navigation buttons as that does.
Added a single example (raised button) to demo - using a dark ripple on a light accent button.

Also fixes #167

Welcome to the contributors list!
:tada: :balloon: :cake:


ADR: Brownfield or Greenfield

Folder structure in which we will maintain ADRs - /specs/adrs

Updated. Create a branch and wait for reviews and approval to merge.

Update adr problem statement, add table. Waiting for reviews and approval to merge.


Geting started page has Dark preselected even when default is detected as light high contrast

Having trouble reproing this. With the settings
    "window.autoDetectHighContrast": true,
    "window.autoDetectColorScheme": true,

I always see the theme change and the right thing selected.


Remove Dangling UI References to non-existent Features

When Commons deployment was created based on HCA Blue Box, in the feature/commons branch, a lot of functionality, such as billing and the action service were removed.
However there are parts of the UI that still make references to those features. For example, see
https://github.com/DataBiosphere/cgp-dashboard/blob/feature/commons/templates/index.html#L77
Also, there is still code that isn't loaded any more, but is still in the branch. For example, https://github.com/DataBiosphere/cgp-dashboard/tree/feature/commons/static/action_service
These are just two examples, and not an exhaustive list; whoever tackles this needs to find all such cases.
┆Issue is synchronized with this JIRA Story
┆Project Name: CGP-Dashboard
┆Issue Number: DASH-23

➤ Charles Overbeck commented:
This was done as part of DASH-24


Fix statistics

Hi Nick,
Here is a pull request for code changes which fixes statistics output.  It simply tracks which mode you are in and accumulates the time spent for each operation, then the read/write stats are accurate.

Thanks for that!  I'll review both your pull requests over the next couple of days.
-- Nick

I've done a code review on this one - I haven't actually tested the code yet!
Can you fix up, squash all the commits into one then force push back to this branch please?
Thanks
Nick

I've merged that - thank you very much!


Enhancement: Expose utest.framework.TestPath to utestWrap

This is enhancement proposal:
Allow using utest.framework.TestPath inside utestWrap function. This way it is possible to control wrapping functionality based on the test case.
Currently when I try to use  utest.framework.TestPath inside utestWrap function I get compiler error:
TestPath is only available within a uTest suite, and not outside.
Thank You!

Seems plausible


fix(login): make mobile friendly

This PR is to make the login page mobile friendly as well as make the nav bar able to close on navigation
Before

After

Looks good aside from failing tests


Azure AD and rbac enabled kubernetes cluster should also create the cluster role binding

Is this a request for help?:
No
Is this an ISSUE or FEATURE REQUEST? (choose one):
FEATURE REQUEST
What version of acs-engine?:
1.9.2
Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes
What happened:
Cluster with rbac and azure ad authentication is enabled.
Any kubectl command results in:
Invalid resource. The client has requested access to a resource which is not listed in the requested permissions in the client's application registration. Client app ID: {UUID} Resource value from request: {UUID}. Resource app ID: {UUID}. List of valid resources from app registration: {UUID}.

What you expected to happen:
The comand executes succesfull
How to reproduce it (as minimally and precisely as possible):
Deploy cluster with rbac and azure ad authentication.
Anything else we need to know:
The aad extension should support a parameter adminUser. After the cluster is created a clusterrolebinding according to https://github.com/Azure/acs-engine/blob/master/docs/kubernetes/aad.md  should be created for the specified user.

Hi @arodus, could you paste in (with creds scrubbed) the api model you used to deploy a new cluster? Thanks!

Hi @jackfrancis, sure:
{
  "apiVersion": "vlabs",
  "properties": {
    "orchestratorProfile": {
      "orchestratorType": "Kubernetes",
      "orchestratorVersion": "1.8.2",
      "kubernetesConfig": {
        "enableRbac": true
      }
    },
    "masterProfile": {
      "count": 1,
      "dnsPrefix": "ffg-acstest",
      "vmSize": "Standard_DS2_v2",
      "OSDiskSizeGB": 250
    },
    "agentPoolProfiles": [
      {
        "name": "agent",
        "count": 1,
        "vmSize": "Standard_DS2_v2",
        "OSDiskSizeGB": 250,
        "storageProfile": "ManagedDisks",
        "availabilityProfile": "AvailabilitySet"
      }
    ],
    "linuxProfile": {
      "adminUsername": "clusteradmin",
      "ssh": {
        "publicKeys": [
          {
            "keyData": ""
          }
        ]
      }
    },
    "servicePrincipalProfile": {
      "clientId": "",
      "keyvaultSecretRef": {
        "vaultID": "",
        "secretName": ""
      }
    },
    "aadProfile": {
      "serverAppID": "",
      "clientAppID": ""
    }
  }
}

As a wider comment, is it possible to have an option to pass custom RBAC role-binding config to acs-engine which would be placed on the master nodes in /etc/kubernetes/addons to be managed by the addon manager ?


Readme content of Azure Text Analytics is unclear

1
Section Link

Comment: Correct it as az cognitiveservices account create --kind TextAnalytics --resource-group <your-resource-group-name> --name <your-resource-name> --sku <your-sku-name> --location <your-location>
2
Section Link

Comment: Put code in "if" statement. Modified code as following:
async function main() {
  const results = await client.detectLanguage(documents, "none");

  for (const result of results) {
    if (result.error === undefined) {
      const { primaryLanguage } = result;
      console.log(
        "Input #",
        result.id,
        "identified as",
        primaryLanguage.name,
        "( ISO6391:",
        primaryLanguage.iso6391Name,
        ", Score:",
        primaryLanguage.score,
        ")"
      );
    } else {
      console.error("Encountered an error:", result.error);
    }
  }
}

This was addressed in #8928


Create CODE_OF_CONDUCT.md

@NikCharlebois,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


[SMALLFIX] Improve extension factory logging

Mostly style changes, the only functional change is changing from
LOG.debug("factory implementation {} is eligible for path {}", factory.getClass(), path);

to
LOG.debug("Factory implementation {} is eligible for path {}", factory, path)

This is because factory shows the specific reference for the ufs factory (e.g. alluxio.underfs.hdfs.HdfsUnderFileSystemFactory@4dfcb41e) instead of just the class name (alluxio.underfs.hdfs.HdfsUnderFileSystemFactory)
This helps with identifying which specific jar was used to instantiate a UFS

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/20337/
Test PASSed.


users , classroom add route crash

After fetching upstream  the dev branch crashes for http://<IP_ADDRESS>:8080/dashboard/classrooms/add
and http://<IP_ADDRESS>:8080/dashboard/users/add routes

version - HEAD is now at a56dd9a... Merge pull request #67 from ashish0910/size
I have started working on this issue .

@ashish0910 good job finding the issue. It's due to server variable being undefined. It can be solved by passing server: ini.information while calling res.render for those views. I wonder why this issue didn't show up earlier.
I've to modify my restructuring PRs for this error too. While you are at it. Can you fix the typo mentioned in #66 too. I think bugs fixes and restructuring should me done in seperate commits. It will keep the git history clean.

Should be solved now. Could you check?

solved in #71


Need some help on how to use dependencies in Terragrunt in order to pass IP addresses when creating a Load Balancer

Hi Guys,
I haven't been able to make dependency work in terragrunt.
I have a module called DTS that creates an instance and then a load balancer in Oracle Cloud. Somehow I need to pass the IP address of the instance when the load balancer gets created.
DTS module is in a different git repository from my terragrunt project
my terragrunt project looks like this.
dts
├── data
│   ├── data.tf
│   └── terragrunt.hcl
└── terragrunt.hcl

in the dts/data/data.tf I have this:
data "oci_core_instances" "this" {
  compartment_id = var.default_compartment_id
  filter {
    name = "display_name"
    values = var.instance_names
  }
}

data "oci_core_vnic_attachments" "this" {
  compartment_id = var.default_compartment_id
  count       = length(data.oci_core_instances.this.instances)
  instance_id = data.oci_core_instances.this.instances[count.index].id
}

data "oci_core_vnic" "this" {
  count       = length(data.oci_core_instances.this.instances)
  vnic_id = lookup(flatten(data.oci_core_vnic_attachments.this.*.vnic_attachments)[count.index], "vnic_id")
  #vnic_id = element([ for x in flatten(data.oci_core_vnic_attachments.vinc_ids.*.vnic_attachments): x.vnic_id ], count.index)
}

variable "default_compartment_id" {}
variable "instance_names" {
  type = list(string)
}

output "instance_ips"{
  value = [
    for x in data.oci_core_vnic.this:
      x.private_ip_address
    ]
}

There I'm outputting the instance IPs based on instance names provided by the user.
in the dts/data/terragrunt.hcl I have the following:
terraform {
  source = "./"
}

locals {
  default_compartment_id = "ocid1.compartment.oc1..aaaaaaaai6v35ydiz6harzbovom6rua56isfxz2epxgeqthjxo3vz5ljikqq"
  instance_names = ["oasp-3-dts-1"]
}

and in the dts/terragrunt.hcl I have:
include {
  path = find_in_parent_folders()
}

terraform {
  source = "git::ssh://alm.oraclecorp.com:2222/acs_terraform_26775/dts.git?ref=terragrunt_implementation"
}

dependency "data" {
  config_path = "./data"
}

inputs = {
  default_compartment_id = "ocid1.compartment.oc1..aaaaaaaai6v35ydiz6harzbovom6rua56isfxz2epxgeqthjxo3vz5ljikqq"

  certs = ["oasp-3/dts/ca.crt", "oasp-3/dts/cert.key", "oasp-3/dts/cert.crt"]

  instances = {
      oasp-3-dts-1 = {
        ad             = 0                      #0-AD1, 1-AD2, 2-AD3 RequiredRequired
        compartment_id = null #Required
        shape          = "VM.Standard2.1"           #Required

        subnet_id      = "ocid1.subnet.oc1.iad.aaaaaaaahdna2dxmc7n73bl6pg7jg74um6zvcqbem22mqrqcsugscvbjve3a" #"ocid1.xxxxx"

        is_monitoring_disabled = null

        assign_public_ip    = false
        vnic_defined_tags   = null
        vnic_display_name   = null
        vnic_freeform_tags  = null
        nsg_ids             = null #["ocid1.xxxxx"]
        private_ip          = null
        skip_src_dest_check = null

        defined_tags          = null
        extended_metadata     = null
        fault_domain          = null
        freeform_tags         = {"DeployedBy": "terraform"}
        hostname_label        = null
        ipxe_script           = null
        pv_encr_trans_enabled = null

        ssh_authorized_keys = ["ssh_key.pub"]  #ex: ["/path/public-key.pub"]
        ssh_private_keys    = null #ex: ["/path/private-key"]
        bastion_ip          = null
        user_data           = null #base64encode(file("bootstrap.sh"))

        // See https://docs.cloud.oracle.com/iaas/images/
        image_name             = "Oracle-Linux-7.8-2020.06.30-0" #Required
        source_id              = null                            #"ocid1.image.oc1.eu-frankfurt-1.aaaaaaaax3xjmpwufw6tucuoyuenletg74sdsj5f2gzsvlv4mqbbgeokqzsq" #"ocid1.image.oc1.iad.aaaaaaaay66pu7z27ltbx2uuatzgfywzixbp34wx7xoze52pk33psz47vlfa"  #Required
        mkp_image_name         = null
        mkp_image_name_version = null
        source_type            = null
        boot_vol_size_gbs      = 50
        kms_key_id             = null

        preserve_boot_volume = null
        instance_timeout     = null
        sec_vnics            = null #{} #
        block_volumes        = null
      },
    }

  lb_options = {
    display_name          = "oasp3_lb1"
    compartment_id        = null
    shape                 = "100Mbps"
    subnet_ids            = ["ocid1.subnet.oc1.iad.aaaaaaaahdna2dxmc7n73bl6pg7jg74um6zvcqbem22mqrqcsugscvbjve3a"]
    private               = true
    nsg_ids               = null
    defined_tags          = null
    freeform_tags         = {"DeployedBy": "terraform"}
  }

  backend_sets            = {
    oasp3_lb1_bes1        = {
      policy              = "ROUND_ROBIN"
      health_check_name   = "basic_http"
      enable_persistency  = false
      enable_ssl          = false

      cookie_name         = null
      disable_fallback    = null
      certificate_name    = null
      verify_depth        = null
      verify_peer_certificate = null

      backends            = {
        be1               = {
          ip              = dependency.data.outputs.instance_ips[0] //"<IP_ADDRESS>"
          port            = 8080
          backup          = false
          drain           = false
          offline         = false
          weight          = 1
        },
      }
    }
  }

  health_checks           = {
    basic_http            = {
      protocol            = "HTTP"
      interval_ms         = 120000
      port                = 8080
      response_body_regex = ".*"
      retries             = 3
      return_code         = 200
      timeout_in_millis   = 10000
      url_path            = "/"
    }
  }

  listeners               = {
    oasp3_lb1_lsnr_https  = {
      default_backend_set_name = "oasp3_lb1_bes1"
      port                = 443
      protocol            = "HTTP"
      idle_timeout        = 60
      hostnames           = null
      path_route_set_name = null
      rule_set_names      = null
      enable_ssl          = true
      certificate_name    = "oasp3_lb1_cert1"
      verify_depth        = 5
      verify_peer_certificate = true
    }
  }
}

In the backends block is where I need to pass the IP ip = dependency.data.outputs.instance_ips[0] so as you can see I'm declaring the below  dependency on dts/data/data.tf but when I run terragrunt apply It complains about not detecting outputs.
dependency "data" {
  config_path = "./data"
}

This is the error:
/oracle_git_repos/oasp/oasp-3/dts/data/terragrunt.hcl is a dependency of /oracle_git_repos/oasp/oasp-3/dts/terragrunt.hcl but detected no outputs. Either the target module has not been applied yet, or the module has no outputs. If this is expected, set the skip_outputs flag to true on the dependency block.
Does anybody have any idea what I'm doing wrong?. Unfortunately, I haven't been able to find good example about terragrunt dependencies.
Thanks in advance!

You need to run apply in the data module first, even if it is just data sources.
This is because of a limitation of how terraform/terragrunt works. dependency blocks under the hood call terragrunt output on the target module, which in turn calls terraform output. Under the hood, terraform output pulls down the state file to get the output data. So for this to work, the state file needs to be updated with the outputs, and the only way to do that is to run apply, even if you have no resources.


grovo 11/28-12/5

committed

status
deliverable
notes

✅
respond to everyone's feedback this week
@jovo

:x:
read and comment on PREP
@jovo, fyi @nkumarcc

✅
make checklist for final project
@gkiar

:x:
make doodle poll for ice cream time
@gkiar

✅
update syllabus/reamd.md to explicitly state when final is due and link to checklist
@gkiar

reach

status
deliverable
notes

:x:
ndstore tutorials
@gkiar

:x:
ndviz tutorials
@gkiar

@jovo see the created checklist and provide feedback? :)

status
deliverable
notes

:x:
commit updating finalproject.md
@jovo


V0p2p7

Codecov Report

Merging #33 (0ce1d70) into master (ec935d9) will decrease coverage by 33.67%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #33       +/-   ##
==========================================
- Coverage   38.80%   5.12%   -33.68%
==========================================
  Files           1       2        +1
  Lines          67     507      +440
==========================================
  Hits           26      26
- Misses         41     481      +440

Impacted Files
Coverage Δ

src/ECCO.jl
0.00% <0.00%> (ø)

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 ec935d9...0ce1d70. Read the comment docs.


Getting SyntaxError: 'import' and 'export' may appear only with 'sourceType: module'

Current behavior
Getting error while running spec files or feature files in Cypress open mode
'import' and 'export' may appear only with 'sourceType: module' (17:0) while parsing C:\Users\username\Documents\TestRepo\cypress\support\index.js while parsing file: C:\Users\username\Documents\TestRepo\cypress\support\index.js

Desired behavior

Test code to reproduce
Index.js File:
// Import commands.js using ES2015 syntax:
import './commands'
require('cypress-xpath')
require('cypress-plugin-retries')

Versions

Cypress version: 4.10.0
Preprocessor version: 2.5.0
Node version:12.18.3

This seems like a cypress error, maybe try at https://github.com/cypress-io/cypress


for my own image need to train a oneself‘s model ，Is there no general model

Hi @zhanghongyong123456, thanks for your question.  A separate model must be trained for a given set of input images.  If you'd like to use your own custom data, I suggest starting with custom data preprocessing.  Once your images have been preprocessed, you can then proceed to train the model on your data.  I hope this helps!


Compact mode for sub level of bullet

Hello,
Good job! I needed a pluging like that for bullet.
It works well for bullet but only for the first level.
Second level bullet and beyond stay with big lining space

Thanks for your feedback, it's Done!
But may have to wait for Siyuan to pull my distribution. v0.0.2

Thanks, you are quick!


update: update e2e tests with the latest Falco changes

After this PR https://github.com/falcosecurity/libs/pull/1765 we are now able to correctly retrieve again user name info. For this reason, we need to update the triggered rules. Moreover we introduce the <NA> usage where needed, according to the fix in the upstream ruleset https://github.com/falcosecurity/rules/pull/244

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 2f7cc4387e6748f8ffbe9f1f960103d0c37f9eea

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

After this PR https://github.com/falcosecurity/libs/pull/1765 we are now able to correctly retrieve again user name info

Please note that we are still investigating what changed, since the PR itself did not contain any fix...


Validation not performed

Hi,
Thanks for the amazing implementation of f-rcnn. I had a doubt about the validation set. In the train_frcnn.py file I can see that the validation set has been generated but has not been used.
Here is the excerpt from train_frcnn.py:
train_imgs = [s for s in all_imgs if s['imageset'] == 'trainval']
val_imgs = [s for s in all_imgs if s['imageset'] == 'test']
print('Num train samples {}'.format(len(train_imgs)))
print('Num val samples {}'.format(len(val_imgs)))
data_gen_train = data_generators.get_anchor_gt(train_imgs, classes_count, C, nn.get_img_output_length, K.image_dim_ordering(), mode='train')
data_gen_val = data_generators.get_anchor_gt(val_imgs, classes_count, C, nn.get_img_output_length,K.image_dim_ordering(), mode='val')
data_gen_val is the last variable I see having the validation set but it has not been used during training.
Also, pascal_voc_parser.py extracts the test set as well but it has not been used for training. How can I show the validation loss and also the test loss during training?
Apologies if I got something wrong, beginner, here. Thanks for the project!

Hi @itsron717 - have you managed to resolve this validation problem?

@kbardool Pls Check this issue regarding validation. @itsron717 has clearly mentioned above.

Hi @itsron717 - have you managed to resolve this validation problem?

Hey, I had finished working on my project so I didn't get a change to look into it.

Hi Guys,
I found this and managed to incorporate it into this training. It performs validation after x many epochs:
https://github.com/ant1pink/object_detection_keras/blob/master/train_frcnn.py
Hope it helps!


ENH: Add sysbench stone (#34)

One slightly unrelated ask here: run_doc_tests is currently not showing which files differ.
Would be helpful to add that to the output. Also, it's name is not ideal as it also asserts on non-doc related inaccuracies. Can you please fix that as part of this PR? Thanks!


Debug console raises exception and exits on typos

Your environment

ruby -v: ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [arm64-darwin21]
rdbg -v: rdbg 1.4.0

Describe the bug
When using binding.break to set a break point and poking around at the break, any typo or syntax error will cause an uncaught exception that bubbles right up and exits the console.
I'm not sure if this is intended behaviour, but it's definitely a pain when doing exploratory work at the break point.
To Reproduce

Set a breakpoint with binding.break
Run code to the breakpoint
Type putz "I have asyntax error"

Expected behavior
My expectation would be that the exception is shown to the console, but I remain at the breakpoint.
Additional context
Add any other context about the problem here.

is fixed in https://github.com/ruby/debug/pull/498, just not released in a new version yet.
To get the fix from master I changed the following in my gemfile:
- gem 'debug'
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
+ gem 'debug', github: 'ruby/debug'

and ran bundle pristine

Oh nice!  Thanks.

This has not been fixed. https://github.com/ruby/debug/pull/498 seems to be about fixing autocompletion. This bug is not about autocompletion.
(ruby) putz "I have asyntax error"
["DEBUGGER Exception: /usr/local/bundle/gems/debug-1.7.1/lib/debug/thread_client.rb:1233",
 #<LocalJumpError: break from proc-closure>,
 ["/usr/local/bundle/gems/debug-1.7.1/lib/debug/thread_client.rb:457:in `block in frame_eval'",
  "/usr/local/bundle/gems/debug-1.7.1/lib/debug/thread_client.rb:456:in `each'",
  "/usr/local/bundle/gems/debug-1.7.1/lib/debug/thread_client.rb:456:in `rescue in frame_eval'",
  "/usr/local/bundle/gems/debug-1.7.1/lib/debug/thread_client.rb:435:in `frame_eval'",
  "/usr/local/bundle/gems/debug-1.7.1/lib/debug/thread_client.rb:1033:in `wait_next_action_'",
  "/usr/local/bundle/gems/debug-1.7.1/lib/debug/thread_client.rb:856:in `wait_next_action'",
  "/usr/local/bundle/gems/debug-1.7.1/lib/debug/thread_client.rb:320:in `suspend'",
  "/usr/local/bundle/gems/debug-1.7.1/lib/debug/thread_client.rb:251:in `on_breakpoint'",
  "/usr/local/bundle/gems/debug-1.7.1/lib/debug/breakpoint.rb:69:in `suspend'",
  "/usr/local/bundle/gems/debug-1.7.1/lib/debug/breakpoint.rb:178:in `block in setup'",
  "/usr/local/bundle/gems/debug-1.7.1/lib/debug/session.rb:2586:in `debugger'",
...
F

Failures:

  1) RefreshBaseSectionReferenceWorker updates BaseSectionReferences
     Failure/Error: debugger

     LocalJumpError:
       break from proc-closure
     # /usr/local/bundle/gems/debug-1.7.1/lib/debug/thread_client.rb:457:in `block in frame_eval'
     # /usr/local/bundle/gems/debug-1.7.1/lib/debug/thread_client.rb:456:in `each'
     # /usr/local/bundle/gems/debug-1.7.1/lib/debug/thread_client.rb:456:in `rescue in frame_eval'
     # /usr/local/bundle/gems/debug-1.7.1/lib/debug/thread_client.rb:435:in `frame_eval'
     # /usr/local/bundle/gems/debug-1.7.1/lib/debug/thread_client.rb:1033:in `wait_next_action_'
     # /usr/local/bundle/gems/debug-1.7.1/lib/debug/thread_client.rb:856:in `wait_next_action'
     # /usr/local/bundle/gems/debug-1.7.1/lib/debug/thread_client.rb:320:in `suspend'
     # /usr/local/bundle/gems/debug-1.7.1/lib/debug/thread_client.rb:251:in `on_breakpoint'
     # /usr/local/bundle/gems/debug-1.7.1/lib/debug/breakpoint.rb:69:in `suspend'
     # /usr/local/bundle/gems/debug-1.7.1/lib/debug/breakpoint.rb:178:in `block in setup'
     # /usr/local/bundle/gems/debug-1.7.1/lib/debug/session.rb:2586:in `debugger'
     # ./app/utils/find_latest_pro_document_by_id.rb:18:in `call'
     # ./app/utils/find_latest_pro_document_by_id.rb:8:in `call'
     # ./app/services/refresh_base_section_reference_service.rb:23:in `block in find_pro_document'
     # ./app/utils/pro_document_cache_key.rb:5:in `call'
     # ./app/services/refresh_base_section_reference_service.rb:22:in `find_pro_document'
     # ./app/services/refresh_base_section_reference_service.rb:6:in `block in call'
     # ./app/services/refresh_base_section_reference_service.rb:5:in `call'
     # ./app/workers/refresh_base_section_reference_worker.rb:9:in `perform'
     # ./spec/workers/refresh_base_section_reference_worker_spec.rb:17:in `block (3 levels) in <top (required)>'
     # /usr/local/bundle/gems/vcr-6.1.0/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
     # /usr/local/bundle/gems/vcr-6.1.0/lib/vcr.rb:194:in `use_cassette'
     # ./spec/workers/refresh_base_section_reference_worker_spec.rb:16:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # NoMethodError:
     #   undefined method `putz' for ...


Project does not have any documentation

The project doesn't have any documentation. Admittedly, it's a pretty simple application, but if someone wants to write some documentation for it, I'll accept PRs that show some effort 🥇

I would like to contribute to this issue..

@droffilc1 Great, submit a PR 👍

@wildcardjoker Cool


discussion: Test cases about memory and/or performance: Should we have them?

As we can see from #449, tests that involve huge numbers or big lists can be hard for beginners.
Reasoning about memory usage and performance is hard in Haskell - as least for me - but it is even harder for students that are solving a problem and usualy don't know exactly how big is the data used in the tests.
On the other hand, someday students will have to face those problems...
The test cases involving speed are not a huge problem, but I still believe that supplying benchmarks would be a better solution, separating distinct concerns: correct behavior and speed.
Test cases about memory are really problematic, because, as mentioned in this comment they could crash your OS.
What do you think about? What should we do?

GHCRTS='-M128m' or ulimit could be used to avoid eating too much memory. As space-efficient algorithms are usually dramatically so the tests should still be achievable.

I'll take a look at that to see if it I find a way to pass options to GHC when running the test suites. That could be interesting to avoid students some problems.

While we can limit the amount of memory used when testing the exercises adding...
ghc-options: -with-rtsopts=-M128m

to package.yaml, that wouldn't avoid the problem when testing the exercise with stack ghci.
The users could run stack ghci --ghci-options '+RTS -M128m -RTS' by themselves, but it seems there is not way to set that in the configuration. So even if we enabled memory limits for all exercises, the user wouldn't be safe from shooting itself in the foot.


clean up the data folder before launch the testproject application context

data folder legacy data will causes the failure of dbunit to create and loading data. We need to add code to clean up this folder at the beginning of the program.

for example, code could be placed here,
https://github.com/bigtester/automation-test-engine/blob/master/org.bigtester.ate.core/src/main/java/org/bigtester/ate/TestProjectRunner.java#L105

Could I tearDown  the database before Initializer dbinit？
So I added some code in TestDatabaseInitializer file:
/**
Teardown the database before Initialize.
 */
protected @Nullable DatabaseOperation getTearDownOperation()
		  throws DatabaseUnitException, SQLException, MalformedURLException {
				   return DatabaseOperation.NONE;}

Yes, it is a good idea to use the dbunit embeded feature to teardown db. I
just see there is a teardown annotation in dbunit.
But you need to check if this annotation will remove the schema or not. We
want to remove not only the data rows in db, but also the schema before
launching test.
On May 24, 2015 12:07 AM, "ericlu312"<EMAIL_ADDRESS>wrote:

Could I tearDown the database before Initializer dbinit？
So I added some code in TestDatabaseInitializer file:
/**
Teardown the database before Initialize.
*/
protected @Nullable DatabaseOperation getTearDownOperation()
throws DatabaseUnitException, SQLException, MalformedURLException {
return DatabaseOperation.NONE;}
—
Reply to this email directly or view it on GitHub
https://github.com/bigtester/automation-test-engine/issues/121#issuecomment-104977237
.

At last,　So I added some code in TestDatabaseInitializer:
public class TestDatabaseInitializer {

/**
Teardown the database before Initialize.

 */
public void TearDownDatabase(ApplicationContext context)
		throws DatabaseUnitException, SQLException, MalformedURLException {
	if (getInitXmlFiles().isEmpty()) {DatabaseOperation.DELETE.execute(null, null );	}
	}
DatabaseOperation.DELETE.execute:　　　This operation deletes only the dataset contents from the database. This operation does not delete the entire table contents but only data that are present in the dataset.

We will need to delete the table completely.
Peidong
On 05/27/2015 10:18 PM, ericlu312 wrote:

At last,　So I added some code in TestDatabaseInitializer:
|public class TestDatabaseInitializer {
/**
Teardown the database before Initialize.
*/
public void TearDownDatabase(ApplicationContext context)
throws DatabaseUnitException, SQLException, MalformedURLException {
if (getInitXmlFiles().isEmpty()) {DatabaseOperation.DELETE.execute(null, null );    }
}
DatabaseOperation.DELETE.execute:　　　This operation deletes only the dataset contents from the database. This operation does not delete the entire table contents but only data that are present in the dataset.
|
—
Reply to this email directly or view it on GitHub
https://github.com/bigtester/automation-test-engine/issues/121#issuecomment-106149008.

I changed the code like this:
public void TearDownDatabase(ApplicationContext context)
throws DatabaseUnitException, SQLException, MalformedURLException {
try{
DataSource datas = GlobalUtils.findDataSourceBean(context);
IDatabaseConnection con = new DatabaseConnection(datas.getConnection());
		    DatabaseOperation.CLEAN_INSERT.execute(null, null );
		    con.close();
		    }
	catch(DatabaseUnitException | SQLException  e){}
	}

It looks good to me. But to validate if this works well, you can open up
the files in the data/ folder to see if it works as we expect. there are
logs of dbunit execution under data/ folder.
Peidong
On 05/28/2015 11:40 PM, ericlu312 wrote:

I changed the code like this:
public void TearDownDatabase(ApplicationContext context)
throws DatabaseUnitException, SQLException, MalformedURLException {
try{
DataSource datas = GlobalUtils.findDataSourceBean(context);
IDatabaseConnection con = new DatabaseConnection(datas.getConnection());
|             DatabaseOperation.CLEAN_INSERT.execute(null, null );
con.close();
}
catch(DatabaseUnitException | SQLException  e){}
}
|
—
Reply to this email directly or view it on GitHub
https://github.com/bigtester/automation-test-engine/issues/121#issuecomment-106673600.

Jun, can u help to f8nish the work of this issue. You had encountered it before the holiday.