fix: Create new rooms with notification: always

Details
When creating new rooms, optimistically set the notification preference to Always.
Fixed Issues
$ https://github.com/Expensify/App/issues/33150
PROPOSAL: https://github.com/Expensify/App/issues/33150#issuecomment-1857707511
Tests
Same as QA
Offline tests
Same as QA
QA Steps

Go offline
Tap fab -> Start chat -> Room
Create a room
Tap on the room header -> Settings

[ ] Verify that the "notify me" is set to immediately

Go back online
Tap on room chat
Tap on room header -> Settings

[ ] Verify that the "notify me" is still set to immediately

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
https://github.com/Expensify/App/assets/12595293/81ba6357-50df-40fc-9d77-888644819eda

Android: mWeb Chrome
https://github.com/Expensify/App/assets/12595293/579b7c90-8182-4dd6-88b9-c00ce7845b77

iOS: Native
https://github.com/Expensify/App/assets/12595293/20af65a8-a9f8-4e3c-8508-705755699f9b

iOS: mWeb Safari
https://github.com/Expensify/App/assets/12595293/2077210d-b5a0-4a2f-8c93-469fdcf14aba

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/12595293/9239e755-3312-4441-ac66-81fddf6392fa

MacOS: Desktop
https://github.com/Expensify/App/assets/12595293/a93f2b05-a2da-42aa-999b-5e6577acd203

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native
https://github.com/Expensify/App/assets/108292595/5762731b-5f4c-4ca4-8733-677133d949e2

iOS: mWeb Safari
https://github.com/Expensify/App/assets/108292595/d8d2bdf3-72b4-42c3-8dcd-5f75ed34f207

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/108292595/4c7e8c05-c093-4b67-8e02-a6cf33e9f957

MacOS: Desktop
https://github.com/Expensify/App/assets/108292595/5ee2fa1d-9243-42b2-9c2e-f1d7507035d5

🚀 Deployed to staging by https://github.com/youssef-lr in version: 1.4.22-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
cancelled 🔪

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/youssef-lr in version: 1.4.22-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.22-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


perf/refactor!: simplify SyncTask and AsyncTask into 1 interface

Internally use code specialization for improved performance
Clean up inspect utility module
Remove unnecessary work during execution planning
Fix a bug in caching of context-manager like dependencies

Codecov Report

Merging #55 (0fa206e) into main (d882bcd) will decrease coverage by 0.84%.
The diff coverage is 96.83%.

@@            Coverage Diff             @@
##             main      #55      +/-   ##
==========================================
- Coverage   97.13%   96.28%   -0.85%
==========================================
  Files          56       56
  Lines        2023     2099      +76
  Branches      358      241     -117
==========================================
+ Hits         1965     2021      +56
- Misses         43       52       +9
- Partials       15       26      +11

Impacted Files
Coverage Δ

di/executors.py
76.92% <77.77%> (-0.50%)
:arrow_down:

di/_utils/task.py
98.78% <98.51%> (+4.96%)
:arrow_up:

di/_utils/execution_planning.py
100.00% <100.00%> (ø)

di/_utils/inspect.py
94.59% <100.00%> (-5.41%)
:arrow_down:

di/api/executor.py
86.66% <100.00%> (-13.34%)
:arrow_down:

di/container.py
94.32% <100.00%> (-1.06%)
:arrow_down:

tests/test_execute.py
97.29% <100.00%> (-1.20%)
:arrow_down:

tests/test_executors.py
100.00% <100.00%> (ø)

tests/test_task.py
100.00% <100.00%> (ø)

di/typing.py
85.71% <0.00%> (-14.29%)
:arrow_down:

... and 14 more


dogfood building actions

as per 1eed3c we're now back to the original CI/CD feature set, all running on separate actions.


[SUPPORT] sparkSql create table sync metastore Failed

Tips before filing an issue

Have you gone through our FAQs?

Join the mailing list to engage in conversations and get faster support at<EMAIL_ADDRESS>

If you have triaged this as a bug, then file an issue directly.

Describe the problem you faced
A clear and concise description of the problem.
To Reproduce
Steps to reproduce the behavior:

SparkSql Client: xxx/spark-3.1.2-bin-hadoop3.2/bin/spark-sql --jars XX/hudi-spark-bundle_2.11-0.10.0.jar  --conf 'spark.serializer=org.apache.spark.serializer.KryoSerializer' --conf 'spark.sql.extensions=org.apache.spark.sql.hudi.HoodieSparkSessionExtension'
create table hudi_mor_tbl (
id int,
name string,
price double,
ts bigint
) using hudi
tblproperties (
type = 'mor',
primaryKey = 'id',
preCombineField = 'ts'
);
WARN  [main] config.DFSPropertiesConfiguration (DFSPropertiesConfiguration.java:getConfPathFromEnv(216)) - Cannot find HUDI_CONF_DIR, please set it as the dir of hudi-defaults.conf
2023-08-30 16:12:37,279 WARN  [main] config.DFSPropertiesConfiguration (DFSPropertiesConfiguration.java:addPropsFromFile(150)) - Properties file file:/etc/hudi/conf/hudi-defaults.conf not found. Ignoring to load props file
2023-08-30 16:12:40,660 WARN  [main] command.CreateHoodieTableCommand (Logging.scala:logWarning(69)) - Failed to create catalog table in metastore: org.apache.hudi.hadoop.realtime.HoodieParquetRealtimeInputFormat

Expected behavior
hive can find table which create
A clear and concise description of what you expected to happen.
Environment Description

Hudi version :  0.10.0

Spark version : 3.1.2

Hive version : 2.1.1

Hadoop version : chd-6.3

Storage (HDFS/S3/GCS..) : hdfs

Running on Docker? (yes/no) : no

Additional context
Add any other context about the problem here.
Stacktrace
Add the stacktrace of the error.
related:  https://github.com/apache/hudi/issues/6128
had add jar to hive but no work

https://github.com/apache/hudi/issues/1646

solved


broken 404 link in guide/template-syntax

In https://angular.io/docs/ts/latest/guide/template-syntax.html#!#one-way-in- links to viewChild and contentChild are broken

viewChild works, contentChild is broken indeed but is reported elsewhere already so I am closing this one.
Thank you :)


Light stemcell pipeline publishes to bosh.io

Pulls heavy stemcells from bosh.io
Add task to verify stemcell boots before publishing
Uses terraform to setup and teardown environment
Removes CentOS jobs as we don't yet have heavy CentOS stemcells
for GCE
Trigger light stemcell pipeline on every stemcell version so versions
don't get skipped
Ensure light stemcell and checksum are published as late as possible

Checksums are immutable on bosh.io, so we need to run that stage last

#130561911
Signed-off-by: Lyle Franklin<EMAIL_ADDRESS>

@evandbrown we ended up adding a task in this pipeline to check that the stemcell boots prior to publishing. This is just a temporary measure until we get bosh.io updated to block stemcell publication until a successful run of the certification pipelines.


New event for January

This event will introduce attendees to the basics of blockchain and decentralized storage as provided on IPFS. It will be your opportunity ask questions and gain answers on the foundations of the Web3 Evolution. This event will be presented in both German and English. We will also have mini workshops that show you how to use Web3 to apply for roles on JobCrypt so if you're early you might get some free crypto. If not fear not we have more swag to give away through the course of the evening, so do join us.

Thanks for this @cryptotwilight - this PR has been merged.


Update machine-learning-r-csharp-lexicon-based-sentiment-analysis.md

Document refresh

Hi @jaymathe, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (jaymathe). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@jaymathe
Please resolve the merge conflict. Thanks.

I checked this article and the date was updated to 02/28/2016, so it looks this PR is not needed. Closing unmerged. Thanks.


PTP Dual nic support implementation.

PTP Dual nic support implmentation.
This PR adds support to handle dual nic support for boundary clock.
One of the nic will be running PTP without phc2sys.
The event framework handles various events based on logs from both nic ptp4l
and single phc2sys.

/test e2e-aws

/lgtm


Soil water update

This looks great. I have read thru all the commit messages and tried to look at the most important looking diffs. Glad to have this all cleaned up and ready to merge!


Small sidebar or navigation (nav-sm) as default.

I need to make the sidebar small (body class nav-sm) for default. I tried some of the tricks, but didn't worked out. Can you tell me anything on it ?

Does anyone have a solution for this? I'm looking to do the same thing as well. Thanks for any input

@fdcchief is right but I think it will still show expanded sidebar footer. This is fix on this pr https://github.com/puikinsh/gentelella/pull/93

How can i set  for mobile and  for laptop pls help me... thanks

How can i set class="nav-md" for mobile and class="nav-sm" for laptop pls help me... thanks


Merging type definitions with rpm-rs

The current state of rpmspec-rs is "good enough" as in it can be used in production to read preambles. With that in mind, we probably might want to start merging code between rpmspec-rs and rpm-rs.
Personally I think it makes more sense for rpmspec-rs to use the types defined in rpm-rs as obviously they have a larger userbase and less cargo dependencies. In that case, the following entries need to be merged:

[ ] %changelog

[ ] ChangelogEntry (requires parsing implementation, current one is broken and unused)
[ ] Timestamp

[ ] %files

[ ] FileEntry
[ ] FileOptions
[ ] FileVerifyFlags
[ ] FileMode
[ ] PackageFileEntry

[ ] Package
[ ] Nevra
[ ] Evr
[ ] Scriptlet
[ ] Dependency

[ ] DependencyFlags

The File* APIs probably need some adjustment, since as it stands they are barely usable IMO.  But hooking it up to specfile parsing is probably a great way to sort out the issues and figure out what needs to be done about them.


fix: support older node and browser versions

The current compile target for babel is the current node release, which is too modern. This PR changes the compile targets to target some older browsers and older node versions.
Hopefully this will fix #219 and fix #220

