Unable to load font files referenced in a node_modules CSS file

Describe the bug
From version v2.9.13 up to the latest, if you try to import @mdi/font the icon is not displayed.
In build mode everything works fine, but in dev mode it doesn't.
http://<IP_ADDRESS>:5173/@fs/C:/Users/sak32/Documents/GitHub/Vite/node_modules/@mdi/font/fonts/materialdesignicons-webfont.woff2?v=6.9.96
If you try to open the url directly it doesn't work, if you remove the query string it works.
I think it's his fault: https://github.com/vitejs/vite/commit/e109d64
Reproduction
https://stackblitz.com/edit/vitejs-vite-x9um9q?file=main.js
System Info
System:
    OS: Windows 10 10.0.22000
    CPU: (12) x64 AMD Ryzen 5 2600 Six-Core Processor
    Memory: 7.58 GB / 15.93 GB
  Binaries:
    Node: 16.16.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 3.2.1 - C:\Program Files\nodejs\yarn.CMD
    npm: 8.11.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (103.0.1264.49)
    Internet Explorer: 11.0.22000.120
  npmPackages:
    vite: ^3.0.0 => 3.0.0

Used Package Manager
yarn
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I was not able to reproduce with both 2.9.14 and 3.0.0.

I also see this behavior; it appeared in v3 beta 8 (beta 7 works fine)
Details are different, but it is a font in node_modules referenced by CSS, which works if the query part of the URL is removed
I'm on macOS

 I was not able to reproduce with both 2.9.14 and 3.0.0 on stackblitz and Windows.

Because in this case the url is no longer http://<IP_ADDRESS>:5173/@fs/C:/Users/sak32/Documents/GitHub/Vite/node_modules/@mdi/font/fonts/materialdesignicons-webfont.woff2?v=6.9.96, but<EMAIL_ADDRESS>In my project https://github.com/Sak32009/SteamLauncher, if you update vite the problem is reproducible.

We are facing the same issue with Vite version: 2.8.6


Example needed showing how to update property value containing a space ' ' character

Platform: Windows 10  PowerShell CLI
Assume Device Twin holds:
"time_settings": {
"timezone_id_name": "Mountain Standard Time",
"utc_offset": "-07:00",
"dst_observed": true,
"dst_active": true
}
Show how to update property "timezone_id_name" using value "Pacific Standard Time"
Expecting answer to be of this form (please correct as needed):
PS C:> az iot hub device-twin update --hub-name sznacaiottest --device-id 000680082b53 --set properties.desired.time_settings='{"timezone_id_name":"Pacific Standard Time","dst_observed":true,"utc_offset":"-07:00","dst_active":true}'
Using Windows 10 PowerShell, can you provide an example of the CORRECT way to update a property with a value containing a space?
[Enter feedback here]

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

ID: 485cbe25-33b0-fc0a-c884-5674379f59f3
Version Independent ID: 5b20df05-be9f-045c-c020-a21cc37721f1
Content: az iot hub module-twin
Content Source: latest/docs-ref-autogen/ext/azure-cli-iot-ext/iot/hub/module-twin.yml
Service: iot-hub
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

Sorry, forgot to add the above question centers around Azure CLI device-twin property modification using PowerShell.
Hopefully, this question will get to the correct expert. :-)

Never mind. Found my answer:
az iot hub device-twin update --hub-name sznacaiottest --device-id 000680082b53 --set properties.desired='{"time_settings":{"timezone_id_name": "Pacific Standard Time", "dst_observed":true, "utc_offset":"-07:00", "dst_active":true}}'
With the help of this web-page:
https://github.com/Azure/azure-iot-cli-extension/wiki/Tips
Resolved.  Thanks anyway.

iot hub


Parallel run break in the middle

When I set Option::PARALLEL to true and run ecs, it starts correctly, workers are spawned, progress bar continues but it just stops at some point. No error messages, anything.

I did run 3 times with --debug option and it stopped on a different rule every time. Will try narrowing directories now.

If nothing works, we'll need reproducible repository with failing CI job.

Narrowing didn't help. I got to the point where a chunk fails but splatted into two inner chunks, each works.
It even started working on the chunks it didn't when I did narrowing when (I checked at the end).

That's a much closer then before.
What is the minimal content of those 2 files?
What is the single rule you're running?

Hmm, what 2 files? I didn't find it.

Narrowing didn't help. I got to the point where a chunk fails but splatted into two inner chunks, each works. It even started working on the chunks it didn't when I did narrowing (I checked this at the end).

I think I will pas for now. I've found some free time to spend on this parallel problem but I can't find anchor point. I will continue to use a script that uses git log to extract php filenames that changed between a branch and the main branch.

Closing is we cannot do anything without reproducible repository.


'GymAdapter' object has no attribute '_Serializable__initialize'

Hi,
When I try to run the main example using mbpo run_local examples.development --config=examples.config.halfcheetah.0 --gpus=1 --trial-gpus=1, I have an issue with the classes that inherit from Serializable (GymAdapter, SoftlearningEnv, ImagePusher2dEnv...). The problem is that the _Serializable__initialize method is not defined:
2021-05-03 18:03:36,442	ERROR trial_runner.py:426 -- Error processing event.
Traceback (most recent call last):
  File "/home/ricardo/Documentos/venv_mbpo/env-py3.6/lib/python3.6/site-packages/ray/tune/trial_runner.py", line 389, in _process_events
    result = self.trial_executor.fetch_result(trial)
  File "/home/ricardo/Documentos/venv_mbpo/env-py3.6/lib/python3.6/site-packages/ray/tune/ray_trial_executor.py", line 252, in fetch_result
    result = ray.get(trial_future[0])
  File "/home/ricardo/Documentos/venv_mbpo/env-py3.6/lib/python3.6/site-packages/ray/worker.py", line 2288, in get
    raise value
ray.exceptions.RayTaskError: ray_ExperimentRunner:train() (pid=4162, host=ricardo-VivoBook-ASUS-Laptop-X505ZA-X505ZA)
  File "/home/ricardo/Documentos/venv_mbpo/env-py3.6/lib/python3.6/site-packages/ray/tune/trainable.py", line 150, in train
    result = self._train()
  File "/home/ricardo/Documentos/mbpo/examples/development/main.py", line 85, in _train
    self._build()
  File "/home/ricardo/Documentos/mbpo/examples/development/main.py", line 46, in _build
    get_environment_from_params(environment_params['training']))
  File "/home/ricardo/Documentos/mbpo/softlearning/environments/utils.py", line 28, in get_environment_from_params
    return get_environment(universe, domain, task, environment_kwargs)
  File "/home/ricardo/Documentos/mbpo/softlearning/environments/utils.py", line 18, in get_environment
    env = ADAPTERS[universe](domain, task, **environment_params)
  File "/home/ricardo/Documentos/mbpo/softlearning/environments/adapters/gym_adapter.py", line 60, in __init__
    self._Serializable__initialize(locals())
AttributeError: 'GymAdapter' object has no attribute '_Serializable__initialize'

Is it possible that I am using the wrong version of Serializable?
Thanks.

Yeah, my guess is that this is a serializable version mismatch. Try:
python -c "import serializable; print(dir(serializable.Serializable))"

The output should be:
['_Serializable__initialize', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setstate__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'clone']

which includes the missing attribute as the first item.
You can install the right serializable version (from the requirements.txt) with:
pip install git+https://github.com/hartikainen/serializable.git@76516385a3a716ed4a2a9ad877e2d5cbcf18d4e6


Add click to copy behavior

Description
Adds Click to Copy behavior on each output format and on the fg and bg colors.
I used navigator.clipboard.writeText, as it appears to have sufficient cross-browser support. Our content is all plain text, and our use case is driven directly by user interaction, so I don't think we need to complicate things.
Steps to test/reproduce
Verify that clicking the button copies the correct value.

@dvdherron I reworked this a bit to add some specific focus styles for icon-only links and buttons so when you get a chance, take another look. Not sure if @mirisuzanne wants to review this as well. I switched to use focus-visible more often to give mouse users a bit of a break.

I reworked this a bit to add some specific focus styles for icon-only links and buttons

These new focus styles for the icon-only links look great 👍🏽

It all works great for me. But the copy buttons are very prominent visually. Maybe they could get a bit lighter icon color or something?

@mirisuzanne I lightened all icon-only btw/links in the main and footer areas (so clipboards and social icon links) and also made the clipboards next to the input a tad smaller. I think this works better so thanks for that suggestion.

@stacyk looks great!


Expose mouse_moves

Fixes #49

Please rebase and squash

@kvark ping

bors r+

On Jul 16, 2017, at 15:21, Ilya Bogdanov<EMAIL_ADDRESS>wrote:
@kvark ping
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


[FEATURE REQUEST] Implement winget settings

Implement the winget settings command. I image feature with a screen with some checkboxes that creates the setting in the JSON file
For example:
"installBehavior": {
    "preferences": {
        "scope": "user"
    }
},

I would be a checkbox "user" or "machine"

The settings command of the winget tool allows you to customize your Windows Package Manager client experience. You can change defaults and try out experimental features that are enabled in your client. The settings command will launch your default text editor.

https://learn.microsoft.com/en-us/windows/package-manager/winget/settings
What do you think @martinet101 ?

Yes, the scope thing is a thing i have ain mind, but i thought doing it through command-line so it can be easily changing without need to modify settings.json, and it could actually help with scoop global apps

I believe this is related to
https://github.com/martinet101/WingetUI/issues/123
https://github.com/martinet101/WingetUI/issues/140
https://github.com/martinet101/WingetUI/issues/81
https://github.com/martinet101/WingetUI/issues/206
https://github.com/martinet101/WingetUI/issues/142

Was this fixed with https://github.com/marticliment/WingetUI/commit/6ed9bab5fe515547e758308dc658fa7c31f952f3?

Yes!


feat: auto-add provision watchers on startup

also enabled auto-discovery by default

Signed-off-by: Anthony Casagrande<EMAIL_ADDRESS>Closes #68

If your build fails  due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[X] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[X] I am not introducing a new dependency (add notes below if you are)
[ ] I have added unit tests for the new feature or bug fix (if not, why?)
[ ] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?)

Testing Instructions

New Dependency Instructions (If applicable)

Codecov Report

Merging #69 (8c3c56e) into main (fa6315a) will decrease coverage by 0.22%.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##            main     #69      +/-   ##
========================================
- Coverage   2.60%   2.38%   -0.23%
========================================
  Files          6       6
  Lines        652     714      +62
========================================
  Hits          17      17
- Misses       635     697      +62

Impacted Files
Coverage Δ

internal/driver/driver.go
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


[CH-290] support to_date/date_format/trunc/add_months/map_from_arrays/translate

Changelog category (leave one):

New Feature

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
part1: support function add_months/translate

Information about CI checks: https://clickhouse.tech/docs/en/development/continuous-integration/

Can one of the admins verify this patch?

Notice: must be merge until clickhouse upgrade to 23.2

test this please with 951

test this please with 951

test this please with 951

