Callbacks for loading

I think hex-grid is great!  I am trying to add websocket networking with it. I am more of a C programmer than a Javascript developer.  I would like to wrap the whole grid in  a network system.  I moved the code in map-maker-html into it own JS file.  I also added controls at the top to select a file to load.
Your JS code is much better than mine.  Given some suggestions I am sure I could add the necessary code.

Thanks, glad you like it! I'm not sure what your use case is, but hex-grid only renders a grid data structure on the client side, so you would use websockets just as you would in any other game. So you would keep a copy of the board's grid data on the server and ensure that all clients have that same board data through client and server validations.
Google around for turn-based websocket games and I'm sure you'll find some examples dealing with networked boardgames like this one.
Good luck!


Add shift+mouse scroll to scroll horizontally in item window

Is your feature request related to a problem?
No
Describe the solution
Many programs I use allow for shift+mouse scroll to scroll horizontally in item window (shift+mouse scroll down for right scroll and shift+mouse scroll up for left scroll). Chrome and VSCode are examples of programs that use this same scroll scheme.
Describe alternatives you've considered
Although there are alternatives this seems to be the most common horizontal scroll scheme that I've seen.
Additional comment
Obviously this is not very important but I know that I would use this many times everyday.

Related: https://github.com/microsoft/microsoft-ui-xaml/issues/877

Merging with #10006


Users/DeveloperIlhombek/temperatura

You are given a non-negative floating point number rounded to two decimal places celsius, that denotes the temperature in Celsius.
You should convert Celsius into Kelvin and Fahrenheit and return it as an array ans = [kelvin, fahrenheit].
Return the array ans. Answers within 10-5 of the actual answer will be accepted.
Note that:
Kelvin = Celsius + 273.15
Fahrenheit = Celsius * 1.80 + 32.00

Close #4


Kingfisher找不到对应SwiftUI的东西

喵神您好，我更新了Xcode 13和您的最新版本的Kingfisher，但是不是创建的SwiftUI项目，项目报错找不到SwiftUI的相关东西，我导入了SwiftUI但是仍然报错，请问这个是Xcode 13的锅吗

？

是的！
Duplicated #1802
Xcode 13 Release Notes

Known Issues
Swift libraries may fail to build for iOS targets that use armv7. (74120874)
Workaround: Increase the platform dependency of the package to v12 or later.
Swift libraries depending on Combine may fail to build for targets including armv7 and i386 architectures. (82183186, 82189214)
Workaround: Use an updated version of the library that isn’t impacted (if available) or remove armv7 and i386 support (for > example, increase the deployment target of the library to iOS 11 or higher).

This is not a thing can be fixed easily in a library like Kingfisher. So please try to upgrade to Kingfisher v7 (and consider to drop support under iOS 12).


Add support for COMMAND GETKEYS

See http://redis.io/commands/command-getkeys
Conception needed, since COMMAND GETKEYS is applicable with every command.

Closed for now, no progress and no demand


Change README .md References to .adoc

What is the purpose of this change? What does it change?
This pull request addresses issue #1692. Currently, the main README.adoc for the project still has .md references under the Additional documentation section.
Was the change discussed in an issue?
Closes #1692
How to test changes?
Verify the links in this pull request go to the appropriate documentation.

/ok-to-test

/approve

oauth.config.openshift.io/cluster configured
Failed to login as developer
make: *** [configure-installer-tests-cluster] Error 1

/retest


Correction for raw affiliation GENIAL - Génie industriel alimentaire (1 avenue des Olympiades, F-91744 Massy - France)

Correction needed for raw affiliation GENIAL - Génie industriel alimentaire (1 avenue des Olympiades, F-91744 Massy - France)
raw_affiliation_name: GENIAL - Génie industriel alimentaire (1 avenue des Olympiades, F-91744 Massy - France)
new_rors:
previous_rors: 0455wwj08
works_examples: W4299851879
contact: 34b85a504390c2d64a9d97cfe390bb0e:d1a30d120887e60737aa17af @ centralesupelec.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Set deployed application root folder as working directory

@Tratcher @pranavkm I verified these changes against Entorpy and ServerTests repos. I couldn't run MusicStore due to package restore errors.
@Tratcher Some background: This change fixes issues where ContentRoot is set as Directory.GetCurrentDirectory in an app

:shipit: once we know MusicStore also works.


Update models and corresponding tests

Task: AB#11053

There are still some additional tests to add around some of the model functionality – I'll pick that up later today (hopefully).


DOCS: some more about interactive forms

Now that the AcroForm howto is merged, I suppose I can consider some other cases.
I waited after the PR got merged because it was becaming difficult for me to keep focused.
XFA forms. Turns out it's possible to extract those with pdfminer, see this SO thread:
https://stackoverflow.com/questions/18587878/extract-xdp-or-xfa-from-pdf/33293026#33293026
Would it be fine to add a minimal howto with the relevant info to the docs?
I wouldn't invest much time on this, but a little note wouldn't hurt.

I like the second idea the most. People searching for "how to extract xfa forms from a pdf" will end up there, and will be very much helped if the howto works for them.
So lets focus this issue / upcoming PR on the XFA forms? I edited the description to reflect this. Also created #496 for focussing on the recusive AcroForm's.

I'll work on this in the weekend and see what I an put together.
Btw, Interactive Forms should be #499, not #466.

It seems I won't be able to work on this in the foreseeable future, stuff happened.

It seems I won't be able to work on this in the foreseeable future, stuff happened.

OK, thanks for letting us know. And good luck!
On Sat, 23 Jan 2021, 10:22 typhoon71<EMAIL_ADDRESS>wrote:

It seems I won't be able to work on this in the foreseeable future, stuff
happened.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pdfminer/pdfminer.six/issues/497#issuecomment-765894383,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5H44E74QU2SEBBMO5ELETS3KINZANCNFSM4RJIFAYA
.

OK, thanks for letting us know. And good luck!
On Sat, 23 Jan 2021, 10:22 typhoon71<EMAIL_ADDRESS>wrote:

It seems I won't be able to work on this in the foreseeable future, stuff
happened.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pdfminer/pdfminer.six/issues/497#issuecomment-765894383,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5H44E74QU2SEBBMO5ELETS3KINZANCNFSM4RJIFAYA
.


Office 365 Security and Compliance Center roles?

It seems that PIM also cannot manage many of the Office 365 Security & Compliance Center roles (some, but not all of these roles are documented here: https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/permissions-in-the-security-and-compliance-center?view=o365-worldwide) For a complete list of roles, go to https://protection.office.com/permissions on an O365 test tenant.
Example of roles that O365 S&C Center roles that PIM can't manage: Insider Risk Management Admins, Quarantine Administrator, Supervisory Review, Data Investigator. (Not an exhaustive list.)

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

ID: bf1a1d2f-6f7f-e7e3-2c3e-e658e7179877
Version Independent ID: 77f0313f-4513-2434-3ac6-dea428f57f40
Content: Roles you cannot manage in Privileged Identity Management - Azure Active Directory
Content Source: articles/active-directory/privileged-identity-management/pim-roles.md
Service: active-directory
Sub-service: pim
GitHub Login: @curtand
Microsoft Alias: curtand

@robmacf Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

Hi @robmacf
Thanks for your feedback! Only Azure AD roles, the subscription roles for Azure resources, and ownership and membership of privileged access groups can be managed in PIM. Other M365 roles aren't manageable in PIM at this time.
#please-close


Large models timeout on download

When running cog predict on large models (SDXL for example), users with slow internet connections, or far away from weight storage (Australia seems to be quite far from r8.im storage), experience timeouts when running cog.
Example command:
cog predict r8.im/stability-ai/sdxl@sha256:39ed52f2a78e934b3ba6e2a89f5b1c712de7dfea535525255b1aa35c5565e08b -i prompt="A bunny" --debug
Output:
Checking for updates...
$ docker image inspect r8.im/stability-ai/sdxl@sha256:39ed52f2a78e934b3ba6e2a89f5b1c712de7dfea535525255b1aa35c5565e08b

Starting Docker image r8.im/stability-ai/sdxl@sha256:39ed52f2a78e934b3ba6e2a89f5b1c712de7dfea535525255b1aa35c5565e08b and running setup()...
$ docker run --rm --shm-size 8G --detach --env COG_LOG_LEVEL=debug --gpus all --publish 0:5000 r8.im/stability-ai/sdxl@sha256:39ed52f2a78e934b3ba6e2a89f5b1c712de7dfea535525255b1aa35c5565e08b
result of update check:
{"logger": "torch.distributed.nn.jit.instantiator", "timestamp": "2023-12-31T00:12:18.880798Z", "severity": "INFO", "message": "Created a temporary directory at /tmp/tmp6ian2rtl"}
{"logger": "torch.distributed.nn.jit.instantiator", "timestamp": "2023-12-31T00:12:18.881083Z", "severity": "INFO", "message": "Writing /tmp/tmp6ian2rtl/_remote_module_non_scriptable.py"}
{"logger": "uvicorn.error", "timestamp": "2023-12-31T00:12:19.798613Z", "severity": "INFO", "message": "Started server process [8]"}
{"logger": "uvicorn.error", "timestamp": "2023-12-31T00:12:19.798739Z", "severity": "INFO", "message": "Waiting for application startup."}
{"logger": "uvicorn.error", "timestamp": "2023-12-31T00:12:19.801408Z", "severity": "INFO", "message": "Application startup complete."}
{"logger": "uvicorn.error", "timestamp": "2023-12-31T00:12:19.801978Z", "severity": "INFO", "message": "Uvicorn running on http://<IP_ADDRESS>:5000 (Press CTRL+C to quit)"}
Loading safety checker...
downloading url:  https://weights.replicate.delivery/default/sdxl/safety-1.0.tar
downloading to:  ./safety-cache
ⅹ Timed out

Is there any way to increase this timeout?
Thanks!