:tada: This PR is included in version 3.0.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


update CHANGELOG for new standard

This is a pretty minor change. Does anyone care to approve or comment? Thank you.


make LocalFSStorage clean checkpoints before store

The current implementation of LocalFSStorage would cause unlimited checkpoints to be saved on local disk and thus out of disk space problem.
This PR fixes the problem by adding a limit of the number of checkpoints saved on local disk and clean unnecessary checkpoints every time before trying to store a new checkpoint. The most recent N checkpoints will be saved and any older checkpoints will be deleted.
Tested on local mac and worked as expected.

@nlu90 - Do you do background cleaning of snapshots or on demand basis? It might be easier to do a background cleaning.

@kramasamy

On demand basis cleaning is not working in localfsstorage because the checkpoints are stored locally and they can't receive the delete requests from tmaser by design.

What do you mean by "backgroud cleaning"? Spawn another thread and keeps monitoring # of checkpoints? This sounds too overkill.

@kramasamy This change only needed by local filesystem storage. For other storage systems, no change is needed and the original design works fine.

Ok got it.


wrong function name? changed it to compile

I can compile with this code as it is (with notify_one()). But it seems both of them work.
See Qt's code, quote from qwaitcondition.h:
    void wakeOne();
    void wakeAll();

    void notify_one() { wakeOne(); }
    void notify_all() { wakeAll(); }


Investigate Tools For Ttutorials

It has been a while since we looked at how we write our tutorials. Right now it can be hard to keep code up-to-date in our tutorials as we make changes in the library and it can be easy to let mistakes into the code in the tutorials.
Right now we are using JSDoc, but are there any other tools we can use to help us write tutorials?
Some nice to haves would be:

"Get Full Code" from any point in the tutorial.
Compile checks and tests for our tutorial code.
Warnings when we change code/apis references in the tutorials.

Automated end-to-end tests may be an idea. These are effectively mini-applications on their own and can serve as references for clients on how to use API's. One drawback is that automated tests are accompanied by test code boilerplate, but you could address this by extracting code to a separate module, which could be reused by both an automated test suite and a traditional reference application.


Compatibility of components of netopeer2

Hi
Currently when I build an image for docker I use latest. Is it possible that you know which versions of:

libyang
libnetconf2
sysrepo
Netopeer2

I can use together to be compatible?
br,
//mikael

Hi,
all master branches of these projects should always be compatible and all devel branches. We do not track specific version compatibility.
Regards,
Michal


Siri Shortcuts - Intents Extension and Intents Extension UI

Hi, I have problem with adding Instents Extension to support Siri shortcuts.
This is my project.yml file
name: TestIntents
targets:
  TestIntents:
    type: application
    platform: iOS
    deploymentTarget: 12.0
  IntentExtension:
    type: app-extension.intents-service
    platform: iOS
    deploymentTarget: 12.0
    sources:
      - path: IntentExtension/
    settings:
      base:
          INFOPLIST_FILE: IntentExtension/Info.plist

When I run it I see IntentExtension but without Info.plist

Hi @kmentrobin. Does an Info.plist file actually exist at the path? If you create the target through Xcode it will give you an Info.plist you can use. XcodeGen doesn't generate these by default (You can do this with target.info but it only has some basic settings to start with and you may need more the Xcode new target template can give you) https://github.com/yonaskolb/XcodeGen/blob/master/Docs/ProjectSpec.md#target

@yonaskolb I believe this might be happening to me as well. I've been able to use XcodeGen to create a today extension, but when I create another target with app-extension.intents-service, the info-plist fails to generate and the extension is not recognized as an intents extension. Here is what my target looks like, and i've embedded this into the container app as follows:
targets:
  ExtensionIntents:
    type: app-extension.intents-service
    deploymentTarget: 11.0
    platform: iOS
    templates:
      - ExtensionIntentsTemplate
    settings:
      base:
        PRODUCT_BUNDLE_IDENTIFIER: co.project.Intents
        INFOPLIST_FILE: Info/Extensions/ExtensionIntentsInfo.plist
    sources:
      - path: Intents

And yes, an info.plist does exist at that path. When I create the intents target manually through xcode, everything looks good, but for my use case this extension needs to be regenerated every time.

Hello @chc24, do you have an example to use XcodeGen to create a today extension ? Thanks

Xcode does not recognize app-extension.intents-service. Use app-extension instead.
Details: https://github.com/OneBusAway/OBAKit/pull/252#issuecomment-660808063

Should we update this page https://github.com/yonaskolb/XcodeGen/blob/master/Docs/ProjectSpec.md#product-type ? to prevent usage of app-extension.intents-service ?

@ualch9 what's the first version of Xcode which does not recognize app-extension.intents-service? Should we update the doc of Xcodegen?

@imWildCat

what's the first version of Xcode which does not recognize app-extension.intents-service?

Considering I worked on this two years ago, two majors ago, I would say probably Xcode 11. Sorry, I don't remember much from this work.

Should we update the doc of Xcodegen?

I do not know if this has been fixed by Apple, but if my comment is still true today (in Xcode 13), seeing how intents-service is a subdomain of app-extension, I would say that the docs should include a note that although all other extensions have a subdomain (i.e. messages or messages-sticker-pack), intents doesn't have one.


Build is failing WACK submission due to potential HoloToolkit .DLL's

Overview
Hey guys my app is packaged for submission but I am failing the WACK process due to a few rogue libraries and I'm unsure how to handle this .
Expected Behavior
I submit my app and it passes the Supported API sub-section of the WACK tests
Actual Behavior
The app fails on on the supported API sub-section of the the WACK tests
Steps to reproduce
Build UWP app in unity, open exported project in  Visual Studio  , export master build and then upload to WACK process , Build returns to fail .
The following errors are displayed in the build :
Supported APIs:
Error Found: The supported APIs test detected the following errors:
API ExecuteAssembly in uwphost.dll is not supported for this application type. Relay Cars.exe calls this API.
API DllGetActivationFactory in uwphost.dll is not supported for this application type. Relay Cars.exe has an export that forwards to this API.
API CreateFastTexture2DFromAssetPath in __internal.dll is not supported for this application type. Assembly-CSharp.dll calls this API.
API DeleteFastTexture2DAtTextureID in __internal.dll is not supported for this application type. Assembly-CSharp.dll calls this API.
API RegisterFastTexture2DCallbacks in __internal.dll is not supported for this application type. Assembly-CSharp.dll calls this API.

Unity Editor Version
2017.2.1p2
Mixed Reality Toolkit Release Version
2017.2.1p2

My apologies, thank you !


miq_tabs_init javascript function doesn't activate single tabs

I think when the function was changed from miq_jquery_tabs_init to miq_patternfly_tabs_init (now just miq_tabs_init), the functionality for when only a single tab is supposed to be displayed got messed up.
Now, if only a single tab is present (easiest to verify in a service dialog, but this happens for catalog items as well), nothing is displayed. See screen shot:

I found a quick fix in the javascript on the first line of the miq_tabs_init function:
if ($(id + ' > ul.nav-tabs > li:not(.hidden)').length > 1) {
to
if ($(id + ' > ul.nav-tabs > li:not(.hidden)').length >= 1) {
However, I don't know if it is the same behavior as what we want. Previously, the tab header would not show if there was only one tab, and this makes it show like so:

https://github.com/ManageIQ/manageiq/pull/3440

@eclarizio

@eclarizio this was fixed by #3440, can you please close the issue?


Update mdatp-macos to version 101.47.27

@AirTudor - please review

I believe we can replace "Hot fix" with something like "Fix for a system freeze occurring on shutdown on macOS Mojave and macOS Catalina". Otherwise we might confuse some customers with internal keywords such as "Hot fix" or "kext"


attributes created by intake-esm contain illegal characters

intake-esm creates global attributes based on the catalog. By default, they follow the format: intake_esm_attr/(x).
However, / is an illegal character when, in xarray, engine="netcdf4". We have no control over that character, and so this will need a fix in intake_esm itself. In the meantime, a fix is needed in xscen too.

See intake/intake-esm#490.

See intake/intake-esm#509
It will solve this and thus break xscen!


Initial detaching of a device doesn't trigger detach event.

Bug Description:
Starting the app with the device plugged in, then physically unplugging it doesn't trigger usb.on('detach', (device) => {. If I unplug, then plug, then unplug the device again, then my detach event finally fires. Also, if I start the app with the device unplugged, it works on the first detach.
It seems like a detach event can't happen before an attach event, or something. I noticed that a bunch of attach events are fired when detaching initially. But none have my device id, so I don't know what's going on. Please advise. Thank you.

Steps to Reproduce:

Plug in your device
Detach it (only attach events are fired)
Plug it back in (attach event is fired with that device id)
Detach it again, this time you will see that device id being detached.

Additional Information

Operating System: Windows 10 64 bit.
Runtime node v16.16.0
Node USB Version (npm ls usb): 2.5.0

does it happen in the version just before (v2.4.3)? we've just touched hotplug detection on windows (#524)

do both these things (the initial detach events, and the absence of a detach event for your device) happen in the version just before (v2.4.3)? we've just touched hotplug detection on windows (#524)

I will figure out how to downgrade the package, test that, and report back. Eta 30 minutes.

So the behavior on v2.4.0 seems completely broken. It continuously fires attach and detach events every second or so, even though I'm not touching any USB devices. v2.5.0 did at least only respond to devices being plugged or unplugged, albeit not completely accurately.

I verified this with another device, same behavior. I am not familiar with this code to dig into the issue, but it seems like it could be caused by not having an accurate initial representation of what's plugged in and what's not.

So the behavior on v2.4.0 seems completely broken. It continuously fires attach and detach events every second or so, even though I'm not touching any USB devices. v2.5.0 did at least only respond to devices being plugged or unplugged, albeit not completely accurately.

Ah, I tested with the version you specified v2.4.3 and it worked properly there. I will be using that version until this issue is figured out -- thanks.

OK, so this is only an issue on Windows and I think it's due to the list of initial devices not being set before the attach/detach listeners being attached.
I can see the problem, but am on holiday and don't have Windows access to test it. I can push a blind fix to a branch for others to try, though if we want to crowdsource a quick fix :)

Sorry for the delay, I've been working on something else, but I will get back to this ASAP.

Fixed in v2.5.1


$FZF_DEFAULT_COMMAND not being applied

Category

[ ] fzf binary
[ ] fzf-tmux script
[ ] Key bindings
[x] Completion
[ ] Vim
[x] Neovim
[ ] Etc.

OS

[ ] Linux
[x] Mac OS X
[ ] Windows
[ ] Windows Subsystem for Linux
[ ] Etc.

Shell

[ ] bash
[x] zsh
[ ] fish

I have tried implementing a custom $FZF_DEFAULT_COMMAND, primarily for use in neovim. However, the command doesn't seem to be working properly when I run fzf from the command line or :Files/:FZF from within neovim.
Running the chosen command by itself in the command line gives the correct output. Running it via fzf to get the initial file list does not.
$FZF_DEFAULT_COMMAND is being set in my .zshrc and I have checked this value is correct with  echo $FZF_DEFAULT_COMMAND
This occurs both within tmux and a normal terminal session.
My command is as follows: ag -l --hidden -g '^(?!.*node_modules\/|.*dist\/|.*build).*$'
What could be causing my default command to be missed by FZF?

Okay, my mistake:
export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -g ""'
not
FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -g ""'
in .zshrc


[CLI copr-build] allow project value from the config file

Resolves #686

we still need the warning and then this should be good to merge right?

we still need the warning and then this should be good to merge right?
I added that info to the command help string, should it be somewhere else?

Oh, I missed that.
I'd probably do something like:
projects = set([job.metadata.project for job in jobs])
if len(projects) > 1:
  logger.warning(f"You have defined multiple copr projects to build in, we are going to pick the first one: {projects[0]}, reorder the job definitions if this is not the one.")

WDYT?

Looks good :+1: , added

needs rebase, sorry!


Align with angular2 style guide

@qdouble This is one of the best angular2 seeds out there. Thank you. Any chance we can align this to follow the style guide. I am happy to raise a PR if you don't have time but OK with the idea.
Feel free to close it if you don't like the idea.

Sure, mostly in need to align to the naming conventions? I'm fine with aligning to it as long as we don't enforce the names in the lint.

@mmrath this should be handled with: https://github.com/qdouble/angular2webpack2-starter/commit/e7060ea5dce37b95f28e3b35c7ee65665f9960be
and: https://github.com/qdouble/angular2webpack2-starter/commit/92659b0ff684689e4605191b9254ac32cfdedc1b


Allow serializers to accept a model instance

Closes #435

Codecov Report

Merging #437 (34f39aa) into main (e0008e9) will increase coverage by 0.01%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #437      +/-   ##
==========================================
+ Coverage   95.50%   95.51%   +0.01%
==========================================
  Files          90       90
  Lines       10735    10781      +46
  Branches       10       11       +1
==========================================
+ Hits        10252    10298      +46
  Misses        482      482
  Partials        1        1

Impacted Files
Coverage Δ

pydantic_core/core_schema.py
99.34% <100.00%> (+0.01%)
:arrow_up:

src/serializers/extra.rs
95.76% <100.00%> (+0.50%)
:arrow_up:

src/serializers/type_serializers/function.rs
92.80% <100.00%> (+0.17%)
:arrow_up:

src/serializers/type_serializers/model.rs
89.47% <100.00%> (+1.71%)
:arrow_up:

Continue to review full report in Codecov by Sentry.

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

Closes #435

Ok this has been rebased and rewritten to match the feedback and implementation in #439. @dmontagu  @samuelcolvin please review when you can


NO NO NO NO!!!! NOOOO !!! STOPIT !!! SOPT !!! NOW NOW !! STOP !!!

 JR A BIG FAT PPOOOOPie

While I agree with the idea if your message, the way you say it does not help.

Katih oep y8u get hir by a truck

???

This repo is garbage.


Re-enable custom allocators

This PR un-reverts #2768 with extra guards to ensure that (e.g.) i686 builds work as expected.

Hi @charliermarsh, what was your reasoning behind re-enabling this PR after rolling it back? Did you only roll it back? Was the main reason for rolling it back that it didn't build correctly on i686?


Duplicate Payment Methods.. Instrumentation issue?

Description
Please provide a short description of the issue here, along with:
I could see the eligible_payment_methods with 7+ instruments

cntxt_cre_dt
rcvr_id
referer_url
cntxt_id
button_session_id
eligible_payment_methods

2018-10-28
1782959041886202281
http://www.bbhc.com
EC-1PX079304A090702X
5320e53843_ga2dumjshi2ta
paypal:visa:visa:mastercard:mastercard:amex:amex:discover:discover

2018-10-28
2146451640969114977
http://www.cliffespice.com
EC-0UX03984FB104410Y
5abe6e4b4f_ge4dumjvhi2dc
paypal:visa:visa:mastercard:mastercard:amex:amex:discover:discover:maestro:maestro

2018-10-28
1586360704268103151
https://catch.app
90V37359BJ8341249
e0ee5632f2_ga4tumbzhizdc
paypal:elv:visa:visa:mastercard:mastercard:amex:amex

2018-10-28
1234158428710355010
https://account.termius.com
EC-234851432T938843V
38a5849503_ge3dunjshiytm
paypal:visa:visa:mastercard:mastercard:amex:amex:cup:cup

2018-10-28
1758453507801028246
https://hindaspace.com
EC-3EW3165889382602K
f94c99f7b7_ge3dumrwhizdg
paypal:credit:visa:visa:mastercard:mastercard:amex:amex:discover:discover:maestro:maestro

2018-10-28
1831422859894782777
https://www.gamesdeal.com
EC-7M059836UL859504J
3439582e38_gaztumbthizdk
paypal:credit:visa:visa:mastercard:mastercard:amex:amex:discover:discover

Screenshots or videos that show the issue
Your code
The paypal.version from your browser console
The exact browser version
A link to your page with the issue, if possible
All console logs during the time of the issue, especially error messages
Does the issue also occur at developer.paypal.com/demo/checkout?
Does the issue occur consistently, or intermittently?

Steps to reproduce
Please provide each individual step required to reproduce the issue
Affected browsers

[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge
[ ] IE
[ ] Chrome Mobile/Tablet
[ ] Safari Mobile/Tablet
[ ] Web View / Safari ViewController
[ ] Other

@ppartheeban Thanks for reporting this! This looks like a bug at our end. Basically, when we are picking the attribute elements off of HTML for tracking, we are getting duplicated from both  and .

PR which fixes this issue: https://github.com/paypal/paypal-checkout/pull/1011
Will be out in the next release.


Where can I find the documentation for this client ?

Hi there 👋
I haven't been able to find the documentation to use this client. Any help would be appreciated.
Something similar to this for example : https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/introduction.html
Second question: what is the difference between the client above and this other one in this repo ?

@gerazenobi I have the same doubts as you.
I'm using the test files and PHP version files to better understand how functions in JS work.
https://github.com/elastic/enterprise-search-js/blob/main/packages/enterprise-search/test/integration/app/documents.test.ts
https://github.com/elastic/enterprise-search-php/blob/master/src/AppSearch/Endpoints.php

@raulclaudino thanks :)
I'll start by that in the meantime !

Also wondering about this. The type definitions are incomplete so I have no idea for example how to add a filter to a search.

How can I generate a token?  I haven't found a way to generate the Bearer token and I can't authenticate with only the user and pass. I am using the trial version. If it won't work I'll have to find another solution:
Although I have it on my dev machine. I have the client ID, secret, user, pass, and hostname in AWS. I guess I must have a Bearer token as well but I can't find it on the production server.

I haven't been able to find the documentation to use this client. Any help would be appreciated.

Elastic recently promoted this client from beta to generally available. Documentation is now available on the Elastic website:
https://www.elastic.co/guide/en/enterprise-search-clients/enterprise-search-node/current/index.html
Sorry for the delay!

How can I generate a token?

You can create an API key within Kibana:

If you need a key for a ...
Go here in Kibana ...

App Search engine
Enterprise Search > App Search > Credentials

Workplace Search content source
Enterprise Search > Workplace Search > API keys

Elasticsearch index
Stack Management > API keys > Create

@chriscressman
Sorry to add no closed issue, I am quite sure my credentials look very similar to the example configuration:
This is meant to work on the node.js elastic enterprise search npm module:
(These credentials are not real, but similar to the example and my own)
const { Client } = require('@elastic/enterprise-search');

const client = new Client({
  url: 'https://my-deployment-124322.ent.eu-west-3.aws.elastic-cloud.com',
  auth: {
    token: 'private-6khjfgd2ft9s72vsj7kqtd3ygz'
  }
})

async function run() {
  const health = await client.enterprise.getHealth()
  if (health.errors) {
    console.log(health)
    return
  }
  console.log(health)
}

run().catch(console.error)

async function Search() {
  const searchResponse = await client.app.search(
    { engine_name: 'search-tretas',
        body: {query: 'emprego 2023'}})
    if (searchResponse.errors) {
      console.log(searchResponse)
      process.exit(1)
    }
  console.log(searchResponse)
}

Search().catch(console.error)

ResponseError: {"error":"unable_to_authenticate_user"}

@staminna Unfortunately, the two APIs you are using above manage access differently. You'd have to use two different instances of the client to access them.
It looks like you have the correct API key for the App Search API.
Access for the health API is documented here: https://www.elastic.co/guide/en/enterprise-search/current/monitoring-apis.html#monitoring-apis-auth (you can use the username/password for a deployment superuser)

It's not about the monitoring but I am quite sure I am using the right credentials.
I think I don't need two different instances of the client, so I removed the non-enterprise one.
I just need to access the information I installed to enterprise-search from elastic on my machine, on localhost. Do you think this may be a problem like a router port, cors, or firewall? I think this should just work as per the docs.
This is all that I am using but the issue remains the same:
`const { Client } = require('@elastic/enterprise-search');
const client = new Client({
url: 'https://my-deployment-124322.ent.eu-west-3.aws.elastic-cloud.com',
auth: {
token: 'private-6khjfgd2ft9s72vsj7kqtd3ygz'
}
})`
ResponseError: {"error":"unable_to_authenticate_user"}

@staminna I don't see any issues with the way you are initializing the client. I suggest asking about your issue more broadly here:
https://discuss.elastic.co/c/enterprise-search
Your issue is likely not related to the JavaScript client.


Dependency bump planned?

Hi, thanks for this package, this is tremendously helpful for our workflow!
Are you planning on bumping the NPM dependencies in the near future, though? Most dependencies are roughly a year old as of now and things like Axios and Puppeteer have released several major releases in the meantime.

Closing the issue due to the project being archived.


I tried it with the New Release, its still not working but showing an error.  [BUG]

Hey, I really apreciate that you tried to fix the bug so fast! But it still doesnt work...
I get this Error-Code:
Bot is ready!
(node:16692) UnhandledPromiseRejectionWarning: TypeError: this.getMods is not a function
    at Object.action [as Control Firebase Global Data] (C:\Users\Finn\Desktop\DX_Sheet\actions\control_firebase_global_data_MOD.js:49:27)
    at Object.Actions.invokeActions (C:\Users\Finn\Desktop\DX_Sheet\bot.js:498:18)
    at Object.Actions.preformActions (C:\Users\Finn\Desktop\DX_Sheet\bot.js:387:8)
    at Object.Bot.checkCommand (C:\Users\Finn\Desktop\DX_Sheet\bot.js:178:12)
    at Object.Bot.onMessage (C:\Users\Finn\Desktop\DX_Sheet\bot.js:161:13)
    at Client.emit (events.js:311:20)
    at MessageCreateAction.handle (C:\Users\Finn\Desktop\DX_Sheet\node_modules\discord.js\src\client\actions\MessageCreate.js:31:14)
    at Object.module.exports [as MESSAGE_CREATE] (C:\Users\Finn\Desktop\DX_Sheet\node_modules\discord.js\src\client\websocket\handlers\MESSAGE_CREATE.js:4:32)
    at WebSocketManager.handlePacket (C:\Users\Finn\Desktop\DX_Sheet\node_modules\discord.js\src\client\websocket\WebSocketManager.js:386:31)
    at WebSocketShard.onPacket (C:\Users\Finn\Desktop\DX_Sheet\node_modules\discord.js\src\client\websocket\WebSocketShard.js:436:22)
(node:16692) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:16692) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I hope you can get something usefull out of that.
Regards Finn

Your DBM Mods are not the latest.

Oh yeeessss :D Thanks alot mate! Its working now

👍


Provision per-cluster support components

Set up cert-manager explicitly, since it can not be set up as
a dependent chart of our 'support' chart.
'support' chart deploys prometheus, grafana and nginx-ingress
in a standard configuration.
Allow per-cluster overrides with config under support/clusters.
Automates auth to cluster for automated deployment
Puts config overrides in same place as cluster config, to
avoid duplication
Sets up HTTPS for the 2i2c pilot hubs grafana

Ref https://github.com/2i2c-org/pilot-hubs/issues/388
TODO

[x] Setup auth for grafana
[x] Deploy with CI / CD

Copying testing instructions from https://github.com/2i2c-org/pilot-hubs/pull/533#issuecomment-883290848:

Add the 'support' key in your cluster.yaml, and change grafana DNS there accordingly
Run python3 deployer deploy-support <cluster-name>
Once it's deployed, look at the external ip of k -n support get svc support-ingress-nginx-controller, and make a DNS entry for the grafana DNS you picked in (1)
The grafana username is admin, password is present in support/secrets.yaml (sops encrypted)
Once done, try to deploy github.com/jupyterhub/jupyterhub-grafana to the grafana so we have useful dashboards
Once this all works, let's document this

For future readers, this is not the complete PR as it is described in the first message.
The complement lives actually as part of another @yuvipanda's PR: https://github.com/2i2c-org/pilot-hubs/pull/429.
Btw, @sgibson91, I think you will find that historical context useful as well 😉 .


failure in uploadPipeline() doesn't result in a build step failure

I had an error in the generated pipeline, which resulted in
ERRO[2022-09-20T16:51:02Z] +++ failed to upload pipeline: command `buildkite-agent` failed: exit status 1

but the step wasn't marked as a failure

I had to enable debug output to see what was wrong

+1 we also faced same issue


Splash image support and new progress bar for HTML5 Web Export

Intro
With the increasing popularity of the Godot engine, more and more users are reaching for it, often trying their hand at creating small games during organized compo/jams. Due to the nature of such events, the preferred export type for their production is HTML5.
So far, it's the only export that hasn't supported the ability to display a splash image when the game loads, despite the fact that the image is included in the saved project. The user has the option to create a custom HTML template, but for small games basically no one does this, relying on the engine's default settings.
That being said, I would like to propose an upgrade to the default HTML Shell used by Export to Web.
Goals

Display splash image (Godot or user-selected) when loading game files in the browser. This required exposing a new constant $GODOT_SPLASH from /platform/web/export/export_plugin.cpp.

Minor HTML, CSS and JS optimization to better handle the game loading status overlay.

Unify the progress bar by using a <progress> element that supports both percentage progress and indeterminate mode display. Browser support

Demo
Loading example game:

Loading in landscape mode:

Loading in portrait mode:

Error dialog:

Changes in HTML
<!DOCTYPE html>

        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0">
        <title>$GODOT_PROJECT_NAME</title>

        $GODOT_HEAD_INCLUDE

        <canvas id="canvas">
            Your browser does not support the canvas tag.
        </canvas>

            Your browser does not support JavaScript.

            <progress id="status-progress"></progress>

A warning has been added when JavaScript in the browser is disabled.

The “status” div has been greatly simplified.

An  tag has been added to display the splash image.

HTML5 <progress> tag has been added in place of the custom created progress bar and spinning wheel.

Changes in CSS
html, body, #canvas {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    color: white;
    background-color: black;
    overflow: hidden;
    touch-action: none;
}