test this please with 951


PHPAV problem when scanning files starting with $GLOBALS

Hi,
I got a problem while running this scan on nx1209 :
user@server ~ $ sudo php /root/PHPAV/scan.php /var/www

It prompted me the following :
Scanning /var/www for potential obfuscated malware...

Infected file (reason : First-line file with eval) :
	/var/www/site/.../example.php
Infected file (reason : First-line file with eval) :
	/var/www/site/example.php

And kept being stucked there.
After deeper analysis we found out the file was starting with
<?php

$GLOBALS['_scb_data'] = array( 42, __FILE__, array(

and that may be the issue.
Regards,
Sébastien

Cloud not reproduce.


Feat/enable nfs by default

Description
This PR uses NFS by default
Checklist

[ ] The PR branch is set up to merge into feat/k8s instead of dev.

Assuming this is part of the orchest-resources target, how would users discover such options as of now? I think it currently doesn't matter that much but I would like to either avoid using env vars passing as arguments (it's something that we haven't done until now) or to take a conscious decision to do that, including either docs or help messages etc. Not against it btw.

Assuming this is part of the orchest-resources target, how would users discover such options as of now? I think it currently doesn't matter that much but I would like to either avoid using env vars passing as arguments (it's something that we haven't done until now) or to take a conscious decision to do that, including either docs or help messages etc. Not against it btw, and I don't think there is anything to change about this at the moment.

This is indeed part of orchest-resources target. I really did not expect to makefile grow this far, for future we should drop it and use a sophisticated tool.


Update slf4j-simple to 2.0.0

Updates org.slf4j:slf4j-simple from 1.7.36 to 2.0.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.slf4j", artifactId = "slf4j-simple" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.slf4j", artifactId = "slf4j-simple" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #1585.


Try to exclude all non electric cars

Hi Mitch,
i've tried to exclude cars that have no 'fuel-status' in their domains from the list.
This worked for me with my Tiguan and ID.3. My Tiguan will run the exception clause whereas my ID.3 will run the try clause through and i have no error in the start of home_assistant. If you like i could reset my changed environment to make the exception clause a bit or narrow, but i think for future stability this will just catch all issues.
regards
Dominik

Thanks for the suggestion, i don't have an ICE volkswagen so it is hard to figure stuff like this out ;)
I don't think relying on the try/catch method is the best option (it does work but still) what value do you get from car type on your tiguan?
   class CarType(Enum,):         ELECTRIC = 'electric'         HYBRID = 'hybrid'         GASOLINE = 'gasoline'         PETROL = 'petrol'         CNG = 'cng'         LPG = 'lpg'         INVALID = 'invalid'         UNKNOWN = 'unknown car type'

Hi Mitch,
I think the last that i saw said MISSING for 'fuel-status', but i'll check when i'm back home.
Regards
Dominik

Hi Mitch, this is what i get if i just print:
2022-02-16 14:30:07 INFO (MainThread) [custom_components.volkswagen_we_connect_id] Domains: [[[capabilitiesStatus]
Capabilities: 50 items
[access] Status: MISSING_SERVICE disabling: False
[automation] Status: MISSING_SERVICE disabling: False
[charging] Status: MISSING_SERVICE disabling: False
[climatisation] Status: MISSING_SERVICE disabling: False
[cubicNetwork] Status: MISSING_SERVICE disabling: False
[cubicNetworkConsumption] Status: MISSING_SERVICE disabling: False
[dealerAppointment] Status: MISSING_SERVICE disabling: False
[destinationSync] Status: MISSING_SERVICE disabling: False
[digitalKey] Status: MISSING_SERVICE disabling: False
[emergencyCalling] Status: MISSING_SERVICE disabling: False
[fuelStatus] Status: MISSING_SERVICE disabling: False
[geofence] Status: MISSING_SERVICE disabling: False
[googleEarth] Status: MISSING_SERVICE disabling: False
[hybridRadio] Status: MISSING_SERVICE disabling: False
[informationCall] Status: MISSING_SERVICE disabling: False
[mapUpdate] Status: MISSING_SERVICE disabling: False
[measurements] Status: MISSING_SERVICE disabling: False
[mobileDeviceKey] Status: MISSING_SERVICE disabling: False
[news] disabling: False
[oilLevelStatus] Status: MISSING_SERVICE disabling: False
[onlineSpeech] Status: MISSING_SERVICE disabling: False
[parkingInformation] disabling: False
[parkingPosition] Status: MISSING_SERVICE disabling: False
[roadsideAssistant] Status: MISSING_SERVICE disabling: False
[routing] Status: MISSING_SERVICE disabling: False
[speedAlert] Status: MISSING_SERVICE disabling: False
[state] Status: MISSING_SERVICE disabling: False
[theftWarning] Status: MISSING_SERVICE disabling: False
[transactionHistoryAntiTheftAlert] Status: MISSING_SERVICE disabling: False
[transactionHistoryAntiTheftAlertDelete] Status: MISSING_SERVICE disabling: False
[transactionHistoryDigitalKey] Status: MISSING_SERVICE disabling: False
[transactionHistoryGeofence] Status: MISSING_SERVICE disabling: False
[transactionHistoryGeofenceDelete] Status: MISSING_SERVICE disabling: False
[transactionHistoryHonkFlash] Status: MISSING_SERVICE disabling: False
[transactionHistoryLockUnlock] Status: MISSING_SERVICE disabling: False
[transactionHistorySpeedAlert] Status: M....
there are a lot more and some of them actually have values, but the majority are flagged as MISSING_SERVICE
Let me try to use that instead of the exception
regards
Dominik

So all the objects in domains don'T show any sign of a type of car. I'll setup a debug environment and see if i can find a clear destinction. But i think as the 'older' cars use more or less another version of the api that they lack certain objects. Hopefully the structure for the ID cars will stay the same.
regards
Dominik

Hi Mitch i've been able to debug the whoe thing and i think i've come up with the simplest sollution to scan for ID cars
regards
Dominik

Hi Mitch,
do you want to merge the PR into your main? Otherwise i will just close the PR and branch off your repo into my own space to keep track of your improvements and easily be able to merge mine always back into your main. I think it would be a bummer if i would just close this PR, but it's up to you to use the latest version i made. I think checking the model name for ID is the most simple sollution as every car has a model name as attribute. But again, up to you.
regards
Dominik

Based on your suggestion ive added a better way to check for ID cars :) thanks!

Hi Mitch, thx for the feedback. Your adaption using an array of possibilities look quite good.thx, i'll close this one now.
regards
Dominik


No such file or directory Error after push coming from AdminQueries function

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
npm i -g<EMAIL_ADDRESS>If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
6.3.0
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No
Amplify Categories
function, api
Amplify Commands
push
Describe the bug
After pushing my amplify project I get the following error:
ENOENT: no such file or directory, stat '/path-to-my-project/amplify/backend/function/AdminQueriesa3b081c3/src/node_modules/.bin/lambda-build'
An error occurred during the push operation: ENOENT: no such file or directory, stat '/path-to-my-project/amplify/backend/function/AdminQueriesa3b081c3/src/node_modules/.bin/lambda-build'

The push itself worked and my resources are updated.
On my deployment bucket the #current-amplify-backend.zip and other files are not updated.
Expected behavior
I'd like to push without getting this error afterwards.
Reproduction steps
amplify push --y
I didn't do anything to my project files. The adminqueries lambda and api existed already a long time in my project.
GraphQL schema(s)

# Put schemas below this line

Log output

ENOENT: no such file or directory, stat '/Users/nivh/TransIT/repositories/trans-it-app/amplify/backend/function/AdminQueriesa3b081c3/src/node_modules/.bin/lambda-build'
An error occurred during the push operation: ENOENT: no such file or directory, stat '/Users/nivh/TransIT/repositories/trans-it-app/amplify/backend/function/AdminQueriesa3b081c3/src/node_modules/.bin/lambda-build'

Additional information
I found this similar issue: https://github.com/aws-amplify/amplify-cli/issues/8959
I checked locally and the file about which the cli complains, does exist.
I checked the remote state on s3. There are no node-modules in the packaged function. But I understand this is normal behavior. None of my functions has.
The package.json of the AdminQueries lambda:
{
  "name": "adminqueries",
  "version": "1.0.0",
  "description": "Administrative actions for Amazon Cognito",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "build": "lambda-build -f . -a ../adminqueries.zip"
  },
  "author": "Richard Threlkeld",
  "license": "Apache-2.0",
  "dependencies": {
    "aws-sdk": "^2.792.0",
    "aws-serverless-express": "^3.3.5",
    "body-parser": "^1.17.2",
    "express": "^4.17.1"
  },
  "devDependencies": {
    "aws-lambda-build": "^1.0.7"
  }
}

FYI: I checked the box for " have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists."  But my project is on 6.3.0. We have not moved to 7.x yet because we were hesitant to make this major breaking changes for a very large project. (we are first doing a POC). Anyway, this is irrelevant for my issue but wanted to mention it since I had to check the box , to be able to submit.

Hey @Nxtra :wave: thanks for raising this! Do you currently have a build command set in your project root's package.json to run this build step for your Admin Queries API? Something similar to what's described in the doc here? https://docs.amplify.aws/cli/function/build-options/

Hey @Nxtra 👋 thanks for raising this! Do you currently have a build command set in your project root's package.json to run this build step for your Admin Queries API? Something similar to what's described in the doc here? https://docs.amplify.aws/cli/function/build-options/

Hi @josefaidt ,
No there is nothing of the kind.
The only pre push thing I run is an amplify hook to check the minimum required cli version:
const fs = require('fs');
const parameters = JSON.parse(fs.readFileSync(0, { encoding: 'utf8' }));

// Get the running Amplify CLI major version number
const currentCLIVersion = parameters.data.amplify.version;
console.log('Amplify CLI version: ', currentCLIVersion);

const MINIMUM_AMPLIFY_CLI_VERSION = '6.3.0';

if (currentCLIVersion < MINIMUM_AMPLIFY_CLI_VERSION) {
  // Non-zero exit code will stop the Amplify CLI command's execution
  console.log(`Minimum CLI version requirement not met. Minimum version is ${MINIMUM_AMPLIFY_CLI_VERSION}`);
  process.exit(1);
} else {
  console.log(`Minimum CLI version requirement met. Minimum version is ${MINIMUM_AMPLIFY_CLI_VERSION}`);
  process.exit(0);
}

However, in the package.json of the AdminQueries lambda there is the following which was automatically added:
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "build": "lambda-build -f . -a ../adminqueries.zip"
  },

Hey @Nxtra thanks for clarifying! Can you try removing that build script from the function's package.json and re-attempt pushing?

@josefaidt , thanks for your help.
Yes it mitigated the issue!


Docker-TypeScript:  TSC running outside of the container?

So I'm looking at the Launch in Docker debug configuration at the moment and it produces this error.
web_1  | Error: Cannot find module '/server/dist/index.js'
web_1  |     at Function.Module._resolveFilename (module.js:538:15)
web_1  |     at Function.Module._load (module.js:468:25)
web_1  |     at Function.Module.runMain (module.js:684:10)
web_1  |     at startup (bootstrap_node.js:187:16)
web_1  |     at bootstrap_node.js:608:3
web_1  | [nodemon] app crashed - waiting for file changes before starting...

I assume this is because the tsc-watch task is not starting before this runs and therefore the compiled output is not available in the /dist of the container.
Why does this project choose to have the tsc-watch task run outside the container where as things like running the server via nodemon inside the container?
Surely for a more portable development setup it would be better to run everything inside containers therefore making Docker the only dependency to run the project?

What is the solution please ?

This happened to me because I forgot to remove dist from .dockerignore

We no longer have a Docker-TypeScript recipe as it has been supplanted by Remote-Containers functionality.


pull request for e2e test at 02/01/2017 15:15:13

:white_check_mark: Validation status: passed
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.


boards: imx93_evk: add overlay to connect user button to pcal6524

Apply this overlay to test RFU_BTN1 and RFU_BTN2 on PCAL6524.
The user buttons RFU_BTN1 and RFU_BTN2 is connected to i.MX 93 GPIO by default, but can be changed to connect to onboard GPIO expander PCAL6524. To do this, switch SW1006 to 0000, then switch SW1005 to 0101.
Not sure how to intergrate it into zephyr build/test system. Please shed some light

This is configured via on-board switches, I don't think it's suitable to use boards variants, since it involves both m33 / a55 cores. If we create a variant for every possible configurations, it will be too many variants to manage.
I see lots of board has dts code snippets inside readme doc. Perhaps we can do the same here? If so, it would be great if I could preserve this overlay file in tree and just refer to this overlay in the document (e.g. with a -DOVERLAY argument). Or I could include snippet in the doc, but that would be less convenient to use.

@CkovMk Thanks

Would you please update board document to address how to use this overlay and testing?

@JiafeiPan updated


test API

Tested IMDB API and didn't find any issues while getting data, its simple and only requires a string name parameter for a title search (once the title is found we must utilized the unique 'tt' value to any further data - there is a lot of useful data presented here as well). Able to render images (via get/images route) plots (via get/plots route). Currently I believe this is the only API we will need.


put the repository reference in the right package

in #36 I accidentally put the repo URL in the test-app and not the actual addon package 🙈 whoops!

if you mark this one as a bug (before merging) then it will make release-plan do the right thing 😂

What was the reason for having to keep these in sync? Since its the test app and not the actual published part.


Request Error on Production vs local

I am having an issue making requests out to dialogflow API via the OAuth2Client instance.
The request response is (redacted access token to <TOKEN HERE>):
{
    "error": {
        "response": {
            "config": {
                "url": "https://dialogflow.googleapis.com/v2beta1/projects/-/agent:search",
                "headers": {
                    "Authorization": "Bearer <TOKEN HERE>",
                    "User-Agent": "google-api-nodejs-client/5.3.0",
                    "x-goog-api-client": "gl-node/10.15.3 auth/5.3.0",
                    "Accept": "application/json"
                },
                "params": {},
                "responseType": "json",
                "method": "GET"
            },
            "data": {
                "error": {
                    "code": 401,
                    "message": "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
                    "errors": [
                        {
                            "message": "Invalid Credentials",
                            "domain": "global",
                            "reason": "authError",
                            "location": "Authorization",
                            "locationType": "header"
                        }
                    ],
                    "status": "UNAUTHENTICATED"
                }
            },
            "headers": {
                "alt-svc": "quic=\":443\"; ma=2592000; v=\"46,43\",h3-Q048=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000",
                "cache-control": "private",
                "connection": "close",
                "content-encoding": "gzip",
                "content-type": "application/json; charset=UTF-8",
                "date": "Wed, 09 Oct 2019 19:48:23 GMT",
                "server": "ESF",
                "transfer-encoding": "chunked",
                "vary": "Origin, X-Origin, Referer",
                "www-authenticate": "Bearer realm=\"https://accounts.google.com/\", error=\"invalid_token\"",
                "x-content-type-options": "nosniff",
                "x-frame-options": "SAMEORIGIN",
                "x-xss-protection": "0"
            },
            "status": 401,
            "statusText": "Unauthorized"
        },
        "config": {
            "url": "https://dialogflow.googleapis.com/v2beta1/projects/-/agent:search",
            "headers": {
                "Authorization": "Bearer <TOKEN HERE>",
                "User-Agent": "google-api-nodejs-client/5.3.0",
                "x-goog-api-client": "gl-node/10.15.3 auth/5.3.0",
                "Accept": "application/json"
            },
            "params": {},
            "responseType": "json",
            "method": "GET"
        },
        "code": 401,
        "errors": [
            {
                "message": "Invalid Credentials",
                "domain": "global",
                "reason": "authError",
                "location": "Authorization",
                "locationType": "header"
            }
        ]
    },
    "type": "Error",
    "message": "Invalid Credentials"
}

The requests are successful locally. I am using the OAuth2Client's generateAuthUrl to initially retrieve the access token.
I created a oAuth client ID credential in gcp console with redirects that allow me to sign in as a user both locally and on production via the consent form. Once I acquire the access token, I make a request to https://www.googleapis.com/oauth2/v2/userinfo in order retrieve the user's email. These parts of the flow work on production. (Aside: I am still waiting on the oauth verification required for the consent form .- not sure if that is a bottleneck).
Beyond this, when making requests out to dialogflow as above, this comes back with an error on production servers.

Was an issue with how I was saving the access token. Resolved - closing!


Hell yeah guys, This is looking good!

Im loving the concept!

Origin: https://pharmakarma-9wsdxin1h-social-baking.vercel.app
Form Meta: 40f158d2-ff1f-4c52-87d6-730825b2a744
Package<EMAIL_ADDRESS>Commit: eb0100896da297fc3f11094d8a26f38a83938a4b
Authenticated

Ha! Thanks whoever you are! We aren't collecting usernames at this point, but can see you logged in good and everything :)


chore: redesign mobile and overlay (Issues #565, #582)

Issue: https://github.com/epam/ai-dial-chat/issues/565
Issue: https://github.com/epam/ai-dial-chat/issues/582

/deploy-review

/deploy-review

/deploy-review


Flexible memberwise initialization

Looks good, please squash it into one patch and I'll commit it!

Thanks Chris.  I believe I have squashed them properly now!
I made a few further refinements to the interaction with access control you might want to review:

Clarify eligibility of properties with distinct setter access control.
Refine access control of implicitly generated memberwise initializer.
Add future enhancement to allow distinct access control for memberwise initialization eligibility.

Awesome!  We'll open the discussion period early next year, most likely the week of Jan 4th.  Thanks!


Sockets handler events

is it necessary for the events to be inside the coonnection handler? i have been testing with events outside the 'connection' event and it does not work.
  fastify.io.on("connection", (socket) => {
    // Work
    socket.on("test", (msg:any) => {
      console.log("test: ", msg);
    });
  });

  // Not work
  fastify.io.on("chat message", (msg) => {
    fastify.io.emit("chat message", msg);
  });

Hi, I am afraid this is related to socket.io itself not this plugin.


[HUDI-256] Translate Comparison page

see jira-256
cc @yihua @yanghua Could you PTAL when you are free?

@yihua Thanks for you careful review. Updated the PR to address your comments.


Play Nim against a friend in the same device.

As a player, I would like to be able to play Nim against a friend using the CLI, so that I can enjoy playing with another person.
Story points: 3
Tasks required for acceptance

User must be able to:

Start the program as a CLI.
Create a new game of Nim for two players.
Play against another player, taking turns, where a identifier for each player (e.g. "Player 1") is displayed before each turn.
The winner must be printed to the console.

Completed in e7968c8.


Add create_watch_client method

Closes #47
This new method should be used in place of create_rgd_client.

@banesullivan lmk if documentation for using this new method should be added somewhere.

I'll worry about documenting this when producing the demo materials. Thanks, @AlmightyYakob


Upgrade tuf dependency to 4.0

The public API changes in python-tuf v4.0.0 do not seem to affect us, but  theupdateframework/python-tuf@cb9aa4a does affect our client, due to my ill-fated choice to use the private ngclient.Updater._trusted_set.
fixes #133
related to secure-systems-lab/securesystemslib#767

Also survived manual testing with tufup-example


Unable to set proxy endpoint

Expected Behavior
A network request is fired to the custom apiEndpoint url specified with amplitude.init config instead of default https://api2.amplitude.com/2/httpapi
Current Behavior
Client fires networks requests to https://api2.amplitude.com/2/httpapi regardless of apiEndpoint value
Type '{ apiEndpoint: string; }' has no properties in common with type 'BrowserOptions'.ts(2559)

Steps to Reproduce

const amplitudeConfig = {
  apiEndpoint: "www.custom.url",
};
amplitude.init(config.amplitudeAPIKey, undefined, amplitudeConfig);

amplitude.logEvent({
  event_type: eventName,
  event_properties: eventProperties,
});

Environment

JS SDK Version: 0.4.0
Installation Method: npm
Browser and Version: Chrome 101

Hey @gesposito, thanks for the feedback. The apiEndpoint configuration applies to the old JS SDK. For this new SDK, the configuration is serverUrl. Reference here: https://amplitude.github.io/Amplitude-TypeScript/interfaces/Types.BrowserConfig.html#serverUrl

Thanks for the pointer! I'm still unable to make this work, I'll open an updated issue


actions: new cfg for dependabot

Applied mkpr on .github/dependabot.yml
cat .github/dependabot.yml

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.253%

Totals

Change from base Build<PHONE_NUMBER>5:
0.0%

Covered Lines:
1310

Relevant Lines:
1389

💛  - Coveralls


Investigate QR-Code alternatives

Hopefully we find an alteranative, otherwise we fork the original repository and apply the patch they did for polkawallet

We use polkadotwallet's fork, which is very outdated, and its outdated dependencies created a conflict with a package we wanted to introduce. It is a question of time until we are forced to either fork the fork, fork the original (which I believe is up-to-date), or find a new package.
I also consider it an option that we can use the the original repo and we don't actually need the patch they did, but I forgot what the patch was about now.


suggest bugging out on some third-party deps

On mozilla-central 691992:3a1aeb68a5aa suggest always seems to miss guid_win

Good News: my filtering machinery worked and indeed helped me reduce the problem down to something pretty minimal.
Annoying News: the problem was literally as simple as a normal-dep and a dev-dep on one node. We only ever suggest the dev-dep, presumably because it has weaker requirements and we never "get" to the other dep? I'll look at it closer.
graph LR
    subgraph roots
        node1{bitsdownload:0.1.0}
    end
    subgraph workspace-members
        node0[/bits_client:0.2.0/]
    end
    subgraph first-party
    end
    subgraph third-party
        node2(guid_win:0.2.0)
        node3(lazy_static:1.4.0)
    end
    node0 -->|normal| node2
    node0 -->|dev| node3
    node1 -->|normal| node0


RESUBMIT: Port FUSEPY to native Windows and Cygwin

[As per the comments in #54 I am resubmitting these changes as a new PR.]
This PR adds support for native Windows and Cygwin. This requires WinFsp (disclaimer: I am the author) on native Windows. It also requires installation of "FUSE for Cygwin" (included with WinFsp) on Cygwin.
This PR is minimal in that it ports the c_stat, c_statvfs, fuse_file_info and c_timespec to Windows/Cygwin. Note that these structures are not native to Windows, so WinFsp (and this Windows port of FUSEPY) uses Cygwin compatible definitions for both native Windows and Cygwin.
This PR expects the user to correctly set the FUSE_LIBRARY_PATH on Windows. There is no automatic detection for WinFsp using the registry or other mechanism. I can submit an alternative PR for automatic detection if this PR is accepted (as per @terencehonles comments in #54).
This PR does not include any fixes for the example file systems:

The memory.py file system requires some minimal changes otherwise most operations respond with "access denied" error messages. (The Windows and UNIX file security models are very different.)

The loopback.py file has been fixed by @N-Coder. I believe he may be able to help port it to Windows.

I have tested this PR with memory.py on Darwin and Windows. I have not tested on other platforms.

I think the testing you have done on Darwin and Windows is enough. The code itself looks good to me.

Fantastic. I would like to follow up with some additional PR's.

One PR to automatically detect and load WinFsp via the registry.
One PR that fixes some minor issues with memfs, so that it correctly runs on Windows.

Are those desirable?

Understood. Will send additional PR, hopefully some time in the weekend.

@billziss-gh @eestrada Is there a version for Windows which does not require cygwin or winfsp, but just uses the native Windows API?


freeze dependencies for more reliable builds

as recommended by
https://docs.npmjs.com/files/package-lock.json
and also a nice survey here
<EMAIL_ADDRESS>addresses  https://github.com/Netflix/lemur/issues/2899
and https://github.com/Netflix/lemur/pull/2900

Coverage remained the same at 58.357% when pulling 0e38870fb5bcd95d2ae273bde5799ac2efcd726d on hosseinsh:adding-package-lock into ecf940bb8f769b6f53677537c994e7b89f5dde40 on Netflix:master.

Thanks for pointing this out @jramosf, will revert the PR.


Investigate numba AOT to spead up calc_tm

Numba might be able to speed up calc_tm - using either JIT or AOT. Investigate this in a branch and merge if successful.
This is an (imprecise) measurement of running the code before optimization:

@JIMENOFONSECA: I'm about to close the issue. I was just wondering if you did any speed tests? I did some on my computer, that uses 8 CPUs - when single processing, the speedup is really big, but when multiprocessing, the overhead of multiprocessing eats up some of the gains (still faster, just not by such a large percent) - so I was wondering if on your machine (4 CPU's? the demand script tells you how many it is using) it was faster?

@daren-thomas I am using an 8 core CPU in windows for this week. I did not do any speed test though.


Add the build configuration

Title:
Configure Azure Pipelines
Description:
This pipeline configuration builds the application and produces a build for the Release configuration.

Title:
Configure Azure Pipelines
Description:
This pipeline configuration builds the application and produces a build for the Release configuration.


Tag for 0.92.4 is missing

There's a tag labelled $version instead

Thanks for reporting, @akolov. We removed the tag for 0.92.4 because our release didn't complete successfully. We'll re-add it once 0.92.4 is officially released, which shouldn't be long now.


get_local_path in label_studio_tools/core/utils/io.py creates invalid path on Windows 10 when used with local storage

Describe the bug
A clear and concise description of what the bug is.
get_local_path in label_studio_tools/core/utils/io.py creates file paths with the format:
local-files/folder\img.jpg
, which causes it to raise a FileNotFoundError(local-files/folder\img.jpg)
To Reproduce
Steps to reproduce the behavior:

Create a valid local files source storage connection according to https://labelstud.io/guide/storage.html#Set-up-connection-in-the-Label-Studio-UI-4

Execute some task that calls get_local_path. E.g. attempting to run 'Auto-Annotation' with a ml backend in the labelling UI interface.

Auto-Annotation fails with FileNotFoundError: local-files/folder\img.jpg

Expected behavior
get_local_path to return a valid path for the file in question: e.g. C:/path/to/local/img.jpg
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: Windows 10, running directly on OS (no container)
Label Studio Version 1.5.0.post0

Additional context
I fixed this for my local implementation by changing lines 56-62 in io.py from:
    if is_local_file:
        dir_path, filename = url.split('/data/')[1].split('?d=')
        filename = str(urllib.parse.unquote(filename))
        filepath = os.path.join(dir_path, filename)
        if not os.path.exists(filepath):
            raise FileNotFoundError(filepath)
        return filepath

to:
    if is_local_file:
        local_files_root = os.environ['LABEL_STUDIO_LOCAL_FILES_DOCUMENT_ROOT']
        filename = url.split('/data/')[1].split('?d=')[1]
        filename = str(urllib.parse.unquote(filename))
        filepath = os.path.join(local_files_root, filename)
        if not os.path.exists(filepath):
            raise FileNotFoundError(filepath)
        return filepath

I don't know if this breaks other functionality / implementations on other OS's but I did manage to get Auto-Annotation to work on my machine
On a related note, when I export annotations in COCO format I get 'file_name' lines that follow the format:
"file_name": "/data/local-files/?d=folder\\img.jpg"
Which, I assume is also a bug?

Hey I am also facing a similar issue and I believe the path is not allowing it to read the original file somehow.
raise FileNotFoundError(filepath)
FileNotFoundError: local-files/Downloads/test_images/img198.png

When I print my
print(">>>>>>>>",LOCAL_FILES_DOCUMENT_ROOT, "<<<<<<<<<")
 outcome: >>>>>>>> / <<<<<<<<<

Could you please update your label-studio-tools to 0.0.0.dev15?

@KonstantinKorotaev
That seems to have fixed it. Thanks

In my URL I am not able to see the full path. I still get the error

@mukeshnarendran7 Yes, you need to set LOCAL_FILES_DOCUMENT_ROOT manually.

Thanks, makseq. It helped


Changed the source code

It looks like this PR should not have been raised against the main slatedocs repo, but against your fork.


ENH: AutoWorkup runs antsRegistration in float mode

This patch makes antsRegistration and BRAINSFit work with single precision (float) transforms in AutoWorkup.

@hjmjohnson Please review.

@hjmjohnson
This patch is updated.


chore: better error handling when encoding jwt tokens

When encoding, missing certain keys in the input json throws an undefined error as shown in the examples below.

To ease the experience, we could show the user exactly what fields are missing. This PR aims to show more user-friendly errors in the output field and also modifies the error pop up.

Thanks for this!

Nice, when could we expect a release? (No hurry but just wondering)

@drodil reiterating the above question, when could we expect a release? (No hurry but just wondering)


Add async/await support

Why not #6:

this PR doesn't use bluebird dependency
use actual versions of code/lab

closes #6


Amatsumi Sora ni! Kumo no Hatate ni [PCSG00638]

App summary

App name: Amatsumi Sora ni! Kumo no Hatate ni
App serial: PCSG00638
App version: 1.01

Vita3K summary

Version: v0.1.4
Build number: 2400
Commit hash: https://github.com/vita3k/vita3k/commit/7cf07fb1

Test environment summary

Tested by: Zangetsu38
OS: Windows 10
CPU: AMD Ryzen 9 3900X
GPU: NVIDIA RTX 2070 Super
RAM: 16 GB

Issues

Music and voice is missing, using libatract and call missing PartlyDecode function

Screenshots

end credit scene

continue after this end credit scene

finish game with unlock trophy

new option unlocked in menu after finish game

Log
vita3k.log

remove audio missing


Taking redis client from django.core.cache

Hello there. I have a little suggestion for the package. It is not so cool to re-declare your Redis url when you already have it on the settings. I have a quick workaround and would like your opinion.
First, add a new setting to the package: DEFENDER_REDIS_NAME. Is the name of the cache you will use, taken from the CACHES django setting.
Second, some code:

defender/connection.py

from django.core.cache import caches

def get_redis_connection():
    ...
    elif config.DEFENDER_REDIS_NAME:
        return caches[config.DEFENDER_REDIS_NAME].get_master_client()
    ...

Tried it and worked fine. If you are not against it, I can create a PR really quick.

@Franr I think that seems reasonable, I would probably change it a little, so that we check to make sure the caches dict has that key before we get the value. It is a little safer so it doesn't throw a KeyError if the name is wrong.
from django.core.cache import caches

def get_redis_connection():
    ...
    elif config.DEFENDER_REDIS_NAME and caches.has_key(config.DEFENDER_REDIS_NAME):
        return caches[config.DEFENDER_REDIS_NAME].get_master_client()
    ...

Good point. But in that case, the lib will try to use the DEFENDER_REDIS_URL setting, which will be null, and the default config will be used instead, leading to more confusion maybe? :stuck_out_tongue:
I would prefer to make it explicitly fail, so you can quickly now where is the error and fix it in 2 seconds hehe. I will create a PR and we can discuss over it.


Create web front end for easy upload of data

Create a web page / back-end service that exposes the vector file ingest, as well as other ingesters (gpx, etc.)  to allow web based submission of GIS data (think geojson, shapefile, etc.).  The ingest service should be usable directly as well (i.e. doesn't require the web page)
This should also interact with the geoserver api to automate, or at least simplify, the publishing of data stores and layers.

@jwomeara you finished this one as well, no?

I need to do it.  I created Jersey clients which can be used, but that's
certainly not a web front end.
On Thu, Feb 26, 2015 at 7:32 PM, Chris Bennight<EMAIL_ADDRESS>wrote:

@jwomeara https://github.com/jwomeara you finished this one as well, no?
—
Reply to this email directly or view it on GitHub
https://github.com/ngageoint/geowave/issues/4#issuecomment-76307966.

Gotcha.  Unless you want to you could unassign yourself.  If we document this a bit better this seems to be the type of thing we could curate as a "new contributor", etc. type task - i.e. it's a good get your feet wet without having to dig into the internals type of piece.   I'll make a "new contributor" tag and add it.

Sounds good to me.  Thanks, Chris!
On Fri, Feb 27, 2015 at 4:08 PM, Chris Bennight<EMAIL_ADDRESS>wrote:

Gotcha. Unless you want to you could unassign yourself. If we document
this a bit better this seems to be the type of thing we could curate as a
"new contributor", etc. type task - i.e. it's a good get your feet wet
without having to dig into the internals type of piece. I'll make a "new
contributor" tag and add it.
—
Reply to this email directly or view it on GitHub
https://github.com/ngageoint/geowave/issues/4#issuecomment-76472032.


Profiles for keybindings

For bug reports, please fill in the details below. For feature requests, please describe the desired feature.
-->
Hello,
Sorry if this is a duplicate but one feature I think would be really helpful is to be able to create profiles for keybindings and other environment variables.
I just left a job where we pair programmed on everything and driving on someone else's machine would always confuse each of us a bit as we were used to our own shortcuts or behaviours. Whether that was related to formatting/code styling or simply navigating within the IDE.

I've a similar feature request, but in addition to user specific keybinding profiles, it would also be great to have operating system specific (global) profiles on other supported platforms (e.g. macos, linux, win 10).
Why?  - muscle memory - I've have a main machine, running macos, but also use linux and windows 10 (running natively on the macbook). My muscle memory is mostly used to VS Code's mac shortcuts, it would be nice if for example in the VM (e.g. VirtualBox) instance running my (linux) VS Code instance I could do "select keybinding profile: macos" - as my (host) machine and keyboard (layout) haven't really changed.
Similar use cases apply if the main machine would be running linux (windows in a VM) or windows 10 (with a linux in a VM).


A valid mod directory must be specified

I have specified my documents folder as the one in the "my documents" area, yet the converter doesn't recognise the mod's directory (Paradox Interactive/Europa Universalis IV)

Tech support is handled via the release thread on the forum or by a fresh post on www.reddit.com/r/paradoxplaza.


Np tensorflow in deepwater AMI

Hi,
I launched the deepwater AMI (ami-10bd9607) and it seems that the tensorflow package is not installed.

import tensorflow as tf
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named 'tensorflow'

Hence I can't reproduce the deeplearning_tensorflow_cat_dog_mouse_lenet_ notebook
Should I install tensorflow manually?

@ItamarKanter
Did you try to install the tensorflow module to fix it?
pip install tensorflow

I installed tensorflow but still unable to run the example notebook
deeplearning_tensorflow_cat_dog_mouse_lenet.ipynb
I get the following error in DeepFeatures cell
H2OResponseError                          Traceback (most recent call last)
<ipython-input-6-bd4f842d8788> in <module>()
----> 1 model.deepfeatures(frame, "fc1/Relu")

/usr/local/lib/python2.7/dist-packages/h2o/model/model_base.pyc in deepfeatures(self, test_data, layer)
    192         if test_data is None: raise ValueError("Must specify test data")
    193         j = H2OJob(h2o.api("POST /4/Predictions/models/%s/frames/%s" % (self._id, test_data.frame_id),
--> 194                            data={"deep_features_hidden_layer": layer}), "deepfeatures")
    195         j.poll()
    196         return h2o.get_frame(j.dest_key)

/usr/local/lib/python2.7/dist-packages/h2o/h2o.pyc in api(endpoint, data, json, filename, save_to)
     82     # type checks are performed in H2OConnection class
     83     _check_connection()
---> 84     return h2oconn.request(endpoint, data=data, json=json, filename=filename, save_to=save_to)
     85
     86

/usr/local/lib/python2.7/dist-packages/h2o/backend/connection.pyc in request(self, endpoint, data, json, filename, save_to)
    261                                     auth=self._auth, verify=self._verify_ssl_cert, proxies=self._proxies)
    262             self._log_end_transaction(start_time, resp)
--> 263             return self._process_response(resp, save_to)
    264
    265         except (requests.exceptions.ConnectionError, requests.exceptions.HTTPError) as e:

/usr/local/lib/python2.7/dist-packages/h2o/backend/connection.pyc in _process_response(response, save_to)
    588         # Client errors (400 = "Bad Request", 404 = "Not Found", 412 = "Precondition Failed")
    589         if status_code in {400, 404, 412} and isinstance(data, (H2OErrorV3, H2OModelBuilderErrorV3)):
--> 590             raise H2OResponseError(data)
    591
    592         # Server errors (notably 500 = "Server Error")

H2OResponseError: Server error water.exceptions.H2OIllegalArgumentException:
  Error: Illegal argument for field: deep_features_hidden_layer of schema: ModelMetricsListSchemaV3: cannot convert "fc1/Relu" to type int
  Request: POST /4/Predictions/models/DeepWater_model_python_1493012199838_1/frames/cat_dog_mouse.hex
    data: {u'deep_features_hidden_layer': 'fc1/Relu'}

and the following after trying to tarin a model wih imported custom tensorflow model
deepwater Model Build progress: | (failed)
---------------------------------------------------------------------------
EnvironmentError                          Traceback (most recent call last)
<ipython-input-9-a79f3d55cc39> in <module>()
      5                               backend="tensorflow",
      6                              )
----> 7 model.train(x=[0], y=1, training_frame=frame)
      8 model.show()

/usr/local/lib/python2.7/dist-packages/h2o/estimators/estimator_base.pyc in train(self, x, y, training_frame, offset_column, fold_column, weights_column, validation_frame, max_runtime_secs, ignored_columns)
    227             return
    228
--> 229         model.poll()
    230         model_json = h2o.api("GET /%d/Models/%s" % (rest_ver, model.dest_key))["models"][0]
    231         self._resolve_model(model.dest_key, model_json)

/usr/local/lib/python2.7/dist-packages/h2o/job.pyc in poll(self)
     74             if (isinstance(self.job, dict)) and ("stacktrace" in list(self.job)):
     75                 raise EnvironmentError("Job with key {} failed with an exception: {}\nstacktrace: "
---> 76                                        "\n{}".format(self.job_key, self.exception, self.job["stacktrace"]))
     77             else:
     78                 raise EnvironmentError("Job with key %s failed with an exception: %s" % (self.job_key, self.exception))

EnvironmentError: Job with key $0301ac111ff132d4ffffffff$_9d92f19ad026c02a357ca4990dfe4cf1 failed with an exception: java.lang.RuntimeException: Unable to initialize the native Deep Learning backend: /home/fmilo/workspace/deepwater/tensorflow/src/main/resources//tmp/lenet_tensorflow.meta_28x28x3_3.pb
stacktrace:
java.lang.RuntimeException: Unable to initialize the native Deep Learning backend: /home/fmilo/workspace/deepwater/tensorflow/src/main/resources//tmp/lenet_tensorflow.meta_28x28x3_3.pb
	at hex.deepwater.DeepWaterModelInfo.setupNativeBackend(DeepWaterModelInfo.java:246)
	at hex.deepwater.DeepWaterModelInfo.<init>(DeepWaterModelInfo.java:193)
	at hex.deepwater.DeepWaterModel.<init>(DeepWaterModel.java:225)
	at hex.deepwater.DeepWater$DeepWaterDriver.buildModel(DeepWater.java:127)
	at hex.deepwater.DeepWater$DeepWaterDriver.computeImpl(DeepWater.java:114)
	at hex.ModelBuilder$Driver.compute2(ModelBuilder.java:169)
	at hex.deepwater.DeepWater$DeepWaterDriver.compute2(DeepWater.java:107)
	at water.H2O$H2OCountedCompleter.compute(H2O.java:1206)
	at jsr166y.CountedCompleter.exec(CountedCompleter.java:468)
	at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)
	at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)
	at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)
	at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

