Attempting to save work instance without setting work results in 500 error

Should get a validation error instead.  The problem might be in the manifest select widget in djiffy.

Updated djiffy manifest select widget logic to handle empty string as well as None; also corrects a problem where validation errors do not display properly, affecting testing for #92.


bibliography display 2: a problem related to short titles and tags?

In the file Guntur.xml, the following code

Stutterheim (<bibl rend="omitname"><ptr target="Stutterheim1935_01"/></bibl>) observed that the words <foreign>tamān paṅujara muvaḥ</foreign> (which he still quoted in Brandes' reading with <foreign>tatān</foreign>) find a parallel in the word <foreign>tan punaruktā</foreign> at the end of the <ref target="Palebuhan.xml">Palebuhan inscription</ref>. The correspondence of this while closing paragraph with the final words preserved of the <ref target="Laguna.xml">Laguna plate</ref> are even more remarkable.

Currently leads to this display:

We would want "Stutterheim (1935) observed ..." in display and only the date 1935 as hyperlink.
Manu explained to me the need for zotero Short Titles and tags to be consistent, which (after some manual fixes last night) seems to be the case:

Can you fix this bug?

The prefix bib: is missing in <bibl rend="omitname"><ptr target="Stutterheim1935_01"/></bibl> .


Explain nile declare contract --alias my_contract

nile declare contract --alias my_contract
What is the purpose of declaring a smart contract?

contracts in StarkNet need to be declared before they're deployed. this is because onchain bytecode registration and contract instantiation are two different steps, avoiding code duplication in the chain's storage.

contracts in StarkNet need to be declared before they're deployed. this is because onchain bytecode registration and contract instantiation are two different steps, avoiding code duplication in the chain's storage.


Details component collapses when content is clicked in Edge, IE11

From @andyjones1981 on July 15, 2018 8:46
The details component, when expanded, closes when the content is clicked on, rather than the link causing the close action.
This causes a problem when a user wants to select and copy the expanded text.
I am using this in a case tool which shows details of a message sent to an applicant, the case tool user might want to copy the update into another location but cannot do this.
On touch interfaces this does not occur and the text can be selected/copied without the panel closing.
I'll add that the Gov Elements version didn't close when text was selected.
Copied from original issue: alphagov/govuk-design-system-backlog#148

Hi Andy,
Thanks for flagging this – can you confirm that you're seeing this behaviour with the examples in the Design System, not just in your application? Can I also check what browser you're using? I've not been able to reproduce this in Chrome 67 (running on macOS High Sierra)
Thanks,
Ollie

From @andyjones1981 on July 16, 2018 19:20
@36degrees I just tested across IE11, Edge, FF and Chrome. Seems to be an issue isolated to IE11 and Edge only. I'll be honest I don't use chrome as my main browser, I use Edge. (Sorry should have x-tested first)
I can recreate in my service prototype as well as the example In the design system.

Great, thanks. I'm going to move this issue to alphagov/govuk-frontend so we can track it there.

@andyjones1981 a fix for this issue has been merged into master. We're hoping to get a bug fix release (v1.1.1) out today that will include it.


button "Open Test Reoprt" don't appear

If I combine couple npm command in package.json like
"scripts": {
   "posttest": "npm run allure:report && (npx cypress-msteams-reporter --report-url 'http://localhost:5500/allure-report/index.html' --verbose)",
}

and write npm run posttest, I didnt see the button in MS Teams
Maybe I use bad practice?

up

Hi @RuslanAisin , try:
"scripts": {
"posttest": "npm run allure:report && (npx cypress-msteams-reporter --report-url http://localhost:5500/allure-report/index.html --verbose)",
}
Remove the quotes from the url.

Hello @guthizon, thank you for advice. It is working properly,


Accessors have bad componentType

When I export my 3d model (pbr animated mesh), the GLTF format tells me that the indices are 5123 (FROM_GL_UNSIGNED_SHORT) while the count is 205104.
To Reproduce
Waiting for me to cut an owner file.
I added a character with a lot of vertices.
I merged all the parts with ctrl + j then I exported to glb.
This is a character with frame and animation.
Expected behavior
As the count is > 65535, I expect to have the type 5125 (UNSIGNED_INT).
Screenshots

.blend file/ .gltf (mandatory)
It's coming, soon
Version

OS: Windows 10
Blender Version 4.0.2

Additional context
{
"bufferView":6,
"componentType":5123,
"count":205104,
"type":"SCALAR"
}

That's not, on the face, implausible.
Only in the absolute worst case are there as many verts as indices. In the usual case a vert will be shared by many tris (six for the "average" vert in a quad mesh)

As a rule of thumb, there are half as many verts as tris, or 1/6 as many verts as indices, which for your example gives 205104 / 6 = 34184, which is very comfortably less than 65535.
If you want to know if the indices fit into a ushort, you should look at the count of the POSITION accessor, not he count of the indices.

You are absolutely right, thank you


CQL-to-ELM translator 1.5.0 doesn't support "context population"

CQL-to-ELM translator 1.5.0 version doesn't support context population any more and throws error.
Can this be added back for backward compatibility ?

Hi Amaresh,
Have you tried the "compatibility-level" option? Looks like the docs need to be updated, but the code is here:
https://github.com/cqframework/clinical_quality_language/blob/master/Src/java/cql-to-elm/src/main/java/org/cqframework/cql/cql2elm/CqlTranslator.java#L758
./gradlew :cql-to-elm:installDist
    ./cql-to-elm/build/install/cql-to-elm/bin/cql-to-elm --input ../../Examples/ChlamydiaScreening_CQM.cql --compatibility-level 1.4

Hi Amaresh,
Have you tried the "compatibility-level" option? Looks like the docs need to be updated, but the code is here:
https://github.com/cqframework/clinical_quality_language/blob/master/Src/java/cql-to-elm/src/main/java/org/cqframework/cql/cql2elm/CqlTranslator.java#L758
./gradlew :cql-to-elm:installDist
    ./cql-to-elm/build/install/cql-to-elm/bin/cql-to-elm --input ../../Examples/ChlamydiaScreening_CQM.cql --compatibility-level 1.4

Hi JP,
We tried running this from command line tool on 1.5.0 version, but still seeing this error:

./cql-to-elm/build/install/cql-to-elm/bin/cql-to-elm --input ../../Examples/ChlamydiaScreening_CQM.cql --compatibility-level 1.3
================================================================================
TRANSLATE ../../Examples/ChlamydiaScreening_CQM.cql
Translation failed due to errors:
Warning:[37:14, 37:50] Could not resolve code path item.code for the type of the retrieve QUICK.DiagnosticOrder.
Warning:[37:14, 37:50] Could not resolve membership operator for terminology target of the retrieve.
Warning:[38:14, 38:44] Could not resolve code path item.code for the type of the retrieve QUICK.DiagnosticOrder.
Warning:[38:14, 38:44] Could not resolve membership operator for terminology target of the retrieve.
Warning:[39:14, 39:62] Could not resolve code path item.code for the type of the retrieve QUICK.DiagnosticOrder.
Warning:[39:14, 39:62] Could not resolve membership operator for terminology target of the retrieve.
Warning:[40:14, 40:81] Could not resolve code path item.code for the type of the retrieve QUICK.DiagnosticOrder.
Warning:[40:14, 40:81] Could not resolve membership operator for terminology target of the retrieve.
Error:[51:1, 51:18] Could not resolve context name Population in model QUICK.

Hi JP,
We tried running this from command line tool on 1.5.0 version, but still seeing this error:

./cql-to-elm/build/install/cql-to-elm/bin/cql-to-elm --input ../../Examples/ChlamydiaScreening_CQM.cql --compatibility-level 1.3
================================================================================
TRANSLATE ../../Examples/ChlamydiaScreening_CQM.cql
Translation failed due to errors:
Warning:[37:14, 37:50] Could not resolve code path item.code for the type of the retrieve QUICK.DiagnosticOrder.
Warning:[37:14, 37:50] Could not resolve membership operator for terminology target of the retrieve.
Warning:[38:14, 38:44] Could not resolve code path item.code for the type of the retrieve QUICK.DiagnosticOrder.
Warning:[38:14, 38:44] Could not resolve membership operator for terminology target of the retrieve.
Warning:[39:14, 39:62] Could not resolve code path item.code for the type of the retrieve QUICK.DiagnosticOrder.
Warning:[39:14, 39:62] Could not resolve membership operator for terminology target of the retrieve.
Warning:[40:14, 40:81] Could not resolve code path item.code for the type of the retrieve QUICK.DiagnosticOrder.
Warning:[40:14, 40:81] Could not resolve membership operator for terminology target of the retrieve.
Error:[51:1, 51:18] Could not resolve context name Population in model QUICK.

Also, is there a way to specify the compatibility-level  within CQL content ?

Also, is there a way to specify the compatibility-level  within CQL content ?

Yes, @amarvakul , you should be able to set compatibilityLevel in the cql-options.json in the CQL folder and the Atom plugin will pick that up and apply it. Valid values are 1.3, 1.4, and 1.5. I haven't tested that though.
I am marking this as a bug to add support for the "Population" context in 1.3 usage.

Yes, @amarvakul , you should be able to set compatibilityLevel in the cql-options.json in the CQL folder and the Atom plugin will pick that up and apply it. Valid values are 1.3, 1.4, and 1.5. I haven't tested that though.
I am marking this as a bug to add support for the "Population" context in 1.3 usage.

Thank you @brynrhodes
I was looking for an option if we can inline compatibility mode in the content itself with a special keyword, similar to the way we specify FHIR version (using FHIR version '3.0.0') so that we can programmatically read it.

Thank you @brynrhodes
I was looking for an option if we can inline compatibility mode in the content itself with a special keyword, similar to the way we specify FHIR version (using FHIR version '3.0.0') so that we can programmatically read it.

Hi @amarvakul , no we intentionally do not include the version of CQL in the CQL source. We do include the version of the translator that produced ELM in the ELM output, but it's an input parameter to the translator because we didn't want to introduce the burden of having to read the CQL first to know what version it is.

Hi @amarvakul , no we intentionally do not include the version of CQL in the CQL source. We do include the version of the translator that produced ELM in the ELM output, but it's an input parameter to the translator because we didn't want to introduce the burden of having to read the CQL first to know what version it is.

Addressed in the 1.5.2 release


2.0.0, breaking changes

take abaplint.json as input instead of files list. If abaplint.json exists in cwd, take that

move version in the config file to the syntax block

automatically show progress (-s), instead introduce a quiet flag

remove the -v option
add a version identifier to abaplint.json
combine with https://github.com/abaplint/abaplint/issues/479 ?

if version is not found in the right block then give error, this will help users identifying the need to upgrade

think we are quite close to moving to node 12, so abaplint-x can be deleted, as it is enabled by default in node 12

zero files should also give an issue


DG Stokes example

Below is the PR for a new example solving Stokes equation using SIP DG method from issue #3130. This example code solves 2D Stokes equation with a manufactured solution on the square [-1,1]x[-1,1] with nonzero dirichlet boundary conditions and zero mean condition for pressure.
Please let me know what needs to be updated/changed in the code and comments. Also, a few notes (repeating a few from the issue):

The example depends on face integrator support for MixedBilinearForm so changes have been made to bilinearform.cpp, bilinearform.hpp, bilininteg.cpp, and bilininteg.hpp which have been copied from another PR 2613.

A new mesh file for this example was added in data/square.mesh

I was not sure about which examples should be viewed before this one. Perhaps, ex5, ex9, and ex14?

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#3215
@ryanblack129
@tzanio
@pazner + @jandrej + @YohannDudouit
10/26/22
⌛due 11/9/22
⌛due 11/16/22

PR Checklist

[ ] Code builds.
[ ] Code passes make style.
[ ] Update CHANGELOG:

[ ] Is this a new feature users need to be aware of? New or updated example or miniapp?
[ ] Does it make sense to create a new section in the CHANGELOG to group with other related features?

[ ] Update INSTALL:

[ ] Had a new optional library been added? If so, what range of versions of this library are required? (Make sure the external library is compatible with our BSD license, e.g. it is not licensed under GPL!)
[ ] Have the version ranges for any required or optional libraries changed?
[ ] Does make or cmake have a new target?
[ ] Did the requirements or the installation process change? (rare)

[ ] Update continuous integration server configurations if necessary (e.g. with new version requirements for each of MFEM's dependencies)

[ ] .github
[ ] .appveyor.yml

[ ] Update .gitignore:

[ ] Check if make distclean; git status shows any files that were generated from the source by the project (not an IDE) but we don't want to track in the repository.
[ ] Add new patterns (just for the new files above) and re-run the above test.

[ ] New examples:

[ ] All sample runs at the top of the example source file work.
[ ] Update examples/makefile:

[ ] Add the example code to the appropriate SEQ_EXAMPLES and PAR_EXAMPLES variables.
[ ] Add any files generated by it to the clean target.
[ ] Add the example binary and any files generated by it to the top-level .gitignore file.

[ ] Update examples/CMakeLists.txt:

[ ] Add the example code to the ALL_EXE_SRCS variable.
[ ] Make sure THIS_TEST_OPTIONS is set correctly for the new example.

[ ] List the new example in doc/CodeDocumentation.dox.
[ ] If new examples directory (e.g.examples/pumi), list it in doc/CodeDocumentation.conf.in
[ ] Companion pull request for documentation in mfem/web repo:

[ ] Update or add example-specific documentation, see e.g. the src/examples.md.
[ ] Add the description, labels and screenshots in src/examples.md and src/img.
[ ] In examples.md, list the example under the appropriate categories, add new categories if necessary.
[ ] Add a short description of the example in the "Extensive Examples" section of features.md.

[ ] New miniapps:

[ ] All sample runs at the top of the miniapp source file work.
[ ] Update top-level makefile and makefile in corresponding miniapp directory.
[ ] Add the miniapp binary and any files generated by it to the top-level .gitignore file.
[ ] Update CMake build system:

[ ] Update the CMakeLists.txt file in the miniapps directory, if the new miniapp is in a new directory.
[ ] Add/update the CMakeLists.txt file in the new miniapp directory.
[ ] Consider adding a new test for the new miniapp.

[ ] List the new miniapp in doc/CodeDocumentation.dox
[ ] If new miniapps directory (e.g.miniapps/nurbs), add it to MINIAPP_SUBDIRS in the makefile.
[ ] If new miniapps directory (e.g.miniapps/nurbs), list it in doc/CodeDocumentation.conf.in
[ ] Companion pull request for documentation in mfem/web repo:

[ ] Update or add miniapp-specific documentation, see e.g. the src/meshing.md and src/electromagnetics.md files.
[ ] Add the description, labels and screenshots in src/examples.md and src/img.
[ ] The miniapps go at the end of the page, and are usually listed only under a specific "Application (PDE)" category.
[ ] Add a short description of the miniapp in the "Extensive Examples" section of features.md.

[ ] New capability:

[ ] All new public, protected, and private classes, methods, data members, and functions have full Doxygen-style documentation in source comments. Documentation should include descriptions of member data, function arguments and return values, template parameters, and prerequisites for calling new functions.
[ ] Pointer arguments and return values must specify whether ownership is being transferred or lent with the call.
[ ] Any new functions should include descriptions of their intended use e.g. for internal use only, user-facing, etc., along with references to example code whenever possible/appropriate.
[ ] Consider adding new sample runs in existing examples to highlight the new capability.
[ ] Consider saving cool simulation pictures with the new capability in the Confluence gallery (LLNL only) or submitting them, via pull request, to the gallery section of the mfem/web repo.
[ ] If this is a major new feature, consider mentioning it in the short summary inside README (rare).
[ ] List major new classes in doc/CodeDocumentation.dox (rare).

[ ] Update this checklist, if the new pull request affects it.
[ ] Run make unittest to make sure all unit tests pass.
[ ] Run the tests in tests/scripts.
[ ] (LLNL only) After merging:

[ ] Update internal tests to include the new features.

When this passes tests and this is ready for review, please mark this with ready-for-review, see https://github.com/mfem/mfem/blob/master/CONTRIBUTING.md#quick-summary

Hi @tzanio
It took me a couple tries, but have now fixed some formatting issues causing the code style check to fail. However, now the branch-history check is failing. It looks like this can be squash-merged? Or should I just recreate the branch?
Thanks,
Ryan

We probably don't want all of the commits in the current history, so it makes sense to rebase this branch (before the review starts). Alternatively we can just indicate that it has to be squash-merged and ignore the branch-history failures.
Which option do you prefer?

Rebasing sounds like a good option.
I just tried it, but I think some of the file changes did not get saved. I will go through it tomorrow and try rebasing again (backup copies of the files were saved on a different computer)

This PR is now under review (see the table in the PR description). To help with the review process, please do not force push to the branch.

No problem, thanks for following up.
I went through the edits and have updated the branch. Please let me know what else needs updating.
Also, I tried making a parallel version of the above example (see Issue #3354). Once the parallel implementation is working, would it be best to include here or a new PR?

Hi All,
My apologies for the long delay on this, but I have now updated the PR with a parallel version of the original example.
The parallel version works fine on meshes with one element type, however there is a bug with meshes containing more than one element type. I will open a separate issue to discuss this further.
Best,
Ryan

Sure, no problem

Currently there  are a number of test failures in this PR...


Fixing getPortList on windows without any ports

Hello,
Thank you for creating this awesome library! We have found a problem where on machine without serial ports the library returns error ErrorEnumeratingPorts. We found it in VirtualBox machine. Issue occurs because the registry key HARDWARE\DEVICEMAP\SERIALCOMM\ does not even exist. It seems a valid case to us and we think it should return empty slice instead of an error.
Please feel free to comment if the code is not up to your standards we would fix it.
Thank you.

Thank you!


Documentation for python wrapper

I am using the python wrapper for nmslib, however I couldn't find any documentation for it, apart from two small examples. Basically I want to do some parameter tuning etc. for eg. while using hnsw method I want to see what default values are being set for parameters like maxM0, maxM etc. and how can I specify these using python wrapper. Can you please provide some documentation, it will be really helpful

Hi @hjain689 we don't have a specific Python docs, there's a manual that discusses HNSW in more detail https://github.com/searchivarius/nmslib/blob/master/docs/manual.pdf

The Python API should have decent documentation in the docstrings on each method/class .
I took a first pass at exposing this in this PR https://github.com/searchivarius/nmslib/pull/226 , using sphinx to build html pages and autodoc to automatically expose the docstrings from the python bindings.
You can view how this documentation looks here: https://benfred.github.io/nmslib/ The docstrings for the module are exported here https://benfred.github.io/nmslib/api.html

Thanks a lot @benfred .. this is really helpful!

@benfred awesome, I am superbusy now, but I will look into this shortly. We need to update the manual + describing most important stuff online is superhelpful.

@benfred can you maybe add a link to https://benfred.github.io/nmslib/ in https://github.com/searchivarius/nmslib/blob/master/python_bindings/README.md file?

@benfred @gokceneraslan this needs to be eventually done by us, I mean there should be a proper github.io website. I will need to modify it tool

@searchivarius is there a python function available to store (and load) the nearest neighbor model that can be loaded later to query a new set of points?

@hjain689 the saveIndex/loadIndex function calls will serialize the index to disk and load it back up
https://benfred.github.io/nmslib/api.html#nmslib.dist.FloatIndex.loadIndex

Thanks a lot @benfred, actually when I use the saveIndex function with sparse data it gives the following error (works perfectly for dense):
RuntimeError: Storing non-optimized index is not supported yet!
Any idea as to what might be going wrong here?

@hjain689 for HNSW and non-standard (i.e) sparse spaces, saving isn't not implemented. SW-graph can save indices for sparse spaces, and it often can have similar performance.

okay .. will try that out, thanks!


Try the pydata sphinx theme.

This theme is used across many different PyData projects and has some nice navigation features like:

breaking out a 2nd navbar on the right hand side for headers within the current page. This keeps the nesting in the main left hand navbar from getting out of control.
Allows cleaner selection / display of different versions
Allows you to add external links to the top navigation bar -- e.g. we could link to the Zenodo archives, the Catalyst website, etc.

I'd like to switch to using it but am waiting on a couple of things:

[ ] I need to do some TOC configuration so that the main navigation shows up on the lefthand side, not in the top bar.
[ ] Tweak other config options like logos, top navbar links.
[ ] Release of an optional dark theme.

just a note that if you're looking for something like the pydata theme, and you'd like your navigation to be on the left sidebar instead of in a topbar, you could try the sphinx book theme which is basically modified version of the pydata theme, but with everything in the left sidebar.

Oooh @choldgraf I hadn't seen the Sphinx Book Theme. There seems to be a lot of extra layout and rich content functionality that would be nice (we have some wiiiiide data dictionary tables that would do much better with enough room to display the whole thing without scrolling). Is there any chance that it'll end up getting a stock dark mode? Maybe after the dark theme PR is merged into the PyData theme? Or are there any good pre-fab custom CSS configurations we could poach?

Another existing theme to look at is Furo


[Provider Audit] provider.solserver.eu

Prerequisite Steps:
1. Make sure your provider has community provider attributes and your contact details (email, website):
Done.
2. Make sure your provider *.ingress resolves to your provider IP (ideally worker node IP)
Done.
3. Please make sure your Akash provider doesn't block any Akash specific ports.
Done.
Audit Steps:
1. Done
2. Wait for response via comments. If no issues during provider Audit, process will be complete, provider should start bidding on leases, and Audit ticket will be closed.
3. If there are issues during the provider Audit, debug those issues, and Audit will be complete.
4. Audit Issue will be closed by core team member.
Leave contact information (optional)

Matthias Halsner
Discord: matthias.halsner_62001
<EMAIL_ADDRESS>

hi @solverde-matthi ,
This is the status of the audit process:
Provider name: provider.solserver.eu
Provider address:
Provider URI: provider.solserver.eu
Provider URI name resolution works? provider.solserver.eu
Ingress URI name resolution works? yes
Provider status endpoint works? yes
Provider grpc status endpoint works? yes
Provider responding to orders? NO
Deployment works? n/a
SSH works? n/a
Network functional? n/a
Attributes OK? no
Other remarks:

Please set the info section in the ~/provider/provider.yaml file
info:
email: ""
website: ""
Apply those settings:
helm upgrade --install akash-provider akash/provider -n akash-services -f provider.yaml --set bidpricescript="$(cat ~/provider/price_script_generic.sh | openssl base64 -A)"

Your provider is not responding to orders. Please check the logs of the provider pod:
kubectl -n akash-services logs akash-provider-0 --tail=50 -f
While placing an order to see what the reason for not bidding is.
If you need assistance, please reach out to us on Discord.
thank you!

I have changed the provider.yaml as requested. I also tried doing a test deployment, but it worked for me and the node did bid. Can you maybe check again?

I have checked again, the provider is offline

I restarted the machine and in the dashboard i see it as online and i can also reach it with ssh.
But now when i want to get my provider attributes with:  provider-services query provider get [akash-adress] i get the following error:
Error: post failed: Post "http://localhost:26657": dial tcp <IP_ADDRESS>:26657: connect: connection refused


Copy index template and other miscellaneous updates

Copy index.html during the init for dev-server.
Update IE support version.
Update Riot to latest.
Update Mocha.
Update webpack-dev-server semver.
Update run commands in documentation.

OK, this is good to go.

Approve.


HACS

Attempt to get to HACS default

HACS complains about one line in manifest and it is not mentioned here as well, so guess it has to go?

HACS complains about one line in manifest and it is not mentioned here as well, so guess it has to go?


Fixed grammatical errors and rephrased vague sentences.

There are grammatical errors and incomplete sentences on the Oozie Workflow Overview page. I have fixed these. I shall be updating more of the docs pages in the next few days and raising pull requests for each.

Thanks for wanting to contribute!  Docs fixes are definitely welcome.  However, we don't currently use pull requests.  Can you please file a JIRA on https://issues.apache.org/jira/browse/OOZIE/ and post a patch?  For doc fixes in particular, we've been gathering them as subtasks under https://issues.apache.org/jira/browse/OOZIE-1881.
See https://cwiki.apache.org/confluence/display/OOZIE/How+To+Contribute for more details.

Thanks, I'll take a look at the wiki on Confluence and file the JIRA issue. Should I close this pull request then?


HIP 137: Remove CN470 from IOT PoC

HIP 137: Remove CN470 from IOT PoC

Author: @BFGNeil
Start Date: 2024-09-19
Category: Economic
Original HIP PR: #1110
Tracking Issue: #1112
Voting Requirements: veIOT Holders

Summary
This proposal removes the CN470 region from earning Proof-of-Coverage rewards on the IOT network until such a time when classifiers and other methods of anti-gaming can identify and stop gaming in this region.
Rendered View
https://github.com/helium/HIP/blob/main/0137-remove-cn470-from-iot-poc.md

I think this is missing couple things here.
Re-introduce CN470

We also propose these changes be removed when anti gaming techniques have been developed to address these issues.

This, in my opinion should be more detailed. There is an obvious interest from other regions to never let CN470 back in as it would take away POC rewards from them. Defining a threshold or explicit rules that need to be met before re-introduction CN470, should be detailed in this HIP prior to avoid any arguments later.
Drawbacks
Cheater could just move on to another region and render this HIP useless. What could be the contingency for this?


Flatpak install require org.gnome.Platform 3.34

Hi,
I just wanted to install Almond on Ubuntu 20.04. Strangely the flatpak install requires org.gnome.Platform 3.34,
while org.gnome.Platform 3.36 is available and the runtime has already switched to the latter version..  Nice screenshot below

Hi @maymage, thanks for your report!
Multiple flatpak runtimes for the same ID can be installed in parallel, so it is not a problem that we use 3.34. Identical files (icons, translations, etc.) are automatically deduplicated between the two runtimes.
Additionally, you're looking to install the stable version of Almond (1.8), which was released in early April before the 3.36 runtime was stable.
The next version of Almond uses the 3.36 runtime, but not that the next version is a development version in preparation for Almond 2.0, and will not be released on Flathub. You will need to try it from the nightly build server if you're interested in testing it.
You can learn more about our release plan in our wiki.


disabled download option for uploaded lectures.

Disabled Right click on video component so user can't directly download the lectures uploaded to prevent piracy.
(There was no issue for this pull request, i felt this needs to be added so i added and tested it)

@hkirat please look into in if it feels necessary.

@iminoaru I don't think this fix is necessary. Since, app.100xdevs.com uses DRM protection to prevent piracy. I could be wrong tho

Can you please upload a demo video or so regarding this problem

@devsargam the lectures are in mp4 format, so you can download it using browser tools, you can try by right clicking on any lecture uploaded.
All I did was disable the right click on video component.

@iminoaru oh maybe. But try doing this in the official app.100xdevs.com. Does it still work there?

@iminoaru alright my bad then sorry for bringing this up?

@devsargam no problem, it's always good to double check stuff.


[seq], opening a file while playing should restart

when you open a file when reading an old file, it plays from the same spot as the old file was at.
It should restart

It should restart

things don't really work well in MAX like that, but screw it, I'm doing this anyway, and I'm not documenting it :)


Fixed typo: 'connect' -> 'multiConnect'

Line 58, last word was connect but should be multiConnect.

PR is added to the queue for testing as 2. task. (75a1490)

Hi @artemjackson, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

And by the way

Node layer MUST NOT issue a multiConnect or disconnect for that peerID until it gets a response to the previous request. For example, if the Node layer fires off a multiConnect for a PeerID foo and then changes its mind and wants to fire off a disconnect, it cannot issue the disconnect for the peerID until the multiConnect for that peerID has returned.

Shouldn't the Native layer be responsible for queuing and handling requests from Node layer?

Test (Success) 85967149 build is completed (75a1490)
See https://github.com/ThaliTester/TestResults/tree/8596714975a1490_Fixed_typo___connect__-___multiConnect__artemjackson/ for the logs

Test<PHONE_NUMBER>a1490(75a1490) has failed
See https://github.com/ThaliTester/TestResults/tree/8596714975a1490_Fixed_typo___connect__-___multiConnect__artemjackson/ for the fail logs

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


brew upgrade seems to hang

The weaveworks/tap/gitops tap seems to hang on upgrade. This isn't something that is super critical, however it's persistent enough for me to mention as an issue, and a quick look at the brew files didn't reveal anything super obvious to jump out at me what might be causing it, so cause still unknown.
I've seen this with every gitops CLI upgrade recently through brew upgrade – my platform is Darwin/OSX Ventura 13.0.1
Brew makes it somewhat difficult for me to provide instructions to reproduce, I'd have to start with an outdated CLI and run brew upgrade – there has just been a release so likely someone out there can attempt to reproduce this now, but I'd have to make some checkout configuration or version pinning with git in order to get the tap back on an older version, and I'm not sure how to undo such a pin in a way that would produce the same environment we originally had when we did the upgrade normally 🤷
Expected behavior is, brew upgrade does not hang – actual behavior, it hangs in the terminal for at least minutes, and the installation seems to complete normally after pressing ^C – but also does not return right away, so having been impatient, I likely pressed ^C multiple times, and interrupted some brew cleanup task the second time by mistake. Whoops...

FWIW, it can be reproduced by uninstalling and reinstalling (no upgrade needed)
$ brew uninstall gitops
Uninstalling /opt/homebrew/Cellar/gitops/0.13.0... (7 files, 80.2MB)

$ brew install gitops
==> Fetching weaveworks/tap/gitops
==> Downloading https://github.com/weaveworks/weave-gitops/releases/download/v0.13.0/gitops-darwin-arm64.tar.gz
Already downloaded: /Users/kingdonb/Library/Caches/Homebrew/downloads/23f213749efc1ba824570c18789772bde9e8feb3f6adbda0131c6d7c4f67b5e5--gitops-darwin-arm64.tar.gz
==> Installing gitops from weaveworks/tap
(...) it's hanging
^C
(...) still is hanging
^C
==> Caveats
Bash completion has been installed to:
  /opt/homebrew/etc/bash_completion.d
==> Summary
🍺  /opt/homebrew/Cellar/gitops/0.13.0: 7 files, 80.2MB, built in 2 minutes 9 seconds
==> Running `brew cleanup gitops`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

I can try again with debugging enabled, looks like --debug --verbose is the way with brew. Sec...

$ brew install gitops --debug --verbose
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/weaveworks/homebrew-tap/Formula/gitops.rb
==> Fetching weaveworks/tap/gitops
==> Downloading https://github.com/weaveworks/weave-gitops/releases/download/v0.13.0/gitops-darwin-arm64.tar.gz
/opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/3.6.16-6-g760ab63\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 13.0.1\)\ curl/7.84.0 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://github.com/weaveworks/weave-gitops/releases/download/v0.13.0/gitops-darwin-arm64.tar.gz
Already downloaded: /Users/kingdonb/Library/Caches/Homebrew/downloads/23f213749efc1ba824570c18789772bde9e8feb3f6adbda0131c6d7c4f67b5e5--gitops-darwin-arm64.tar.gz
==> Verifying checksum for '23f213749efc1ba824570c18789772bde9e8feb3f6adbda0131c6d7c4f67b5e5--gitops-darwin-arm64.tar.gz'
==> Installing gitops from weaveworks/tap
/opt/homebrew/Library/Homebrew/shims/shared/git --version
tar --extract --no-same-owner --file /Users/kingdonb/Library/Caches/Homebrew/downloads/23f213749efc1ba824570c18789772bde9e8feb3f6adbda0131c6d7c4f67b5e5--gitops-darwin-arm64.tar.gz --directory /private/tmp/d20221222-42998-up59mo
cp -pR /private/tmp/d20221222-42998-up59mo/LICENSE /private/tmp/gitops-20221222-42998-1pdq4s9/LICENSE
cp -pR /private/tmp/d20221222-42998-up59mo/README.md /private/tmp/gitops-20221222-42998-1pdq4s9/README.md
cp -pR /private/tmp/d20221222-42998-up59mo/gitops /private/tmp/gitops-20221222-42998-1pdq4s9/gitops
chmod -Rf +w /private/tmp/d20221222-42998-up59mo

Here is where it's hanging the first time. I had a look in /private/tmp and I don't see that anything too surprising in here...
First ^C does not have any effect with debug enabled, second ^C then output continues below
/opt/homebrew/Library/Homebrew/shims/shared/git --version
==> Cleaning
==> Fixing /opt/homebrew/Cellar/gitops/0.13.0/bin/gitops permissions from 755 to 555
==> Finishing up
ln -s ../../Cellar/gitops/0.13.0/etc/bash_completion.d/gitops gitops
ln -s ../Cellar/gitops/0.13.0/bin/gitops gitops
ln -s ../../../Cellar/gitops/0.13.0/share/zsh/site-functions/_gitops _gitops
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /opt/homebrew/opt/gitops/.brew/gitops.rb
==> Caveats
Bash completion has been installed to:
  /opt/homebrew/etc/bash_completion.d
==> Summary
🍺  /opt/homebrew/Cellar/gitops/0.13.0: 7 files, 80.2MB, built in 4 minutes 14 seconds
==> Running `brew cleanup gitops`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/rubberband.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading ...
[truncated here, because it goes on like this for a while and I don't think it's relevant at all]

I also observe this issue

@makkes  Looking into it. Complete log before it gets stuck
olga@macbook-pro ~ % brew install gitops --verbose --debug
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/weaveworks/homebrew-tap/Formula/gitops.rb
==> Fetching weaveworks/tap/gitops
==> Downloading https://github.com/weaveworks/weave-gitops/releases/download/v0.13.0/gitops-darwin-x86_64.tar.gz
/usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/3.6.17\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 12.5\)\ curl/7.79.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://github.com/weaveworks/weave-gitops/releases/download/v0.13.0/gitops-darwin-x86_64.tar.gz
Already downloaded: /Users/olga/Library/Caches/Homebrew/downloads/01968390f43061fd597c7fccd028f9b199b3f4f6c40adbdd101b7ce301b3a2f6--gitops-darwin-x86_64.tar.gz
==> Verifying checksum for '01968390f43061fd597c7fccd028f9b199b3f4f6c40adbdd101b7ce301b3a2f6--gitops-darwin-x86_64.tar.gz'
==> Installing gitops from weaveworks/tap
/usr/local/Homebrew/Library/Homebrew/shims/shared/git --version
tar --extract --no-same-owner --file /Users/olga/Library/Caches/Homebrew/downloads/01968390f43061fd597c7fccd028f9b199b3f4f6c40adbdd101b7ce301b3a2f6--gitops-darwin-x86_64.tar.gz --directory /private/tmp/d20230103-79819-dl49o8
cp -pR /private/tmp/d20230103-79819-dl49o8/LICENSE /private/tmp/gitops-20230103-79819-3ndwda/LICENSE
cp -pR /private/tmp/d20230103-79819-dl49o8/README.md /private/tmp/gitops-20230103-79819-3ndwda/README.md
cp -pR /private/tmp/d20230103-79819-dl49o8/gitops /private/tmp/gitops-20230103-79819-3ndwda/gitops
chmod -Rf +w /private/tmp/d20230103-79819-dl49o8

The install or upgrade is stuck on
chmod -Rf +w /private/tmp/d20230103-79819-dl49o8

with different folder name suffixes.
Folder d20230103-79819-dl49o8 does not exist while the install is running, at least when it is stuck, before, according to the log, it was created when extracting the brew formula archive:
tar --extract --no-same-owner --file /Users/olga/Library/Caches/Homebrew/downloads/01968390f43061fd597c7fccd028f9b199b3f4f6c40adbdd101b7ce301b3a2f6--gitops-darwin-x86_64.tar.gz --directory /private/tmp/d20230103-79819-dl49o8

Running
chmod -Rf +w /private/tmp/d20230103-79819-dl49o8

in another terminal window during install returns:
olga@macbook-pro / % chmod -Rf +w /private/tmp/d20230103-79819-dl49o8chmod -Rf +w /private/tmp/d20230103-79819-dl49o8
chmod: /private/tmp/d20230103-79819-dl49o8chmod: No such file or directory
chmod: -Rf: No such file or directory
chmod: +w: No such file or directory
chmod: /private/tmp/d20230103-79819-dl49o8: No such file or directory

The only folders existing right now in the tmp dir which might be related to the install (they were created after the install started) are:
gitops-20230103-79819-3ndwda
homebrew20230103-78752-1irlseh
homebrew20230103-79811-ysc3f3.sb

The fix suggested for a similar issue on SO with making the tmp directory writeable sudo chmod 1777 /private/tmp didn't work, it's not that.
Could the following commands remove/rename the d20230103-79819-dl49o8 to gitops-20230103-79819-3ndwda completely?
cp -pR /private/tmp/d20230103-79819-dl49o8/LICENSE /private/tmp/gitops-20230103-79819-3ndwda/LICENSE
cp -pR /private/tmp/d20230103-79819-dl49o8/README.md /private/tmp/gitops-20230103-79819-3ndwda/README.md
cp -pR /private/tmp/d20230103-79819-dl49o8/gitops /private/tmp/gitops-20230103-79819-3ndwda/gitops

Besides, I don't see the gitops dir under the gitops-20230103-79819-3ndwda folder.
I need to read help on the cp command options and I need to check if the whole CLI process is specified in brew or we somehow customized it (have not published a brew formula before).

Confirmed the same issue on Linux, at least on Ubuntu running in a Parallels Desktop VM. So, it's not smth. specific to Mac.

Confirmed that today's upgrade did not hang in my terminal, on MacOS 🎉

Great, thank you for confirming it, @kingdonb ! 🌞  Could you please also check that after install the autocomplete for gitops is working as expected?

Awesome, thank you! 🎉
I confirmed it on macOS with zsh.

Great job, @opudrovs!!


Cannot open any files - path not found

Product and Version [VS/VSCode]: VSCode 1.32
OS Version [macOS/Windows]: Windows 10 / Ubuntu 18 LTS
Live Share Extension Version: 1.0.18
Target Platform or Language [e.g. Node.js]: N/A
After updating visual studio code to 1.32, I seem to have trouble opening any files with the ctrl+p finder. The finder correctly shows the results but when I type into the box. But when I select a file, I get an error that says 'Path not found'. I'm not sure if this is related to me connecting to vs code running on Ubuntu from Windows because the paths seem to have a mix of slashes. When I do the same action on the machine vs code is running on, it works normally.

@nandiniYeltiwar Do we have any known issues here?

@lostintangent : No known issue so far.
@noveyak : You mentioned that paths seems to have mix of slashes? Can you provide the path that was shown in the finder? Also can you provide your VS Code logs from the guest machine?
You can get it by running "Liveshare: Export Logs" from command palette.

Sure, added some screenshots of what the finder shows me

The error when I press enter/select the search result

I tried exporting the logs and included them below as well
vsliveshare.zip

Thanks @noveyak ! Also were you able to open a file in previous VS Code version (1.31) and hitting this error in only in VS Code 1.32?

Yeah, I downgraded the guest to 1.31 and it works for me again, even with the host in 1.32

Thanks @noveyak, the issue seems to have been fixed in VS Code Insiders and will be ported in VS Code 1.33 release. Please let us know if you still face the issue in VS Code Insiders or VS Code 1.33 (once its released).

This issue should now be resolved. Please re-open it if you're still experiencing this problem. Thanks!


Best pass list for instagram

hi guys! What is pass list's best for instagram?

Nope - Doesn't work like that =).
But to answer your question (and the only thing I will say on the matter) - the "best" would be a custom list towards the target (profile them, and then generate a list )... or test to see if they re-use the creds from other sites (database dumps)


What is the Shortcut API URL to access Shortcut story comments?

Using the Shortcut API, I'm trying to find the correct way to get a list of Shortcut Story comments.
However, I'm not sure what would be the correct URL to access the API for a story.
For instance, in the below Python script, what should be the api_url?
import requests

# Set up the API endpoint and headers
    api_url = 'https://api.shortcut.com/api/v3/MY_COMPANY/stories/10368/comments'
headers = {
    'Shortcut-API-Key': '6412xxxx-xxxx-xxxx-xxxx-xxxx662bf63b',
    'Content-Type': 'application/json'
}

# Make the API request to get the comments for the story
response = requests.get(api_url, headers=headers)

# Check the status code of the response
if response.status_code != 200:
    print('Error:', response.text)
    exit()

# Parse the JSON response and print the comment IDs
comments = response.json()
for comment in comments:
    print(comment['id'])

If I use the api_url as in the format 'https://api.shortcut.com/api/v3/MY_COMPANY/stories/10368/comments'
I get an error:
Error: {"message":"Sorry, the organization context for this request is missing. If you have any questions please contact us at support@shortcut.com","tag":"organization2_missing"}

@ronbarak https://api.app.shortcut.com/api/v3/stories/<story-id>/comments should work


Trigger entity

Dear All,
Please might you explain me how to trigger an entity. I would like to trigger a switch with alexa. Is it possible?
Thank you!

Please review the forum or wiki.

Thank you for the answer. I think I have reviewed it. I have seen the wiki as you suggested nut I was not able to find the solution. What I would like to do is ask to alexa to trigger an entity, i.e. "Alexa, ask to hassio to turn on the light". Is it possible? Thank you in advance.


Add a list of recoverable network transport errors

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

oops, merged while typing
@addb is the expectation that RECOVERABLE_NETWORK_TRANSPORT_ERROR_CODES will be an array of URLErrors only or could that include other NSErrors in the future?
If URLErrors only, any reason why we extract the rawValue instead of using the code directly for simplified compare/contains checks?


Question - Migrate raft-rs 0.6.0a to raft-rs 0.7.0

I'm having trouble because the example code that works in raft-rs 0.6.0 alpha version does not function properly when updated to 0.7.0.
I have made some inferences and concluded that the cause may be related to the 403 PR or subsequent changes related to async.
https://github.com/tikv/raft-rs/pull/403/files
According to my understanding, I understood that some breaking changes occurred during the process of adding async ready and LightReady-related logic in this version upgrade.
Could you tell me what breaking change occurred through this PR and how should I update the example code?

I'm sorry for the confusion, I found the bug in my written code, it is not related to kind of breaking change. So, I will close the issue


Fix long2ip() parameter type

Fix https://github.com/PrestaShop/psgdpr/issues/61
long2ip() expects parameter 1 to be integer, string given

ip_addres column is varchar 16, only ipv4
<IP_ADDRESS> -> 15 chars✅
FE80:CD00:0000:0CDE:1257:0000:211E:729C -> 39 chars❌
-2 147 483 648 -> 11 chars✅
-9 223 372 036 854 775 807 -> 20 chars❌

😐 Maybe I should open an issue to propose changing this.
In my database I only see that it stores the ip as long

I think there are some issues with the ip_address field :sweat_smile:

Updated:
Although the column is varchar, the model class https://github.com/PrestaShop/PrestaShop/blob/develop/classes/CustomerMessage.php#L72 validates the content with the isIp2Long function, so the content is a number.

@davidglezz
Thank you for the PR. Can you give us a test case ?

This is required since a change on PHP long2ip : https://www.php.net/manual/en/function.long2ip.php

Changelog
7.1.0 | The parameter type of proper_address has been changed from string to integer.

To reproduce, you should have PHP 7.1 or higher and debug mode activated on PrestaShop
Go to FO > My Account > My Personal Data > Get my data to PDF

Thanks @davidglezz


[FEATURE] Opt-out an app

I love DarQ, it's a great service.
I blanket apply it to all apps, but FlightRadar24 looks bad (maps are dark).
Would it be possible to add a feature, to exclude certain apps from DarQ, when 'Always User Force Dark' is enabled?
Another workaround, would be to have a 'Select All' button in the 'Select Apps' section, so I could unselect chosen apps

#10


docs(contribute): improve write-a-loader testing section

Checklist

[x] Read and sign the CLA. PRs that haven't signed it won't be accepted.
[x] Make sure your PR complies with the writer's guide.
[x] Review the diff carefully as sometimes this can reveal issues.

@skipjack Thanks 🙃


Remove deprecated list.at usage

This PR removes usages of list.at, since it is deprecated in v0.37.0 of gleam_stdlib and produces warnings in downstream projects using birl.

Thanks


How to add banned cards to duel rewards? (alongside 2 other small questions)

If I'm not mistaken, you can win any card from the playable pool in duel rewards
But how do I expand that to include banned cards? Also I'm not exactly sure if limited or semi limited cards are included in those rewards
Would editing the ban list from the files do the job? like if I make pot of greed unlimited would that make it possible to win it from rewards?
Hell if there's a way to just edit the reward pool itself that would be great
P.S: I'm perfectly aware that I can craft and use them, I'm doing a special kind of playthrough where I win them rather than craft them
Small question #1: what does "ProgressiveCardList" do if set to true?
Small question #2: Is there an option to make ALL cards dismantle-able? Or at least an option to empty my card pool completely including the beginner structure deck cards

The limited list isn't considered when those rewards are given. Banned cards should be available. To specify a specific set of card ids to pull from you add something like "ids": [4007,4008] and it'll only pull from those cards.
ProgressiveCardList is used by a mod that I made for IRL packs. Each new pack which is unlocked then displays those cards in the deck editor. It isn't useful for anything in the regular YgoMaster.
All cards which can be dismantled can be crafted. Therefore you want to set CardCraftableAll to true.

All cards which can be dismantled can be crafted

You misunderstood this part of my question, I meant I want all cards to be DISmantale-able, because when emptying my card pool the game still forces me to have the structure decks cards (the Synchro Link and Dragon ones) and those CAN'T be dismantled even in YgoMaster
So my question is, is there a way to either delete those cards from the card pool or make them able to be dismantled so I can empty the pool manually?

So for structure decks it's hard coded to give you a card which cannot be dismantled. Some additional code would have to be written to convert non-dismantle cards to dismantle cards. You can find your card quantities in Player.json but it wouldn't be feasible to edit manually.
https://github.com/pixeltris/YgoMaster/blob/57a2de8906a9ebbf2219c5306dd6fe1c340bde95/YgoMasterServer/Acts/Act_Shop.cs#L30

....add to which file and which line in said file?

Sorry, you'd add it somewhere like here
https://github.com/pixeltris/YgoMaster/blob/57a2de8906a9ebbf2219c5306dd6fe1c340bde95/YgoMaster/Data/Settings.json#L152-L156


bug: detect_mathlib doesn't find mathlib dependency

I use this action on my repository lean-by-example. Today this action fails to detect mathlib dependency...

full workflow log: https://github.com/lean-ja/lean-by-example/actions/runs/10436340213/job/28901291019

why this workflow fail to detect mathlib...?
logs of CI workflow: https://github.com/lean-ja/lean-by-example/actions/workflows/ci.yml
By looking at the execution time of the workflow, it can be seen that it is suddenly failing when previously it was fine.

I understand why this issue ocurrs. detect_mathlib cannot treat new lakefile syntax.

I now understand why this issue ocurrs. detect_mathlib cannot treat new lakefile syntax.
this issue should be resolved by fixing #82.

@Seasawher, I believe you are correct about the cause and the right fix here.
I am working on a fix for #82. Note that in the meantime if this is causing major issues, you can use
        uses<EMAIL_ADDRESS>        with:
          build-args: "--log-level=error"
          use-mathlib-cache: "true"

Fixed by #88


keyboard do not hide when cancel button is clicked of editTextPreference

I am using inputType = "number" in my edit text preference, and if I click in cancel button of edit text preference, the keyboard with inputType = "number" hide (or disappear) end a general keyboard (inputType = "text" for exemple) still stay visible. Maybe in this moment inputType = "number" becomes in "text".

What version of the lib do you use? What's the OS version? What device? Could you reproduce this with the sample app?

I discovered what was wrong!
In Manifest, I was using android:windowSoftInputMode="stateHidden" for my SettingsActivity.
When I removed this line, the problem disappeared.
If I change "stateHidden" to "stateAlwaysHidden", it also resolves.


All technical Questions are made in the form of list

Please check if this PR fulfills these

[ ] The commit message is descriptive of changes
[ ] You have tried at least one local test (this includes viewing the changes on your local fork)
[x] Docs have been added / updated as needed (for bug fixes / features)

What kind of change does this PR introduce?

[ ] Typo / Doc Update
[ ] Bug Fix
[x] Feature / New Item

What is the new behavior (if this is a feature change)?

[ ] Added Interview Technical Question
[ ] Added Interview Whiteboard Question
[ ] Corrected existing items
[ ] Other

Other information:

Thanks @ImJawwad!


Modify keyName for capability

Possibly replace with rarely used reserved keyword, since capability is a commonly used property for a user.
e.g. channel-capability, channel-permissions, channel-authz,  channel-access etc

Possibly replace with rarely used reserved keyword, since capability is a commonly used property for a user.
e.g. channel-capability, channel-permissions, channel-authz,  channel-access etc

uc-access => user-channel-access seems to be the appropriate name for the key, since for each individual user, channel access is granted.


making include folders visible to users

Making the include-folders visible as SYSTEM INTERFACE. This solves for example this issue:
https://github.com/DiltheyLab/HLA-LA/issues/59

@glis-glis I've removed the spurious vertical whitespace, could you squash the two commits into one?

OK, done!


TypeError: Cannot read property 'getFormattingOptions' of null

@xulijing626 Do you perhaps have more steps?


How about removing the "reverse -isms" bit?

I wish to respectfully suggest that to remove the "reverse -isms" bit. I think it does much more harm than good.
"Reverse" racism is just racism, and "reverse" sexism is just sexism.  That directly contradicts previous statements in the Open Code of Conducts itself, as well as the Universal Declaration of Human Rights.
If that's not what you mean, please consider rewording. But I think it would be better to remove those few lines. A good old "no discrimination" policy permits fighting all trolls and acting against all types of harassment. Do you really need to complicate things with "positive discrimination," which many consider as a dangerous oxymoron?
More thoughts here: https://hacked.com/github-promotes-reverse-racism-sexism/
I agree with everything else in the Open Code of Conduct, but this is a serious problem as indicated by several other posts here. I won't participate in online discussion spaces that explicitly condone racism and sexism, and in my opinion that's what the current version of the Open Code of Conduct does.

Almost all pull requests already have these removed.  So it might not be long.

Positive discrimination or affirmative action serve a purpose and are protected by human rights legislation.
The reverse-isms section of the code of conduct is not positive discrimination, it reads as plain discrimination.

Thanks for replying. Yes, I see that there are many pull requests to have the "reverse -isms" bit removed. I hope it is removed soon.

Thanks for your feedback. See https://github.com/todogroup/opencodeofconduct/issues/84.


Feature request - allow labeling of edges

I want to render graphs using egui_node_graph - it would be helpful if egui_node_graph supported edge labeling/properties/directions out of the box

Rendering graphs isn't the target use-case of egui_node_graph. This library is fundamentally a graph editor, most suited for describing computation. If you wish to render an arbitrary DAG with some labels I'd look elsewhere, unless I'm misunderstanding your intent.
Ps. attaching stuff to connections has been on my mind for a while, but I haven't figured it out conceptually. I don't know whether other contributors are considering adding this feature, but I wouldn't hold my breath.

Thanks for the quick response! I figured the use-case was a little bit different (but was looking into whether or not it could be repurposed for my project - figured it couldn't hurt to ask)


Add deprecation warning for switcher

cc @larsoner wdyt?

Yes that would have helped!

LOL @larsoner you're gonna love this but we actually didn't remove this configuration from the test suite and this PR uncovered that

Hah, nice side effect :)


Tweak line wrapping for configuration overview page

This PR wrapps the long lines found in the configuration/overview.md page.

Preview: https://deploy-preview-37210--kubernetes-io-main-staging.netlify.app/docs/concepts/configuration/overview/
I confirm this PR updates only line wrappings and no changes to content
/lgtm
/approve


Bump kubectl and helm versions in the Lagoon kubectl base image

Checklist

[x] Affected Issues have been mentioned in the Closing issues section
[ ] Documentation has been written/updated
[x] PR title is ready for changelog and subsystem label(s) applied

This PR updates kubectl and helm in the Lagoon kubectl base image to the latest releases.

Closing issues
Closes: #2533

This is now blocking CI on lagoon-charts, so once it passes I'll merge it @tobybellwood. We can consider backporting to 1.x later.


Get Version of artifact which is not vulnerable

Hi @jeremylong ,
Thanks for the great tool.
The report the tool generates gives out all the vulnerable softwares/artifacts. But, how do I find the version which is not vulnerable so that I can update it?

Is there a programmatic way to fetch the version which is not vulnerable from the nist db or any other api's ?
Is there a way in the tool to fetch that details?

The information is critical in order to provide a patch to the vulnerable software. Please let me know.
Thanks

At the moment - the only way to know what to upgrade to is to use a combination of reading the NVD advisory which generally states a version or version range that is vulnerable. Then use something like the Maven Versions report or gradle-versions-plugin and determine which versions are available for upgrade.
The option I like best is, if your code is on github.com, use dependabot. Just keep everything as up to date as possible as not all vulnerabilities have a CVE (See the Snyk report on The State of Open Source Software).  Dependabot will send in a PR when you are using a known vulnerable component (if the vulnerability is in one of the vulnerability repositories that they use).

The list of vulnerable versions is in the HTML report - at the bottom of every CVE entry there is a section:
Vulnerable Software & Versions: (show all)

The show all is a button that will expand the list of vulnerable software & versions.

Hi Jeremy,
I followed your first suggestion and extended the dependency checker to get all the vulnerable versions.
I did this:
For a dependency, I read the identifier to get the cpe, and then get all the cpes for that vendor and product.
Eg: for this jar : org.springframework:spring-aop:4.3.4.RELEASE ,
cpes : cpe:/a:pivotal_software:spring_framework:4.3.4 and cpe:/a:pivotal:spring_framework:4.3.4
I fetched all the vulnerable versions by
database.getCPEs("pivotal","spring_framework") , but I do not see versions 4.3.4 in it.
Is there a reason for 2 cpes for that Jar?
could you please guide?
Thanks

The apparent duplicate CPEs listed are because the matching is primarily on the vendor and product (not the version number). There have been, historically, CPEs with many variations for products like Spring Framework that have had ownership changes (springsource->vmware->pivotal). The report includes all possible CPEs for the given version (not all will link to an actual CVE).

Your first statement : "The apparent duplicate CPEs listed are because the matching is primarily on the vendor and product (not the version number)"
and the last : "The report includes all possible CPEs for the given version"
are confusing. Did you mean "The report includes all possible CPEs for the given VENDOR"

No - I meant for the given version. See spring_framework 3.0.0 as an example:

cpe:/a:springsource:spring_framework:3.0.0
cpe:/a:vmware:springsource_spring_framework:3.0.0
cpe:/a:pivotal:spring_framework:3.0.0

See how the version number stays the same but the CPE vendor and product change? These all refer to the same framework.

ok got it.
So if I have to get all the vulnerable versions of the spring_framework from the DB, then I have to query for all the above 3 vendor/product combinations from the DB?

Hi @jeremylong ,
Can you please confirm if this is the right thing to do to fetch all the vulnerabilities of a product?
Thanks

All that complexity is taken care of in ODC. In the report when a CPE is identified each vulnerabililty (i.e. CVE) has a list of affected products (it is in the report).

I want to know all the Vulnerable versions of a Product, which is not shown in the JSON report. Then I believe I should be querying the DB with the Vendor/Product combination for all cpes correct?

You keep saying the vulnerable versions of a product is not in the JSON report - yet it absolutely is. See the example below (look for the vulnerableSoftware section):
{
  "source": "NVD",
  "name": "CVE-2015-7940",
  "cvssScore": "5.0",
  "cvssAccessVector": "NETWORK",
  "cvssAccessComplexity": "LOW",
  "cvssAuthenticationr": "NONE",
  "cvssConfidentialImpact": "PARTIAL",
  "cvssIntegrityImpact": "NONE",
  "cvssAvailabilityImpact": "NONE",
  "severity": "Medium",
  "cwe": "CWE-200 Information Exposure",
  "description": "The Bouncy Castle Java library before 1.51 does not validate a point is withing the elliptic curve, which makes it easier for remote attackers to obtain private keys via a series of crafted elliptic curve Diffie Hellman (ECDH) key exchanges, aka an \"invalid curve attack.\"",
  "notes": "",
  "references": [
    {
      "source": "FEDORA",
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-January/174915.html",
      "name": "FEDORA-2015-7d95466eda"
    },
    {
      "source": "SUSE",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2015-11/msg00012.html",
      "name": "openSUSE-SU-2015:1911"
    },
    {
      "source": "MLIST",
      "url": "http://www.openwall.com/lists/oss-security/2015/10/22/9",
      "name": "[oss-security] 20151022 Re: CVE Request: invalid curve attack on bouncycastle"
    },
    {
      "source": "REDHAT",
      "url": "http://rhn.redhat.com/errata/RHSA-2016-2036.html",
      "name": "RHSA-2016:2036"
    },
    {
      "source": "CONFIRM",
      "url": "http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html",
      "name": "http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html"
    },
    {
      "source": "CONFIRM",
      "url": "http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html",
      "name": "http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html"
    },
    {
      "source": "SECTRACK",
      "url": "http://www.securitytracker.com/id/1037053",
      "name": "1037053"
    },
    {
      "source": "BID",
      "url": "http://www.securityfocus.com/bid/79091",
      "name": "79091"
    },
    {
      "source": "CONFIRM",
      "url": "http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html",
      "name": "http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html"
    },
    {
      "source": "CONFIRM",
      "url": "http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html",
      "name": "http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html"
    },
    {
      "source": "CONFIRM",
      "url": "http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html",
      "name": "http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html"
    },
    {
      "source": "MISC",
      "url": "http://web-in-security.blogspot.ca/2015/09/practical-invalid-curve-attacks.html",
      "name": "http://web-in-security.blogspot.ca/2015/09/practical-invalid-curve-attacks.html"
    },
    {
      "source": "REDHAT",
      "url": "http://rhn.redhat.com/errata/RHSA-2016-2035.html",
      "name": "RHSA-2016:2035"
    },
    {
      "source": "CONFIRM",
      "url": "http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html",
      "name": "http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html"
    },
    {
      "source": "UBUNTU",
      "url": "https://usn.ubuntu.com/3727-1/",
      "name": "USN-3727-1"
    },
    {
      "source": "MLIST",
      "url": "http://www.openwall.com/lists/oss-security/2015/10/22/7",
      "name": "[oss-security] 20151022 CVE Request: invalid curve attack on bouncycastle"
    },
    {
      "source": "DEBIAN",
      "url": "http://www.debian.org/security/2015/dsa-3417",
      "name": "DSA-3417"
    },
    {
      "source": "SECTRACK",
      "url": "http://www.securitytracker.com/id/1037046",
      "name": "1037046"
    },
    {
      "source": "SECTRACK",
      "url": "http://www.securitytracker.com/id/1037036",
      "name": "1037036"
    }
  ],
  "vulnerableSoftware": [
    {
      "software": "cpe:/a:bouncycastle:bouncy_castle_crypto_package:1.50",
      "allPreviousVersion": "true"
    },
    {
      "software": "cpe:/a:oracle:peoplesoft_enterprise_peopletools:8.54"
    },
    {
      "software": "cpe:/a:oracle:peoplesoft_enterprise_peopletools:8.55"
    },
    {
      "software": "cpe:/a:oracle:enterprise_manager_ops_center:12.1.4"
    },
    {
      "software": "cpe:/a:oracle:virtual_desktop_infrastructure:3.5.2"
    },
    {
      "software": "cpe:/a:oracle:application_testing_suite:<IP_ADDRESS>"
    },
    {
      "software": "cpe:/a:oracle:enterprise_manager_ops_center:12.2.2"
    },
    {
      "software": "cpe:/a:oracle:application_testing_suite:<IP_ADDRESS>"
    },
    {
      "software": "cpe:/a:oracle:application_testing_suite:<IP_ADDRESS>"
    }
  ]
},

Ok. Thanks for the explanation. Could you please confirm if my understanding is correct for the below example? -
For the JAR - spring-core-4.3.1.RELEASE.jar
CPE's : 1. "name": "cpe:/a:pivotal:spring_framework:4.3.1", "confidence": "LOW" - I can suppress this
2. "name": "cpe:/a:pivotal_software:spring_framework:4.3.1", "confidence": "HIGHEST"
If I have to get all the vulnerable versions for pivotal_software/spring_framework, I need to collect all the vulnerableSoftware section for each item in the vulnerabilities array?

Why would you want to suppress CPE 1?  It is a low confidence match - that ends up resulting in zero vulnerabilities. However, the NVD has previously used pivotal:spring_framework for other CVEs and it may get used again - suppressing this finding does nothing to the current report and risks introducing false negatives in the future.

ok got it.
One last clarification though. In the example you have given and for the example I have for spring_framework, in the vulnerableSoftware I was expecting only software with spring_framework cpes , but I also see
"vulnerableSoftware": [                         {                             "software": "cpe:/a:pivotal_software:spring_framework:5.0.3"                         },                         {                             "software": "cpe:/a:pivotal_software:spring_framework:5.0.4"                         },                         {                             "software": "cpe:/a:pivotal_software:spring_framework:5.0.1"                         },                         {                             "software": "cpe:/a:redhat:openshift:-"                         },                         ...
"software": "cpe:/a:redhat:openshift:-"  , is it a false negative that I should be suppressing?
Even in your example, I suppose the vulnerabilities is for the bouncy castle Jar, but I see entry in the vulnerableSoftware for other software's as well. So if I have to get all the versions for just bouncy castle , I should ignore other entries?

The vulnerable software comes from the NVD. If you read the description of the vulnerability it likely references Redhat's Openshift. You can't suppress openshift as it is not one of the matches to the JAR in the ODC report. Openshift shows up as another affected platform.

Thanks for the clarification Jeremy. Appreciate your time.


Add article on agile budgeting strategies

https://hbr.org/2014/12/your-agile-project-needs-a-budget-not-an-estimate

This article is a bit old (2014)..while the premise is good, will the older date of publication matter?

I like a few aspects of the article. But, the last step with establishing confidence levels is IMHO really weak but also somewhat critical to the whole discussion. I voted this article down.


Bug when calling zon API - NetworkZoneClient.list_network_zones() - exception raised

Calling zone API (list_network_zones()) on my OKTA preview tenant with default zones in it:

Getting exception from the API call:
okta_api.errors.okta_errors_generic.OktaGenericError: 0

From the debugging it's clearly seen that the method expects to get collection of type list but getting dictionary instead.

This line throws the error
if not OktaCollection.is_formed(collection[index], data_type):

Problem originates from here
class NetworkZone(
    OktaObject
)
...
self.asns = OktaCollection.form_list(
                config["asns"] if "asns"\
                    in config else [],
                str
            )

Data got from OKTA
{
   "type":"DYNAMIC_V2",
   "id":".<reducted>",
   "name":"DefaultEnhancedDynamicZone",
   "status":"INACTIVE",
   "usage":"BLOCKLIST",
   "created":"2024-08-09T01:16:38.000Z",
   "lastUpdated":"2024-08-11T15:31:59.000Z",
   "system":true,
   "locations":{
      "include":[

      ],
      "exclude":[

      ]
   },
   "ipServiceCategories":{
      "include":[
         "ALL_ANONYMIZERS"
      ],
      "exclude":[

      ]
   },
   "asns":{
      "include":[

      ],
      "exclude":[

      ]
   },
   "links":{
      "activate":{
         "href":"https://<reducted>.oktapreview.com/api/v1/zones/<reducted>/lifecycle/activate",
         "hints":{
            "allow":[
               "POST"
            ]
         }
      },
      "self":{
         "href":"https://<reducted>.oktapreview.com/api/v1/zones/<reducted>",
         "hints":{
            "allow":[
               "GET",
               "PUT",
               "DELETE"
            ]
         }
      }
   }
}

OKTA package version 2.9.7

FWIW, I was able to work around this by using the response directly
_, resp, _ = await client.list_network_zones()
zones = okta_resp._body

Not great...

Feels like there is no support nor response from OKTA developers / maintainers, as a paying customer this is disappointing.


Garbage Collection - identities clean up on ziti network

If resources are low in the cluster, it may take longer than the max of 30s for the Cluster Admission Controller to receive the responses from the Ziti Webhook. Best practise is to respond as soon as possible and the request throttling is not a good option either, let alone best practise. We most likely need to create a garbage collection to compare the identities that are created in the cluster to the ones on the ziti network and the webhook is probably not the place to do that either, then we may need to do that part of the operator. To me that sounds like the best place for it.

That sounds like a good idea.


Add change remote ssh port in alluxio-common.sh

… all
What changes are proposed in this pull request?
Please outline the changes and how this PR fixes the issue.
Why are the changes needed?
Please clarify why the changes are needed. For instance,

If you propose a new API, clarify the use case for a new API.
If you fix a bug, describe the bug.

Does this PR introduce any user facing changes?
Please list the user-facing changes introduced by your change, including

change in user-facing APIs
addition or removal of property keys
webui

Can you give an example to show how to set the ssh PORT?
Something like PORT=XXX in conf/alluxio-env.sh?
Will you mean add the example in the alluxio-common.sh ? I add the example comments on it, could you have a look?  Thanks!

@zhaoyim Sorry, I mean that alluxio-common.sh is a common tools for alluxio shell framework, but alluxio-env.sh is a config file as well as alluxio-properties, so we should tell user add an env var SSH_PORT in alluxio-env.sh can change the default SSH_PORT.

@zhaoyim Sorry, I mean that alluxio-common.sh is a common tools for alluxio shell framework, but alluxio-env.sh is a config file as well as alluxio-properties, so we should tell user add an env var SSH_PORT in alluxio-env.sh can change the default SSH_PORT.

Thanks for your comments! I will move the SSH_PORT into the  alluxio-env.sh  and changed all the sh source from  alluxio-env.sh.


don't spread the keysToOmit parameter

Should resolve https://github.com/clauderic/react-sortable-hoc/issues/555

Any info on when this will be merged? Project seems abandoned at the moment.


UI instance edit does not show ha setting correctly

ISSUE TYPE

Bug Report

COMPONENT NAME

UI

CLOUDSTACK VERSION

<IP_ADDRESS>

CONFIGURATION

OS / ENVIRONMENT

SUMMARY

When editing the instance settings via UI the value of haenable will always shown as disabled, even if the state is true.
Api call listVirtualMachinesMetrics is providing the correct value, it looks like UI is just not using this value to disable or enalbe the button in the edit popup.
STEPS TO REPRODUCE

create an instance using a compute offering with ha enable true

in UI go to Compute ->Instances and click on the instance.

take a look at the Details and HA enabled. It shows true

click on edit icon to open the popup to edit the instance

HA enabled will always shown as disabled.

EXPECTED RESULTS

UI edit instance popup will show correct value of haenable.

ACTUAL RESULTS

UI edit instancen popup will always show haenable as disabled.

fixed by #9049


Question: uploads large files with +2 millions record

I have the following function to upload a file with +2 million records to the database
`
ini_set('max_execution_time',<PHONE_NUMBER>0);
ini_set('memory_limit', -1);
        Excel::filter('chunk')->load(base_path().'/uploads/campaigns/'.$filename)->chunk(100, function($results)
        {
            foreach ($results as $row) {
                $campain = Campain::find($this->campainId);
                $phone = null;
                $row->phone_number = '0'.$row->phone_number ;
                $phone = $campain->reports()->where('phone_number',$row->phone_number)->get();
                if (count($phone) == 0) {
                    if ( preg_match($campain->user_sender()->first()->country->regular_expression, $row->phone_number) ) {
                        $reports = new Report();
                        $reports->phone_number = $row->phone_number;
                        $reports->campain_id = $campain->id;
                        $reports->save();
                    }else{
                        continue;
                    }
                }
            }
        },false);`

i am i doing it right ? i am afraid to risk with the company data. I am asking if there is any considerations i should take ?

I have the same situation
I want to read a file whit 3mil records but fails.
Give me these mistakes
Maximum execution time of 60 seconds exceeded
To correct this usage: ini_set ('max_execution_time', 3000);
But then give me these errors
[Wed May 24 17:33:11 2017] PHP Fatal error: Allowed memory size of 524288000 bytes in C: \ xampp \ htdocs \ plogin \ vendor \ phpoffice \ phpexcel \ Classes \ PHPExcel \ Worksheet .php on line 1219
[Wed May 24 17:33:11 2017] PHP Fatal error: Allowed memory size of 524288000 bytes in C: \ xampp \ htdocs \ plogin \ vendor \ symfony \ debug \ Exception \ FatalErrorException.php On line 1
If I increase the memory with: ini_set ('memory_limit', -1);
Never respond
Any idea what it could be?

I had to set 'max_execution_time' to<PHONE_NUMBER>0 and 'memory_limit' to -1 so i can run my code. it was too slow at first but i optimized my code to insert multirecords in the database instead of one record at a time which was too slow. maybe you need to optimize your code to run faster.


[ENHANCMENT] Add mobile support

Proposal
Allow mobile support for Imago. This enhancement would include the following upgrades:

Support for mobile browsers, Currently, Pressing the "Login" button does not do anything on mobile browsers (Tested on Safari Mobile, FireFox Mobile, and Chrome Mobile. Also occurs in non-chromium desktop browsers. See #6 for more info)

Login page background and login box should scale to the size of the device, to make the page look clean just as it does on desktop

Why?
This enhancement could have many purposes for many users. First, It would allow moving content from mobile devices to Desktop. As mentioned in #3, Upload servers can be very useful for moving images or other files from a mobile device on to a desktop device, with simplicity and ease. Currently however, This is not a possibility due to the lack of mobile support
Expected and Current result
Currently, The mobile site looks smashed, the background does not scale, and the ascetics are overall terrible. Although this isn't a major issue, it would be nice for the site to look just as beautiful as it does on Desktop. The expected result here is simple: The page elements, background, and all content would scale down and position to places that are more mobile-friendly. Maybe tabs could be hidden and opened again with a drop down or something of such. Also currently, you are unable to login to the site via a mobile browser. This is most likely related to the issues mentioned in #6, however it is still relevant to this issue as it makes using the site on mobile impossible, rather then just ugly.
Image

There is currently no mobile-friendly CSS in the code. This will be worked on but will require a significant amount of time to develop before it is completed.
If anyone wishes to help by submitting working mobile-friendly code, please submit a PR.

This issue was about half fixed as of 148ce12 and #6. This commit / issue has made it so that now you are able to login from a mobile device, and use the service just fine with your mobile device tilted. However, I will not be closing this issue as the elements still do not scale and look good on mobile devices. With this though, half of this issue and my original comments have been satisfied.

Fix implemented as of release v4.2.0-alpha (unreleased build).


Configure Business Rules, Workflow and Process Visibility

Tutorials: https://developers.sap.com/tutorials/cp-starter-ibpm-employeeonboarding-2-configure.html
Hi ,
In step 4 - Deploy business rules , I am getting the syntax error in rule when trying to deploy. I imported the rule from API hub, so was not expecting the error. Can you please help to resolve this?

Regards
Vijay

Hello Vijay,
The issue is fixed, you can import the rules again and deploy


Issue In BasicSetup application class

In ApplicationClasses folder
If we created BasicSetup.cs model with  ConnectionStringParameter class object than every time we have to give user credential otherwise it will throw exception because in BasicSetup.cs class we mentioned user credential field required so it will create problem.

Which exception it is throwing and when?

When I provide connection string from postman in ModelState it is Invalid and give {Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary.KeyEnumerable} false.

So does it throw exception ?

No it show only false connection string.

So why you wrote in your issue that it throws the exception? Please be specific with what you ask with proper words.
That is the reason I asked you to send string parameter containing connection string and not the whole model.

okk.So I have to give individual parameter for connection string.


Collab support discontinued?

Hello, the google collab opens the audiocraft+ 2.0.0a gradio, but upon running it, throws an error. Observing that the README doesn't mention any collab version anymore, does the 2 version dropped support?

By running a lot of collabs in camenduru's page, as well as the version of colab in audiocraft_plus Musicgen.md, they all fail with the same error [1]. So i guess the right place to file the issue, is camenduru's github project.
If i may ask, Musicgen's page in audiocraft_plus, it doesn't redirect to audiocraft_plus 2.0.0a version, but rather to a very primitive version of the colab. That's what i meant in the original question, won't future versions of audiocraft_plus support the colab?
[1] ImportError: /usr/local/lib/python3.10/dist-packages/lameenc.cpython-310-x86_64-linux-gnu.so: undefined symbol: __pow_finite

not sure i understood your question but if you are looking for a colab here it is: https://colab.research.google.com/github/camenduru/MusicGen-colab/blob/main/MusicGen_ClownOfMadness_plus_colab.ipynb
should be working fine

Thanks @GrandaddyShmax it works fine. Much appreciated.
Other versions of the colab did throw some errors, all the same error btw. The colab version i was running was the one audiocraft_plus had in it's README, in which the colab link is not there anymore. I thought maybe it was deprecated or something.
Anyway, issue resolved. Cheers!


Automate migration of IP address to new cluster after new cluster provisioned to replace old one.

As a developer I want to replace an existing cluster in a deployment.  This issue should document how to go about the replacement of a cluster.  Example terraform scripts should be provided as well.

Todo: Check an error case where AKS had an IP assigned to a pod, if the pod is dropped it is unable to get the IP back once it came back.  Likely AKS bug, but needs to be investigated.


MDM Endpoint for Reporting Period

Create MDM endpoint for Reporting Period
Only return data up to the Current Year and the Current Quarter

Test Case:3725 MDM Endpoint for Reporting Period


can use jsonrpc

What happened
when i request block and tx , java hass error
       GetBlockWithTransactionsResponse response = provider.getBlockWithTxs(BlockTag.LATEST).send();
Stack trace
kotlinx.serialization.json.internal.JsonDecodingException: Polymorphic serializer was not found for class discriminator 'INVOKE'
JSON input: .....615deade32c6579ebefe4636c5","type":"INVOKE","version":"0x1"}
Steps to reproduce
    GetBlockWithTransactionsResponse response = provider.getBlockWithTxs(BlockTag.LATEST).send();

SDK Version
11
Language
Java
Language
n/a
Language version
11
What operating system are you using?
Windows, Mac
Is there an existing issue for this?

[ ] I have searched the existing issues and verified no issue exits for this problem.

Hi, thanks for opening an issue.
Can you clarify what sdk version are you using? there is no version 11 (latest version is 0.6.1).
Apart from that, can you provide us with more information? Sadly these steps to reproduce you've provided are not sufficient enough, and this stack trace does not tell us much. Please, show us more of your code and stack trace so it is easier for us to spot/debug the problem.
If you are using an RPC provider, please share its version as well. Thanks.

i use version 0.6.1
jdk11
this is my code
`      String url = "https://starknet-goerli.infura.io/v3/fe287803f01d4f309a97cb6e07109039";
OkHttpClient.Builder builder = new OkHttpClient().newBuilder();
HttpService httpService =new OkHttpService(builder.build());
JsonRpcProvider jsonRpcProvider = new JsonRpcProvider(url, StarknetChainId.TESTNET, httpService);
Integer send = jsonRpcProvider.getBlockNumber().send();
System.err.println(send);
    GetBlockWithTransactionsResponse send1 = jsonRpcProvider.getBlockWithTxs(BlockTag.LATEST).send();
    System.err.println(send1);`

I think I found the problem, we'll merge the PR soon (#269)


Complete MG eDSL

The MG Drasil code in the SteveImpl branch is working for modules and methods.  We should now add the other sections of a typical module guide.

MG completed and branch merged in commit c93592b9f3ab777ec7d1951bd84c4af1841d7e6a


Update Damage Cause Meta

Hi there. I was testing around ingame, and noticed narrating the damage cause when you glide into a block returns fly_into_wall. The damage cause list at http://one.denizenscript.com/denizen/lngs/damage cause is missing this one, so it should be easy to update ^^ Thanks in advance.

Why do we even maintain lists of things we don't have to
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html

Done (per @Morphan1 's suggestion)


Statistics page (Admin Portal)

Make the initial layout for the Statistics page.

CLosed because feature was scrapped


Tolerate occasional StatusCode.Internal on timeout

Gets rids of the flakiness caused by #2685.

This will be merged as part #2756.


feat!: Args support for ChatInputInteractions

Closes #494
Commit body
BREAKING CHANGE: renamed Args to MessageArgs
// TODO

Closing this because it's abandoned and it gives the impression to other people that it's already in progress when it's not


Fixing Some Spelling and Grammar

Resolved a few spelling/grammar issues

@AJ-Zafar, thank you!

Happy to help 😊


Only one permission request at a time.

How can I deal this：
java.lang.IllegalStateException: Only one permission request at a time. Currently handling permission: [android.permission.WRITE_EXTERNAL_STORAGE]
11-20 00:15:17.036 27963-27963/? E/CustomActivityOnCrash:     at com.karumi.dexter.DexterInstance.checkPermission(DexterInstance.java:51)
11-20 00:15:17.036 27963-27963/? E/CustomActivityOnCrash:     at com.karumi.dexter.Dexter.checkPermission(Dexter.java:52)

Hi @liqian685.
This is a limitation we forced to avoid weird interactions with Dexter. Right now users can only request one permission at a time, this means you have to completely resolve one permission(i.e. wait to receive a onPermissionGranted or onPermissionDenied call) before requesting another. We are implementing the possibility to ask for multiple permissions with a single Dexter call but it hasn't been released yet.
If this is not your problem, it might be that you are not using the PermissionToken in your PermissionListener::onPermissionRationaleShouldBeShown implementation. Remember that you must use the token to continue/cancel the request process or Dexter will get stuck and won't let you ask for new permissions.
I hope it helps!

It work when i use the token. thanks

You are welcome, if the problem reoccur we might need to rethink that part


Can't escape after creating a normalization in a NER task.

Description
The annotator reported that he cannot escape after creating a normalization, the label keeps been selected and if you change the class (to annotate another type of entity), it will change the class of the previous item. You can click outside the "Regions box" or press ESC and it will continue with the entity selected. Also, if you select another text, it will create another annotation of the same class.
Which in this case, is an undesired behavior.
To Reproduce
Steps to reproduce the behavior:

Create a task to be annotated.
Select a class and the text.
In the regions box, select the entity
Click in the plus icon, and create a normalization
Try to escape to annotate another class of entity

Expected behavior
I expect to click outside the box, stop selecting the entity, the same behavior when pressing ESC.
Environment:

Linux and Windows
Browsers tested: Chrome and Firefox

@hlomzik

@

Hi, @bkemmer! Sorry for such a long response and this inconvenience.
 I think you have enabled "Keep label selected after creating a region" in Settings, so after creating one region the app just wait for you to create another one. You can click on the label to unselect it or click on Unselect button in the Regions list (hotkey u).
You are right, Esc should do the same — bring the app back to default unselected state. I think we'll do this soon.
@deppp your thoughts about making this more obvious/usable?

Thank you for the reply!
I just tested and the hotkey "u" worked fine. However, I asked an annotator to do this task and she couldn't escape neither do I. So, it wasn't obvious for us.
Maybe with a message saying to "press  to unselect" or at least for me "ESC" is an universal escape key.
Btw awesome software, I took the time to write the issue to help it become even better.

I just checked and the "Keep label selected after creating a region" is not enabled.
The issue arises after selecting the label then I can't unselect if I don't press "u". My intuition tried to click outside to unselect.

Thank you for your time! The unselect is not that obvious and we have to do something with this, you are right.
I'll add Esc hotkey for this. Also there is hotkey tab in the "settings", but "Unselect [u]" not mentioned there, I'll fix it also.
And maybe we should add some text about it or maybe highlight "Unselect" button in the Regions panel (did you notice it?).
But I afraid that we can not unselect label on any click somewhere, because inside the text we need it, and outside the text there are lot of controls. Also the labelling is the main activity, so it's better to hold on it, but also it should be obvious how to escape from it.

@hlomzik In your first reply you said "I think you have enabled "Keep label selected after creating a region" in Settings".
I looked in the settings (as you can see from my last print screen) and the box wasn't selected.


Tern with kaniko

Hello Tern Team,
I'd like to know whether it is possible to use Tern with kaniko instead of the usual docker daemon. Kaniko allows to build docker images completely in userspace. Our CI pipeline uses kaniko as it runs in kubernetes and providing containers access to the docker daemon is risky, if the workload (the CI job) is not known in advance.
Thank you very much,
Sascha

@ravenpride Thanks for your question! Tern only requires the docker daemon to run for pull, save, images and build APIs. If Kaniko has equivalent Python APIs (or commands to shell out to), then it's possible to extend Tern to use Kaniko.
Some work is needed to get it to that stage though. Can you help with identifying a Python API for Kaniko or Kaniko equivalent for the above Docker commands?

@nishakm Thank you for your quick response. I'm afraid that kaniko does not work that way. Kaniko builds an image using a specific Dockerfile and pushes the resulting image straight to the specified registry. As far as I can see, there is no API except the one call to trigger the entire workflow :-/
If someone knows it better, please let me know - that would be a really great feature!

I'm having a similar use case and I tried to get around this by taking kaniko's resulting image tar archive and shoving that into Tern with --raw-input.
Unfortunately though, this doesn't yet work, as tern/analyze/default/container/run.py:40 seems to always expect a format docker save is exporting. This doesn't seem to be compatible with kanikos output though.
The result when tried is, every layer in the image.tar is another .tar.gz archive. On layer hashing, temp/contents is always deleted and used for every layer in the sequence (tern/utils/rootfs.py:147). This finally leads to the OS check in tern.analyze.default.container.single_layer.get_os_style to check for an os-release file in the contents folder, which now only has the contents of the last layer analyzed in. And not the first layer where the release file is most likely to be found.
I quickly tried it out with fixed "oci" as format but that even crashes along the line. It might be beneficial to improve this handling of raw images (i.e. if not already dirs after main tar archive extraction, create a deeper folder structure by layer number when analyzing, just like with oci) so that Kaniko can also be supported, even if only via workarounds for now. At least it would help me a bunch :)


Update syntax for React 15.5.0 and greater

On React v15.5.0 they added a deprecation warning on importing PropTypes from react module.
We need to install and import from prop-types module instead

It seems good if everybody switched to the new version today. I still have projects with the older versions. So I think perhaps we should make separate snippets for each version? Good job, but it seems people have forgotten this repository. Nobody comments or merges any PRs.


Check local stopping condition inside metaepoch loop

This issue doesn't make sense. Right now we don't support LSC methods that can be checked within the metaepoch loop, as all LSC methods depend on history that is updated only after the loop.


Unable to add course with ValidationError: syllabus: Path syllabus is required

I couldn't find any syllabus selection but it shows this error message.

@zzzykf I think recent updates fixed this. Can you pull latest commits and try again. Thanx :)