#canvas {
    display: block;
}

#canvas:focus {
    outline: none;
}

#status, #status-splash, #status-progress {
    position: absolute;
    left: 0;
    right: 0;
}

#status, #status-splash {
    top: 0;
    bottom: 0;
}

#status {
    background-color: #38363A;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
}

#status-splash {
    max-height: 100%;
    max-width: 100%;
    margin: auto;
}

#status-progress, #status-notice {
    display: none;
}

#status-progress {
    bottom: 10%;
    width: 50%;
    margin: 0 auto;
}

#status-notice {
    background-color: #5b3943;
    border-radius: 0.5rem;
    border: 1px solid #9b3943;
    color: #e0e0e0;
    font-family: 'Noto Sans', 'Droid Sans', Arial, sans-serif;
    line-height: 1.3;
    margin: 0 2rem;
    overflow: hidden;
    padding: 1rem;
    text-align: center;
    z-index: 1;
}

Common settings for elements are set together.

The #status overlay is made invisible at first by visibility: hidden, so it doesn't obscure a possible error message about Javascript not being supported.

Splash image is centered on viewport and responsive up to 100% horizontally and vertically.

The progress bar displays over the splash image at 10% of the viepower height from the bottom.

The background color of the error message has been changed to a more reddish.

Javascript
    const statusOverlay = document.getElementById('status');
    const statusProgress = document.getElementById('status-progress');
    const statusNotice = document.getElementById('status-notice');

    let initializing = true;
    let statusMode = '';

    function setStatusMode(mode) {
        if (statusMode === mode || !initializing) {
            return;
        }
        if (mode === 'hidden') {
            statusOverlay.remove();
            initializing = false;
            return;
        }
        statusOverlay.style.visibility = 'visible';
        statusProgress.style.display = mode === 'progress' ? 'block' : 'none';
        statusNotice.style.display = mode === 'notice' ? 'block' : 'none';
        statusMode = mode;
    }

    /* ... */

            'onProgress': function (current, total) {
                if (current > 0 && total > 0) {
                    statusProgress.value = current;
                    statusProgress.max = total;
                } else {
                    statusProgress.removeAttribute('value');
                    statusProgress.removeAttribute('max');
                }
            },

Added reference to #status and removed references to #statusProgressInner and #statusIndeterminate

Changed startup statusMode in case onProgress is never called before setStatusMode('hidden')

Removed manual animation of the spinning wheel.

Simplified setStatusMode removes the #status block completely when the status is changed to 'hidden' after loading the game.

Simplified onProgress using the capabilities of the HTML5 <progress> element (when value and max are removed, the browser automatically displays a bounce animation).

export_plugin.cpp
    replaces["$GODOT_URL"] = p_name + ".js";

    /* ... */

+   replaces["$GODOT_SPLASH"] = p_name + ".png";

    /* ... */

    Ref<Image> splash = _get_project_splash();
    const String splash_png_path = base_path + ".png";

The path to GODOT_SPLASH is created on the same basis as the path to the main Javascript file. The png extension is due to a piece of code that generates the image during export.

Thanks! And congrats for your first merged Godot contribution :tada:


Refactor pyDAPAccess transfer response checking

Factor out transfer response checking into a new method.
Add a description to the exception for unexpected ACK values.