Any suggestions?

Sorry, I honestly have no idea. I just started at H2O.ai. I guess @arnocandel might help you, he's in charge of DeepWater.

had a quick look, the path is suspicious -
/home/fmilo/workspace/deepwater/tensorflow/src/main/resources//tmp/lenet_tensorflow.meta_28x28x3_3.pb

Hi @ItamarKanter , looks like you're using an old AMI image. ami-10bd9607 is from November last year when we didn't have this functionality. We have not yet released a public image with the new functionality.

Hi @ItamarKanter We will be releasing a new Deep Water AMI with updates to TensorFlow shortly.  @mstensmo can post the name of the AMI once it's been published.  Thanks!


Relying only in Parse Cloud Code

Hello guys.
This is a question I've tried to find anywhere in StackOverflow or here but I haven't found.
Some of us, developers who use Parse for a backend solution, rely only on Parse Cloud Code to make requests. Sometimes we develop X-platform products which is really nice, but maybe we would like to avoid people to fiddle with the REST part (or from Javascript SDK for example). Is there any plan to be able to cut everything except some endpoints such as "http://parsehost/parse/functions/*" for the future?
Thank you very much in advance, and I'm sorry if this question is duplicated (I haven't found it).
Regards.

You can build an express app with a simple API if that's what you need.