This is still an issue in the latest cog... Makes cog impossible to use locally...

smae issue

Ive even tried loading the model locally and still no luck

Ive even tried loading the model locally and still no luck

Building the docker via cog build does not cause time out.


 I appears to be an error with that. I am new with github. I would be happy if you could help me :) Below, I sent the screenshot

Hello,
As specified in the readme you should run the commands with a python interpreter with the libraries/packages under requrements.txt installed.
You can achieve this in multiple ways (as there are multiple package managers, and your computer is likely to have multiple interpreters installed already, at OS level).
The "standard" way is with virutalenvironments, which are environments that you can activate and deactivate at will. They run in parallel to the python interpreter installed systemwide, and that so they enable you to keep the interpreter you use for the exercises (or any project) separate from the system environment.
The reason why environments are so handy is that you may have different projects with different requirements not compatible between each others, and you may want to have the freedom of messing up with the environment without risks for the rest of the system. E.g.

imagine project1 requires numpy version 1.12, and project2 requires numpy version 1.17, then each time you have to change project you will need to uninstall and re-install the correct version.
imagine you are experimenting with a new library that you are developing. You may not want to pollute the python interpreter your operative system is using to make everything works with a possibly buggy library.

To create a virualenvironment for just this project you have to:

install virualenv (this depends entirely on your operative system, it can be as simple as pip3 install virtualenv or it can be longer, depending on your system).
use the virtualenv command line to create a new environment called venv and using the interpreter python3.7 with: virtualenv venv -p python3.7  (python3.7 must be available installed as well on your computer, if you do not have it, you can install following the official python website. You can also chose another version. Anything above 3.5 would work).
activate the environment with the bash command source venv/bin/activate  (bash will tell you that you are in the environment now, with (venv) on your shell prompt).
from the folder you just cloned, install the libraries with pip install -r requirements.txt. If you are curious you can see the difference between pip outside the virtualenv and inside the virtualenv with which pip before and after activating the environment.
Now all the libraries you need to run the code are installed in the right interpreter. You can start the Jupiter notebook, and tell to the notebook that it has to use the interpreter under the venv folder. (this depends on the notebook, if you use Jupiter, Jupiter lab, vscode integrated notebooks, pycharm integrated notebooks...). On your screenshot click top right where you find "3.8.12 Python". This would open a drop down menu where you can chose the version.
Once you are done doing a bunch of exercises, you can deactivate the virtualenvironment from where you start the notebook, simply typing deactivate.


Merge prTesting_201908080948 branch to master branch

Docs Build status updates of commit e5cb893:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestRef.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add Semantic configuration to Azure Search specs

This PR was originally reviewed here: https://github.com/Azure/azure-rest-api-specs/pull/16257
Recreating it to target Azure:main instead of Azure:master.
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No refresh required for updates in this PR

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that label “WaitForARMFeedback” will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[ ] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

@tjprescott  / @dereklegenzoff  - here's the new PR targeting main

/azp run

Need to resolve the CI failures. There's an error about the parameterized host in https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1195583&view=logs&j=98f87804-8e1f-5655-af02-e80aefa7aa97&t=8452b151-7122-5001-9e44-ba5cc52e601b&l=49

Since @shmed is out this week and we want to get this change in quickly, I'll submit a new PR against main that fixes the spellcheck errors at hand. We can abandon this PR.

Closing since #16777 was merged.


22.1 updates to the Spreadsheet Lab and associated files.

The Spreadsheet Lab has been updated to the latest version. The associated files have also been updated accordingly.

Hi @klazarz , I updated the urls to point to the latest repositories.


Update WUR brapi endpoint

Updated WUR brapi endpoint
Fixed startDate type
Removed the implemented-calls field in srource/WUR.json

This branch is created based on an old branch.
This Pull request will be closed and replaced with a cleaner one.


setWindUpLimits Problem with Negative min

I am using setOutputLimits(-128, 127), setBias(0.0) and setWindUpLimits(-100.0, 100.0).  My integral tern was being limited to 0.0 and 100.0 until I changed your code to:
double iMax   = constrain(outputMax - outTemp,         0, outputMax); // Maximum allowed integral term before saturating output
double iMin    = constrain(outputMin + outTemp, outputMin,         0);  // Minimum allowed integral term before saturating output
which appears to function properly for my case.  I also added a debug print of the error term which I find useful.

Thanks! Could you open a PR for an easy fix?


How to use React to send a POST request to a Laravel application

Proposed title of the article
How to use React to send a POST request to a Laravel application
Introduction paragraph(s):
Maybe you are a backend engineer wanting to load data to your site using the React library, or you want to explore the use of React with Laravel or you have any other interests validating the use of Laravel with React, then you are at the right place. We are going to learn how to make a POST request to a Laravel application using React and retrieve the response.
Basic descriptions

React: This is a JavaScript library that assists us in creating interactive and dynamic Single Page Applications.
Axios: It is a library used to handle HTTP requests to external resources in our web applications.
Laravel: This is a PHP framework based on the Model View Controller architecture and it helps us create web backend applications faster.

Having that, we can now start delving into the topic.
What will be doing
We will be sending input data from a signup page and send the data to a Laravel controller which will, in turn, return JSON data and display it in an alert.

JSON, JavaScript Object Notation, is a data exchange format between web applications.

Key takeaways:
In the end, the user will get to learn about:

JSON and its role in HTTP requests
The Axios library and how to use it to send HTTP POST data
Using Axios in React
Receiving the POST request in a Laravel application and returning the response back as JSON

References:

Jason Watmore's blog
Blog Pusher

Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

good topic @Agusioma - approved


Fix intValue() that always failed

Fix intValue() and doubleValue() and add tests for them
Remove unused error cases
Get rid double conversion Map => String => Map that could produce different map

@paulofaria please can you have a look

Thank you!

Thank you @paulofaria !


while-loop.kt

++i statement inside the while loop. After 5 iterations, variable i will be incremented to 6. Then, the test expression i <= 5 is evaluated to false and the loop terminates.

can you please add hacktoberfest-accepted tag


Add 'dark_text' option for solarized.vim

Let users define whether the text should be dark or not

please document this variable.

@chrisbra Done. Thank you.

thanks.


input pin number should be parsed in base 10, similar to c++ sample