This is a continuation and finishing up of recent work on transfer error checking for CMSIS-DAP.

/morph test


datetime-local does not work in v5 (vue)

It does not show the dialog anymore.
Not in my v4 code, nor in in the v5 demo.
https://framework7.io/vue/inputs.html
  <f7-list-input
    label="Date time"
    type="datetime-local"
    placeholder="Please choose..."
  >
    <f7-icon icon="demo-list-icon" slot="media"></f7-icon>
  </f7-list-input>

Your issue is closed because it is not filled correctly. Before you open an issue please review the contributing guideline.
Please fill the issue template correctly and:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with isssue

It will save a lot of time for other contributors to check your issue and fix it.

... your demo is not showing the selection dialog as in v4 anymore. Easy to reproduce: open the mentioned link to the docs.


Data Store 11.1 Upgrade - "The computer name was not specified and the configuration directory does not have any configuration files."

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

Module Version

4.2.0

Affected Resource(s)

ArcGIS_DataStore

Configuration Files

{
    "AllNodes": [
        {
            "NodeName": "prtgii01d.dev.ardentmc.com",
            "Role": [
                "Portal"
            ]
        },
        {
            "NodeName": "hstgii01d.dev.ardentmc.com",
            "Role": [
                "Server"
            ]
        },
		{
            "NodeName": "dstgii01d.dev.ardentmc.com",
            "DataStoreTypes": [
                "Relational"
            ],
            "Role": [
                "DataStore"
			]
        },
        {
            "NodeName": "webgii01d.dev.ardentmc.com",
            "Role": [
                "WebAdaptor"
            ],
            "WebAdaptorConfig": [
                {
                    "Role": "Portal"
                },
                {
                    "Role": "Server"
                }
            ]
        }
    ],
    "ConfigData": {
        "Version": "11.1",
        "OldVersion": "10.9.1",
        "ServerContext": "host",
        "PortalContext": "gii",
        "ServerRole": "GeneralPurposeServer",
        "Credentials": {
            "ServiceAccount": {
                "Password": "<REDACTED",
                "UserName": "DEV\\svc_esri",
                "IsDomainAccount": true,
                "IsMSAAccount": false
            }
        },
        "Server": {
            "LicenseFilePath": "\\\\agsgii01d\\gis\\software\\_licenses\\111\\ArcGISGISServerAdvanced_ArcGISServer_1395145.prvc",
            "Installer": {
                "Path": "\\\\agsgii01d\\gis\\software\\111\\ArcGIS_Server_Windows_111_185208.exe",
                "InstallDir": "E:\\Programs\\ArcGIS\\Server",
                "InstallDirPython": "E:\\Python27",
                "EnableArcMapRuntime": true,
                "EnableDotnetSupport": false
            },
            "ServerDirectoriesRootLocation": "E:\\arcgisserver\\directories",
            "ConfigStoreLocation": "E:\\arcgisserver\\config-store",
            "PrimarySiteAdmin": {
                "UserName": "arcgis",
                "Password": "<REDACTED>"
            }
        },
        "Portal": {
            "LicenseFilePath": "\\\\agsgii01d\\gis\\software\\_licenses\\111\\ArcGIS_Enterprise_Portal_111_438121_20231114.json",
            "PortalLicenseUserTypeId": "creatorUT",
            "Installer": {
                "Path": "\\\\agsgii01d\\gis\\software\\111\\Portal_for_ArcGIS_Windows_111_185219.exe",
                "WebStylesPath": "\\\\agsgii01d\\gis\\software\\111\\Portal_for_ArcGIS_Web_Styles_Windows_111_185220.exe",
                "InstallDir": "E:\\Programs\\ArcGIS\\Portal",
                "ContentDir": "E:\\arcgisportal"
            },
            "ContentDirectoryLocation": "E:\\arcgisportal\\content",
            "PortalAdministrator": {
                "UserName": "portaladmin",
                "Email"<EMAIL_ADDRESS>                "Password": "<REDACTED>",
                "SecurityQuestionIndex": 1,
                "SecurityAnswer": "vanilla"
            }
        },
        "DataStore": {
            "ContentDirectoryLocation": "E:\\arcgisdatastore",
            "EnableFailoverOnPrimaryStop": true,
            "Installer": {
                "Path": "\\\\agsgii01d\\gis\\software\\111\\ArcGIS_DataStore_Windows_111_185221.exe",
                "InstallDir": "E:\\Programs\\ArcGIS\\DataStore"
            }
        },
        "WebAdaptor": {
            "AdminAccessEnabled": true,
            "Installer": {
                "Path": "\\\\agsgii01d\\gis\\software\\111\\ArcGIS_Web_Adaptor_for_Microsoft_IIS_111_185222.exe"
            }
        }
    }
}

Expected Behavior
Upgrade Data Store to 11.1
Actual Behavior
Getting below error when running the command in Steps to Repro. It upgrades Portal, Server, and the web adaptors successfully, but fails when running through Data Store Pre-Install/Upgrade. It does not create the Logs folder with the Data Store machine name, failing before getting to this step. You can see clearly in the config file that the machine name is specified.
ArcGIS DataStore Upgrade
DataStore Upgrade to 11.1
Dot Sourcing the Configuration:- DataStoreUpgradePreInstall
Starting DSC Job:- DataStoreUpgradePreInstall
Start-DscConfiguration : The computer name was not specified and the configuration directory does not have any configuration files.
At C:\Program Files\WindowsPowerShell\Modules\ArcGIS\ArcGIS.psm1:256 char:16
...      $Job = Start-DscConfiguration -Path ".$($ConfigurationName)" -F ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo          : NotSpecified: (:) [Start-DscConfiguration], ArgumentException
FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.DesiredStateConfiguration.Commands.StartDscConfigurationCommand
Logs Directory: E:\Logs
Finished DSC Job:- DataStoreUpgradePreInstall. Time Taken - 00:00:00.0189513
DataStoreUpgradePreInstall -
Data Store Pre Upgrade Install Step failed.
At C:\Program Files\WindowsPowerShell\Modules\ArcGIS\ArcGIS.psm1:3056 char:13
throw "Data Store Pre Upgrade Install Step failed."
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo          : OperationStopped: (Data Store Pre ...ll Step failed.:String) [], RuntimeException
FullyQualifiedErrorId : Data Store Pre Upgrade Install Step failed.
Steps to Reproduce
Ran in PowerShell ISE (Admin):
Invoke-ArcGISConfiguration -ConfigurationParametersFile \agsgii01d\gis\powershell\gii\configs\420\dev\dev-portal-host-datastore.json -Mode Upgrade -DebugSwitch
Important Factoids

References

@cameronkroeker - that was exactly the issue, appreciate the speedy response!


Ashley Madison Reorder / Lizard Squad Pass

Ashley Madison passwords ordered by frequency of occurrence (with and without count)
As bonus I attached passwords from the lizard squad hack by anonymous.

This looks excellent. Can you resubmit as a separate file so there won't be any conflicts?

I already did submit this to you via email an you said I should do a pull request.
Now you want me to resubmit as a seperate file..

I mean as a separate file in the pull request. So it doesn't conflict with what's there. I'm getting merge warnings currently.

yes, this is because you did changes in the Ashley Madison file.
Seems like there are not all passwords in it, because the file i submitted has no duplicates too, but about 10.000 more entries.
However, if i commit it as a seperate file, we would have two ashley madison_without_count files


Path traversal in the session parameter CVE-2014-3702

Found in a past security audit, agreed with Tristan to make public and file issues here.
Please see https://bugzilla.redhat.com/show_bug.cgi?id=1153470
upload.py:
    # If the filename ends with a .log, we need to process it as a log file