@flovilmart thank you for your answer... is there any reference I can read or any idea?
Thank you again

What you want is actually just a web server, that is using parse as a backend right? you can use expressjs http://expressjs.com and then make an API client on your apps.

No, well, I would like to use Parse directly, but disabling Queries from clients of cURL. I use background jobs, push, and many more Parse features. What I want actually is being protected against calls like http://mywebserver:1337/parse/users and read every single field. I'm getting sensitive data (according to my structure) but I need Users to be public readable.
In Parse Cloud I use .select to retrieve the right fields.
I don't know if I explained well, is it clear?

You can use beforeFind calls to transform you query before it's executed. If you want to disable full endpoints you can also do
app.get('/parse/users', function(req, res) {
   res.send(404, 'Not found')
})
app.use('/parse', parseAPI)

@flovilmart that is gorgeous... thank you very much!

@flovilmart, I've been checking deeply, it wouldn't work to isolate only Parse Cloud for example.
I tried to isolate in this way:
app.all('/parse/*', function(req, res, next) {
   if (!req.url.startsWith("/parse/functions")) {
      res.send(404, 'Not found');
   } else {
      next();
   }
});

but Parse Cloud is using /parse/classes/_User for retrieving users, for example, and it wont work... do you have any other workaround or idea to work with? I'm still thinking but got no clue :(