Thanks for the contribution! Please follow the contributing guide (https://github.com/intel-iot-devkit/mraa/blob/master/CONTRIBUTING.md). This generally means adding a prefix like 'examples/java:' to your commit message and more importantly a sign-off line.

Fixed, thanks

Merged, thanks!


Conda env file should be updated even in case of docker build failure

Checklist before submitting

[x] Did you read the contributor guide?
[ ] Did you update any affected documentation?
[ ] Did you write any tests to validate this change?

Description
Fixes https://github.com/open-ce/open-ce/issues/250
Review process to land

All tests and other checks must succeed.
At least one maintainer must review and approve.
If any  maintainer requests changes, they must be addressed.

LGTM, just the pylint error needs to be adressed.

LGTM, just the pylint error needs to be adressed.

Codecov Report

Merging #271 (1f034fe) into master (2d5cd8b) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #271      +/-   ##
==========================================
+ Coverage   94.08%   94.09%   +0.01%
==========================================
  Files          16       16
  Lines        1149     1150       +1
==========================================
+ Hits         1081     1082       +1
  Misses         68       68

Flag
Coverage Δ

unittests
94.09% <100.00%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

open-ce/build_env.py
94.74% <100.00%> (+0.09%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #271 (1f034fe) into master (2d5cd8b) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #271      +/-   ##
==========================================
+ Coverage   94.08%   94.09%   +0.01%
==========================================
  Files          16       16
  Lines        1149     1150       +1
==========================================
+ Hits         1081     1082       +1
  Misses         68       68

Flag
Coverage Δ

unittests
94.09% <100.00%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

open-ce/build_env.py
94.74% <100.00%> (+0.09%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #271 (1f034fe) into master (2d5cd8b) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #271      +/-   ##
==========================================
+ Coverage   94.08%   94.09%   +0.01%
==========================================
  Files          16       16
  Lines        1149     1150       +1
==========================================
+ Hits         1081     1082       +1
  Misses         68       68

Flag
Coverage Δ

unittests
94.09% <100.00%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

open-ce/build_env.py
94.74% <100.00%> (+0.09%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #271 (1f034fe) into master (2d5cd8b) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #271      +/-   ##
==========================================
+ Coverage   94.08%   94.09%   +0.01%
==========================================
  Files          16       16
  Lines        1149     1150       +1
==========================================
+ Hits         1081     1082       +1
  Misses         68       68

Flag
Coverage Δ

unittests
94.09% <100.00%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

open-ce/build_env.py
94.74% <100.00%> (+0.09%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #271 (1f034fe) into master (2d5cd8b) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #271      +/-   ##
==========================================
+ Coverage   94.08%   94.09%   +0.01%
==========================================
  Files          16       16
  Lines        1149     1150       +1
==========================================
+ Hits         1081     1082       +1
  Misses         68       68

Flag
Coverage Δ

unittests
94.09% <100.00%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

open-ce/build_env.py
94.74% <100.00%> (+0.09%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #271 (1f034fe) into master (2d5cd8b) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #271      +/-   ##
==========================================
+ Coverage   94.08%   94.09%   +0.01%
==========================================
  Files          16       16
  Lines        1149     1150       +1
==========================================
+ Hits         1081     1082       +1
  Misses         68       68

Flag
Coverage Δ

unittests
94.09% <100.00%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

open-ce/build_env.py
94.74% <100.00%> (+0.09%)
:arrow_up:

Continue to review full report at Codecov.

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


Implement the onboarding UI

Related issues
Resolve #3
Summary

Check first time user use app
Create new components
Added new translation keys and new color codes

How to test
-Test first time use app:
If you have used the app, delete the storage of the expo app in the settings section.
Concern points
Screenshots

good job


Added solution to Lock an Element to the Browser Window with Fixed Positioning

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


Python modules import error

when i run code-build.py,it tells there is no module named tester_common,which is in the 4th line of this file.how can i solve it?

i also googled python tester_common module,but nothing found.

Hi yodahaji, thanks for your interest in codeflaws.
I have uploaded the tester_common.py in codeflaws/allscript/ as requested. I didn't include the file originally because the file is part of Prophet (in prophet-gpl/tools/tester_common.py).

thanks for your quickly reply:D.
and there is still a same question :when i try to run the run-test.py,it it will tell that there is  no module named pexpert.i think it is the same reason.
and if possiple,could you just make a simple tutorial about how to use codeflaw to repair the C code? i've readed your papers and readme in the github,but still struggle to do so.

Hi yodahaji, you can install pexpect using:

pip install pexpect
Or:
easy_install

As your question is related to installation of the repair tool itself, it is beyond the scope of codeflaws.
After installing prophet, you can prepare a version-to-run containing all or part of "all-script/codeflaws-defect-detail-info.txt", change the following variables in the run-version-prophet.sh and then you should be able to run prophet:
rootdir="/home/ubuntu/codeforces-crawler/CodeforcesSpider" #directory of this script
rundir="$rootdir/prophet-run" # directory in which prophet is called from
versiondir="$rootdir/codeflaws" #root directory for the codeflaws versions
filename="$rootdir/run1" #tab-separated file containing the list of versions to run as the first field (the version-to-run file),
prophet="/home/ubuntu/spr/src/prophet" # location of the prophet executable
rundir="$rootdir/prophet-run"

So you mean i should first install the 4 repair tool .only after it,i can use it with codefalw:benchmarck?
and there is another problem,the run-test.py and the code-build.py still can not be compiled succesfully.the python version i use is 2.7. when i compile run-test.py,it shows:
NameError: name 'currdir' is not defined
and when it is code-build.py,it diagnostics as
cannot find makefile
the make file is in the codeflaws folder of each subfolder i know,so should i add the path of one of the subfolders?or it should run after i install the repair tools?
the last question is compile.pl,it hints me to add a path as argument,and i try the every path in the folder,which contains all-script and the benchmark. should it run after the repair tools been installed,and add the repair tool as the path argument?
thanks for a lot for your patiently answering:D

So you mean i should first install the 4 repair tool .only after it,i can use it with codeflaw:benchmarck?
You don't need to install all 4 repair tools if you don't need them. If you are interested in a particular repair tool, you could install that tool, and run it with corresponding run-version-.sh.

The python script doesn't need to be compiled, you get the error because the run-test.py requires the following parameters:
src_dir = args[0];
test_dir = args[1];
work_dir = args[2];
Both run-test.py and code-build.py are used internally by the repair tools. The run-version-prophet.sh script will setup all the required parameters for running both python scripts.  If you want to compile or test individual version without running repair tools, you can simply use the Makefile for compilation and
./test.sh <test-name (e.g., n1, p1,p2...pn where n1 denotes the negative test, p1...pn denotes the positive test)> for running test.

thank you very much!!!


⚠ Bofrost.es has degraded performance

In cf0e522, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1517 ms

Resolved: Bofrost.es performance has improved in 2e9354c after 6 minutes.


patch zone inconsistencies

Zone of cluster should be consistent throughout samples.  Currently, some files point to us-central1-c and other points to us-central1-a.

Issue was opened while in development, closing for now while project is in maintenance mode.


approval outlines without making a black bar

@lindsaycarr care to test this quick before I merge?

works for me!

:+1:


share-able invitation codes?

I would like to implement devise invitable as a solution where you
could share codes, instead of using the token,
The idea:

Have codes like  EWTOUF easily shareable auto generated by the
system or a custom function
For signup you need to enter this invite code on the homage or any
page ( separated from the registration page ) if the code is correct
it lets you register else flash message with error.
You would have a table of codes that can be used 1 time or more
times, like 100x for a special action signup code "APPLE" for example
would let 100 users signup with this beta invitation code
You could track the codes you give out and see who registers for
them

How could I implement this with devise inevitable and rails 3?
Any ideas thoughts on this?
Im still learning Rails 3 so I hope someone can give some pointers on
how to accomplish above, I think it would be a great addition to the
current devise inevitable solution
The basic idea is you can ->share<- your codes on social media for
people to signup, increasing signups.
Any idea if what would be the best roadmap to build this or can this feature be implemented in the current extension?

+1 for this feature. if Rubytastic wants to write this feature. i'd contribute to it.

I have this planned but no ETA and I'm not going to use this gem but some custom code to keep things light. Think its outside the scope of this gem and better build something yourself I might release but this feature is not on todo for soon.


About Visualization

Thanks for sharing your work, i can`t use attnmap.py  The problem is :AttributeError: 'SS2D' object has no attribute 'data'. Did you mean: 'call'? please help me  QAQ

some SS2Ds do not have data attribute, you may need to add the code yourself as shown in SS2Dv2:
https://github.com/MzeroMiko/VMamba/blob/0a74a29eefb9223efc1a399000e22a723390defd/classification/models/vmamba.py#L631


Develop

@lakikowolfe these changes have been reviewed in various code reviews. But it has been months since the main branch has been updates, hence the large PR.


Warning: ReactMount: Root element ID differed from reactRootID.

I'm getting a whole bunch of errors when switching from one page to another.
 New container: null

It does not crash my app, but getting 170+ errors per page switch seems unhealthy.. What am I doing wrong?
For reference, this is my routing
FlowRouter.route("/", {
  action: function() {
    ReactLayout.render(Main)
  }
});

It's very hard to see the issue by looking at this. Could you send me a sample repo?

Not sure what you mean? I can't send my whole app, if that's what you mean..

This  is not an error we've seen earlier. So, we need to reproduce it.
Best way is to try to replicate this error is sample app. (Not your whole app)
Once you could do it, post it here. (as a github repo).
Then only we can work on it.


problem in main.py

How to generate these files in main.py
data_files = { # training
'train_scp': 'data_reader/feats/la_train_spec_tensor4.scp',
'train_utt2index': 'data_reader/utt2systemID/la_train_utt2index_8',
'dev_scp': 'data_reader/feats/la_dev_spec_tensor4.scp',
'dev_utt2index': 'data_reader/utt2systemID/la_dev_utt2index_8',
'dev_utt2systemID': 'data_reader/utt2systemID/la_dev_utt2systemID',
'scoring_dir': 'scoring/la_cm_scores/',
}

I have successfully get the feature by run_feature.sh

@wuqiangch @jefflai108 Would you mind describing what those files mean and what they look like?
'dev_scp': 'data_reader/feats/la_dev_spec_tensor4.scp',
'dev_utt2index': 'data_reader/utt2systemID/la_dev_utt2index_8',
'dev_utt2systemID': 'data_reader/utt2systemID/la_dev_utt2systemID',
Thanks

I have successfully get the feature by run_feature.sh

Could you describe your environment configuration to run run_features.sh? I can't run it successfully.


Infix to postfix in Python

Description
Code for Infix to Postfix conversion
Fixes #171
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Documentation Update

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

@pranita736 u were not assigned this issue.


Unc0ver 4.0.3 says Unsupported on iPhone XS Max iOS 13.3.1

After installing ipa says unsupported
I've seen that A12 is supported right now on iOS 13.3.1
I got model a2104(Chinese 2 sim)
Also tried 4.0.2 just in case

iOS 13.3.1 is unsupported as apple patched the exploit. There is no bug, please close the issue

hope in 4.0.4 iOS 13.3.1 will be supported


onBeforeUnmount and onUnmounted hook of component created by render function is not invoked

Vue version
3.2.47
Link to minimal reproduction
https://play.vuejs.org/#eNqdU02PmzAQ/SuzXCASYKHtKSVR2l566aVV1YsvLDgLXfwh25AD4r93DCwhJOmu9obnvXkzfn503hel4rZh3tZLTa4rZcEw26g9FRVXUlvoQLMj9HDUkoOPVJ8KmLBvkqsJiIk7OCnEqcilMBa4eYad6w/876yuJfyRui4e/M1n1BgpOXb9KuVp4lndsA0VKRmXwTXwYBlXdWYZngDSp8ZaKeCQ11X+sqPeQuHh9Zt6AxfAnCqbl0MfGRtHkTLZd92wX9+nBE9DtRKqsdBGXBasRmnEJ6XUKSNSHRcTEUuJOyAlJfOWXuiN/kQ8U/FfIwW62zkVOgGGelsYKq6Gnrkz9UprldkS0gj18hyjMDkgRnQjbMVZVEh+eIwf40+kqIxdlmNmePSk5ckwjQOpFy60CRZbpiPNRME00/+dteIu562gq5luZE9Fj9d/jcIbqQpBih8Sr8GKEMoQS056lbVF1JKLrCWrsJ10phTTPzGtY5YwR7N+EGxgtx89PwcvQWYZDGJIhmmBYIDCs17cZvUQy35g3Ui3k/DfyO3tyBVV6yQwVed5c3rH3CLlKmCzAe+w+Cs7Ss1+C+6scIXp07k+G7T+w4fZN+0DyGqmbeDPqLs5vv1kjmu7GHmn+YJzLTEvead9xs+tdx4m+cDLLN3u/wEU2b87
Steps to reproduce
click switch button
What is expected?
alert('onBeforeUnmount')
What is actually happening?
nothing happend
System Info
No response
Any additional comments?
No response

Manually mounting a component with render means it's not part of the main app's tree, so it won't be unmounted when a parent unmounts. You would need to unmount it yourself.

Manually mounting a component with render means it's not part of the main app's tree, so it won't be unmounted when a parent unmounts. You would need to unmount it yourself.

Thanks, how to unmount it?I can't find any way to do it in documentation.

Thanks, it works. @LinusBorg


Questions about the shapex.from_extent_tensor and tf.UnsortSegmentSumOp

Firstly I'm trying to describe the problem clearly.
Now I wanna lowering tf.UnsortSegmentSumOp to MLIR/IREE dialects. In tensorflow, the  tf.UnsortSegmentSumOp  operation will be lowered to mhlo.broadcast and mhlo.scatter.  Just consider the  mhlo.broadcast  operation here (See the legalize_tf.cc, class GenericConvertUnsortedSegmentReductionOp). You know the mhlo.broadcast  operation has two arguments, HLO_Tensor:$operand and I64ElementsAttr:$broadcast_sizes. In this case, the  I64ElementsAttr:$broadcast_sizes is combined by [num_segments] and data_shape[segment_ids_rank:]. num_segments is a constant, and data_shape maybe a dynamic shape. In dynamic shape case, we can NOT use mhlo.broadcast here, because we can not infer the real shape forever. So I think maybe we should use mhlo.dynamic_broadcast_in_dim instead.
According to the thought above, firstly, I modify the  tf.UnsortSegmentSumOp  conversion code, use  mhlo.dynamic_broadcast_in_dim to instead of  mhlo.broadcast .

Below is the source tensorflow graph:

module attributes {...} {
  func @main(%arg0: tensor<?x?xf32>, %arg1: tensor<?xi32>) -> tensor<10x?xf32> {
    %outputs = "tf.Const"() {device = "", value = dense<10> : tensor<i32>} : () -> tensor<i32>
    %outputs_0  = "tf.UnsortedSegmentSum"(%arg0, %arg1, %outputs) : (tensor<?x?xf32>, tensor<?xi32>, tensor<i32>) -> tensor<10x?xf32>
    return %outputs_0 : tensor<10x?xf32>
  }
}

Below is mhlo dialect IR before modify the legalize_tf.cc code,

module attributes {...}} {
  func @main(%arg0: tensor<?x?xf32>, %arg1: tensor<?xi32>) -> tensor<4676x?xf32> {
    %0 = mhlo.constant dense<4676> : tensor<i32>
    %1 = tensor_cast %0 : tensor<i32> to tensor<i32>
    %2 = mhlo.constant dense<0.000000e+00> : tensor<f32>
    //
    // broadcast here, dynamic shape tensor<4676x?xf32> can NOT be infered forever
    //
    %3 = "mhlo.broadcast"(%2) {broadcast_sizes = dense<[4676, -1]> : tensor<2xi64>} : (tensor<f32>) -> tensor<4676x?xf32>
    %4 = "mhlo.scatter"(%3, %arg1, %arg0) ( {
    ^bb0(%arg2: tensor<f32>, %arg3: tensor<f32>):  // no predecessors
      %5 = mhlo.add %arg2, %arg3 : tensor<f32>
      "mhlo.return"(%5) : (tensor<f32>) -> ()
    }) {indices_are_sorted = false, scatter_dimension_numbers = {index_vector_dim = 1 : i64, inserted_window_dims = dense<0> : tensor<1xi64>, scatter_dims_to_operand_dims = dense<0> : tensor<1xi64>, update_window_dims = dense<1> : tensor<1xi64>}, unique_indices = false} : (tensor<4676x?xf32>, tensor<?xi32>, tensor<?x?xf32>) -> tensor<4676x?xf32>
    return %4 : tensor<4676x?xf32>
  }
}

Below is the mhlo dialect IR after modify the legalize_tf.cc code,
module attributes {...}} {
  func @main(%arg0: tensor<?x?xf32>, %arg1: tensor<?xi32>) -> tensor<10x?xf32> {
    %0 = mhlo.constant dense<10> : tensor<i32>
    %1 = tensor_cast %0 : tensor<i32> to tensor<i32>
    %2 = mhlo.constant dense<0.000000e+00> : tensor<f32>
    %c10_i64 = constant 10 : i64
    %c1 = constant 1 : index
    %3 = dim %arg0, %c1 : tensor<?x?xf32>
    %4 = index_cast %3 : index to i64
    %5 = tensor_from_elements(%c10_i64, %4) : tensor<2xi64>
    //
    // Use dynamic_broadcast_in_dim here, the output shape is %5,
    // we can infer the real shape via %5 in runtime.
    //
    %6 = "mhlo.dynamic_broadcast_in_dim"(%2, %5) {broadcast_dimensions = dense<[]> : tensor<0xi64>} : (tensor<f32>, tensor<2xi64>) -> tensor<10x?xf32>
    %7 = "mhlo.scatter"(%6, %arg1, %arg0) ( {
    ^bb0(%arg2: tensor<f32>, %arg3: tensor<f32>):  // no predecessors
      %8 = mhlo.add %arg2, %arg3 : tensor<f32>
      "mhlo.return"(%8) : (tensor<f32>) -> ()
    }) {indices_are_sorted = false, scatter_dimension_numbers = {index_vector_dim = 1 : i64, inserted_window_dims = dense<0> : tensor<1xi64>, scatter_dims_to_operand_dims = dense<0> : tensor<1xi64>, update_window_dims = dense<1> : tensor<1xi64>}, unique_indices = false} : (tensor<10x?xf32>, tensor<?xi32>, tensor<?x?xf32>) -> tensor<10x?xf32>
    return %7 : tensor<10x?xf32>
  }
}

This is the PR of the modification: https://github.com/tensorflow/tensorflow/pull/41689
Firstly I should make sure whether the IR above is reasonable. I think so, :)
If reasonable, we continue to discuss the IREE conversion pipeline below. If NOT, should solve the legalize problem first.
Below are some IRs after some IREE passes:
... ...
// *** IR Dump After mlir::iree_compiler::Shape::(anonymous namespace)::TieDynamicShapesPass ***
func @main(%arg0: tensor<?x?xf32> {iree.reflection = {}}, %arg1: !shapex.ranked_shape<[?,?]> {iree.reflection = {}}) -> (tensor<10x?xf32> {iree.reflection = {}}, !shapex.ranked_shape<[10,?]> {iree.reflection = {}}) attributes {iree.module.export, iree.reflection = {f = "I10!B7!d-1d-1R10!B7!d10d-1", fv = "1"}} {
  %0 = shapex.tie_shape %arg0, %arg1 : tensor<?x?xf32>, !shapex.ranked_shape<[?,?]>
  %1 = mhlo.constant dense<0.000000e+00> : tensor<f32>
  %c10_i64 = constant 10 : i64
  %c1 = constant 1 : index
  %2 = dim %0, %c1 : tensor<?x?xf32>
  %3 = index_cast %2 : index to i64
  %4 = tensor_from_elements(%c10_i64, %3) : tensor<2xi64>
  %5 = "shapex.from_extent_tensor"(%4) : (tensor<2xi64>) -> !shapex.ranked_shape<[?,?]>
  %6 = "shapex.ranked_broadcast_in_dim"(%1, %5) {broadcast_dimensions = dense<[]> : tensor<0xi64>} : (tensor<f32>, !shapex.ranked_shape<[?,?]>) -> tensor<10x?xf32>
  %7 = shapex.get_ranked_shape %6 : tensor<10x?xf32> -> !shapex.ranked_shape<[10,?]>
  %8 = shapex.tie_shape %6, %7 : tensor<10x?xf32>, !shapex.ranked_shape<[10,?]>
  %9 = shapex.get_ranked_shape %8 : tensor<10x?xf32> -> !shapex.ranked_shape<[10,?]>
  return %8, %9 : tensor<10x?xf32>, !shapex.ranked_shape<[10,?]>
}

// *** IR Dump After mlir::iree_compiler::Shape::(anonymous namespace)::MaterializeShapeCalculationsPass ***
func @main(%arg0: tensor<?x?xf32> {iree.reflection = {}}, %arg1: !shapex.ranked_shape<[?,?]> {iree.reflection = {}}) -> (tensor<10x?xf32> {iree.reflection = {}}, !shapex.ranked_shape<[10,?]> {iree.reflection = {}}) attributes {iree.module.export, iree.reflection = {f = "I10!B7!d-1d-1R10!B7!d10d-1", fv = "1"}} {
  %0 = mhlo.constant dense<0.000000e+00> : tensor<f32>
  %c10_i64 = constant 10 : i64
  %c1 = constant 1 : index
  %1 = shapex.tie_shape %arg0, %arg1 : tensor<?x?xf32>, !shapex.ranked_shape<[?,?]>
  %2 = dim %1, %c1 : tensor<?x?xf32>
  %3 = index_cast %2 : index to i64
  %4 = tensor_from_elements(%c10_i64, %3) : tensor<2xi64>
  %5 = "shapex.from_extent_tensor"(%4) : (tensor<2xi64>) -> !shapex.ranked_shape<[?,?]>
  %6 = "shapex.ranked_broadcast_in_dim"(%0, %5) {broadcast_dimensions = dense<[]> : tensor<0xi64>} : (tensor<f32>, !shapex.ranked_shape<[?,?]>) -> tensor<10x?xf32>
  %7 = shapex.tie_shape %6, %5 : tensor<10x?xf32>, !shapex.ranked_shape<[?,?]>
  return %7, %5 : tensor<10x?xf32>, !shapex.ranked_shape<[?,?]>
}

// *** IR Dump After mlir::detail::VerifierPass Failed ***
"func"() ( {
^bb0(%arg0: tensor<?x?xf32>, %arg1: !shapex.ranked_shape<[?,?]>):  // no predecessors
  %0 = "mhlo.constant"() {value = dense<0.000000e+00> : tensor<f32>} : () -> tensor<f32>
  %c10_i64 = "std.constant"() {value = 10 : i64} : () -> i64
  %c1 = "std.constant"() {value = 1 : index} : () -> index
  %1 = "shapex.tie_shape"(%arg0, %arg1) : (tensor<?x?xf32>, !shapex.ranked_shape<[?,?]>) -> tensor<?x?xf32>
  %2 = "std.dim"(%1, %c1) : (tensor<?x?xf32>, index) -> index
  %3 = "std.index_cast"(%2) : (index) -> i64
  %4 = "std.tensor_from_elements"(%c10_i64, %3) : (i64, i64) -> tensor<2xi64>
  %5 = "shapex.from_extent_tensor"(%4) : (tensor<2xi64>) -> !shapex.ranked_shape<[?,?]>
  %6 = "shapex.ranked_broadcast_in_dim"(%0, %5) {broadcast_dimensions = dense<[]> : tensor<0xi64>} : (tensor<f32>, !shapex.ranked_shape<[?,?]>) -> tensor<10x?xf32>
  %7 = "shapex.tie_shape"(%6, %5) : (tensor<10x?xf32>, !shapex.ranked_shape<[?,?]>) -> tensor<10x?xf32>
  "std.return"(%7, %5) : (tensor<10x?xf32>, !shapex.ranked_shape<[?,?]>) -> ()
}) {arg0 = {iree.reflection = {}}, arg1 = {iree.reflection = {}}, iree.module.export, iree.reflection = {f = "I10!B7!d-1d-1R10!B7!d10d-1", fv = "1"}, result0 = {iree.reflection = {}}, result1 = {iree.reflection = {}}, sym_name = "main", type = (tensor<?x?xf32>, !shapex.ranked_shape<[?,?]>) -> (tensor<10x?xf32>, !shapex.ranked_shape<[10,?]>)} : () -> ()

/tmp/bcast.mlir:23:5: error: type of return operand 1 ('!shapex.ranked_shape<[?,?]>') doesn't match function result type ('!shapex.ranked_shape<[10,?]>') in function @main
    return %6 : tensor<10x?xf32>
    ^
/tmp/bcast.mlir:23:5: note: see current operation: "std.return"(%7, %5) : (tensor<10x?xf32>, !shapex.ranked_shape<[?,?]>) -> ()

The "shapex.from_extent_tensor" operation now just generate a shape with all dims value are -1.
LogicalResult FromExtentTensorOp::inferReturnTypes(
    MLIRContext *context, Optional<Location> location, ValueRange operands,
    DictionaryAttr attributes, RegionRange regions,
    SmallVectorImpl<Type> &inferredReturnTypes) {
  ... ...
  SmallVector<int64_t, 6> extents(inputType.getDimSize(0),
                                  static_cast<int64_t>(-1));
  inferredReturnTypes.push_back(RankedShapeType::get(extents, context));
  return success();
}

So there maybe lost some real dim values. My intuition is that maybe we should infer the constant dim value of the  shape.
If we can infer the shape !shapex.ranked_shape<[10,?]>, ahh, yeah, perfect :)

The correct fix here is to insert a cast from shapex.ranked_shape<[?,?]> to shapex.ranked_shape<[10,?]> at return statements. We will need to add an op to do that if we don't already have one in the shapex dialect.
We should not rely on constant propagation to fix this in all cases, as the calculation that has to be constant folded can become arbitrarily complex in other situations. We should also implement the constant folding if possible in this cases, to clean up the IR, but should not rely on it for correctness.


Notify arbitrator client of timeout

Pull request
Choose Correct

[x] bug
[ ] feature

Describe the pull request

When transport times out, and the client is woken up. It should be informed that it's message buffer is invalid.
Set the status of the codec to timeout, so
a correct error handler is triggered in the client.
To Reproduce

Trigger a timeout in underlying protocol, when a client is waiting for a response.
Expected behavior

Client is signaled that a timeout occured.
Screenshots

Desktop (please complete the following information):

OS:
eRPC Version:

Steps you didn't forgot to do

[ ] I checked if other PR isn't solving this issue.
[x] I read Contribution details and did appropriate actions.
[x] PR code is tested.
[x] PR code is formatted.
[x] Allow edits from maintainers pull request option is set (recommended).

Additional context

Noticed some issues with this patch. Need to re-push a new version.


Failed To Connect

Trying to add integration to home assistant causes this error.
Host: https://babybuddy.sub.domain.com
Port: 443
API: ********************
This causes a failed to connect error. I'm using all the correct info but does not work.

https://github.com/jcgoette/baby_buddy_homeassistant/issues/111#issuecomment-1590982185

After reading through both threads you mention I haven't found a solution for connecting the integration to the add-on

Solution!
The port has to be manually set. This isn't mentioned in the setup instructions.

Cool. Sounds like something you should bring up on the addon's repository.

This solution may work for the addon on. But I'm not using the addon. That solution does not work for my use case.

Is your BB actually located at a sub-subdomain like your post suggests?

@jcgoette yes, thats correct. Its hosted in a docker container. It can be accessed directly just fine. But unable to add to HA integration.

Set logs to DEBUG and post what you see. There should be at least a line showing Client URL:

I think this is what your asking for. I confirmed these are the correct urls before redacting them.
2023-08-07 19:32:42.861 DEBUG (MainThread) [custom_components.babybuddy.client] Initializing BabyBuddyClient 2023-08-07 19:32:42.861 DEBUG (MainThread) [custom_components.babybuddy.client] Client API Token, obfuscated: 1da7................................6328 2023-08-07 19:32:42.861 DEBUG (MainThread) [custom_components.babybuddy.client] Client URL: https://babybuddy.***.*********.com:443 2023-08-07 19:32:42.862 DEBUG (MainThread) [custom_components.babybuddy.client] GET URL: https://babybuddy.***.*********.com:443/api/

Does the Failed to connect error happen right after that line? Or is there more?
Is your HA instance reaching external web services for anything else?

Ah I got it. My bad. My HA Instance is on a different vlan than my docker server/babybuddy. I needed to allow it through my
firewall to enable access from HA to babybuddy. Your comment helped me realize my error. Thanks for your time.


Reword “view source code”

I feel like “View Source Code” (found in settings tab) doesn’t fit too well. When you click View Source Code you’re brought to the GitHawk repo and the tab that is selected is the overview tab. Although there exists the source code under the code tab, I feel like “View GitHawk Repo” or something of that type fits better.
Thoughts? Suggestions different phrasing?
Sent with GitHawk

View GitHub repo sounds good
Sent with GitHawk


Feature-rgb-led

An initial draft of the RGB changes. Appears to work on the Crazybeef4_frsky, but was not able to see it working on the betafpvf411rx.

superseded by https://github.com/BossHobby/QUICKSILVER/tree/feature-dma-assigment


[Bug]: Incorrect Data Type Conversion for MultiModalData

Your current environment
The output of `python collect_env.py`

🐛 Describe the bug
I've encountered an issue with the code in the vllm project on GitHub. Specifically, at line 170 of the llm.py file https://github.com/vllm-project/vllm/blob/main/vllm/entrypoints/llm.py#L170, there is a conversion of multi_modal_data.data to torch.float16 using the statement multi_modal_data.data = multi_modal_data.data.to(torch.float16). This automatic conversion may not be suitable for all use cases, especially if the model is designed to operate with bfloat16 or other numerical precisions. If this is an issue that needs to be addressed, I would be happy to submit a pull request with a fix

I have refactored the processing logic in #3978 which removes the assumption of float16 data type, could you check whether this version still has the conversion problem which you have mentioned?


[tool_crash] ProcessException: Failed to find "git" in the search path. Command: git, OS error code: 0

Command
flutter create --template app --overwrite .

Steps to Reproduce

...
...
...

Logs
ProcessException: Failed to find "git" in the search path. Command: git, OS error code: 0
#0      LocalProcessManager.runSync (package:process/src/interface/local_process_manager.dart:118:7)
#1      ErrorHandlingProcessManager.runSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:719:24)
#2      _runSync (package:flutter_tools/src/base/error_handling_io.dart:595:14)
#3      ErrorHandlingProcessManager.runSync (package:flutter_tools/src/base/error_handling_io.dart:718:12)
#4      _runSync (package:flutter_tools/src/version.dart:852:56)
#5      _gitCommitDate (package:flutter_tools/src/version.dart:436:12)
#6      FlutterVersion.checkFlutterVersionFreshness (package:flutter_tools/src/version.dart:279:49)
#7      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:335:40)
<asynchronous suspension>
#8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:308:5)
<asynchronous suspension>
#10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9)
<asynchronous suspension>
#11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#12     main (package:flutter_tools/executable.dart:93:3)
<asynchronous suspension>

[☠] Flutter (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ ProcessException: Failed to find "git" in the search path.
        Command: git
    • #0      LocalProcessManager.runSync (package:process/src/interface/local_process_manager.dart:118:7)
      #1      ErrorHandlingProcessManager.runSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:719:24)
      #2      _runSync (package:flutter_tools/src/base/error_handling_io.dart:595:14)
      #3      ErrorHandlingProcessManager.runSync (package:flutter_tools/src/base/error_handling_io.dart:718:12)
      #4      _DefaultProcessUtils.runSync (package:flutter_tools/src/base/process.dart:418:51)
      #5      _runGit (package:flutter_tools/src/version.dart:873:23)
      #6      FlutterVersion.frameworkAge (package:flutter_tools/src/version.dart:220:30)
      #7      FlutterValidator.validate (package:flutter_tools/src/doctor.dart:576:17)
      #8      Doctor.startValidatorTasks.<anonymous closure> (package:flutter_tools/src/doctor.dart:273:72)
      #9      asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #10     _rootRun (dart:async/zone.dart:1399:13)
      #11     _CustomZone.run (dart:async/zone.dart:1301:19)
      #12     _runZoned (dart:async/zone.dart:1826:10)
      #13     runZonedGuarded (dart:async/zone.dart:1814:12)
      #14     runZoned (dart:async/zone.dart:1760:12)
      #15     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #16     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:265:9)
      #17     DoctorText._validatorTasks (package:flutter_tools/src/doctor.dart:794:60)
      #18     DoctorText._validatorTasks (package:flutter_tools/src/doctor.dart)
      #19     DoctorText._runDiagnosis (package:flutter_tools/src/doctor.dart:798:53)
      #20     DoctorText.text (package:flutter_tools/src/doctor.dart:790:36)
      #21     DoctorText.text (package:flutter_tools/src/doctor.dart)
      #22     _createLocalCrashReport (package:flutter_tools/runner.dart:273:51)
      #23     _handleToolError (package:flutter_tools/runner.dart:235:31)
      <asynchronous suspension>
      #24     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
      <asynchronous suspension>
      #25     main (package:flutter_tools/executable.dart:93:3)
      <asynchronous suspension>

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✗] Visual Studio - develop Windows apps
    ✗ Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[✓] VS Code (version 1.91.1)
    • VS Code at C:\Users\ayada\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.92.0

[✓] Connected device (2 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [version 10.0.19045.4651]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 127.0.6533.72

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 4 categories.

Flutter Application Metadata
No pubspec in working directory.

how to fix this problem

Closing this as a duplicate of https://github.com/flutter/flutter/issues/133585
Please make sure you have git installed on your system and it is available in your path


Not clear from the doc how to use parent trace id from new thread

Describe the bug
Initially posted: here
There is provided answer (mainly taken from the doc), there is no up vote for some time. apparently because it is not useful.. It did not answer the question. At least I could not apply any of it and get desired result.
Sample
Re-iterating here:
Here is http interceptor that is set on Spring HttpTemplate to intercept request / responses.
Http calls are blocking, so they are performing in separate threads. Separate from main thread on spring boot web app.
The interceptor:
public class ClientHttpRequestInterceptorImpl implements ClientHttpRequestInterceptor {
log.info(JacksonUtil.toJsonString(logRequest));
the log always prints in new trace id. instead of using main trace id.
Because of that, it is impossible to trace the requests from the beginning to the end. Since the trance is "broken" (splitted).
Is there clear working explanation how not to let sleuth create new trace id? How to be in main trace id?

I can understand you want to escalate the stackoverflow, but probably still using gitter to nag is nicer than pasting SO here. I'll look at your SO, but please try gitter next time if you feel you need to escalate https://gitter.im/spring-cloud/spring-cloud-sleuth


Tests updated to include Vertica 12.0.2

Summary
Updating the tests to run on the latest version of Vertica. Nightly also has the previous version to test complex type parquet export before and after.
Description
Version number 12.0.0 -> 12.0.2.
Related Issue
Closes #513 and #514.
Additional Reviewers
@alexey-temnikov
@alexr-bq
@jonathanl-bq
@jeremyp-bq

Make sure to also update the .github/workflows/README.md to reflect any changes to the workflows and versions tested.  The purpose of that README is to have a summary of what we test.


Doesn't Launch On ARM

Describe the Bug
When running on arm I get back just a string and the logs just say:
exec /init.sh: exec format error
Your Runtime Command or Docker Compose File
docker run --platform=linux/amd64 -d --name=satisfactory-server -h satisfactory-server -e MAXPLAYERS=4 -e PGID=1002 -e PUID=1002 -e STEAMBETA=false -v /home/steam/satisfactory/config:/config -m 16G --memory-reservation=12G -p 7777:7777/udp -p 15000:15000/udp -p 15777:15777/udp wolveix/satisfactory-server:latest
System Specs (please complete the following information):
If you're on Linux, just paste the following block as a single command, and paste the output here.
===== START ISSUE REPORT =====
OS:  Linux main 5.15.0-1030-oracle #36-Ubuntu SMP Wed Feb 15 05:57:14 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
CPU: Neoverse-N1
RAM: 23GB/23GB
HDD: 4GB/97GB (5% used)
===== END ISSUE REPORT =====

Additional Context
Maybe I’m just to dumb to search the internet, but I couldn’t find anything that says —platform=linux/amd64 doesn’t work how I’m expecting it.

i recommend to do the following : https://github.com/kocxyz/ServerDocker/issues/2#issuecomment-1589106935

i recommend to do the following : kocxyz/ServerDocker#2 (comment)

I'm running into the same issue and it seems like you may be able to help. I did set it up the way mentioned. It runs until it says "Downloading the latest version of the game..." and then it crashes with no extra logs.
(I'm using podman on my server if that causes any issues lmk)

i recommend to do the following : kocxyz/ServerDocker#2 (comment)

I'm running into the same issue and it seems like you may be able to help. I did set it up the way mentioned. It runs until it says "Downloading the latest version of the game..." and then it crashes with no extra logs.
(I'm using podman on my server if that causes any issues lmk)

Try not to use podman, try a blank run just to be sure it does work without podman to know if it's the main issue

@kaiserdj yes, that's due to Steam.


Python code suggests list information, horizontal separator foreground color can not be custom modified

Python code suggests list information, horizontal separator foreground color can not be custom modified

Hopefully the next release will fix it! Thank you very much!👍
Windows 10
VSCode 1.85.1
Python v2023.22.1

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Server may becomes unresponding with database hooks and recursive send_action

[x] a fix for breaking long wait between server and plugin #271
[ ] abort database operation when timeout #277 (pending for go1.8)
[ ] bidirectional plugin transport and multiplexing #295

a new image is pushed to staging cloud which has support for #271

Bidirectional plugin transport and multiplexing
The current plugin transport only support communication initiated from the server side of the transport.
There is an existing mechanism for the plugin to make request to the server just like a normal client by making http request through request router. This mechanism is often referred to as send_action named after the python function with the same name.
It is proposed that we should implement bidirectional plugin transport so that plugin-initiated request are made through the plugin transport instead. Multiplexing refers to how transport route communication among workers.
Benefits for implementing bidirectional plugin transport and multiplexing

easier configuration - while transport may require extra config for bidirectional communication, no config is necessary for api key, master key and server endpoint.
reduced overhead - imitating a client request requires the plugin to make extra http connection, which is extra overhead when using zmq transport.
tracking request lifecycle - keep track of control flow across process boundary (to support better logging).
reuse blocked workers - control flow can be handed off to the blocked worker if the blocked worker is handling the same request.

Implementation approach

(existing behavior) plugin runtime register a new worker for each thread
transport keep track of context when sending message across process boundary
transport to increment call stack when crossing process boundary
when call-stack=0, select a free worker from pool, worker is no longer in the pool for other requests
call-stack++ and send message to worker
worker may call server code (new behavior), two options here (see below)
call-stack++ when receiving message from worker that will call other server code
when call-stack=2, re-use the same worker previously selected, use request unique ID to find the worker
when plugin code returns data (i.e. not calling other server code) call-stack is decremented
when call-stack=0, the worker is marked free and put back to pool

ZMQ Transport protocol options
Option 1: Overload the current ZMQ transport protocol design in that plugin code calls server code by using the response message, the server code returns data by using the request message.
This option is less intrusive to the overall ZMQ transport protocol design. The semantic maybe convoluted.
Option 2: Add a new kind of message in the ZMQ transport protocol design so that plugin code calls server code by using a new kind of request message, and the server code returns data by using a new kind of response message.
The semantic is easier to understand.
HTTP Transport protocol options
We have to decide whether multiplexing makes sense in HTTP transport, this is because send_action is inherently HTTP-based.
If we want HTTP transport to support multiplexing, the transport will expose a http endpoint for the plugin to call server-side code.

@b123400

[x] [Golang] Try to send a dummy message after a new request, before receiving the response
[ ] [Python] Try to catch that message
[ ] [Python] Look at the normal http transport
[ ] [Python] Modify api calling Golang to use zmq
[ ] [Python] Embed HTTP request body into zmq message, with worker id
[ ] [Golang] Send back the worker id in response
[ ] [Python] Ask the worker to handle the response

Make worker works in something like generator / co-routine?

[ ] [Golang] Add a stack count

Set a maximum and throw error when exceeded

@b123400 thanks for coming up with a list, i couldn’t have came up with the list myself
but i think we need to talk about it so we are on the same page
I’d like to address this specific point:

Embed HTTP request body into zmq message, with worker id

One of the design decision early on is that the Skygear request router is designed in a way that it does not necessarily have HTTP semantics. When we are going to implement bidirectional communication, I think we can make use of this design so that you do not need to wrap send_action in a HTTP request payload before sending from the plugin to the server.

i am going to make a new issue because this issue is supposed to be a meta-issue. sorry about that

#295

@cheungpat @rickmak which stage this issue should be in? It's now "in review"


Channel never acknowledge transaction

Hi there,
I've noticed that after some transactions (which is a random number of times), the core stalls and stops acknowledging new transaction in the hardware side (don't know about the software side).
The only way i found to unlock the situation is to reset the whole core which is quite inconvenient.
Even if i detect the defect by using a timeout a restarting the transfert (deasserting CHNL_TX and reasserting it), it won't acknowledge it.
Have you ever encountered this before ? And is there a fix for this ?
I'm using Riffa 2.2.1
EDIT:
I've investigate a little bit,
In tx_port_monitor_64, the state machine is stalled in S_TXPORTMON64_TXN because ACK is never asserted.
I'm now tracing NEW_TXN_ACK in tx_port_writer to see why it is never asserted.

Try RIFFA 2.2.2

On Sep 5, 2016, at 3:16 AM, intru91<EMAIL_ADDRESS>wrote:
Hi there,
I've noticed that after some transactions (which is a random number of times), the core stalls and stops acknowledging new transaction in the hardware side (don't know about the software side).
The only way i found to unlock the situation is to reset the whole core which is quite inconvenient.
Even if i detect the defect by using a timeout a restarting the transfert (deasserting CHNL_TX and reasserting it), it won't acknowledge it.
Have you ever encountered this before ? And is there a fix for this ?
I'm using Riffa 2.2.1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Should i try 2.3.0 if this one doesn't work ?

No

On Sep 5, 2016, at 6:44 AM, intru91<EMAIL_ADDRESS>wrote:
Should i try 2.3.0 if this one doesn't work ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

So 2.2.2 does the same thing.
I've tried to track down the problem, where i'm at is SG_DATA_EMPTY is never deasserted in sgTXFifo. I'm following this lead to see where the core is stalled.
Do you have any pointer to where I should look at ?

I'm switch to a different motherboard, and the issue isn't showing up...

Odd. Have you tried updating the bios on the failing motherboard?

On Sep 6, 2016, at 5:57 AM, intru91<EMAIL_ADDRESS>wrote:
I'm switch to a different motherboard, and the issue isn't showing up...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/drichmond/riffa/issues/15#issuecomment-244941485, or mute the thread https://github.com/notifications/unsubscribe-auth/AGFUdNKMIJFxbQpVMOjfNQ_SPTJu3kb3ks5qnWMmgaJpZM4J0706.

Yes, the bios is up to date.
But we had a lot of problems with this motherboard's PCIE interface.

What's the make/model?
On Wed, Sep 7, 2016 at 4:22 AM, intru91<EMAIL_ADDRESS>wrote:

Yes, the bios is up to date.
But we had a lot of problems with this motherboard's PCIE interface.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/drichmond/riffa/issues/15#issuecomment-245251267, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGFUdAegKhX9NB7w1RtPKIcgQLMxq6PHks5qnp53gaJpZM4J0706
.

Also, if you're interested in digging deeper and you think the MoBo might
be the problem you might want to scope the RXC_META_EP and RXR_META_EP
signals in the engine layer.
Dustin
On Wed, Sep 7, 2016 at 7:34 AM, Dustin Richmond<EMAIL_ADDRESS>wrote:

What's the make/model?
On Wed, Sep 7, 2016 at 4:22 AM, intru91<EMAIL_ADDRESS>wrote:

Yes, the bios is up to date.
But we had a lot of problems with this motherboard's PCIE interface.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/drichmond/riffa/issues/15#issuecomment-245251267,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGFUdAegKhX9NB7w1RtPKIcgQLMxq6PHks5qnp53gaJpZM4J0706
.


we need a better way to load in metrics libraries and log4j appender libraries

in order to get broker metrics to report (and to use a custom log4j appender) we have to un tar kafka, cp the jar into lib and re-tar. It would be better for the brokers to have additional files get downloaded from the scheduler and put in the lib directory on the slave for use. Some configuration so we can identify which file(s) in addition to the kafka tgz should get served up and downloaded and copied into lib.

@joestein I am trying to set the kafka.metrics.reporters property on the brokers so we can load the https://github.com/stealthly/metrics-kafka jar to get metrics into a kafka topic. We have been able to get metrics while not running inside the mesos kafka framework just fine. But running through mesos I am having trouble.
I tgz'd kafka with the yammer jar and can see that show up in the sandbox on mesos in the libs folder. I also set the jvm-options flag to -Dkafka.metrics.reporters=ly.stealth.kafka.metrics.KafkaBrokerReporter. Thoughts on what I am doing wrong or if this should work this way?
I also tried setting options to kafka.metrics.reporters=ly.stealth.kafka.metrics.KafkaBrokerReporter. On all the broker logs, I get this warning:
WARN Property kafka.metrics.reporters is not valid (kafka.utils.VerifiableProperties)

You have to set kafka.metrics.reporters=ly.stealth.kafka.metrics.KafkaBrokerReporter in file:server.properties or --options (depending on how you are launching the scheduler) so Kafka can start that reporter when the broker starts

Yea setting that (as --options) I only get this warning in the logs and no topics are created:
WARN Property kafka.metrics.reporters is not valid (kafka.utils.VerifiableProperties)

If it helps any, I am using version kafka_2.10-<IP_ADDRESS>. Any other help? Thanks!

Running this reporter inside the metrics-kafka vagrant setup, I guess I still get this same warning, but I also get:
INFO Started Kafka Topic metrics reporter with polling period 10 seconds (ly.stealth.kafka.metrics.KafkaBrokerReporter)

The metrics topic gets created in kafka and I can consume metrics from it. I must still be missing something in the mesos setup.

@sherzberg we found a bug that is in the latest release https://github.com/mesos/kafka/releases/tag/v<IP_ADDRESS> you should try to see if that resolved your problem


refactor(mempool_infra): move infra errors to a designated module

Stack:

#961 ⬅
#960
#933

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.


Add logic for multiremote object when setting tunnelIdentifier

Would close issue #41

wdio-sauce-service 0.4.4 published 🎉

Thanks @christian-bromann 😊 🎉

hmmm @christian-bromann i downloaded the latest version available 0.4.5 and it seems that the code from this pr isn't in there.

Lemme check

@moriahmaney something was odd with my build, rereleased it, please check

@christian-bromann working now, thanks!


Mongoose Model. Can't find by id

Hello,
I'm trying to use<EMAIL_ADDRESS>and have an issue here.
I don't want to exclude _id from schema and want users to see it in response, but when i add @Property decorator instead of @IgnoreProperty to _id, querying by id stops working, it just returns null.
@Model({
    name: 'User'
})
export class UserModel {

    // @IgnoreProperty()
    @Property()
    _id: string;

    @Required()
    username: string;

}

...

const user = await this.userModel.findById(myUserId); // returns null

When i use @IgnoreProperty or leave _id without decorators, querying by id works fine. Is this a bug? Or there's any other way to do something with it?
Thanks!

Hi @RevanScript ,
I just did not think about that possibility. It's clearly a bug ^^.
I'll release the fix immediately
See you,
Romain

Fixed :). v7.8.1

Great! Works fine now. Thanks a lot for a quick reaction!


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/Grizzelbee/ioBroker.dysonairpurifier

[ ] [E301] Tests on Travis-ci.org are broken. Please fix.

Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

is fixed in v0.9.0

Thanks, that all bugs have been fixed.


M3-4736 Fix: Disable create flow fields for restricted users

Description
Disable a few fields we were missing for users that can't create Linodes or NodeBalancers:

IP select (NBs)
AccessPanel (Linode create--password, SSH keys)

Note to Reviewers
This logic also disables the SSH key checkbox and "Add SSH key drawer" for a non-restricted user who hasn't selected an image. I think this is correct, please sanity check me.

Ideally we'd display the disabledReason in UserSSHKeyPanel too, but since we're revamping the Linode Create flow soon, I think this is fine for now.

Well in this case, the reason it's disabled is in the Notice at the top of the form. None of the other fields have custom tooltips for this case, so the way it is is consistent.


Notification wrong color theme

System information:

Operating system = MacOS Big Sur
DBeaver version = 7.3.1

Connection specification:

Database name and version = Postgres 13.1
Do you use tunnels or proxies (SSH, SOCKS, etc)? No

Describe the problem you're observing:
When the notification box appears, it doesn't follow my dark theme, it appears in light theme and even then is not readable.

Thank you for the report. It is actual for Windows too.

Thank you for the report. It is actual for Windows too.

Is there a way to change the notification theme temporarily till the issue have been solved?

Is there a way to change the notification theme temporarily till the issue have been solved?

Unfortunatelly we should wait for fix.

Unfortunatelly we should wait for fix.

Fixed.

verified


[3/5] metrics: simplicy policy/backend metrics collection interface.

Notes: This PR is stacked on top of #404.
Simplify the policy-backend metrics collection interface, reducing it to a single GetMetrics() call and a returned policy.Metrics interface, which simply implements the native prometheus collector interface with Describe() and Collect(). Update policy implementations accordingly.

Isn't this already part of commits 405 and 406?


UI5 sample app doesn't work - Can't load UI5 Core.js

Describe the bug:
I tried the UI5 sample app after #101 was fixed. The UI5 Core.js file which is loaded via the ui5loader as a synchronous XHR can't be loaded (404).
Link to the blitz that caused the error:
https://stackblitz.com/github/SAP/openui5-sample-app
Steps to reproduce:

npm start
Open index.html

Expected behavior:
The UI5 sample app should run
Screenshots:

Desktop (please complete the following information):

Interesting... I can open up the JS file in a new tab and it loads, but it seems that the synchronous XHR always is getting a 404.
@KwintenP @d3lm  do you know if localservice has any limitations with sync XHRs? It appears this request is skipping the service worker and directly hitting the 404 page from s3 (unless I'm mistaken).

Yes that's correct. Synchronous XHR request are not intercepted by a SW, it's not localservice. As you said yourself, that's a bug in Chrome but it's been open for a long time (2016) and apparently has not been fixed since then.

@marcelschork @d3lm I'm coming back around to this issue and it looks like it might be resolved? Can someone confirm for me?


Payment random from server

Hy i made a pool with z-nomp and it is in test.
I put some zcash coins not more like 0.03 i set the payment at 0.01 in 2 mins after start the pool i see the ballance 0 and this payment : https://zcashnetwork.info/tx/f35e517518a68f8ec9d5a119144109f01b32a2ae9564dc65e7f1260f23b349db
help
I minend for test with the same wallet from the server is this a problem?

If it is in test mode it is not a valid address.  When you swap back to the main chain you will have to generate and new address for it to be valid.


Add render shortcut

Add shortcut to render index, 404, 500 page.

render_404
render_404
render_index

Add status code in custom_404, custom_500; otherwise, it will return status code 200.
Naming are to be discussed

This PR is ok for me. Does @bruce3557 have any other suggestion?

+1, going to merge


Instagram page not foound

Description
Instagram preview working when dev test localy on computer..
But on server it does not..

We tryed to turn off firewall, ngnix.
but still same..  any idea what can be..
Other information

Embedded Assets version:
2.10.7
Craft CMS version:
Craft Pro 3.7.42

Firstly you should make sure you've added your Instagram API key to the Facebook Key field in Embedded Assets' settings - if you haven't done that, some of the comments in #150 may be helpful in setting that up.
If it still happens after adding that, or if you've already added that, then I recommend setting up an Embed 3 test on the server where it's not working, and seeing if the Instagram link works with that, since Embedded Assets uses Embed 3 to get embed data. If that doesn't work, I recommend opening an issue with Embed, but if that does work, please let us know and we'll reopen this issue.


Atom does'n handle corectly the [ sybol

Same kind of issue already reported, I can't type the [ symbol in atom editor (atl Gr+^ on a Belgian keyboard). Atom accept the [ symbol when I type anywhere else than into the editor (setup, ...).

Thanks for the report, @reirep  -- you're hitting a known issue, which you can read about and subscribe for updates here: https://github.com/atom/atom-keymap/issues/35.


Change resolve to recieve the Error

Fixes #32

Thanks a lot for the mix. I will merge it tomorrow and update the whole thing accordingly ;)


Add Axon.deserialize_params / Axon.serialize_params

We cannot serialize the result of training directly because it is Axon state (a custom struct), so we need to provide functions for wrapping/unwrapping it.
However, we have an issue in that if we wrap the Nx.serialize/deserialize functionality, the current Nx.serialize/deserialize does not allow us to attach any additional metadata to the serialized values, and we likely want to add at least an internal Axon version too.
One option is to allow a :tag to be given to Nx.serialize, which defaults to :nx. On deserialize, we return {tag, value}, which by default is {:nx, container}. This way we can make the tag be a custom map in Axon case, and on deserialization we could compare versions whatever else we want.
We could also serialize models but that's even more complicated.

Given that this is directly related to Axon Loops, my proposal is to name this something like: Axon.Loop.checkpoint or Axon.Loop.serialize_checkpoint / Axon.Loop.deserialize_checkpoint. It will serialize and deserialize enough information about the loop state to begin training from the checkpoint after loading. It's pretty common to provide full last epoch training checkpoints, so that's what I'm thinking the purpose of this function will be.


bugfix: WEBUMENIA-1194: IE

vue-sticky added directly, not as npm module because of compilation to ES5

overall nice. also IE is finally working (again).
just safari and IE doesn't have month aligned to center (maybe just set to parent element text-align: center )


We can not access the URL currently. Please download the content and pass it in.

When working on the remote label detection i get this message on many (like really many) accessible and existing images.
e.g. http://heizung-dinges.de/assets/images/Koebig2.jpg
Also some other times i will get the message Bad image data. On different existing and accessible images.  Re-requesting the API is not working, same exact errors will occur.

@yamennassif could you provide more detail about what API and method you are using? Sample code would be helpful to figure out what may be causing the problem.

@tcoffee-google i am using the example provided here
https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/vision/cloud-client/src/main/java/com/example/vision/Detect.java
detectLabelsGcs
with a small change :
replaced : ImageSource imgSource = ImageSource.newBuilder().setGcsImageUri(gcsPath).build();
with : ImageSource imgSource =ImageSource.newBuilder().setImageUri(gcsPath).build();

From https://github.com/GoogleCloudPlatform/google-cloud-node/issues/2215, this appears to be a problem with the backend API, which can be worked around by fetching the image data independently.
The issue has been recently posted on StackOverflow, where it should be picked up by the API team.

Hello any update on this issue?

Hello any update on this issue?

Same issue:

We're not allowed to access the URL on your behalf. Please download the content and pass it in. (code 7)
We can not access the URL currently. Please download the content and pass it in. (code 4 or 13)

@tcoffee-google can you maybe check if there is any updates on this ?

Getting this error quite a lot too while using ruby library for Google Cloud Vision

@nitishgargiitd Were you able to resolve it? If yes, please let me know how.

We are also facing this issue .
Out of 50 requests, we receive below error for 45 images:
We can not access the URL currently. Please download the content and pass it in
Any help is highly appreciated.

Same here
{
  "responses": [
    {
      "error": {
        "code": 14,
        "message": "We can not access the URL currently. Please download the content and pass it in."
      }
    }
  ]
}

it did work few days ago :/

Same error here for a node.js API call :
{
"responses": [
{
"error": {
"code": 14,
"message": "We can not access the URL currently. Please download the content and pass it in."
}
}
]
}
Used to work without problems, it seems to happen randomly on the same image, sometimes the image is processed sometimes this code is returned

Any update ? Thanks

We are using gem 'google-cloud-vision' and facing this issue as well. Please update the library

FYI – I've added more information about this error message to a similar issue filed against the Node.js client library for the Cloud Vision API: https://github.com/googleapis/nodejs-vision/issues/270#issuecomment-481064953

Getting the same error, not sure why though because everything was working fine last week.
"We're not allowed to access the URL on your behalf. Please download the content and pass it in."

Getting the same error, not sure why though because everything was working fine last week.
"We're not allowed to access the URL on your behalf. Please download the content and pass it in."

Same here, it was working fine in my project and now all my clientes get this error

After talking with Google these are some (the only) workarounds:

Using the Base 64 encoding
Download the image and storing it in a Cloud Storage Bucket

Good luck.

Yep, I can confirm that downloading the image in B64 format and using that works and is stable, albeit hurt response times.

I have the same issue :( I have changed storage rules but it didnt make sense!

I have the same issue :( I have changed storage rules but it didnt make sense!

And did it work?

I am having the same issue - using the node library and the batchAnnotateImages() function. Any way to fix this other than downloading the images and using a google cloud bucket?

This is still a problem. This API is super unreliable.

Still and issue we can nor use the image URLs from our S3 bucket with google API.

2020 and this bug is back and BIG!!!
What's going on there? can't google handle a simple download action from it's own storage??
This cause my app to be completely broken, and I assume the same for any other app that uses this service,
It didn't happen for a year, and since yesterday it happens constantly.
And I don't think that downloading the image and using B64 is a reasonable solution...
Using the gs:// uri is more reasonable, but how do I get this URI from a flutter TaskSnapshot object??
Please solve it ASAP, Please QA your code before uploading it to production...
Thanks

Same here, the problem returned to happen in our App in Production, even tho we are using Google Storage

I get this error repeatedly, and I wonder if it is because the images I am trying to process via URL have a noindex header (they're on a sandbox website of a hosting company that noindexes all websites until they're paid accounts).

hi, i will be glad to help you. can you please elaborate the use case. this repository is a collection of integration examples. it is hard to track the problem without a concrete code excerpt and additional information.
the information in previous comments is outdated and often unavailable.

Glad to find this thread. I've got this exact issue in my application. I use Google Vision API and I have images on public https sites and on google cloud storage buckets. Google vision api client can process hundred or thousands images for a few hours and suddenly none of the images can be processed (either on https or on google storage buckets) with this message The URL does not appear to be accessible by us. Please double check or download the content and pass it ..
It seemed that I have to restart the application to stop those errors from Google Vision API.
Those failed images are perfectly accessible and if I use the gcUri (or uri out of google storage) of the failed images in google vision api client, it can be processed again.
I check that my quota on vision api is fine. This issue repeatedly happens and I am surprised that this is a known issue for 5 years without a solution. I could load all images to google storage as one of the suggested solutions above, but I confirmed that this error happens for images on google storage buckets.
Please help.

This bit us as well. Our images are stored on Amazon S3, and switching to Google Storage isn't a viable option.
This means we have to upload the image data thrice, once to our server, then to both S3 and Google vision. If we could use the S3 url, we wouldn't have to send the image data to our server at all, since Google could collect it from S3, and we could upload to S3 directly from the frontend.

this is still an issue, happening in my project too. it was working just fine last week, this week: nope.

This bit us as well. Our images are stored on Amazon S3, and switching to Google Storage isn't a viable option.
This means we have to upload the image data thrice, once to our server, then to both S3 and Google vision. If we could use the S3 url, we wouldn't have to send the image data to our server at all, since Google could collect it from S3, and we could upload to S3 directly from the frontend.

Just experienced this same issue. This is definitely not a bug and on purpose Google made it so you cant use s3 url's even if they are signed or publicly accessible. This is a huge issue for us as we dont want to have to download the image from s3 and convert to base64. We use AWS Lambdas and could have a batch size of 100, so I really do not want to have to download that for each record, or worse decrease the batch size just for a simple logo detection.
I doubt you're still having this issue, but for anyone who is, I highly recommend Azure instead as the logo detection is much better and also works with s3 signed urls. I have zero affiliation with Azure btw, I dont work there never have and never will. I strongly dislike Azure for everything other than their computer vision suite of products.
Google you guys are absolutely awful for limiting your service this way. There's no way this is on accident as this was opened in 2017. Its now 2024. The same s3 signed url works on azure and any other logo detection service I looked into, the only one that did not work was Google Cloud Vision. So ironic the company slogan is "do no evil", you guys are the epitome of evil tech companies. Making your service worse on purpose for users who are paying money is definitely evil.

There's no way this is on accident as this was opened in 2017. Its now 2024. The same s3 signed url works on azure and any other logo detection service I looked into, the only one that did not work was Google Cloud Vision. [...] Making your service worse on purpose for users who are paying money is definitely evil.

I found them dropping packets (to googleapis, eg: oauth) when accessed from specific (competing) hosting provider, messing with SSL over IPv6 from a specific (competing) datacenter, and doing all sorts of subtle (and less subtle) things at the network/network-quality level to maintain monopoly and supremacy.
Nowadays they even attack Europeans VPN providers and segment the internet using reCaptcha (hand in hand with Cloudflare) and so on and so on...
If only it was just about GoogleVision API 🤣 ! (Looking at the rear-view, the situation was much better back in 2017)
NB: The "do not evil" moto is long gone (but was actually a smart trick to bootstrap in the early 2000')


Question on data split

I notice grefs(unc).json only contains 18495 images, which is different from 19994 in the paper, and maybe testA/B are not included in this json file? Thank you.

Thank you for your attention. Yes, the remaining are test A/B, which are not included in the "grefs(unc).json" file. These test sets will be made available on CodaLab for online evaluation and competition. We will notify you once the CodaLab evaluation is ready. Appreciate your understanding.