[1]     if ('file' in form) and (form['file'].filename.endswith('.log.gz')):
logitem = form['file']
logfile = logitem.file
try:
# Let's save the file in LOGDIR directory
log_dir = os.path.normpath(config_get('SERVER', 'LOGDIR', cfg_dir)) + '/'
[2]             filename = os.path.join(log_dir, logitem.filename)
output_file = open(filename, 'w')
output_file.write(logfile.read(-1))
output_file.close()
except Exception, xcpt:
# If we fails at saving, let's exit
fatal_error("exception while saving log file: %s" % str(xcpt))
sys.exit(1)
# If the succeed at saving log file, let's also exit
# In fact we have nothing more to do once its saved.
log('Log file %s saved' % logitem.filename)
sys.exit(0)
1 - if the file is specified ending with .log.gz, at [2], we can write an arbitrary file
due to an unsanitized filename like ../../../../../../../var/log/whatever.log.gz if the
httpd is overly privileged, etc.
upload.py returns python code to be executed on the client:
sys.stdout.write('''

import commands
import os
import sys
import hpacucli
import ipmi
import time
...
upload-health.py
if form.getvalue('session'):
    dest_dir = cfg_dir + form.getvalue('session') + '/' + dirname
else:
    dest_dir = cfg_dir + '/' + dirname

try:
    if not os.path.isdir(dest_dir):
        os.makedirs(dest_dir)

session = a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z for fast fs directory making attack,
can return arbitrary shell commands to be ran:
'''Report a shell script with the error message and log
the message on stderr.'''
print('''#!/bin/sh

cat <<EOF
%s
EOF
exit 1
''' % error)

Fixed in 2ac192c5342316a7b82a86c7240a9ee29c83bd9d.

This is an incomplete fix. os.path.basename() won't properly sanitize UNC paths on Windows hosts. Also, the issue in upload.py hasn't been fixed at all.


NO-ISSUE: Fix mismatching spaces and tabs

Commit 2f259e8fcccdc7eaf21a2c17709cdd6bbaefdb6a introduced a change where spaces and tabs are mixed inside one single type definition. Because of that various code editors are reporting issues and display this struct in a badly formated way.
This PR modifies IBMCloudPlatformStatus definition to use consistent whitespacing.

/cc @cjschaef
Author of original commit


Keeps creating virtualenvs using the latest version

I'm on Ubuntu 15.10. And I installed version 2.7.10 and 3.5.0 from pyenv.
When trying to create virtualenvs, it tend not to create ones using either the system one or the version I specified in the command pyenv virtualenv 2.7.10 testenv1, it just keeps using the latest one (which is 3.5.0+ on my machine).
And it's also no avail trying to change the shell version. Here's the output:
➜  ~  python -V
Python 2.7.10
➜  ~  pyenv virtualenv t2
Requirement already satisfied (use --upgrade to upgrade): virtualenv in ./.local/lib/python2.7/site-packages
Using base prefix '/usr'
New python executable in /home/clive/.pyenv/versions/t2/bin/python3.5
Also creating executable in /home/clive/.pyenv/versions/t2/bin/python
Installing setuptools, pip, wheel...done.
Installing pip from https://bootstrap.pypa.io/get-pip.py...
Requirement already up-to-date: pip in /home/clive/.pyenv/versions/t2/lib/python3.5/site-packages

and here's how it says after activate the virtualenv:
➜  ~  pyenv activate t2
(t2)➜  ~  python -V
Python 3.5.0+

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27929727-keeps-creating-virtualenvs-using-the-latest-version?utm_campaign=plugin&utm_content=tracker%2F335155&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F335155&utm_medium=issues&utm_source=github).

After reinstall all system virtualenv virtualenvwrapper, it somehow works now..


updated files

Codecov Report
Base: 93.33% // Head: 100.00% // Increases project coverage by +6.66% :tada:

Coverage data is based on head (36a7379) compared to base (71eae6f).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##             main       #27      +/-   ##
===========================================
+ Coverage   93.33%   100.00%   +6.66%
===========================================
  Files           2         2
  Lines          45        45
===========================================
+ Hits           42        45       +3
+ Misses          3         0       -3

Impacted Files
Coverage Δ

src/gutenbergPasswordGenerator.py
100.00% <ø> (+7.14%)
:arrow_up:

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

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


optimal-quantifier-concatenation: False positive for /^(a*).*/u

Information:

ESLint version: 8.20.0
eslint-plugin-regexp version: 1.7.0

Description
I think this rule should report /^a*.*/u, but not /^(a*).*/u.
If I replace /^(a*).*/u with /^.*/u I will not be able to use capture group.
At least there can be an option to suppress such warnings.

Thanks for the report!
I'm not sure what the best solution is. We already detect whether capturing groups are involved, so it would be easy to add an option to suppress these kinds of warnings, but I'm not sure whether we should.
When I ran this rule on a large code base of regexes (PrismJS), I found several bugs related to capturing groups and only 2 false positives IIRC. In a lot of cases, this kind of pattern is a bug. E.g. the similar pattern /^(a*).+/u probably doesn't behave correctly.
Alternatively, we could add an exception for this kind of pattern. If a regex ends with (A{n,m})B* where A ⊂ B, then we probably don't have to report it. This pattern doesn't have the usual problems (quadratic backtracking, dead code, unclear intentions).
@ilyub Did this rule produce false positives for other regexes too? If so, could you please provide a few examples?

Thx for response.

Did this rule produce false positives for other regexes too?

So far, I have false positive in one place that can be simplified to something like this:
const firstWord = str.replace(/^(\w+).*/u, "$1");

I found several bugs related to capturing groups and only 2 false positives IIRC

Regexp plugin has "no-unused-capturing-group" rule. So, if bugs are related to unnecessary capturing groups then they should be first reported by "no-unused-capturing-group" and after removing unnecessary capture they can be reported "optimal-quantifier-concatenation". Can this be helpful?

So, if bugs are related to unnecessary capturing groups

They weren't. The capturing groups were necessary, but they probably didn't work correctly. E.g. the intention for /^(a*).+/u was most likely "capture all as at the start of a non-empty line," but that is not what this regex does (the edge case is that input string a). This type of error is somewhat common. As I said, I found several such bugs. (I'm sorry that I can't provide concrete examples for this. I made PRs for these bugs years ago, but I just can't find them right now.)
So the optimal-quantifier-concatenation rule reporting concatenations with capturing groups can be very helpful, because it finds this type of error.
However, this doesn't apply to your specific regex. /^(\w+).*/u is perfectly correct. That's why I'm so unsure about the best solution for this issue. This rule reporting concatenations with capturing groups is very useful, but I also don't want users to turn off the rule because it produces too many false positives.

You are right that ".+" is likely to be a mistake in /^(a*).+/u regular expression (edge case "a").
But it is also likely to be a mistake in /^(abc|xyz).+/u regular expression (edge case "abc").
The second regular expression is not reported.
So the problem you found is not directly related to inoptimal concatenation.
It is related to ".+" tail.
In fact you found this problem because false positive forced you to revisit and recheck old code.
Following this logic, you need to produce false positive for /^(abc|xyz).+/u as well (the more false positives the more places will be revisited).
IMHO:
I would not mix two different purposes in one rule.
I.e. I would leave "optimal-quantifier-concatenation" only for what it says (inoptimal concatenation) and would probably write separate rule to detect potential errors (like ".+" tail).
In any case, thx for the useful plugin.

I'm sorry for the delay.

So the problem you found is not directly related to inoptimal concatenation.

No, the problem is caused by concatenation. The reason /^(abc|xyz).+/u is okay is that (abc|xyz) "has no choice". It can't exchange characters with .+, because the capturing groups will always capture the first 3 characters (if the input string is accepted).
However, I do agree that finding these issues (= likely incorrect capturing groups) is not the purpose of this rule. I'll add an option to ignore warnings that cannot be fixed because of capturing groups.

Thx


Syslog logger ignores message priority

Not quite true, it seems to use the message priority internally for filtering, but seems to use the handler's priority in the message that goes to syslog rather than the message's priority.
A couple of lines from a strace output:
5797  sendto(22, "<134>cluster[5797]: [cluster/INF"..., 56, 0, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 110) = 56
5800  sendto(22, "<134>cluster[5797]: [cluster/WAR"..., 105, 0, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 110) = 1

<134> is local0.info which is correct for the first line but wrong for the second as that was sent with WARNING priority.
My handler is created with
sysLog <- openlog "cluster" [PID] LOCAL0 INFO

If I change this to
sysLog <- openlog "cluster" [PID] LOCAL0 DEBUG

(but change nothing else) then the messages are logged at DEBUG priority (<135>):
6055  sendto(22, "<135>cluster[6055]: [cluster/INF"..., 56, 0, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 110) = 56
6056  sendto(22, "<135>cluster[6055]: [cluster/WAR"..., 105, 0, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 110) = 1

First noticed in 1.2.8 but still seems to be an issue in HEAD (c9433f88beac13a51f2cdf2cf0c201f39aab1a78) despite that code now looking correct.

+1, major bug. Makes syslog pretty unusable.
Looking at the age of this ticket I assume this project is abandoned.


IGAPP-675: E2E test for language change

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword IGAPP.

Checkout the failing CI:
iOS: https://app-automate.browserstack.com/builds/1887d102b75a0fe4271d40062b8a547ad89907f0/sessions/5e1fb207413c6439d7a39600df815019ee139f99?auth_token=dab544580f87cb9eb5b7a94cdf2cc93a5d5e51cf93129aedc3f6abb549a5bc27
android: https://app-automate.browserstack.com/builds/1887d102b75a0fe4271d40062b8a547ad89907f0/sessions/162dc240dd03ea74903c78567005c5173d36dd65?auth_token=7aa5aa6de8ae52ee991597ace24bd7417b7b1af3fd19cc8e2834d7910a4ac8e8
On Android it's probably enough to increase the correct timeout here. On iOS you'll have to checkout why the header-back button is not clicked. :)

Could you please try whether this test would have failed before the fix in #487 ?

@Znippet did you try?


Some models not working with v2.0

modules.devices.NansException: A tensor with all NaNs was produced in Unet. Use --disable-nan-check commandline argument to disable this check.

not working https://huggingface.co/ckpt/anything-v4.0/resolve/main/anything-v4.5-pruned.ckpt

not working https://huggingface.co/ckpt/anything-v4.0/resolve/main/anything-v4.0-pruned.ckpt

models are ok wget cant get the all download 😐


Error: UNAUTHORIZED - Invalid token, audience

Describe the bug
For unknown reasons, your provider is querying the API as anonymous. In my case this happens for a resource of type artifactory_user. The terraform plan command ends with this error for a single resource of type artifactory_user:
╷
│ Error: Unable to Refresh Resource
│
│   with artifactory_user.admin,
│   on security_users.tf line 17, in resource "artifactory_user" "admin":
│   17: resource "artifactory_user" "admin" {
│
│ An unexpected error occurred while attempting to refresh resource state.
│ Please retry the operation or report this issue to the provider developers.
│
│ Error: UNAUTHORIZED - Invalid token, audience

In the artifactory access log, I see that the provider queried these resources as anonymous, which does not happen with other requests to the API.
2024-11-21T15:41:12.808Z|30f5f52ed57c5919:752c17aed0abe7e5:4f255bd16c78e94a:0|<IP_ADDRESS>|anonymous|GET|/access/api/v2/users/admin|401|97|-1|5|jfrog/terraform-provider-artifactory/12.5.0
[...]
2024-11-21T15:41:12.774Z|7103c53779f25e7e|<IP_ADDRESS>|admin|GET|/api/system/version|200|-1|1043|3|jfrog/terraform-provider-artifactory/12.5.0
2024-11-21T15:41:12.777Z|6296967fdb63d851|<IP_ADDRESS>|admin|POST|/api/system/usage|200|133|0|1|jfrog/terraform-provider-artifactory/12.5.0
[...]
2024-11-21T15:41:12.799Z|6fc73505ec37ebb4|<IP_ADDRESS>|admin|GET|/api/repositories/npm-snapshot-local|200|-1|1786|2|jfrog/terraform-provider-artifactory/12.5.0
2024-11-21T15:41:12.803Z|e8c8ad898f1377e3|<IP_ADDRESS>|admin|GET|/api/security/keypair/artifactory-rsa|200|-1|590|5|jfrog/terraform-provider-artifactory/12.5.0
[...]
2024-11-21T15:41:12.807Z|4439e0b99e3b275e|<IP_ADDRESS>|admin|GET|/api/repositories/helm-snapshot-local|200|-1|1792|4|jfrog/terraform-provider-artifactory/12.5.0
[...]

This is an example configuration:
terraform {
  backend "http" {}
  required_version = "~> 1.9.8"
  required_providers {
    artifactory = {
      source  = "jfrog/artifactory"
      version = "~> 12.5.0"
    }
    platform = {
      source  = "jfrog/platform"
      version = "~> 1.18.0"
    }
  }
}

provider "artifactory" {
  url          = var.artifactory_url
  access_token = var.artifactory_access_token
}

provider "platform" {
  url          = var.artifactory_url
  access_token = var.artifactory_access_token
}

resource "artifactory_user" "admin" {
  name              = "admin"
  email             = "example.com"
  admin             = true
  disable_ui_access = false
}

Above resources are a part of Terraform State previously managed in Artifactory 7.47.10 by Terraform 1.2.9 and Provider 6.20.2.
Expected behavior
Manage artfactory_user resources  properly :)
Additional context

Artifactory 7.98.8
Terraform 1.9.8 Linux AMD64 (same problem with 1.2.6)
Provider 12.5.0 (There is no this particular bug in the versions of: 6.20.2, 6.37.0, 7.11.2, 8.9.1, 9.9.2, 10.2.0, but occurs in version 10.3.3 and probably later versions)

I confused the project, because the report is about the artifactory provider, while I also had the same error message in the platform provider in version 1.18.0, when I migrated the artifactory_permission_target resource type to platform_permission. Decide for yourself whether to close this ticket.


feat(ui): add wallet connect auth tips

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Context

[x] Closes #5109
[ ] Requires deployment <>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </bsx/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Had issue bounty label?

[ ] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

pay 40 usd

😍 Perfect, I’ve sent the payout
💵 $40 @ 36.76 USD/KSM ~ 1.088 $KSM
🧗 EZiu1PjV2j2JHKxY6mHnFwwCRCoV27uHKQSkKXATSh1srJT
🔗 0x9c9de3acc7fb1bae5d4c35113fc6e3aae829dde97f7fc6a372f7e3942a0ce81a
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


feat: add integration workflow

Summary
This PR adds a new integration workflow, triggered by either push, pull request or workflow dispatch.
Test Plan
check Actions on github repository

nice! could you also check why lint failed? when I run make lint-go locally it passes with no error
my golangci-lint version
$ golangci-lint --version                                                                                [12:02:34]
golangci-lint has version 1.59.1 built with go1.22.4 from 1a55854 on 2024-06-08T22:05:49Z

I am able to reproduce the same err msg on my end. My lint version is
$ golangci-lint --version
golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z

ah ok. can u try to downgrade the version on CI?
the goal is we want to avoid modifying OP's code as much as possible

Downgraded to v1.59.1, looks good to me.


Admin commands for configuration

Specific commands for setting up channels for gamebanana, stream channel etc. and store it in the database instead of in .env

I'll handle this if nobody has started on it yet.


Recieving a solution Exception:Windows Error

Please find the files in dropbox here.
https://www.dropbox.com/sh/xxuvit3groqwlkb/AAAAPXCnHdcrYydMzTws6Biha?dl=0
Scroll to the bottom of the GH to see the hydra component.

@antonszilasi I need the full exception message. what is the output of readMe?

@antonszilasi ,
I was able to run your file and the hydra component in it on my machine without an issue.  As @mostaphaRoudsari says, we will need the full error message to understand what is going wrong.  It might be related to where the hydra github folder is on your machine.
-Chris


Nested sorting with foreign key on :related not possible?

Hi,
I try to sort a nested attribute with a has one (where the foreign key can be found on the related resource):
class UserResource < Api::V1::BaseResource
  has_one :profile, foreign_key_on: :related
  def self.sortable_fields(context)
    super + [:'profile.first_name']
  end
end

class ProfileResource < Api::V1::BaseResource
end

A call to users?include=profile&sort=profile.first_name results in this query:
... LEFT JOIN profiles AS profile_sorting ON profile_sorting.id = users.user_id ORDER BY profile_sorting.first_name asc LIMIT 10 OFFSET 0
My problem: The foreign key is on profile - so this would be correct:
... LEFT JOIN profiles AS profile_sorting ON profile_sorting.user_id = users.id ORDER BY profile_sorting.first_name asc LIMIT 10 OFFSET 0
I've already checked _build_joins:resource.rb#L669 where the join is generated and it seems to be hard coded. I would expect that :foreign_key_on on the relation set to :related would fix the problem. But its not considered while building the join. Is this by purpose? Is there another way to solve this problem or do I have to override the _build_joins method?
Greetings Florian
PS: Just as reference, this issue may relates to the functionality added here: #494

I "quickfixedit" now for me like this (temporarily). I guess that's not the best solution.. Would still love to have the "best way" answer?
class UserResource < Api::V1::BaseResource

has_one :profile

def self.sortable_fields(context)
  super + [:'profile.first_name']
end

def self._build_joins(associations)
  joins = []

  associations.inject do |prev, current|
    if current.class == ActiveRecord::Reflection::HasOneReflection
      joins << "LEFT JOIN #{current.table_name} AS #{current.name}_sorting ON #{current.name}_sorting.#{current.foreign_key} = #{prev.table_name}.id"
    else
      joins << "LEFT JOIN #{current.table_name} AS #{current.name}_sorting ON #{current.name}_sorting.id = #{prev.table_name}.#{current.foreign_key}"
    end
    current
  end
  joins.join("\n")
end

end

@fsauter I think i fix this in #1112


[BEAM-4800] send PutArtifactResponse in BeamFileSystemArtifactStagingService

Portable word-count is failing for me at the end of staging the first artifact.
I'm using the usual commands:
./gradlew -p sdks/python/container docker
./gradlew :beam-runners-flink_2.11-job-server:runShadow
./gradlew :beam-sdks-python:portableWordCount

The relevant output in the job-server terminal is:
[grpc-default-executor-4] INFO org.apache.beam.runners.fnexecution.artifact.BeamFileSystemArtifactStagingService - Going to stage artifact pickled_main_session to /tmp/flink-artifacts/job_89b631dc-1b97-419f-8995-f3fb5ea3f9df/artifacts/artifact_ea0d10d07f4601782ed647e8f6ba4a055be13674ab79fa0c6e2fa44917c5264c.
[grpc-default-executor-4] INFO org.apache.beam.runners.fnexecution.artifact.BeamFileSystemArtifactStagingService - Staging artifact completed for /tmp/flink-artifacts/job_89b631dc-1b97-419f-8995-f3fb5ea3f9df/artifacts/artifact_ea0d10d07f4601782ed647e8f6ba4a055be13674ab79fa0c6e2fa44917c5264c
Jul 15, 2018 7:01:25 PM org.apache.beam.vendor.grpc.v1.io.grpc.internal.ServerCallImpl internalClose
WARNING: Cancelling the stream with status Status{code=INTERNAL, description=Completed without a response, cause=null}

It seems that a PutArtifactResponse needs to be sent in response to a PutArtifactRequest in BeamFileSystemArtifactStagingService.
I'm not sure when this might have broken; I'm assuming it was allowed to because these code-paths aren't tested yet (cf. #5935)
R: @angoenka
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---
---

Thanks Ryan! Could you add some coverage to the unit tests? (BeamFileSystemArtifactServicesTest)
I guess maybe the Java grpc library is tolerant of not receiving a response but Python isn't?... Might be worth investigating, but maybe easier to just fix this as your PR does.

@ryan-williams thanks for taking this up. Can you please create a JIRA, if you have not already?

Thanks @herohde! I'll also continue looking into @jkff's question about the tests


Handwritten Classification

Describe the project you want to add with tech stack

It involves handwritten classification, where the goal is to develop a system capable of recognizing and categorizing handwritten text or symbols. The system will take an input image of handwritten content and determine the corresponding class or category it belongs to. This type of project finds applications in various fields, such as optical character recognition (OCR), document analysis, signature verification, and more.
Tech Stack - python, keras, CNN, OpenCV
Expected behavior

It involves Data collection, data processing, model training, model evolution. deployment etc
Screenshots (optional)

Additional context (optional )

Please assign this issue to me under GSSoC'23.


Production deploy is down now

http://osmnames.klokantech.com/?autocomplete=1&count=1&format=json&q=Prague
Can't connect to MySQL server on '<IP_ADDRESS>
The OSMNames is in use at maps.klokantech.com - launched on FOSS4G.
Once it will be more stable - we start to use it everywhere.

Sorry, I was trying to reindex data and there were few errors.
The service is now working, I am going to test performance on a local server.


Once implemented in higlass, create demo of serverless higlass with zarr-based HorizontalMultivecTrack

User story
Starting to implement a Zarr DataFetcher class for HiGlass here https://github.com/higlass/higlass/tree/keller-mark/serverless-zarr-multivec
Other DataFetchers can probably be implemented gradually. For example, the gene-annotations and chromosome-labels tracks could probably still depend on higlass.io initially (before a DataFetcher is implemented for those file types), since that data remains fixed (based on genome assembly).
To use the zarr data fetcher, the higlass track will need to specify the "type" property within the "data" object
{
  "type": "horizontal-multivec",
  "uid": "my-serverless-track-1",
  "data": {
    "type": "zarr-multivec",
    "filetype": "multivec",
    "url": "http://higlass-serverless.s3.amazonaws.com/multivec/Homo_sapiens__AEBP2__all.multires.zarr",
  },
  "coordSystem": "hg38",
  "options": {
    "labelPosition": "hidden",
    "labelColor": "black",
  }
}

Determine whether there is already support for "plugin DataFetchers" just like there are plugin tracks. If not, they may need to be implemented.


MQTT broker got stuck

On testnet a Hornet node stopped publishing messages. Looking into the pprof goroutine stack trace, one can see that WriterPacket deadlocked.
Full Stack trace: https://ybin.me/p/d2d93dc9688ca457#AMLM/9cXYIEutRoNX7J++q7m+eZWUH8lOrY/utlbewo=
Relevant:  https://ybin.me/p/759eeb38381da71d#bUz1WTy+UdZyaZxQt3zKcHkRhAiuPKTIWKARg2pZ2tI=

Fixed with #869


Add Fish example

Description
I added a 🐟 example to the README!
Steps

[ ] My change requires a change to the documentation
[x] I have updated the accessible documentation according
[x] I have read the CONTRIBUTING.md file
[x] There is no duplicate open or closed pull request for this fix/addition/issue resolution.

Original Issue
This PR resolves #42

Thank you @cjdenio!


real time processing

Hi, I would like to ask a small question, which one is more appropriate for application in real-time processing, conv-tasnet or DPRNN?

DPRNN is better than Conv-TasNet


Azure Optimization Engine

The Azure Optimization Engine (AOE) is an extensible solution designed to generate optimization recommendations for your Azure environment. See it like a fully customizable Azure Advisor. Actually, the first custom recommendations use-case covered by this tool was augmenting Azure Advisor Cost recommendations, particularly Virtual Machine right-sizing, with a fit score based on VM metrics and properties. Other recommendations are being added to the tool, not only for cost optimization but also for security, high availability and other Well-Architected Framework pillars. You are welcome to contribute with new types of recommendations!
It is highly recommended that you read the whole blog series dedicated to this project, starting here. You'll find all the information needed to understand the whole solution. Luke Murray wrote a great Azure Spring Clean 2022 blog post describing AOE and how to set it up, with full deployment and configuration steps.

Thank you for the PR, this is already in here:


Changes to recursive filter to allow it to work with clize.

Addresses #GitHubissuenum
Description
Testing:

[x] Ran tests and they passed OK

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

See the complete overview on Codacy

Superseded by https://github.com/metoppv/improver/pull/1099


LEDs are not turning black after deactivating Protocol Buffers Stream and no active source is left

[x] I confirm that this is an issue rather than a question.

Bug report
I am using a protocol buffers stream for my LEDs. In previous alphas the LEDs turned black if i deactivated the stream and the source disappears from the input selection on remote control.
Now the source disappears as well and no source is left but the LEDs are representing the last LED state. I manually have to disable and enable LED Hardware on Remote Tab to turn off the LEDs.
Steps to reproduce

Start Protocol Buffers Stream
Stop Stream
LEDs are still on
Deactivate LED Hardware
LEDs are off
Reenable LED Hardware

I just figured out that this isn't only the case with protocol buffers. At least Effect have the same Problem.
What is expected?
What is actually happening?
System

Hyperion Server:

Build:       (HEAD detached at f5583de8) (Sersch-f7865b45/f5583de8-1590611619)
Build time:  May 27 2020 21:09:46
Git Remote:  https://github.com/hyperion-project/hyperion.ng
Version:     2.0.0-alpha.6
UI Lang:     auto (BrowserLang: de)
UI Access:   default
Avail Capt:  dispmanx,v4l2,framebuffer,qt

Hyperion Server OS:

Distribution: Raspbian GNU/Linux 9 (stretch)
Arch:         arm
Kernel:       linux (4.14.79+ (WS: 32))
Browser:      Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0

Log:  [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:102:handleInstanceSwitch()) Client '::ffff:192.168.178.xx' switch to Hyperion instance 0  [hyperiond PROTOSERVER] (DEBUG) (ProtoClientConnection.cpp:75:disconnected()) Socket Closed  [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:255:clearInput()) Removed source priority 129  [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 255  [hyperiond LEDDEVICE] (DEBUG) (LedDeviceAdalight.cpp:83:receivedData()) >>received 4 bytes data  [hyperiond LEDDEVICE] (DEBUG) (LedDeviceAdalight.cpp:83:receivedData()) Previous line repeats 7 times  [hyperiond PROTOSERVER] (DEBUG) (ProtoServer.cpp:68:newConnection()) New connection from ::ffff:192.168.178.xx  [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:158:registerInput()) Register new input 'Proto@::ffff:192.168.178.xx/PROTOSERVER' with priority 129 as inactive  [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:238:setInputImage()) Priority 129 is now active  [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 129  [hyperiond LEDDEVICE] (DEBUG) (LedDeviceAdalight.cpp:83:receivedData()) >>received 4 bytes data  [hyperiond LEDDEVICE] (DEBUG) (LedDeviceAdalight.cpp:83:receivedData()) Previous line repeats 9 times  [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:255:clearInput()) Removed source priority 129  [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 255  [hyperiond PROTOSERVER] (DEBUG) (ProtoClientConnection.cpp:75:disconnected()) Socket Closed  [hyperiond LEDDEVICE] (DEBUG) (LedDeviceAdalight.cpp:83:receivedData()) >>received 4 bytes data  [hyperiond LEDDEVICE] (DEBUG) (LedDeviceAdalight.cpp:83:receivedData()) Previous line repeats 2 times  [hyperiond EFFECTENGINE] (INFO) Run effect "Fire" on channel 1  [hyperiond EFFECTENGINE] (DEBUG) (EffectEngine.cpp:183:runEffectScript()) Start the effect: name [Fire], smoothCfg [2]  [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:158:registerInput()) Register new input 'Web Configuration@::ffff:192.168.178xx/EFFECT' with priority 1 as inactive  [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:238:setInputImage()) Priority 1 is now active  [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 1  [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:255:clearInput()) Removed source priority 1  [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 255  [hyperiond EFFECTENGINE] (INFO) effect finished  [hyperiond LEDDEVICE] (DEBUG) (LedDeviceAdalight.cpp:83:receivedData()) >>received 4 bytes data  [hyperiond LEDDEVICE] (DEBUG) (LedDeviceAdalight.cpp:83:receivedData()) Previous line repeats 68 times  [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1035:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178xx  [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1035:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178xx

@b1rdhous3 schau mal in den slack vorbei bitte :-)

Should be fine

(DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 255

Should work, this fires black but just once.

Same issues with 2.0.0 alpha 6

I've had this issue intermittently through all the 2.0 alphas.  Sometimes it clears the lights, sometimes 1, 2, or 3 instances will fail to go to black and stay on last colors.  Inputs are from protocol buffer (Mediaportal add-in), 3 devices (APA102 led strip, nanoleaf, nanoleaf panels).  I tried to set the idle color to black as a workaround, but that doesn't seem to fix reliably, either.

@ncmilhouse I can follow the expectations raised, but unfortunately hyperion does not support switching-off LEDs yet, when no further input streams are available. I will consider it as an enhancement request for the backlog.
For now, I could only suggest, you either disable hyperion's instances or the LED devices via WebSockets or the UI.
This will switch-off the Nanaleaf devices physically (and not simulating an off-state sending a stream of black).

  But it isn't even doing that.  If I stop the source in Mediaportal I would expect all the lights (led strips and nanoleafs) to go dark.  But many times at least 1 is still showing the last color.

The devices will only go black, if there is no source any longer.
I would expect that maybe there is one source left, e.g. platform capture?
Nanoleaf devices should go off and streaming is to be stopped. Otherwise there is unnecessary network traffic.
Plus, if you would use the nanoleaf in the meantime, they would not switch back on under hyperion's control.

Definitely no sources active:

But all 3 sets of lights are on.


Adyen card container accepting unsupported card numbers without error - How to fix?

Entered an unsupported card number: 9162 9912 8719 8161 476, in Adyen card container, but didn't get any error saying card number is invalid. Container takes it in successfully and doesn't validate the digits on input.
Here's the relevant image showing card digits entered and Adyen not returning any error message.
https://i.stack.imgur.com/XBZRj.png

Hi @harneetar - What is happening here, I am guessing, is that your are testing agains our Test backend.
The card number you are entering is valid, in that it passes the luhn check
However the card BIN is not in our Test databases - so we can't detect the card brand.
In this scenario we fall back to allowing the card payment and leaving it up to the backend to decide whether to allow it or not.
When it comes to the Live production environment, the databases are fully populated, and we would therefore expect to detect the card brand and, whether you as a merchant, are configured to accept it. In the scenario that you do not allow this card brand, an "unsupported card" error would be generated in the UI and it would not be possible for the shopper to proceed with the payment.

Thank you so much for the clarification!


Add a basic admin action to add default geo filters

Would it make sense to set this as a default state on the filter model instead?

I think it's probably better to just make it easy to add, not make it the default. I think we can serve stuff to those geo's in general, but it's nice to have an easy way to exclude them.

I just meant in terms of producing this on the admin. I think the general case will be all locations as well. If it was set as the model default, the countries should show up on the list automatically, without a secondary action. This might only make sense if it will be a common filter, of course.


Enable CodeQL

@AArnott do you know if there's anything else I need to do here?

Typically this is all you need to change in code. But then you should verify that it works. Some docs are here https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/codeql/codeql-semmle#onboarding-guidance


Fix accentuation bug in Canvas::Text

Fixed in commit https://github.com/Sygmei/ObEngine/commit/39723d5d8e5f025b96d012bea06bae196d37dabe