Yeah because you need all of those still working because parse-server is well, parse-server... I'm not sure we're gonna go that route...

So what would you suggest for this?
"I have done a search on Google saying ' websites done with parse as backend '. I got one, I opened the Javascript console (or well, grab the REST-Api-Key from any cloud call and do the same job with cURL) and this happened:"

What could we do in this case?

put a CLP so you can't run a find...

so I can't run a find from Parse Cloud either :\ ?

you can run find with the master key

alright! let's try :)
thanks!

We do something similar to the suggestion: All classes have no read and write access via CLP (make sure to switch to advanced permissions mode to also unset Add Field) and our cloud code queries etc. all have useMasterKey: true
Perhaps it would be useful to have a special mode so it is like this out of the box but it is low priority for me as you can achieve this already using the above steps.

I've tried to do change CLP for User object, disabling Public GET and FIND.
But new users are unable to Signup without Public GET. Login works fine. (Javascript SDK)

@cleever I had faced this issue and got around it by creating a cloud function to sign users up

I think you need an ACL in this case. Whenever a user signs up, you should place an ACL on that user. This should avoid public gets to find this user.

@steven-supersolid  I'm using the same thing as you where I disable access to all the tables and only use Cloud Code to access. I'm migrating off to Parse Server now and update all Cloud Code to use master key explicitly and removing the current user call but the queries don't return any data now. Seems like the useMasterKey is not working for some reason and I have been banging my head against the wall for the past 2 days. Is yours working?
@flovilmart any help or suggestion here? I google and read all the issue and it seems like it should be working but it's not for me. I using Heroku and mLab and running the latest version of Node 6.9.1 and the latest beta version of Parse Server.
Any help or direction would be greatly appreciated.

@kyvu probably best to ask on SO and provide a simple code sample and server logs as seems like an issue with your setup


[9.x] Translation of the default message of the validator

Before:
{
    "message": "The given data was invalid.",
    "errors": {
        "email": [
            "Taki adres e-mail już występuje."
        ]
    }
}

{
    "message": "Taki adres e-mail już występuje. (and 1 more error)",
    "errors": {
        "email": [
            "Taki adres e-mail już występuje."
        ],
        "name": [
            "Taki nazwa już występuje."
        ]
    }
}

After
{
    "message": "Podane dane były nieprawidłowe.",
    "errors": {
        "email": [
            "Taki adres e-mail już występuje."
        ]
    }
}

{
    "message": "Taki adres e-mail już występuje. (i jeszcze 1 błąd)",
    "errors": {
        "email": [
            "Taki adres e-mail już występuje."
        ],
        "name": [
            "Taki nazwa już występuje."
        ]
    }
}

On line 99, I deliberately put the space character outside the translation function, as it can be confusing for developers, namely, they can compose translations as "(and :count more errors)" instead of " (and :count more errors)" and will not understand why the translation does not work.

Finally it was accepted.
Before that there were a bunch of attempts at the same changes that were closed.

It's a cool thing, thanks!

Tried this and none worked:
' (and :count more errors)' => 'Test',
'(and :count more errors)' => 'Test',
' (and :count more error)' => 'Test',
'(and :count more error)' => 'Test',
' (and 1 more error)' => 'Test',
'(and 1 more error)' => 'Test',

@Pablo-Camara, you need to add this to json file like fr.json, not a validation.php

For anyone else who like us uses PHP files rather than JSON files for translations.
We used a Service Provider to inject language strings from validation.php into the Lang lines so that the translation system would pick them up as if they were sourced from JSON files.
class ValidationServiceProvider extends ServiceProvider
{
    public const JSON_INJECTION_KEY = 'json-injection';

    public function boot(): void
    {
        // ...
        $this->injectJsonTranslations();
    }

    /**
     * Because of Laravel's ValidationException::summarize function only supports JSON translations,
     * we are injecting some strings into Laravel's Lang engine to make the function's translation
     * work with php lang files.
     *
     * @see ValidationException::summarize()
     */
    protected function injectJsonTranslations(): void
    {
        $locales = collect(scandir(lang_path()))
            ->filter(fn (string $locale) => ! Str::startsWith($locale, '.'));

        $locales->map(function (string $locale): void {
            $langFilePath = lang_path("{$locale}/validation.php");

            if (! file_exists($langFilePath)) {
                return;
            }

            $languageStrings = require $langFilePath;

            if (array_key_exists(self::JSON_INJECTION_KEY, $languageStrings)) {
                foreach ($languageStrings[self::JSON_INJECTION_KEY] as $key => $value) {
                    Lang::addLines(["*.{$key}" => $value], $locale);
                }
            }
        });
    }
}

@andrey-helldar that worked! My mistake trying to add in the validation.php , thanks for the help!


Add tofu to list of allergens

Per Judith Starks: "I have developed a new allergy: tofu.  I don't expect you to do anything about this other than note it in our list of allergies. I hope it doesn't turn into a full- fledged soy allergy."
Originally created by Willie Northway at 2016-06-13 00:48, migrated from redmine-#4629

Estimate set to 0.50 h

By Tom Smyth at 2016-09-08 06:05

Status changed from New to Closed

By Tom Smyth at 2016-09-18 18:18

Version set to 2.3

By Tom Smyth at 2016-09-28 05:47


When image-tracking will be builtin in UE4?

Hello, I can't wait to be able to use ArCore with Image tracking option, I have heard about Vuforia for Unity, but never seen this for UE4, I wish new version of ArCore will support image-base tracking.
Thank you.

Thank you for the feature request. Unfortunately, I have no dates I can share about this feature at this point in time.
Stay tuned!

You could try combining a score with unreal4ar

Sorry I'm on my phone and can't edit. Use arcore with unreal4ar

Unreal4AR is not a steady solution and has significant limitations, I have tried it already, but the result is not that impressive. I saw demos from ARKit 1.5 with image-based tracking and it was just amazing, I hope ARCore 1.5 coming with this feature to Unreal Engine and it will blow the industry!

Thanks for your vote of confidence! Please do stay tuned, we are passionate about AR too! FYI, our next update won't be 1.5, it'll be 1.2. :)

The Augmented Image feature is added in ARCore Unreal SDK 1.2 release. See the developer guide here for details: https://developers.google.com/ar/develop/unreal/augmented-images/guide


Add "location" to properties

Is your feature request related to a problem? Please describe.
Sometimes, entities have a location in form of a point(s) or polygon(s). E.g. a resource can be about a specific city or a POI. We want users to be able to set such a location. Also we should render a map in our web client to show the location. This feature is prominent in Open Data Portals. We should not try to invent something new. It seems the ODP solutions work just fine here.
Describe the solution you'd like
We need to add a new property which can store the location information. We need to do some research in best practice of storing such locations.
Additional context/tasks

[x] look into vocabularies like DCAT-AP
[x] look for an map plugin for vuejs (e.g with open street map) -> https://vue2-leaflet.netlify.app/quickstart/

It seems that vue2-leaflet will do the job. We need to discuss which kind of location data we want to support. It seems that the library supports: points, circles, rectangles, polygons and polylines. A lot of drag and drop inside the map is available which should make the interaction with the user much more easy.

We can use this JSON schema that is build around the GeoJSON specification: https://github.com/fge/sample-json-schemas/blob/master/geojson/geometry.json

Now going to use: https://json.schemastore.org/geojson.json ina n location field.

This is how the location field could look like. This is a non working mockup.

We are now able to edit the location property using the visual tools.

@setaman do we want to implement an expert mode? Or do we want to have this feature as part of a global JSON metadata editor?

@DaTebe
difficult to evaluate the importance of this feature and how common is that someone want to copy and paste geojson locations. Not sure that the metadata editor will come soon.  So if the expert mode is required, we should add it now

Then let us put it on our "maybe" list and finish this issue.


add embed tag for first time embed users / pirate bay

If a new user comes in to Odysee through an embed, add the new-user-embed  tag to them.
If someone comes through piratebay, add new-user-piratebay. The URL source when this happens is: ?utm_source=PB&utm_medium=referral

Sample code to add tag: https://github.com/lbryio/lbry-desktop/pull/2333/files#diff-853979319a0d6ac3a6c449497f4d34bd3189cd9b7e7781859a5527749649d722R41


[Bug] An error occurred building the MPR     TypeError: Cannot destructure property 'imagePositionPatient' of 'metaData__WEBPACK_IMPORTED_MODULE_3_.get(...)' as it is undefined.

Describe the Bug
Hi, I had an error while building the MPR

But I have no problem constructing this sequence of MPR when I use some other tools, I don't know what the reason is, can you help me to look at it

This is the data
let temp1 = ["wadouri:http://<IP_ADDRESS>:82/20211125\0029C381.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C38C.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C395.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C396.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C397.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C398.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C399.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C39A.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C39B.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C377.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C378.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C379.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C37A.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C37B.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C37C.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C37D.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C37E.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C37F.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C380.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C382.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C383.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C384.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C385.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C386.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C387.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C388.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C389.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C38A.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C38B.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C38D.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C38E.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C38F.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C390.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C391.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C392.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C393.img", "wadouri:http://<IP_ADDRESS>:82/20211125\0029C394.img"];
Steps to Reproduce

Initialize cornerstone
load images
Build mpr

The current behavior
Unable to build MPR
The expected behavior
The mpr was successfully built
OS
win10
Node version
v18.20.4
Browser
Microsoft Edge  128.0.2739.79

如果 MPR 失败，通常意味着由于元数据不一致而无法创建卷。您可以将其拖放到 OHIF 查看器中，https://viewer-dev.ohif.org/localbasic 检查图标。如果它是一个 cube，则表示它是 mprable

但如果是堆栈，则意味着它不能进入 MPR

I was able to build when I was using version 1.23, and now after upgrading to the latest version many sequences failed to build successfully reporting the current error
This is an image I just rendered using OHIF, and I think it's buildable

If MPR fails, it usually means the volume cannot be created due to inconsistencies in the metadata. You can drag and drop it into the OHIF viewer at https://viewer-dev.ohif.org/localbasic to check the icon. If it's a cube, it indicates it is mprable

but if is it stack it means it can't go mpr

I saw the icon you said, is it possible to build only if the metadata is the same? I saw the OHIF, which can also be built. Is there any configuration that can ignore this verification

Try latest OHIF it should have fixed it

Try latest OHIF it should have fixed it
Hi,I see the error "imagePositionPatient" is undefined, but I have a value for this property.
Is there the latest version of OHIF online? The OHIF address you replied to me above I found that the data can still be built MPR successfully.
This is the data, can you take a look at the metadata is there a problem, I want to know what is the difference from the old version why the MPR failed to build.
images.zip


Unable to be used as a rebar3 dependency

Dependencies are only listed in the makefile so will not be fetched when used as a dependency in a rebar3 project.
Happy to send a PR later today.

Sure, rebar3 support would be good. PR will certainly be accepted!


Attachment or ObservationMedia is not translated into FHIR

Cannot find the translation of attachment (ObservationMedia) in the FHIR response, and cannot found the mapping either in the mapping document.
I think this particular element is important and may pose a clinical safety risk if it is contained in the original document but not in the FHIR response.

Though there is no mapping in the mapping document, I think this element quite important and may pose a clinical safety issue if it is in the original document but not in the FHIR response. I think it probably maps to Media in FHIR R4.

Will investigate, Status is ASSIGNED

From the discussion with NHSD architect (David Waters and Adam lee), they have mentioned that attachments should not be used when sending the document in NHS 111, and if the recipient received them, they can choose to do whatever to do with that. At the moment, the adapter ignores attachments and not translate any of the translation. This issue thus can be closed.


List products that are built using Meltano on website

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2564
Originally created by @DouweM on 2021-02-10 16:39:11

Some data products use Meltano/Singer to power their internal data integration needs, often without directly exposing the Meltano project to the end user.

Blotout.io
Halosight.com
Singerly (once it's out of alpha)

View 7 previous comments from the original issue on GitLab


Update crates.io

The version of crates.io is outdated.

Yup, will be uploading a new one today.

Done, we're now up to 0.4!


Ubuntu 20.04 and 22.04 version `GLIBC_2.29' not found

Description
Azure Function using Ubuntu 20.04 and 22.04 display following error /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/site/wwwroot/.python_packages/lib/site-packages/pyodbc.cpython-37m-x86_64-linux-gnu.so)
The solution is said to be downgrading to Ubuntu 18.04, but this image will be deprecated in less than 2 weeks from now. What are we to do then?
I have tried changing the image in the yml and testing ldd --version in all three images and get ldd (Debian GLIBC 2.28-10+deb10u2) 2.28 as a result. But only in 18.04 I do not get thrown that glibc error.
Platforms affected

[X] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 18.04
[X] Ubuntu 20.04
[X] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
vmImageName: 'ubuntu-20.04'
vmImageName: 'ubuntu-18.04'
Is it regression?
Ubuntu 18.04
Expected behavior
Being able to run the Function App that has been running without this problem for the last year. Which uses Python 3.7 and pyodbc 4.0.35
Actual behavior
Getting the error /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/site/wwwroot/.python_packages/lib/site-packages/pyodbc.cpython-37m-x86_64-linux-gnu.so)
Repro steps

Change the image on the yml to ubuntu 20.04 or 22.04
Use pip install --target="./.python_packages/lib/site-packages" -r requirements.txt in the yml
Try and run any function that uses pyodbc

Hello! Answered your question here: https://github.com/actions/runner-images/issues/6002#issuecomment-1482344357


'searchable_text' field for suggesting mentions

Add field 'searchable_text' for specifying the text that can be searched by and suggested when typing a mention

Will reopen after proper testing...

@HiDaN4 Can you explain in more detail what this PR does & needs?


Enable CI

We can't use Github Actions because that doesn't run nixosTests (unless using a self-hosted runner).
One way to host CI is to setup a Jenkins instance for github:juspay/* projects using https://github.com/juspay/jenkins-nix-ci and work on resolving https://github.com/juspay/jenkins-nix-ci/issues/27 which we need to build the ./dev flake.

Closing the issue as we have native tests enabled in CI


[#9] Set up project app flavors

Close #9

What happened 👀

Added Production and Staging app flavors
Added release and debug build type
Generated keystone for both release and debug

Insight 📝
The release.keystore and signing.properties are provided in 1P here.
Proof Of Work 📹

This PR should be based on https://github.com/nimblehq/kmm-templates/pull/28 to verify the generated project changes.

@lydiasama please resolve the conflic

@phongvhd93 Done. 🙏🏻


[Documentation]: Need fny information for explain how work with ROCm for inference model Yolov8

Description of errors
Hello, ROCm community.
I have a question how to use this environment to infer the model and translate the model from fp32 -> fp16 without using tensorflow or pytorch . For example in tensorrt (sorry for this ) i have cpp and python3 api to transfer model in onnx to graphic card model format. Is it possible to do it with using ROCm?
Thank you so much!
Attach any links, screenshots, or additional evidence you think will be helpful.
.

Hi @ViktorPavlovA, this can be done with ROCm using the MIGraphX library. Here is an example of quantization of YOLOv4 to FP16 (Object Detection with YoloV4). In this example, we start with an ONNX model and use the migraphx-driver tool with flag --fp16 to compile it to FP16.
Please also refer to the MIGraphX Driver Options for a more extensive list of the tools features.

No problem!
I'll close out this issue for now. Feel free to leave a comment if you have any other questions.


[Platform] Android failed to commission when BLE Indication not supported by Device

Reproduction steps
[Device] device launch firmware was based an old copy of the SDK, which did not support enabling BLE Indications. When the command is sent to the device to enable BLE Indications, the device returns an unsupported error and the command times out. As seen below.
29.193620000; ATT Write Transaction (Client Characteristic Configuration: Notifications=Disabled, Indications=Enabled; Reserved (0xC0))       ; 02 00;
29.193620000;   ATT Write Request Packet (Client Characteristic Configuration: Notifications=Disabled, Indications=Enabled)                   ; 12 11 00 02 00;
29.193620000;     L2CAP SDU (Basic, Service=ATT)                                                                                ; 12 11 00 02 00;
29.193620000;       L2CAP B-Frame (Service=ATT, ACL-U Flow Events)                                                                            ; 05 00 04 00 12 11 00 02 00;
29.181786000;         HCI Number Of Completed Packets (Connection=0x0002, Packets=1)                                                          ; 13 05 01 02 00 01 00;
29.193620000;         HCI ACL Data OUT                                                                                ; 02 00 09 00 05 00 04 00 12 11 00 02 00;
29.204326000;   ATT Error Response Packet (Reserved (0xC0))                                                                                ; 01 12 11 00 C0;
29.204326000;     L2CAP SDU (Basic, Service=ATT)                                                                                ; 01 12 11 00 C0;
29.204326000;       L2CAP B-Frame (Service=ATT)                                                                                ; 05 00 04 00 01 12 11 00 C0;
29.204326000;         HCI ACL Data IN                                                                                ; 02 20 09 00 05 00 04 00 01 12 11 00 C0;

03-02 15:39:13.223 14051 15538 D IN      : BleConnectionComplete: endPoint 0x7303eb6780
03-02 15:39:13.223 14051 15538 D DL      : Received GetMTU
03-02 15:39:13.223 14051 15538 D DL      : Received SendWriteRequest
03-02 15:39:13.225 15251 15263 D BtGatt.GattService: writeCharacteristic() - trying to acquire permit.
03-02 15:39:13.226 14051 15538 D IN      : SecureSession[0xb40000767264bd00]: Allocated Type:1 LSID:26500
03-02 15:39:13.226 14051 15538 D SC      : Assigned local session key ID 26500
03-02 15:39:13.226 14051 15538 D EM      : <<< [E:50518i S:0 M:108446742] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:20 (SecureChannel:PBKDFParamRequest)
03-02 15:39:13.226 14051 15538 D IN      : (U) Sending msg 108446742 to IP address 'BLE'
03-02 15:39:13.226 14051 15538 D IN      : Message appended to BLE send queue
03-02 15:39:13.226 14051 15538 D SC      : Sent PBKDF param request
03-02 15:39:13.237 15251 15283 D BtGatt.GattService: onWriteCharacteristic() - increasing permit for address=F4:EA:79:33:AC:B5
03-02 15:39:13.237 14051 15538 D DL      : Received SubscribeCharacteristic
03-02 15:39:13.238 14051 15538 D BluetoothGatt: setCharacteristicNotification() - uuid: 18ee2ef5-263d-4559-959f-4f9c429f9d12 enable: true
03-02 15:39:13.252 14051 15538 E AndroidBleManager: onDescriptorWrite for 00002902-0000-1000-8000-00805f9b34fb failed with status: 192
03-02 15:39:13.252 14051 15538 D BLE     : subscribe complete, ep = 0x7303eb6780

Platform
android
Platform Version(s)
1.0
Type
Manually tested with SDK, Hardware validated
(Optional) If manually tested please explain why this is only manually tested
No response
Anything else?
Initially the spec specified that the BLE characteristics should operate using BLE Notifications, but was changed to specify that BLE Indications should be used. The device was built and certified using the older SDK revision.
https://github.com/project-chip/connectedhomeip/pull/19051
Logs:
device-failure-btsnoop_hci.log
device-failure-export.txt

Initially the spec specified that the BLE characteristics should operate using BLE Notifications, but was changed to specify that BLE Indications should be used.

No, initially the spec said to use Indications.  Then there was an attempt to change to Notifications, that attempt failed to get uptake and actually become certifiable, as I understand it, and it was reverted.

https://github.com/project-chip/connectedhomeip/pull/19051

And that change was months before SVE.  How did something from before that change get certified?

In particular, the device being described would not, as I understand it, work with any 1.0-SDK-based controller.  Why are we fixing one specific controller to work with such a device?
@andy31415 @woody-apple

Please feel free to reach out to me or James for specific details on this. The problem has impacted many platforms since not all picked up the change in June, and I believe there are devices on the market with firmware today which do not have the change. I don't believe iOS commissioners were impacted, but Android commissioners which use the SDK's android port are impacted. The problem has easily caused hundreds of hours of dev/debug time to date, hence the motivation for this change which is intended to make commissioners backward compatible with devices which do not have the fix.

@chrisdecenzo could you provide some specific examples here? We could fix the debugging issue without introducing non-spec behavior if that is all that we would prioritize. So questions:

why is iOS behavior different than android? Did their usage of indication vs notification happen at different times?
are there actual certified devices that are non-spec compliant here? Or are these test devices or something else?

A change that landed in June and release finished in November seems like sufficient time for things to get picked up. There are a lot of other deltas between june and november which likely would need to be picked up.

For there are devices on the market with firmware today which do not have the change ... do we have explicit examples (at least one)? Are they actually matter certified (wondering how if this is non-spec compliant)?


The flag -testPlan  cannot be used since the scheme does not use test plans

Good day! I have a problem setting up test plans.
I have a MyProject project and tests are attached to it. accordingly, I create a test plan(smoke.xctestplan) that includes some of these tests MyProjectUITests.
But when I enter the command:
xcodebuild -showTestPlans -scheme MyProject
Output:
The scheme "MyProject" is not configured to use test plans.
When I enter the command:
xcodebuild -workspace MyProject.xcworkspace -scheme MyProject -destination 'platform=iOS Simulator,name=iPhone 11 Pro Max' test -testPlan smoke
Output:
The flag -testPlan <name> cannot be used since the scheme does not use test plans
I'm guessing I misconfigured the file I'm project.yml
I am attaching the config file below.
Thanks, any advice would be appreciated!
name: MyProject

options:
  defaultConfig: Release
  groupSortPosition: bottom
  transitivelyLinkDependencies: false

configs:
  Debug: debug
  Release: release
  Test: debug

attributes:
  ORGANIZATIONNAME: Uma.tech

packages:
  Swinject:
    url: https://github.com/Swinject/Swinject
    minorVersion: 2.7.1
  GIDSDK:
    url: https://gitlab.zxz.su/mbushuev/gidsdk.pod.git
    minorVersion: 0.1.11
  CryptoSwift:
    url: https://github.com/krzyzanowskim/CryptoSwift.git
    minorVersion: 1.5.1

options:
  postGenCommand: pod install
targets:
  MyProject:
    scheme:
      testTargets:
        - MyProjectTests
        - MyProjectUITests
      testPlans:
        - path: smoke.xctestplan
          defaultPlan: true
    type: application
    platform: iOS
    deploymentTarget: 11.0
    name: MyProject
    sources:
      - ./MyProject
      - path: ./Localizable.stringsdict
      - path: ./MyProject/MyProject.entitlements
      - path: ./MyProject/Info.plist
      - path: ./MyProject/Resources/Assets.xcassets
        buildPhase: resources
    templates: [Shared]
    entitlements:
      path: ./MyProject/MyProject.entitlements
      properties:
        com.apple.security.application-groups: [group.one.myProject]
        com.apple.developer.associated-domains: [applinks:*.myProject.ru, applinks:www.myProject.ru, applinks:myProject.ru, applinks:*.myProject.one, applinks:www.myProject.one, applinks:myProject.one]
        keychain-access-groups: [$(AppIdentifierPrefix)ru.gpmrtv.svod]
        aps-environment: development
        com.apple.smoot.subscriptionservice: true
    settings:
      base:
        ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: YES
        ASSETCATALOG_COMPILER_APPICON_NAME: "AppIcon"
        CODE_SIGN_ENTITLEMENTS: "MyProject/MyProject.entitlements"
        CLANG_ENABLE_MODULES: YES
        CODE_SIGN_IDENTITY: "iPhone Distribution"
        CODE_SIGN_STYLE: Manual
        CURRENT_PROJECT_VERSION: 1
        DEBUG_INFORMATION_FORMAT: "dwarf-with-dsym"
        DEVELOPMENT_TEAM: 7LYWWLCN92
        FRAMEWORK_SEARCH_PATHS:
          - "$(inherited)"
          - "$(PROJECT_DIR)/UmaPlayerFramework"
        GCC_NO_COMMON_BLOCKS: NO
        GCC_WARN_INHIBIT_ALL_WARNINGS: NO
        INFOPLIST_FILE: ./MyProject/Info.plist
        LD_RUNPATH_SEARCH_PATHS:
          - "$(inherited)"
          - "@executable_path/Frameworks"
          - "@loader_path/Frameworks"
        LLVM_LTO: NO
        MARKETING_VERSION: 2.34.0
        PRODUCT_BUNDLE_IDENTIFIER: ru.gpmrtv.svod
        PROVISIONING_PROFILE_SPECIFIER: "iOS_AppStore"
        SWIFT_OBJC_BRIDGING_HEADER: "MyProject-Bridging-Header.h"
        SWIFT_VERSION: 5.0
        TARGETED_DEVICE_FAMILY: 1,2
        iOS_DEPLOYMENT_TARGET: 11.0
        GCC_PREPROCESSOR_DEFINITIONS:
          - "$(inherited)"
          - "COCOAPODS=1"
        OTHER_CODE_SIGN_FLAGS: --timestamp
        DEFINES_MODULE: YES
        ENABLE_BITCODE: NO
      configs:
        ENABLE_SWIFTLINT: NO
        Test:
          SWIFT_ACTIVE_COMPILATION_CONDITIONS: TEST
    dependencies:
      - framework: ./UmaPlayerFramework/UmaFoundation.xcframework
        embed: true
      - framework: ./UmaPlayerFramework/UmaDownloader.xcframework
        embed: true
      - framework: ./UmaPlayerFramework/UmaMedia.xcframework
        embed: true
      - framework: ./UmaPlayerFramework/UmaSentry.xcframework
        embed: true
      - package: Swinject
      - package: GIDSDK
      - package: CryptoSwift

  MyProjectTests:
    type: bundle.unit-test
    platform: iOS
    name: MyProjectTests
    sources:
      - ./MyProjectTests
    settings:
      base:
        BUNDLE_LOADER: "$(TEST_HOST)"
        TEST_HOST: "$(BUILT_PRODUCTS_DIR)/MyProject.app/MyProject"
    dependencies:
      - target: MyProject

  MyProjectUITests:
    type: com.apple.product-type.bundle.ui-testing
    platform: iOS
    name: MyProjectUITests
    deploymentTarget: 13.0
    sources:
      - ./MyProjectUITests
    dependencies:
      - target: MyProject

schemes:
  MyProject:
    build:
        targets:
            MyProject: all
    test:
      targets:
        - MyProjectUITests
      testPlans:
        - path: smoke.xctestplan
          defaultPlan: true

targetTemplates:
  Shared:
    preBuildScripts:
      - script: |
          if [ "$CONFIGURATION" == "Debug" ] || [ "$CONFIGURATION" == "Test" ] ; then
          echo "Skip frameworks cleaning in debug version"
          exit 0
          fi

          APP_PATH="${TARGET_BUILD_DIR}/${WRAPPER_NAME}"

          # This script loops through the frameworks embedded in the application and
          # removes unused architectures.
          find "$APP_PATH" -name '*.framework' -type d | while read -r FRAMEWORK
          do
          FRAMEWORK_EXECUTABLE_NAME=$(defaults read "$FRAMEWORK/Info.plist" CFBundleExecutable)
          FRAMEWORK_EXECUTABLE_PATH="$FRAMEWORK/$FRAMEWORK_EXECUTABLE_NAME"
          echo "Executable is $FRAMEWORK_EXECUTABLE_PATH"

          EXTRACTED_ARCHS=()

          for ARCH in $ARCHS
          do
          echo "Extracting $ARCH from $FRAMEWORK_EXECUTABLE_NAME"
          lipo -extract "$ARCH" "$FRAMEWORK_EXECUTABLE_PATH" -o "$FRAMEWORK_EXECUTABLE_PATH-$ARCH"
          EXTRACTED_ARCHS+=("$FRAMEWORK_EXECUTABLE_PATH-$ARCH")
          done

          echo "Merging extracted architectures: ${ARCHS}"
          lipo -o "$FRAMEWORK_EXECUTABLE_PATH-merged" -create "${EXTRACTED_ARCHS[@]}"
          rm "${EXTRACTED_ARCHS[@]}"

          echo "Replacing original executable with thinned version"
          rm "$FRAMEWORK_EXECUTABLE_PATH"
          mv "$FRAMEWORK_EXECUTABLE_PATH-merged" "$FRAMEWORK_EXECUTABLE_PATH"

          done
        name: "Run script"

HI @NikStrela, can you confirm the XcodeGen version you're on. Perhaps it's an older one
xcodegen version

Hey! I'm having the same issue! Has it been fixed?

I had the same issue today.
The solution in my case was to remove the testTargets definition on the scheme of the AppTarget:

@yonaskolb  Maybe they are generated after the testplan and overwrite the
<TestPlans>
         <TestPlanReference
            reference = "Container:Testplan.testplan"
            default = "YES">
         </TestPlanReference>
      </TestPlans>

entry in the xcscheme file?


[Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug.

Version
2.6.10
Reproduction link
https://pastebin.com/LaYt4H9D
Steps to reproduce
all my code that i think produces the error
https://pastebin.com/LaYt4H9D
What is expected?
Expected the login and the sign up component view
What is actually happening?
[Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug.  http://localhost:52051/node_modules/.vite/common/vue.runtime.esm-bundler.32bf0c4e.js (vue.runtime.esm-bundler.32bf0c4e.js)
at <Login onVnodeUnmounted=fn ref=Ref< undefined > >
at
at

i was just replacing the $event with some random message and I got this error

Hello @IslamSakrak,
thank you for your filing this issue.
Please follow the guidelines on how to report an issue. In particular, provide an runnable example on www.jsfiddle.net (or a similar service) that reproduces the problem. If necessary, create a repository for us to clone with a minimal reproduction. repositories of actual projects will generally not be accepted. (Why is this necessary?)
Thank you.


Add ftmetadata endpoint

https://mnw.atlassian.net/browse/MNW-224
Discussion:
https://mynearwallet.slack.com/archives/C03EY651XBR/p1665572564797669
https://mynearwallet.slack.com/archives/C03TNKKT267/p1665581693083169

Legit


limactl: make sure to remove "." from instance names

Now limactl create template://ubuntu-24.10 creates ubuntu-24-10.
Fix #2813

I disagree with this. I think we should rename the template to ubuntu-24-10.yaml instead.

Alternatively, we could call the instance ubuntu-24.10 but the hostname inside the VM lima-ubuntu-24-10 since we modify the instance name to get the hostname anyways.
I still have a slight preference to rename the template though, to keep all the names in sync.

Alternatively, we could call the instance ubuntu-24.10 but the hostname inside the VM lima-ubuntu-24-10 since we modify the instance name to get the hostname anyways.

👍

https://github.com/lima-vm/lima/pull/2817


Add proper types for TypeScript support

I added these and created a patch, but I thought why not share them via PR

Looks good, thanks @TheWirv

Sure thing :)


set-android-manifest-package-name 0.9.0

The step allows to change android manifest package name

Thanks @kshilovskiy ,
your step will be available in steplib in a hour.


Test and document OS updates through Rancher

[x] documentation was upgraded  https://github.com/rancher/elemental-operator#managing-upgrades
[ ] demo was recorded and shared among team
[x] confluence page was also upgraded

Documentation to elemental-operator was upgraded https://github.com/rancher/elemental-operator#managing-upgrades


Tests: New Unit Tests

deno test -A .\mod.ts

PS C:\GitHub\discordeno\new> deno test -A .\mod.ts
Check file:///C:/GitHub/discordeno/new/mod.ts
[Tests] Starting test preparation
running 1 test from mod.ts
channels ...
  createChannel: Create a channel ...
    text: Create a text channel ... ok (321ms)
    category: Create a category channel ... ok (297ms)
    news: Create a news channel ... ok (627ms)
    voice: Create a voice channel ... ok (313ms)
    voice bitrate: Create a voice channel with bitrate ... ok (310ms)
    voice userLimit: Create a voice channel with user limit ... ok (346ms)
    text rateLimitPerUser: Create a text channel with rate limit per user ... ok (468ms)
    stage: Create a stage channel ... ok (348ms)
  ok (3s)
  createStageInstance: Create a stage instance ... ok (1s)
  updateStageInstance: Update a stage instance ... ok (739ms)
  deleteStageInstance: Delete a stage instance ... ok (316ms)
  getChannel: Get a channel ... ok (0ms)
  deleteChannel: Delete a channel ... ok (1ms)
ok (5s)
test result: ok. 1 passed (14 steps); 0 failed; 0 ignored; 0 measured; 0 filtered out (5s)

deno test -A .\mod.ts
PS C:\GitHub\discordeno\new> deno test -A .\mod.ts
Check file:///C:/GitHub/discordeno/new/mod.ts
[Tests] Starting test preparation
running 2 tests from mod.ts
channels ...
  createChannel: Create a channel ...
    text: Create a text channel ... ok (411ms)
    category: Create a category channel ... ok (309ms)
    news: Create a news channel ... ok (316ms)
    voice: Create a voice channel ... ok (304ms)
    voice bitrate: Create a voice channel with bitrate ... ok (303ms)
    voice userLimit: Create a voice channel with user limit ... ok (314ms)
    text rateLimitPerUser: Create a text channel with rate limit per user ... ok (295ms)
    stage: Create a stage channel ... ok (423ms)
  ok (2s)
  connectToVoiceChannel: Connect to a voice channel ... ok (10s)
  createStageInstance: Create a stage instance ... ok (1s)
  updateStageInstance: Update a stage instance ... ok (696ms)
  deleteStageInstance: Delete a stage instance ... ok (328ms)
  getChannel: Get a channel ... ok (2s)
  getChannels: Get channels ... ok (338ms)
  deleteChannel: Delete a channel ... ok (1ms)
ok (17s)
Emojis ...
  createEmoji: Create an emoji ... ok (13s)
  editEmoji: Edit an emoji ... ok (10s)
  emojiUrl: Get an emoji url ...
    animated: false ... ok (1ms)
    animated: true ... ok (0ms)
  ok (1ms)
  getEmoji: Get an emoji ... ok (361ms)
  getEmojis: Get emojis ... ok (345ms)
  deleteEmoji: Delete an emoji ... ok (320ms)
ok (24s)
test result: ok. 2 passed (24 steps); 0 failed; 0 ignored; 0 measured; 0 filtered out (43s)/details>