Add isFlashOn() API

Fixes issue #2

Hi @Kisty could you send the PR to develop branch instead of the master branch.
Thank you for submitting a PR.

@Kisty There are conflicts and also the target branch is set to master. Can you make the changes, so this can be merged.
Thank you

OK. Changing to isTorchOn() to match API.

A bonus enhancement would be to check the torch status at the point of initialising Lantern and when listening for onActivityStart/onActivityStop (like the lifecycle integration 👍).
Consider the scenario:

User switches on torch from system menu
User comes in to our app
Lantern thinks it's off, so app shows as off (but device shows as on) <-- UX issue
Click button in app to switch lantern on.
Torch already on, does nothing, hmmm.

All done!


Migrate to Type Script

Problem
This tool was built in JavaScript to be a simplest example of Editor.js Tools API usage. Right now further enhancements requires more modern stack.
Task
We need to migrate this project to TypeScript and provide type declarations. Make sure types for the plugin are available when using it in TypeScript project with Editor.js

@yuan-93 take a look, please


🐛 biome ci in pipeline doesn't apply biome.json

Environment information
CLI:
  Version:                      1.8.3
  Color support:                false

Platform:
  CPU Architecture:             x86_64
  OS:                           linux

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         unset
  JS_RUNTIME_VERSION:           unset
  JS_RUNTIME_NAME:              unset
  NODE_PACKAGE_MANAGER:         unset

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 false

Workspace:
  Open Documents:               0

What happened?

setup biome on new branch
create biome config to check only changed files

{
  "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
  "organizeImports": {
    "enabled": true
  },
  "linter": {
    "enabled": true,
    "rules": {
      "recommended": true
    }
  },
  "vcs": {
    "enabled": true,
    "clientKind": "git",
    "defaultBranch": "main"
  },
  "files": {
    "ignore": [".angular", ".firebase", "node_modules", "www"],
    "include": ["**/src/**/*.ts", "**/src/**/*.html", "**/src/**/*.scss"]
  },
  "formatter": {
    "enabled": true,
    "formatWithErrors": false,
    "ignore": [],
    "attributePosition": "auto",
    "indentStyle": "space",
    "indentWidth": 2,
    "lineWidth": 80,
    "lineEnding": "lf"
  },
  "javascript": {
    "formatter": {
      "arrowParentheses": "always",
      "bracketSameLine": false,
      "bracketSpacing": true,
      "jsxQuoteStyle": "double",
      "quoteProperties": "asNeeded",
      "semicolons": "always",
      "trailingCommas": "all"
    }
  },
  "json": {
    "formatter": {
      "trailingCommas": "none"
    }
  }
}

add obvious error to a file that's scanned
test running the command locally npx biome ci . --changed --no-errors-on-unmatched
works as intended and finds the obvious error (and ignores the rest because only changed files should be scanned)
run in github actions
github actions says no files scanned

Run biome ci . --changed --no-errors-on-unmatched
  biome ci . --changed --no-errors-on-unmatched
  shell: /usr/bin/bash -e {0}
Checked 0 files in [3](https://github.com/XXXXX/xxxxx/actions/runs/########/job/nnnnnnn#step:4:3)7µs. No fixes applied.

gh action file:
name: Code quality

on:
  push:
  pull_request:

jobs:
  quality:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Setup Biome
        uses: biomejs/setup-biome@v2
        with:
          version: latest
          working-dir: ./some-subdir-for-frontend
      - name: Run Biome
        working-directory: ./some-subdir-for-frontend
        run: |
          biome ci . --changed --no-errors-on-unmatched

Expected result
Biome should scan the frontend subdir of the project and check only the changed files (1 file with a planted error)
Code of Conduct

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

I'm facing the exact same issue

@jochenrui I think I figurer out the problem, just change defaultBranch to origin/main and add fetch-depth: 0 to checkout action and it will work.

thanks! I'll try it out. Sorry for the late response


Enable swift-testing by default and migrate all test case

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (ac6fbe5) 13.05% compared to head (ca26ebe) 12.51%.

:exclamation: Current head ca26ebe differs from pull request most recent head b3a3581. Consider uploading reports for the commit b3a3581 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
- Coverage   13.05%   12.51%   -0.54%
==========================================
  Files         133      130       -3
  Lines        2091     2013      -78
==========================================
- Hits          273      252      -21
+ Misses       1818     1761      -57

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


mac libAvaloniaNative

Unhandled exception. System.DllNotFoundException: Unable to load shared library 'libAvaloniaNative' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:
dlopen(/Users/matti/Downloads/libAvaloniaNative.dylib, 0x0001

Fixed by updating Avalonia to latest preview version


Navigation Tab with both plain VUE and VUE + Redux

VueJS 2 with JSX and Redux-Vue is the stack that's used. A great example for someone who want to start with VueJS 2 along with JSX and Redux

Thanks kazupon. Removed the .gitignore file


Docker-bench-security check 2.2 icc issue

Docker Desktop (windows) version: Docker 20.10.7, build f0df350
Docker Bench Security: Docker Bench for Security v1.3.4
Execution enviornment: WSL2 Ubuntu 20.0.4
Issue:
From the scan, I've got the following warning:
[WARN] 2.1  - Ensure network traffic is restricted between containers on the default bridge
I have then added the following into my daemon.json file:
"icc": false
And then restarted my Docker Desktop (Windows) and then verified it is in effect (following CIS steps):
docker network ls --quiet | xargs docker network inspect --format '{{ .Name }}: {{ .Options }}'
got this result: "com.docker.network.bridge.enable_icc:false"
But when i re-run Docker Bench Security container, I still got the same warning of 2.1 which is not expected considering i've set "icc" to false.
Also, according to CIS Docker Benchmark v1.3.1, this network traffic control should be control 2.2 instead of the current 2.1, so please correct.
Appreciate your check and feedback on this.

Thanks @fbinliu for reporting this.
Will check ASAP.

Hi again, the icc test is 2.2 (https://github.com/docker/docker-bench-security/blob/master/tests/2_docker_daemon_configuration.sh#L24-L44).
Are you using the Docker container or running the script?

Ah, I just noticed that you're using 1.3.4 which is an obsolete version.
See https://github.com/docker/docker-bench-security/issues/405 and please try using the shell script instead.

Hi, i have downloaded the latest version (v1.3.6), and used the shell script (sh docker-bench-security.sh) and also verified that icc is set to false via "docker network ls --quiet |xargs docker network inspect --format '{{ .Name }}: {{ .Options }}'", but still get [WARN] at check_2_2, shown as "Ensure network traffic is restricted between containers on the default bridge (Scored)", appreciate your further check on this very much.

I can't reproduce this.
Could you repeat the same steps and paste the output?
$ cat /etc/docker/daemon.json
{
        "icc": false
}
$ docker network ls --quiet | xargs docker network inspect --format '{{ .Name }}: {{ .Options }}'
bridge: map[com.docker.network.bridge.default_bridge:true com.docker.network.bridge.enable_icc:false com.docker.network.bridge.enable_ip_masquerade:true com.docker.network.bridge.host_binding_ipv4:<IP_ADDRESS> com.docker.network.bridge.name:docker0 com.docker.network.driver.mtu:1500]
host: map[]
none: map[]
$ sudo bash docker-bench-security.sh -c check_2_1,check_2_2,check_2_3
# --------------------------------------------------------------------------------------------
# Docker Bench for Security v1.3.6
#
# Docker, Inc. (c) 2015-2021
#
# Checks for dozens of common best-practices around deploying Docker containers in production.
# Based on the CIS Docker Benchmark 1.3.1.
# --------------------------------------------------------------------------------------------

Initializing 2021-08-05T22:57:30+00:00

Section A - Check results
[NOTE] 2.1 - Run the Docker daemon as a non-root user, if possible (Manual)
[PASS] 2.2 - Ensure network traffic is restricted between containers on the default bridge (Scored)
[PASS] 2.3 - Ensure the logging level is set to 'info' (Scored)

Section C - Score

[INFO] Checks: 3
[INFO] Score: 2

$ sudo rm /etc/docker/daemon.json
$ sudo systemctl restart docker.service
$ cat /etc/docker/daemon.json
cat: /etc/docker/daemon.json: No such file or directory
$ docker network ls --quiet | xargs docker network inspect --format '{{ .Name }}: {{ .Options }}'
bridge: map[com.docker.network.bridge.default_bridge:true com.docker.network.bridge.enable_icc:true com.docker.network.bridge.enable_ip_masquerade:true com.docker.network.bridge.host_binding_ipv4:<IP_ADDRESS> com.docker.network.bridge.name:docker0 com.docker.network.driver.mtu:1500]
host: map[]
none: map[]
$ sudo bash docker-bench-security.sh -c check_2_1,check_2_2,check_2_3
# --------------------------------------------------------------------------------------------
# Docker Bench for Security v1.3.6
#
# Docker, Inc. (c) 2015-2021
#
# Checks for dozens of common best-practices around deploying Docker containers in production.
# Based on the CIS Docker Benchmark 1.3.1.
# --------------------------------------------------------------------------------------------

Initializing 2021-08-05T22:59:25+00:00

Section A - Check results
[NOTE] 2.1 - Run the Docker daemon as a non-root user, if possible (Manual)
[WARN] 2.2 - Ensure network traffic is restricted between containers on the default bridge (Scored)
[PASS] 2.3 - Ensure the logging level is set to 'info' (Scored)

Section C - Score

[INFO] Checks: 3
[INFO] Score: 0

Hi, sure, here is the output for conducting the same steps. I am now wondering if this error comes due to my running docker bench security on my WSL2 Ubuntu distro?
$ cat daemon.json | grep icc
"icc": false,
$ sudo sh docker-bench-security.sh -c check_2_2
[sudo] password for fliu:
# --------------------------------------------------------------------------------------------
# Docker Bench for Security v1.3.6
#
# Docker, Inc. (c) 2015-2021
#
# Checks for dozens of common best-practices around deploying Docker containers in production.
# Based on the CIS Docker Benchmark 1.3.1.
# --------------------------------------------------------------------------------------------
$ cat daemon.json | grep icc
"icc": false,
$ sudo sh docker-bench-security.sh -c check_2_2
[sudo] password for fliu:
# --------------------------------------------------------------------------------------------
# Docker Bench for Security v1.3.6
#
# Docker, Inc. (c) 2015-2021
#
# Checks for dozens of common best-practices around deploying Docker containers in production.
# Based on the CIS Docker Benchmark 1.3.1.
# --------------------------------------------------------------------------------------------

Initializing 2021-08-06T10:39:38+02:00

Section A - Check results
[WARN] 2.2 - Ensure network traffic is restricted between containers on the default bridge (Scored)

Section C - Score

[INFO] Checks: 1
[INFO] Score: -1
$ docker network ls --quiet |xargs docker network inspect --format '{{ .Name }}: {{ .Options }}'
bridge: map[com.docker.network.bridge.default_bridge:true com.docker.network.bridge.enable_icc:false com.docker.network.bridge.enable_ip_masquerade:true com.docker.network.bridge.host_binding_ipv4:<IP_ADDRESS> com.docker.network.bridge.name:docker0 com.docker.network.driver.mtu:1500]
clair-analyze-local-images_default: map[]
host: map[]
none: map[]
play-with-kubernetesgithubio_default: map[]

$ cat daemon.json | grep icc
"icc": false,

It shouldn't really matter if it's on WSL since the daemon.json is a basic JSON file.
Can you run the actual code and share the output?
grep "icc" "/etc/docker/daemon.json" | sed 's/.*://g' | tr -d '" ',

hi, i don't have daemon.json in /etc/docker because my machine is a Windows machine and I've installed Docker Desktop. The daemon.json is located in my case in .docker folder in my home directory. Here is the result of running the actual code:
.docker$ grep "icc" "daemon.json" | sed 's/.*://g' | tr -d '" ',
false

That might be the issue, since https://github.com/docker/docker-bench-security/blob/master/functions/helper_lib.sh#L100 only checks the config file if defined using --config-file or the default /etc/docker/daemon.json.

ok, i see, so is there so far any way to run docker-bench-security for a docker server running on a Windows machine?

If the only issue is that the config file is in the "wrong" place, I can add the path(s) for those as well.

Oh, that would be awesome indeed if it could be done, so that docker-bench-security can also be executed for docker runtime in WSL2 on a Windows machine. My path for config file (daemon.json) is as follows, not sure for other people:
$ pwd
/mnt/c/Users/<user-login-name>/.docker
$ ls -a | grep daemon
daemon.json

I'll try too find some universal logic regarding WSL paths.
If you find any other issues, please report them as well (separately).

Ya, sure, appreciate your effort on this very much. Together we go further! No other issue so far. Feel free to close this issue if necessary for your administration and looking forward to the update on this (with a new version eventually :).

Related: https://github.com/docker/docker-bench-security/issues/446


Fixes #120 - The spring context now fails to start if the stub cannot…

… be found, enabling the test to fail as quickly as possible for feedback

Current coverage is 57.67% (diff: 0.00%)

Merging #123 into master will not change coverage

@@             master       #123   diff @@
==========================================
  Files           182        182
  Lines          4794       4794
  Methods           0          0
  Messages          0          0
  Branches        793        793
==========================================
  Hits           2765       2765
  Misses         1709       1709
  Partials        320        320

Powered by Codecov. Last update b690110...09e1c74


RuntimeError trying to test the network

Hello, whenver I try to test a pretrained model, I get the following error:
File "D:\AI\RFR-Inpainting\modules\partialconv2d.py", line 55, in forward
    self.update_mask = F.conv2d(mask, self.weight_maskUpdater, bias=None, stride=self.stride, padding=self.padding, dilation=self.dilation, groups=1)
RuntimeError: Given groups=1, weight of size [64, 3, 7, 7], expected input[1, 9, 256, 256] to have 3 channels, but got 9 channels instead

You can modify model.py as follows, it works.
            for items in train_loader:
                gt_images, masks = self.__cuda__(*items)
                masks = torch.cat([masks]*3, dim = 1)
                masked_images = gt_images * masks
                self.forward(masked_images, masks, gt_images)
                self.update_parameters()
                self.iter += 1

This solution did not work for me. The multiplication with 3 creates an error, even if the input is a single channel image. With this it should be possible to input mask (black/white) and image (color) as RGB24. Replace line 84-86 in model.py with:
    gt_images, masks = self.__cuda__(*items)
    masks = torch.cat([masks], dim = 1)
    masked_images = gt_images * masks```

Hello, whenver I try to test a pretrained model, I get the following error:
File "D:\AI\RFR-Inpainting\modules\partialconv2d.py", line 55, in forward
    self.update_mask = F.conv2d(mask, self.weight_maskUpdater, bias=None, stride=self.stride, padding=self.padding, dilation=self.dilation, groups=1)
RuntimeError: Given groups=1, weight of size [64, 3, 7, 7], expected input[1, 9, 256, 256] to have 3 channels, but got 9 channels instead

Hello, I encountered the same problem as you before. What are the inputs during the testing phase? I can't seem to get a picture after inpainting.

Thanks for the question. Sorry for the late response.
This problem occurs because the input mask has more than one channel. I was assuming that the mask is a one channel and binary image when I wrote the code. You might solve this by performing channel slice after loading the masks. If any problem still exists, please feel free to contact me. :)

Hello, whenver I try to test a pretrained model, I get the following error:
File "D:\AI\RFR-Inpainting\modules\partialconv2d.py", line 55, in forward
    self.update_mask = F.conv2d(mask, self.weight_maskUpdater, bias=None, stride=self.stride, padding=self.padding, dilation=self.dilation, groups=1)
RuntimeError: Given groups=1, weight of size [64, 3, 7, 7], expected input[1, 9, 256, 256] to have 3 channels, but got 9 channels instead

Hello, I encountered the same problem as you before. What are the inputs during the testing phase? I can't seem to get a picture after inpainting.

Hi! You might check my post above to see if the problem can be solved. :)

Hello, whenver I try to test a pretrained model, I get the following error:
File "D:\AI\RFR-Inpainting\modules\partialconv2d.py", line 55, in forward
    self.update_mask = F.conv2d(mask, self.weight_maskUpdater, bias=None, stride=self.stride, padding=self.padding, dilation=self.dilation, groups=1)
RuntimeError: Given groups=1, weight of size [64, 3, 7, 7], expected input[1, 9, 256, 256] to have 3 channels, but got 9 channels instead

Hello, I encountered the same problem as you before. What are the inputs during the testing phase? I can't seem to get a picture after inpainting.

Hi! You might check my post above to see if the problem can be solved. :)

Thank you, I have solved this problem. What data do I need to input when testing the pre-trained model. Specifically, what data should be contained in the data_root and mask_root folders. I entered the corrupted image and mask, but it seems that it cannot be repaired. Could I have your WeChat?（vx: G1005004141）

Hello, whenver I try to test a pretrained model, I get the following error:
File "D:\AI\RFR-Inpainting\modules\partialconv2d.py", line 55, in forward
    self.update_mask = F.conv2d(mask, self.weight_maskUpdater, bias=None, stride=self.stride, padding=self.padding, dilation=self.dilation, groups=1)
RuntimeError: Given groups=1, weight of size [64, 3, 7, 7], expected input[1, 9, 256, 256] to have 3 channels, but got 9 channels instead

Hello, I encountered the same problem as you before. What are the inputs during the testing phase? I can't seem to get a picture after inpainting.

Hi! You might check my post above to see if the problem can be solved. :)

Thank you, I have solved this problem. What data do I need to input when testing the pre-trained model. Specifically, what data should be contained in the data_root and mask_root folders. I entered the corrupted image and mask, but it seems that it cannot be repaired. Could I have your WeChat?（vx: G1005004141）

Hi,
The data root should contain the images to be processed. The mask root should contain the corresponding binary masks, with 1 indicating the area to be filled.

Hello, whenver I try to test a pretrained model, I get the following error:
File "D:\AI\RFR-Inpainting\modules\partialconv2d.py", line 55, in forward
    self.update_mask = F.conv2d(mask, self.weight_maskUpdater, bias=None, stride=self.stride, padding=self.padding, dilation=self.dilation, groups=1)
RuntimeError: Given groups=1, weight of size [64, 3, 7, 7], expected input[1, 9, 256, 256] to have 3 channels, but got 9 channels instead

Hello, I encountered the same problem as you before. What are the inputs during the testing phase? I can't seem to get a picture after inpainting.

Hi! You might check my post above to see if the problem can be solved. :)

Thank you, I have solved this problem. What data do I need to input when testing the pre-trained model. Specifically, what data should be contained in the data_root and mask_root folders. I entered the corrupted image and mask, but it seems that it cannot be repaired. Could I have your WeChat?（vx: G1005004141）

Hi,
The data root should contain the images to be processed. The mask root should contain the corresponding binary masks, with 1 indicating the area to be filled.

thank you

I meeted this problem too. The reason is externel masks used are with 3 channels.
Can be solved by comment this line(model.py，line 90):
masks = torch.cat([masks]*3, dim = 1)


Conflict Errors when Building the Conda Environment

Dear Authors,
When I use the command <conda env create --file conda.yaml --name my_env> I get a conflict error for all dependencies regardless of where I execute this conda command. I have tried using Google Colab, Github Codespaces, an external machine, and my local Mac, and in all cases I get the following error message and I am unable to fix it. Could you please provide some insight as to what conditions must be fulfilled in order to create this environment without conflict errors? The error message can be found in the attachments. Thank you in advance.
conflict_errors_extrinsic_camera_calibration.txt

Hello, I couldn't resolve the installation problem using the provided conda
environment.
However, I managed to run this repository by installing the libraries and
versions manually as specified in the file conda.yaml.
The libraries and their versions were always available either in conda or
pip.
Em qua., 15 de nov. de 2023 às 06:06, aviralchharia <
@.***> escreveu:

Hey @dora-tutuncu-rai https://github.com/dora-tutuncu-rai did you
resolve this error?
—
Reply to this email directly, view it on GitHub
https://github.com/kyotovision-public/extrinsic-camera-calibration-from-a-moving-person/issues/1#issuecomment-1812058250,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWS7MM7FQR73VI3P6VP3IXTYESAZFAVCNFSM6AAAAAATOWS6L2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJSGA2TQMRVGA
.
You are receiving this because you are subscribed to this thread.Message
ID:
<kyotovision-public/extrinsic-camera-calibration-from-a-moving-person/issues/1/1812058250
@github.com>


Doxygen document generation

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #[Issue]
Description
Precise description of the changes in this pull request
Alternative(s) considered
Have you considered any alternatives? And if so, why have you chosen the approach in this PR?
Type
Type Choose one: (Bug fix | Feature | Documentation | Testing | Other)
Screenshots (if applicable)
Checklist

[x] I have read the Contribution Guidelines
[x] I have written Unit Tests
[x] I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach

@joiskash @mraduldubey
Should we build documentation along with ApraPipes, or should it be separate? Like separate script for building document

Both.

Launch the doc generation script from the build script
Add instructions on readme on how to build only docs separately

Is it possible to show the latest commit hash in the footer of the html pages/doxy output ?

Part of Commit 1a61333

Is it possible to show the latest commit hash in the footer of the html pages/doxy output ?

Part of Commit 1a61333


Profile pic upload

Currently the only thing that is not possible through the clubhouse-py app - is the profile pic upload. Do you plan on reversing the process of the upload? (I guess it must be some kind of S3 bucket, but I dunno)

It's been already reverse engineered, it's just you didn't check the code properly. I've left the comment on my repo.
https://github.com/stypr/clubhouse-py/issues/7

Duplicate of #12

Closing as a duplicate of #12


Parameter bitmasks better UX

Parameters that have a bitmask are currently displayed as dropdown, which is broken UX (eg arming mask).  Instead display a set of checkboxes to allow bitmask to be built.

Additionally there are bitmask values which can have other meanings that are not captured by checkbox options. Similar to https://github.com/goodrobots/maverick-web/issues/33 an override should be available if the user wants to specify the integer bitmask.
An example is INS_LOG_BAT_MASK where the bitmask values are {'2': 'IMU2', '1': 'IMU1', '4': 'IMU3'} while the values are {'1': 'First IMU', '0': 'None', '255': 'All'}

Oh goody...

I'm not sure what would happen if I set this param to 7... I expect that I would have the same behaviour as setting it to 255?
On another note the default bitmask values are n^2. Would you prefer that the actual values are calculated in the API so that the web ui simple needs to add the decimal values together?


[BUG] scroll bridge  无法正常识别eth 主网余额

Describe the bug
A clear and concise description of what the bug is.
连接scroll.io bridge 无法识别 eth 余额
To Reproduce
Steps to reproduce the behavior:

Expected behavior

如上图，应该能够识别出来有 0.01ETH 但是 显示0 balance
Screenshots

Desktop (please complete the following information):

OS:
mac OS 13.4
Browser
Chrome 已是最新版本
版本 119.0.6045.159（正式版本） (arm64)
Version

Smartphone (please complete the following information):

Device:
OS:
Browser
Version

Additional context

@lcmmhcc
Based on the screenshot, it appears that the website has not retrieved your wallet balance yet. Clicking the "Max" button at this time will display "No Balance". The "Max" button will only function once your balance is displayed on the page.


Not able to remove folder from Workspace that is on remote server

Version 1.56.2 (system setup)
Date: 2021-05-12T17:13:13.157Z (wks ago).
Electron 12.0.4
Chrome: 89.0.4389.114
Node.js 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10..18363
I setup vscode to connect to linux server. setup SSH keys.
I have a workspace. I had a 4 different folders.
I try and click on one of the folders , I select
the Remove Folder From Workspace,
but it still remains. no error shows up.
PeriodicallyI keep seeing the pop up at bottom right
saying setting up SSH host... Settomgi[ VS Code Server, then it disappears.
I've closed the workspace and then opened it again, but the folder I tried tor remvoe
still stays there.
Is there a a work aound to move it manually from the workspace?
I am assuming hunting down in the workspace file?  Shoudl the workspace file remain on the remote host, or my local host?
-Peter

Never mind, it worked all of a sudden. I guess it is intermittent?


Acl port new

Moved all ACL config input validations from Actions to the Acl PySwirch wrapper.

Closing it because branch is too old


[Google Drive] ...

Extension
https://www.raycast.com/vishaltelangre/google-drive
Description
Hi guys,
Can you please an option to mount multiple Google Drive accounts? It really sucks to mount each of them and then search through them.
Who will benefit from this feature?
No response
Anything else?
No response

any update on that one?


How to mark as SPAM?

Hi,
Great work with this app.
I was trying to mark something as SPAM, but adding label SPAM does not work and marking not_spam: false also doesn't. Am I missing something or it is not available yet?
Thanks,
C.

I don't believe Gmail filters themselves, which are what this tool generates, offer the functionality you want. At the very least, Google doesn't provide a UI for it. If you manually set up a filter in the Gmail web interface, you'll see that there is a checkbox called "Never send it to Spam" but nothing that says anything like "Always send it to Spam".
Setting not_spam: true will tick that checkbox. I believe setting not_spam: false, or just not specifying not_spam at all, indicates that you do not want to tick the "Never send it to Spam" checkbox. Google needs to provide an "Always send it to Spam" filter action before this tool can support it.
For email I never want to see, I use trash: true. That doesn't have the benefit of training the spam filter, but it does get all matching emails out of my way.
If you really want the spam filter training benefit, the easiest thing I can think of:

create a label (e.g., to_be_marked_as_spam)
create a filter that sends messages there
occasionally go into the label, select everything, and mark as spam


Simplify Darwin code dummy/fakes

Now, the whole eBPF package is hidden behind a single dummy "TracerProvider" function, as actually none of the Tracer functions need to be compiled or tested from Mac, because this packagde intensively depends on eBPF and other linux functionalities.

Codecov Report

Merging #147 (fe63d12) into main (3ac9189) will decrease coverage by 41.76%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##             main     #147       +/-   ##
===========================================
- Coverage   80.52%   38.76%   -41.76%
===========================================
  Files          36       33        -3
  Lines        2362     2306       -56
===========================================
- Hits         1902      894     -1008
- Misses        338     1352     +1014
+ Partials      122       60       -62

Flag
Coverage Δ

integration-test
?

unittests
38.76% <0.00%> (ø)

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

Impacted Files
Coverage Δ

pkg/ebpf/instrumenter.go
0.00% <0.00%> (-60.87%)
:arrow_down:

pkg/ebpf/tracer.go
0.00% <0.00%> (-64.16%)
:arrow_down:

... and 25 files with indirect coverage changes


Rust language added patterns

#235 for added language support for Rust.  Base branch is main against which to compare.

Interesting.  Just when you think a change is benign to unit testing.  I'll investigate and correct now.

I think this one is ready.

I've submitted a separate issue #253 to continue looking into possible use of insensitivity in patterns.  Let's button this one up just related to Rust changes.

btw I scanned the rust language https://github.com/rust-lang/rust among others for testing.


bot wont join

Fortnite: Cannot join into the party. Reason: Incompatible build id.

const app = await launcher.runGame(Fortnite, {
  partyBuildId: '1:1:6819019',
});

What am i supposed to do with this?


添加oracle数据库源时报错：invalid oracle validationQuery. select 1, may should be : select 1 FROM DUAL

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
添加oracle数据库源时报错：invalid oracle validationQuery. select 1, may should be : select 1 FROM DUAL
What you expected to happen
初始搜索了一下代码，怀疑是dlink-metadata/dlink-metadata-base/src/main/java/com/dlink/metadata/driver/AbstractJdbcDriver.java  ds.setValidationQuery("select 1")导致，oracle的测试应该使用select 1 from dual
How to reproduce
添加oracle数据源点测试或保存都能重现
Anything else
No response
Version
0.6.6
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

嗯那oracle的实现类需要重写这个的方法，这个应该是之前加这个参数时没有考虑兼容性


Logs processor

This builds up the foundation of very rudimentary logs support in otel. It includes a very simple data model and a LogsProcessor and LogsExporter interfaces. A simple BatchingLogsProcessor implements LogsProcessor and will pass batches of LogEntry to an exporter when a size or time is reached.
This also includes some adapters in order to convert from the otel data model (LogEntry) to the protobuf model.

Going to pull the protobuf stuff out to make this nicer/smaller.


[WIP] Notifications

DO NOT MERGE THIS YET. IT'S TOTALLY UNREADY!

@Crash-- You've misused migrations here. That belongs in a seeder.

@GrahamCampbell OK but I absolutely need these data in the DB. Without, we'll have a problem, this is why I put it into a migration because migrations are mandatory and seeds are optional, right?

@Crash-- you can still put the data into tables, but you need to look doing that in a seeder, not the migration.

@jbrooksuk Yes, but in the Cachet's documentation we can read " then you may want to seed the database with some example data." and from Laravel's "with test data using seed classes". But in my case, these datas are needed at the beginning.
I can ofc change this behavior, but I'll add more lines of code :(

@GrahamCampbell Can you close this PR? I'll open a new one with several fixes and improvements.

@Crash-- adding more lines of code isn't a problem if it's in the right place. If you're relying on default values to be inserted before the service can run, then you need to add error handling to only look for the service if the service is indeed setup.

This needs rebasing and needs all language filled synced again.

Travis is failing because of a package not being able to download:
- Installing symfony/process (v2.5.8)
    Cloning 62c77d834c6cbf9cafa294a864aeba3a6c985af3
    Failed to download symfony/process from source: Failed to clone git@github.com:symfony/Process.git via git, https, ssh protocols, aborting.

Hmm. I see nothing on github/travis status pages about this.

Also I saw "Could not authenticate github.com"

Do we have to add an API key or something (I've never had to).

No, not at all.

Travis has just f***ed up somewhere.

Bizarre. They need to run Cachet and let us know about this kind of shenanigans!

Maybe we should tweet to them to let them know this is happening?

Bizarre. They need to run Cachet and let us know about this kind of shenanigans!

lol

Will do from the Cachet account.

Done :)

Needs rebasing.

Rebased but not squashed yet. @GrahamCampbell please tell me that I didn't !@#$ it up this time?

@GrahamCampbell are you ok continuing work on this one? If not, what's left?

@GrahamCampbell Maybe this will help https://github.com/dinkbit/notifyme

@joecohens how do you want to do this? Close this PR and implement fresh with notifyme, or modify this one?

I think more than half of this branch is reusable. I'll take it form here :)

@cachethq/owners Closing this for now, I'm starting fresh.

:+1:


Weird result using  in HTML

Hi,
while using your loader, I am struggling with weird issue, which prevents me from using it.
I am using Webpack v.2.2.1.
In HTML I've got:

And after compiling and bundling, using your loader, it ends up like this:

<path d="M1611 832q0 53-37 90l-651 652q-39 37-91 37-53 0-90-37l-651-652q-38-36-38-90 0-53 38-91l74-75q39-37 91-37 53 0 90 37l294 294v-704q0-52 38-90t90-38h128q52 0 90 38t38 90v704l294-294q37-37 90-37 52 0 91 37l75 75q37 39 37 91z"></path>
" alt="test_svg">

And in my webpack config, options for this plugin:
{
  loader: 'svg-inline-loader',
  options: {
    mimetype: 'image/svg+xml',
    removeTags: false,
    removingTags: ['title', 'desc', 'defs', 'style'],
    removeSVGTagAttrs: false,
    removingTagAttrs: [],
    classPrefix: 'icon',
    idPrefix: 'icon-[name]',
  },
},

Edit. Close. I understood the purpose of this loader wrongly. Sorry about that.

@xeho91 I'm trying to achieve what you were trying, how did you solve your issue?


Colour picker is damaged.

I get a warning that this colour picker is damaged.

Also this happens all the time and I don't know why the colour picker has to open all day long even when I don't have zeplin open.


Hash paths relative to the workspace into metadata.

Currently Cargo hashes the relative path if it's under the workspace root,
or absolute if it isn't.
This causes non-reproducibility problems when using dependencies like path = "../foo"
that point to crates outside the workspace (or when not using a workspace at all).
This PR fixes the problem by making all paths relative to the workspace root, not
just paths under it.
Fixes #13586

r? @weihanglo
this is related to #14951 , also https://github.com/rust-lang/cargo/issues/13586#issuecomment-2550024395

Can we make sure this has a test? I'm not sure if the intent here is to ensure it stays consistent if the tree is moved, perhaps just a freshness test would suffice?


Added in CFN for populating the DDB

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Received an error when trying to add cidrs to the DDB table.
An error occurred (AccessDeniedException) when calling the PutItem operation: KMS key access denied error: com.amazonaws.services.kms.model.AWSKMSException: The ciphertext refers to a customer master key that does not exist, does not exist in this region, or you are not allowed to access. (Service: AWSKMS; Status Code: 400; Error Code: AccessDeniedException; Request ID: 0e35c348-57ef-4b0a-81e7-87e3fd0e4344; Proxy: null)
Looks like the Lambda Role doesn't have the require KMS key permissions for the Installer KMS key in ASEA. That key is located in the installer stack for ASEA.

Updated the code to include KMS decryption permissions.


Connection leaks in Zuul "post" filters

Poor written "post" Zuul filter might cause response input stream not being closed and connection leaks in respective http-client connection pools.

@dsyer @spencergibb I wonder if I should move fix to either ZuulServlet#service(), either com.netflix.zuul.context.RequestContext#unset(). Ideally streams should be closed on the same layer they are opened, however in Route-Post filter chains it is hard to achieve.

I get why you want to do this, but is there any proof that it's necessary? Something that is obviously broken without it? Otherwise I'm wondering whether maybe Netflix code covers this scenario already somewhere.
P.S. you probably need to rebase your branch and re-push to clean up the history.

@dsyer Zuul advocates writing custom filters and I assume a lot of people do it. In my case I have custom POST filter that massages response headers before they hit wire. Unfortunately I had sneaky NPE in that filter that was not logged (another topic to talk about, but Zuul logging has room to improve)  and instead was masked with ConnectionPoolTimeoutException hundreds requests later.
at org.springframework.cloud.netflix.zuul.filters.route.apache.HttpClientRibbonCommand.run(HttpClientRibbonCommand.java:99)
	at org.springframework.cloud.netflix.zuul.filters.route.apache.HttpClientRibbonCommand.run(HttpClientRibbonCommand.java:43)
	at com.netflix.hystrix.HystrixCommand$1.call(HystrixCommand.java:293)
	at com.netflix.hystrix.HystrixCommand$1.call(HystrixCommand.java:289)
	at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:46)
	at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35)
	at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
	at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
	at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
	at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
	at rx.Observable.unsafeSubscribe(Observable.java:8460)
	at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:51)
	at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35)
	at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
	at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
	at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
	at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
	at rx.Observable.unsafeSubscribe(Observable.java:8460)
	at rx.internal.operators.OperatorSubscribeOn$1.call(OperatorSubscribeOn.java:94)
	at com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction$1.call(HystrixContexSchedulerAction.java:56)
	at com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction$1.call(HystrixContexSchedulerAction.java:47)
	at org.springframework.cloud.sleuth.instrument.hystrix.SleuthHystrixConcurrencyStrategy$HystrixTraceCallable.call(SleuthHystrixConcurrencyStrategy.java:140)
	at com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction.call(HystrixContexSchedulerAction.java:69)
	at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	... 1 common frames omitted
Caused by: java.lang.RuntimeException: org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection from pool
	at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:456)
	at rx.observables.BlockingObservable.single(BlockingObservable.java:332)

Closing due to inactivity. Please re-open if there's more to discuss


Docker-compose build fail

Hi Aurelion. Awesome book and great talk at AIConf last week...
Just tried building the docker image with compose and the build failed on
 RUN conda update -n base conda

with traceback
Step 3/33 : RUN conda update -n base conda
 ---> Running in e52f65e52a18
Traceback (most recent call last):
  File "/opt/conda/lib/python3.6/site-packages/conda/exceptions.py", line 789, in __call__
    return func(*args, **kwargs)
  File "/opt/conda/lib/python3.6/site-packages/conda/cli/main.py", line 73, in _main
    from ..base.context import context
  File "/opt/conda/lib/python3.6/site-packages/conda/base/context.py", line 23, in <module>
    from ..common.configuration import (Configuration, LoadError, MapParameter, PrimitiveParameter,
  File "/opt/conda/lib/python3.6/site-packages/conda/common/configuration.py", line 34, in <module>
    from .serialize import yaml_load
  File "/opt/conda/lib/python3.6/site-packages/conda/common/serialize.py", line 28, in <module>
    yaml = get_yaml()
  File "/opt/conda/lib/python3.6/site-packages/conda/_vendor/auxlib/decorators.py", line 56, in _memoized_func
    result = func(*args, **kwargs)
  File "/opt/conda/lib/python3.6/site-packages/conda/common/serialize.py", line 17, in get_yaml
    import ruamel_yaml as yaml
ValueError: source code string cannot contain null bytes

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/bin/conda", line 11, in <module>
    sys.exit(main())
  File "/opt/conda/lib/python3.6/site-packages/conda/cli/main.py", line 126, in main
    return conda_exception_handler(_main, *args)
  File "/opt/conda/lib/python3.6/site-packages/conda/exceptions.py", line 1025, in conda_exception_handler
    return_value = exception_handler(func, *args, **kwargs)
  File "/opt/conda/lib/python3.6/site-packages/conda/exceptions.py", line 792, in __call__
    return self.handle_exception(exc_val, exc_tb)
  File "/opt/conda/lib/python3.6/site-packages/conda/exceptions.py", line 832, in handle_exception
    return self.handle_unexpected_exception(exc_val, exc_tb)
  File "/opt/conda/lib/python3.6/site-packages/conda/exceptions.py", line 844, in handle_unexpected_exception
    self.print_error_report(error_report)
  File "/opt/conda/lib/python3.6/site-packages/conda/exceptions.py", line 882, in print_error_report
    from .base.context import context
  File "/opt/conda/lib/python3.6/site-packages/conda/base/context.py", line 23, in <module>
    from ..common.configuration import (Configuration, LoadError, MapParameter, PrimitiveParameter,
  File "/opt/conda/lib/python3.6/site-packages/conda/common/configuration.py", line 34, in <module>
    from .serialize import yaml_load
  File "/opt/conda/lib/python3.6/site-packages/conda/common/serialize.py", line 28, in <module>
    yaml = get_yaml()
  File "/opt/conda/lib/python3.6/site-packages/conda/_vendor/auxlib/decorators.py", line 56, in _memoized_func
    result = func(*args, **kwargs)
  File "/opt/conda/lib/python3.6/site-packages/conda/common/serialize.py", line 17, in get_yaml
    import ruamel_yaml as yaml
ValueError: source code string cannot contain null bytes
ERROR: Service 'handson-ml' failed to build: The command '/bin/sh -c conda update -n base conda' returned a non-zero code: 1

Perhaps an issue in a new version of a package being installed?

Thanks @lpatruno , I'll take a look right away.

Mmh, this is a weird bug.  @ziembla and @StevenBunkley, would you mind giving this a look please?

Hi, I just spotted your problem and have no time to dig into now, but just off the top of my head: that's the line added by @drorata I think it was to address a change in anaconda base image. I suspect you have an older anaconda image (pulled some time ago into docker local image store) so you can try one of two things:

just remove the offending line from the Dockerfile,
"pull docker continuumio/anaconda3" to refresh it (if nothing else on your system depends on it's :latest)

Unfortunately, the way we're using docker now is letting it choose "all the latest versions" which is a mixed blessing. I've been thinking for some time about taking more control and preparing the curated image but that's a longer story... ;-D
Regards

Hi, I've similar issue in the same step of docker building, however with slightly different error message:

sudo docker-compose build
Building handson-ml
Step 1/27 : FROM continuumio/anaconda3:2019.03
---> cb34e4508fdc
Step 2/27 : RUN apt-get update && apt-get upgrade -y     && apt-get install -y         libpq-dev         build-essential         git         sudo         cmake zlib1g-dev libjpeg-dev xvfb libav-tools xorg-dev libboost-all-dev libsdl2-dev swig         unzip zip     && rm -rf /var/lib/apt/lists/*
---> Using cache
---> b47f96939187
Step 3/27 : RUN conda update -n base conda
---> Using cache
---> 1b365fe0b133
Step 4/27 : RUN conda install -y         joblib         PyYAML==3.13
---> Running in ce69ab228072
WARNING conda.base.context:use_only_tar_bz2(632): Conda is constrained to only using the old .tar.bz2 file format because you have conda-build installed, and it is <3.18.3.  Update or remove conda-build to get smaller downloads and faster extractions.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:

anaconda-navigator -> anaconda-client[version='>=1.6.14'] -> pyyaml
anaconda==2019.03=py37_0 -> anaconda-client==1.7.2=py37_0 -> pyyaml
anaconda==2019.03=py37_0 -> importlib_metadata==0.8=py37_0 -> zipp[version='>=0.3.2']
bokeh -> pyyaml[version='>=3.10']
conda-build -> pyyaml
conda-verify -> pyyaml
dask -> bokeh[version='>=1.0.0'] -> pyyaml[version='>=3.10']
pkgs/main/linux-64::importlib_metadata==0.8=py37_0 -> zipp[version='>=0.3.2']
pkgs/main/linux-64::path.py==11.5.0=py37_0 -> importlib_metadata[version='>=0.5']
pkgs/main/linux-64::zipp==0.3.3=py37_1
pyyaml==3.13

ERROR: Service 'handson-ml' failed to build: The command '/bin/sh -c conda install -y         joblib         PyYAML==3.13' returned a non-zero code: 1

Hi there,
I'm currently on vacation for 2 weeks. I'll check this when I get back, sorry for the delay (if anyone else wants to help, you're more than welcome).
Cheers,
Aurélien

Is the problem resolved?

not yet unfortunately.


Migrate examples to use depthai <IP_ADDRESS> and follow a common blob naming format

While migrating examples to the latest PyPi release, and making sure the blobs are using the latest OpenVINO and have correct blob names, I found two examples that stopped working as they used to:

Pedestrian Reidentification network (person-reidentification-retail-0031) is no longer available in 2021.2, was removed in 2020.4.  The new network that I tried to use - person_reidentification_retail_0288 and person_reidentification_retail_0277 - accept an input image in higher resolution (now 128x256, previously 48x96), which may be a cause of a significant inference speed drop when these networks start to process the frames.
Code for this example is here as was not included in this PR due to the performance issues

Tensorflow Image Classification example has accuracy issues when model is changed to the one compiled for 6 or 8 shaves. Where previously is recognized a dandelion (like on a demo image) it does no more. That's why this example is also not included in this PR, and its source code is here

Other than these two, the rest of the examples work fine.

You can use openvino IR model compiled for 2020.1/3/4 for person-reidentification-retail-0031 and use myriad compiler from 2021.2, it will likely work. That's how I compiled deeplabv3 for openvino 2021.2 since I had only 2020.1 IR model from gen1. @VanDavv

That's very clever, will do. Thanks @szabi-luxonis !


Move butane scripts to this repo to be easier to modify

https://verily.atlassian.net/browse/BENCH-2603

thanks for the review!


Real World Octree datasets bugs

🐛 Bug
This issue is to collect bug reports for using the NAPARI_OCTREE with real world datasets and will be updated as needed

To start I get an error with the following
import napari
import dask.array as da

path = 'https://s3.embassy.ebi.ac.uk/idr/zarr/v0.1/9822151.zarr'
resolutions = [da.from_zarr(path, component=str(i))[0, 0, 0] for i in list(range(11))]

with napari.gui_qt():
    viewer = napari.Viewer()
    viewer.add_image(resolutions)

(base) czirwc1macos2701:image-demos nsofroniew$ python examples/covid19.py
Octree input data has 11 levels:
    Level 0: 167424 x 79360 = 13.3 billion pixels -> 654 x 310 = 202740 tiles
    Level 1: 83712 x 39680 = 3.3 billion pixels -> 327 x 155 = 50685 tiles
    Level 2: 41856 x 19840 = 830.4 million pixels -> 164 x 78 = 12792 tiles
    Level 3: 20928 x 9920 = 207.6 million pixels -> 82 x 39 = 3198 tiles
    Level 4: 10464 x 4960 = 51.9 million pixels -> 41 x 20 = 820 tiles
    Level 5: 5232 x 2480 = 13.0 million pixels -> 21 x 10 = 210 tiles
    Level 6: 2616 x 1240 = 3.2 million pixels -> 11 x 5 = 55 tiles
    Level 7: 1308 x 620 = 810960 pixels -> 6 x 3 = 18 tiles
    Level 8: 654 x 310 = 202740 pixels -> 3 x 2 = 6 tiles
    Level 9: 327 x 155 = 50685 pixels -> 2 x 1 = 2 tiles
    Level 10: 163 x 77 = 12551 pixels -> 1 x 1 = 1 tiles
tiles: 0 -> 4 create: 4 delete: 0 time: 698.876ms
WARNING: Error drawing visual <TiledImage at 0x7f8339adb550>
ERROR:root:Unhandled exception:
Traceback (most recent call last):
  File "/Users/nsofroniew/GitHub/vispy/vispy/app/backends/_qt.py", line 825, in paintGL
    self._vispy_canvas.events.draw(region=None)
  File "/Users/nsofroniew/GitHub/vispy/vispy/util/event.py", line 455, in __call__
    self._invoke_callback(cb, event)
  File "/Users/nsofroniew/GitHub/vispy/vispy/util/event.py", line 475, in _invoke_callback
    self, cb_event=(cb, event))
  File "/Users/nsofroniew/GitHub/vispy/vispy/util/event.py", line 471, in _invoke_callback
    cb(event)
  File "/Users/nsofroniew/GitHub/vispy/vispy/scene/canvas.py", line 217, in on_draw
    self._draw_scene()
  File "/Users/nsofroniew/GitHub/vispy/vispy/scene/canvas.py", line 266, in _draw_scene
    self.draw_visual(self.scene)
  File "/Users/nsofroniew/GitHub/vispy/vispy/scene/canvas.py", line 304, in draw_visual
    node.draw()
  File "/Users/nsofroniew/GitHub/vispy/vispy/scene/visuals.py", line 99, in draw
    self._visual_superclass.draw(self)
  File "/Users/nsofroniew/GitHub/vispy/vispy/visuals/visual.py", line 443, in draw
    self._vshare.index_buffer)
  File "/Users/nsofroniew/GitHub/vispy/vispy/visuals/shaders/program.py", line 101, in draw
    Program.draw(self, *args, **kwargs)
  File "/Users/nsofroniew/GitHub/vispy/vispy/gloo/program.py", line 533, in draw
    canvas.context.flush_commands()
  File "/Users/nsofroniew/GitHub/vispy/vispy/gloo/context.py", line 176, in flush_commands
    self.glir.flush(self.shared.parser)
  File "/Users/nsofroniew/GitHub/vispy/vispy/gloo/glir.py", line 572, in flush
    self._shared.flush(parser)
  File "/Users/nsofroniew/GitHub/vispy/vispy/gloo/glir.py", line 494, in flush
    parser.parse(self._filter(self.clear(), parser))
  File "/Users/nsofroniew/GitHub/vispy/vispy/gloo/glir.py", line 819, in parse
    self._parse(command)
  File "/Users/nsofroniew/GitHub/vispy/vispy/gloo/glir.py", line 787, in _parse
    ob.set_data(*args)
  File "/Users/nsofroniew/GitHub/vispy/vispy/gloo/glir.py", line 1537, in set_data
    raise ValueError("Type %r not allowed for texture" % data.dtype)
ValueError: Type dtype('>u2') not allowed for texture

Segmentation fault: 11

I also get errors with the dataset created here https://github.com/napari/napari/issues/1942#issue-751059521

Ideally all the dtypes from the following test suite should work with the new layer https://github.com/napari/napari/blob/master/napari/_tests/test_dtypes.py

Ideally all the dtypes from the following test suite should work with the new layer https://github.com/napari/napari/blob/master/napari/_tests/test_dtypes.py

Closed by #2362


Support TaggedTemplate ("tw`...`")

tw`...` is supported but tw`... ${...}` is not yet

#67  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @AhmedBaset and the rest of your teammates on  Graphite


mock and spy results into orphan instances

The used Godot version:
Godot Engine v3.2.4.rc2.official
GdUnit 0.9.0 - beta
OS including version:
Windows and MacOS
Describe the bug
When using an spy or mock on test results into orphan instances.
Steps to Reproduce

create a simple test

func test_custom_matcher():
	var mocked_test_class : CustomArgumentMatcherTestClass = mock(CustomArgumentMatcherTestClass)

run CLI tool with --verbose and see lot of orphan references

fixed on master


feat: apply variable editor title text via CSS classes instead of inline styles

Apply variable editor title text styles via class variable-editor-title-text instead of using inline-styles. This allows better customization of styles. An active element also has the class active. This allows overriding the inactive state color using the selector .graphiql-container .variable-editor-title-text and overriding the active state color using the selector .graphiql-container .variable-editor-title-text.active.

Thanks @n1ru4l !


Add core functionality management commands

Change description
This PR will add two management commands

Export (should be fully functional as documented)
Import (should be functional, but with no approach to solve the object conflicts other than the --force and raise error options)
Fixes some issues.

Type of change

[x] Bug fix (fixes an issue)
[x] New feature (adds functionality)

Development

[x] Lint rules pass locally
[x] Application changes have been tested thoroughly
[x] Automated tests covering modified code pass

Security

[ ] Security impact of change has been considered
[ ] Code follows company security practices and guidelines

Code review

[x] Pull request has a descriptive title and context useful to a reviewer. Screenshots or screencasts are attached as necessary
[x] "Ready for review" label attached and reviewers assigned
[ ] Changes have been reviewed by at least one other contributor
[ ] Pull request linked to task tracker where applicable

@thraxil I can see how this can be confusing. I included a little description in the README.md file here.  Please let me know what you think

@ahmedaljazzar sorry for not getting back to this PR. I'll work with Maxi on how can we triage the work here.

I spent two days building the bucket upload/download feature to realize that Google Storages doesn't support 3.5 in any of their versions ever published. I'll revert the changes tomorrow. We are going to have fun downloading and uploading files from our machines.

I spent two days building the bucket upload/download feature to realize that Google Storages doesn't support 3.5 in any of their versions ever published. I'll revert the changes tomorrow. We are going to have fun downloading and uploading files from our machines.

Ouch. Yeah, love that Juniper has stranded us on 3.5. The unit tests and devstack are fine with 3.8 so the edx-platform code at least should be fine, but it looks like a non-trivial operation to upgrade our systems (the ansible stuff is a mess of interdependencies).
At least we're off Python 2!

Well... Instead of reverting that, I was able to perform import/export using gsutil, which, technically, should be available on our edxapp servers (as I checked). Hopefully this will do it until we are completely off this Python 3.5.

Ahmed, I'll review this PR this Sprint and the intention is to merge it so you'll be able to tinker with it on staging.
I'm sorry for taking so long to review it, I was a bit busy with SiteConfig and an unusual amount of support tickets.

@OmarIthawi all comments have been addressed except for the nosetest <> pytest stuff. It might take more time than the value it adds now, so I'll keep it for the next iteration or after this PR gets merged.

AFAICT, it's actually just using django.test.TestCase, which is built on unittest.TestCase from the standard library, not nosetest. I don't really have an opinion on nosetest, but honestly I prefer unittest to pytest most of the time. I guess I'm weird that I find the class and methods approach of unittest easier to read and scan and refactor than a bunch of flat functions with stacked mystery decorators. But I also probably spend a lot more time writing in other languages than Python than other people and the fact that unittest adheres to a more cross-language standard approach makes it easier for me to context switch. I also feel like I've spent a lot more time updating pytest and the half dozen other plugins it always seems to pull in and getting those to work on upgrades than it's saved me by writing assert instead of self.assertEquals(). I'm not against pytest, but I feel like it's not worth pulling in unless you actually need and are making use of some of its advanced functionality (eg, multicore support, though newer versions of Django allow for manage.py test --parallel, so that's no longer a differentiator).


Adjust Content for Display Within Box

Describe the feature
Hey @Suchitra-Sahoo . Ensuring that the content fits within the designated box by adjusting the text size. This issue involves optimizing the display of the content to maintain readability and visual appeal within the given constraints.
In the ScreenShots, there is only for three techniques. I would like to change the content for sowing techniques, irrigation techniques and Climate smart Agriculture also. I want to change the content to precise and upto the point required as shown in the ScrrenShots.
please assign the gssoc labels and I would like to work on it under GSSOC'24. Thank you!!
Add ScreenShots
Before making the changes:

After making the changes:

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

I have checked just now and the text is within the card only.


Add modelserving architecture doc

Description

This PR contains documentation aimed at explaining the architecture of the component managed by the modelserving team. Essentially, it provides a high-level overview of what each component does.
How Has This Been Tested?

No source changed.
Merge criteria:

[ ] The commits are squashed in a cohesive manner and have meaningful messages.
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[ ] The developer has manually tested the changes and verified that the changes work

@Jooho
Please include the source (drawio format is ideal) of the diagram too to simplify the changes in the future


Missing Components in the Source Code

Hello, I am trying to create a custom build of this solution exactly as it currently is so that I can continue using it after it is archived at the end of this month. I downloaded the source code and have tried to follow the instructions, but it seems some parts are missing. I have included the errors received below but it looks like the source code is missing the folders transcribelamda and captionlambda and the files requirements.txt and TranscribeStreamingJavaLambda.jar. Additionally, I am receiving the message testresources are not installed.
Since I am newer to AWS so any guidance offered is greatly appreciated. Please don't hesitate to explain things at a basic level. Hopefully I can get this working before this project is archived at the end of the month.
Thank you!

[Rebuild] captionlambda Function
cp: cannot stat '/home/matt/Downloads/live-streaming-with-automated-multi-language-subtitling-master/deployment/../source/captionlambda': No such file or directory
./build-s3-dist.sh: line 77: cd: /home/matt/Downloads/live-streaming-with-automated-multi-language-subtitling-master/deployment/../tmp/captionlambda/: No such file or directory
ERROR: Could not open requirements file: [Errno 2] No such file or directory: './requirements.txt'
cp: cannot stat '/home/matt/Downloads/live-streaming-with-automated-multi-language-subtitling-master/deployment/../source/transcribelambda/TranscribeStreamingJavaLambda.jar': No such file or directory
ERROR: launchpadlib 1.10.13 requires testresources, which is not installed.

Does anyone happen to have the directory source/captionlambda and the files requirements.txt and TranscribeStreamingJavaLambda.jar that are missing in the source code?


obs: Disable repo-publishing for CI builds

The repos of the CI builds are not used anywhere so let's be friendly to
the OBS infrastructure and do not publish them.
Signed-off-by: Ralf Haferkamp<EMAIL_ADDRESS>

/cc @jcvenegas

Nice trick :)

/AzurePipelines run

We need another ack over here y'all!

/test
/cc @jcvenegas for ack/nack


Added a fallback Twig extension when PHP's intl is not available

This fixes #329.

@mtsanford @tcicit @WouterJ could you please try the changes proposed in this pull request to see if it solves your problems with Windows + Intl? Thanks!

I can not find the file. In the demo app, there are only the following file: "\symfony_demo\src\AppBundle\Twig\AppExtension.php".

You should checkout on fix_329 branch of the https://github.com/javiereguiluz/symfony-demo Javier's fork repo.

@tcicit if you don't want to mess with Git, you can recreate these changes in your own computer. It's just a matter of creating 2 files and modifying 2 other files. See: https://github.com/symfony/symfony-demo/pull/335/files

While this is probably works fine (didn't test it yet), I think the implementation is very complex (especially for a demo app for beginners):

Using PHP config to register the service
A full-blown polyfill for intl date formatter

What about creating a render_date() function? This would allow us to get rid of both problems, makes the implementation quite a lot simpler (as it's just intl_enabled ? IntlDateFormatter::create(...)->format(new \DateTime()) : date(...);) and also shows how readable you can make your templates by adding some very tiny functions and filters.

Closed in favor of #344.


Problem using “mlx-community/Llama-3.2-11B-Vision-Instruct-8bit”

I'm trying to use the Problem template using “mlx-community/Llama-3.2-11B-Vision-Instruct-8bit” but I'm having the following problem:
Model type mllama not supported.
ModuleNotFoundError: No module named 'mlx_lm.models.mllama'
I have installed the libs: mlx and mlx-lm

MLX LM doesn't support vision models yet. You could try using MLX VLM

Thank you very much for your help.


locale.Error: unsupported locale setting

Good day
I am trying to run the program on an AWS Kali Linux server. I always get an error message. The time and date of my server are set correctly. On my Windows machine everything runs without problems.
`Traceback (most recent call last):
File "/home/kali/Microsoft-Rewards-Farmer/main.py", line 110, in
main()
File "/home/kali/Microsoft-Rewards-Farmer/main.py", line 15, in main
executeBot(loadedAccounts)
File "/home/kali/Microsoft-Rewards-Farmer/main.py", line 71, in executeBot
with Browser(
^^^^^^^^
File "/home/kali/Microsoft-Rewards-Farmer/src/browser.py", line 27, in init
self.utils = Utils(self.webdriver, f"{self.localeLang}_{self.localeGeo}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/Microsoft-Rewards-Farmer/src/utils.py", line 18, in init
pylocale.setlocale(pylocale.LC_NUMERIC, locale)
File "/usr/lib/python3.11/locale.py", line 626, in setlocale
return _setlocale(category, locale)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting`

I think this issue is related to #233

Fixed it !

So I recloned the repo but still got the error.
`
Traceback (most recent call last):
File "/home/kali/Microsoft-Rewards-Farmer/main.py", line 110, in
main()
File "/home/kali/Microsoft-Rewards-Farmer/main.py", line 15, in main
executeBot(loadedAccounts)
File "/home/kali/Microsoft-Rewards-Farmer/main.py", line 71, in executeBot
with Browser(
^^^^^^^^
File "/home/kali/Microsoft-Rewards-Farmer/src/browser.py", line 27, in init
self.utils = Utils(self.webdriver)
^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/Microsoft-Rewards-Farmer/src/utils.py", line 18, in init
pylocale.setlocale(pylocale.LC_NUMERIC, pylocale.getdefaultlocale()[0])
File "/usr/lib/python3.11/locale.py", line 626, in setlocale
return _setlocale(category, locale)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting
`

Fixed it !

So I recloned the repo but still got the error.
`
Traceback (most recent call last):
File "/home/kali/Microsoft-Rewards-Farmer/main.py", line 110, in
main()
File "/home/kali/Microsoft-Rewards-Farmer/main.py", line 15, in main
executeBot(loadedAccounts)
File "/home/kali/Microsoft-Rewards-Farmer/main.py", line 71, in executeBot
with Browser(
^^^^^^^^
File "/home/kali/Microsoft-Rewards-Farmer/src/browser.py", line 27, in init
self.utils = Utils(self.webdriver)
^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/Microsoft-Rewards-Farmer/src/utils.py", line 18, in init
pylocale.setlocale(pylocale.LC_NUMERIC, pylocale.getdefaultlocale()[0])
File "/usr/lib/python3.11/locale.py", line 626, in setlocale
return _setlocale(category, locale)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting
`

Yea, I'm also running in to this error. On ubuntu 22.04 LTS
have tried with python3.10 and 3.11

I understand why, because there is no env variable declared on your machines, so I handled it in the script, try it !

I understand why, because there is no env variable declared on your machines, so I handled it in the script, try it !

Pulled the latest zip from the releases page and the error is still occurring.
Also tried downloading code zip and same issue.
python3.10:

alex@Ubuntu-Plex:~/Desktop/Microsoft-Rewards-Farmer-master$ python3 main.py
********************{<EMAIL_ADDRESS>}********************
Traceback (most recent call last):
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/main.py", line 110, in <module>
    main()
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/main.py", line 15, in main
    executeBot(loadedAccounts)
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/main.py", line 71, in executeBot
    with Browser(
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/src/browser.py", line 27, in __init__
    self.utils = Utils(self.webdriver)
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/src/utils.py", line 20, in __init__
    pylocale.setlocale(pylocale.LC_NUMERIC, locale)
  File "/usr/lib/python3.10/locale.py", line 620, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

python3.11:

alex@Ubuntu-Plex:~/Desktop/Microsoft-Rewards-Farmer-master$ python3.11 main.py
********************{<EMAIL_ADDRESS>}********************
Traceback (most recent call last):
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/main.py", line 110, in <module>
    main()
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/main.py", line 15, in main
    executeBot(loadedAccounts)
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/main.py", line 71, in executeBot
    with Browser(
         ^^^^^^^^
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/src/browser.py", line 27, in __init__
    self.utils = Utils(self.webdriver)
                 ^^^^^^^^^^^^^^^^^^^^^
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/src/utils.py", line 20, in __init__
    pylocale.setlocale(pylocale.LC_NUMERIC, locale)
  File "/usr/lib/python3.11/locale.py", line 626, in setlocale
    return _setlocale(category, locale)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting

I understand why, because there is no env variable declared on your machines, so I handled it in the script, try it !

Pulled the latest zip from the releases page and the error is still occurring. Also tried downloading code zip and same issue.
python3.10:

alex@Ubuntu-Plex:~/Desktop/Microsoft-Rewards-Farmer-master$ python3 main.py
********************{<EMAIL_ADDRESS>}********************
Traceback (most recent call last):
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/main.py", line 110, in <module>
    main()
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/main.py", line 15, in main
    executeBot(loadedAccounts)
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/main.py", line 71, in executeBot
    with Browser(
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/src/browser.py", line 27, in __init__
    self.utils = Utils(self.webdriver)
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/src/utils.py", line 20, in __init__
    pylocale.setlocale(pylocale.LC_NUMERIC, locale)
  File "/usr/lib/python3.10/locale.py", line 620, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

python3.11:

alex@Ubuntu-Plex:~/Desktop/Microsoft-Rewards-Farmer-master$ python3.11 main.py
********************{<EMAIL_ADDRESS>}********************
Traceback (most recent call last):
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/main.py", line 110, in <module>
    main()
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/main.py", line 15, in main
    executeBot(loadedAccounts)
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/main.py", line 71, in executeBot
    with Browser(
         ^^^^^^^^
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/src/browser.py", line 27, in __init__
    self.utils = Utils(self.webdriver)
                 ^^^^^^^^^^^^^^^^^^^^^
  File "/home/alex/Desktop/Microsoft-Rewards-Farmer-master/src/utils.py", line 20, in __init__
    pylocale.setlocale(pylocale.LC_NUMERIC, locale)
  File "/usr/lib/python3.11/locale.py", line 626, in setlocale
    return _setlocale(category, locale)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting

What do you get when you run in python
import locale
locale.getdefaultlocale()

?

What do you get when you run in python
import locale
locale.getdefaultlocale()

?

Also:

Getting the exact same issue with the exact same output of the above commands as other people


Unable to install snappy in node.js v18.12.1

@punit1108 how could I reproduce it?

Invalid Issue. The problem was with my incompatible project restrictions on node and npm version. Fixed it and now i am able to run snappy.
Thanks for you quick reply.


I can't login with google

I can register with email and password, but I cannot login with google. With the get_google_auth_manual method, I can't see any action on either desktop or android.

same issue here. i can't seem to get my manual one to work correct. it just gives this result.
Error 400: invalid_request
More info: The out-of-band (OOB) flow has been blocked in order to keep users secure. Follow the Out-of-Band (OOB) flow migration guide linked in the developer docs below to migrate your app to an alternative method.
Request details: redirect_uri=urn:ietf:wg:oauth:2.0:oob
If you're not wanting mobile users, you can use Firebase.Auth.get_google_auth_localhost() instead and it should work. it just gives an error page when you finish. i think that they should fix the error page and the google manual thing because i can't seem to get those to work 100% correctly.

One thing to note: you can follow the automatic login found here: https://github.com/GodotNuts/GodotFirebase/wiki/Authentication-and-User-Management#login-with-oauth-automatic
And if needed go through the extra OAuth steps found here:
https://github.com/GodotNuts/GodotFirebase/wiki/Installation-and-Activation#additional-oauth-configuration

Going to go ahead and close this, since technically it's already handled.

Where? Can you point us to exactly where this is still an issue? Because it's been fixed for quite a while.

The information at https://github.com/GodotNuts/GodotFirebase/wiki/Authentication-and-User-Management#login-with-oauth-automatic is deprecated
The information at https://github.com/GodotNuts/GodotFirebase/wiki/Authentication-and-User-Management#login-with-oauth-automatic is deprecated
The script would be:
`extends Node
var provider =  AuthProvider
func _ready():
provider = Firebase.Auth.get_GoogleProvider()
Firebase.Auth.connect("login_succeeded", self, "_on_login_succeeded")
Firebase.Auth.connect("login_failed",self, "_on_login_failed")

func _on_login_succeeded(user : Dictionary):
$Label.set_text("Successfully logged in with oAuth2 as: {email}".format({email=user.email}))
func _on_SignInWithGoogle_button_pressed():
$Label.set_text("Exchanging authorization code with a oath token...")
#Firebase.Auth.login_with_oauth(, provider)
Firebase.Auth.get_auth_with_redirect(provider)
`
and not what is there in the example.

@WolfgangSenff  But a doubt, this works on android?

I'm actually not sure - the list of providers that works does not include Android, which I find to be very odd! @fenix-hub - any clue on this?

@WolfgangSenff _on_login_succeeded(user : Dictionary) has the user which is a dictionary, ok,. but what value do i use to pass to Firebase.Auth.login_with_oauth(token, provider)
after the user has logged in 1 time, to do the automatic login, I'm trying to use the idtoken, but it gives an error.
see how I'm trying:

extends Node

var provider = AuthProvider
var port = 8060

func _ready():
	Firebase.Auth.connect("login_succeeded", self, "_on_login_succeeded")
	Firebase.Auth.connect("login_failed",self, "_on_login_failed")

	provider = Firebase.Auth.get_GoogleProvider()
	_on_application_start()

func _on_login_succeeded(user : Dictionary):
	$Label.set_text("Successfully logged in with oAuth2 as: {email}".format({email=user.email}))

	Firebase.Auth.save_auth(user)

func _on_SignInWithGoogle_button_pressed():
	$Label.set_text("Exchanging authorization code with a oath token...")
	#Firebase.Auth.login_with_oauth(, provider)
	#Firebase.Auth.get_auth_with_redirect(provider)
	Firebase.Auth.get_auth_localhost(provider, port)

func _on_application_start():
	Firebase.Auth.load_auth()
	var token = Firebase.Auth.auth.idtoken

	if token != null:
		Firebase.Auth.login_with_oauth(token, provider)

@MiqueiasDevGames if you are on Desktop, login_with_oauth() is not necessary.
As the wiki mentions

🖥 If your application will be published only for Desktop users and you don't have a web hosting environment where to redirect users, you can use (a) Firebase.Auth.get_auth_localhost(provider, port) to let OAuth2 flow redirect users directly to a static page provided by our plugin.
In this case, the application will listen on localhost:port for the access token coming from your provider OAuth2 flow, and the user will be automatically logged in.

So your login script (both for first login and subsequent logins) can be something like this:
extends Node

var provider = AuthProvider
var port = 8060

func _ready():
	Firebase.Auth.connect("login_succeeded", self, "_on_login_succeeded")
	Firebase.Auth.connect("login_failed",self, "_on_login_failed")

	provider = Firebase.Auth.get_GoogleProvider()
	_on_application_start()

func _on_login_succeeded(user : Dictionary):
	$Label.set_text("Successfully logged in with oAuth2 as: {email}".format({email=user.email}))

	Firebase.Auth.save_auth(user)

func _on_application_start():
	Firebase.Auth.get_auth_localhost(provider, port)

If you want to automatically login at startup, you'd want to use save_auth(userinfo) and load_auth() (code)

@fenix-hub
I think I understand, but in _on_application_start() then just call load_auth() and it will automatically login?
I saw that it calls manual_token_refresh(), but it doesn't emit the "login_succeeded" signal
And on android would it work? what I want to do is something similar to free fire in the login, where you log in once and then you don't have to log in ever again.

@MiqueiasDevGames Yes, it calls manual_token_refresh() internally but makes it easier for you to manage authentication data, since the plugin will encrypt and save/retrieve it for you.
It should work as there were no issues opened regarding this feature and tests are passing, but of course let us know if something bad happens.
For Android the scenario is a little bit more complex.
The problem is that on Android if you exit the app (like you would normally do in the OAuth2 flow, being redirected to an external page), Godot is not able to listen anymore on requests coming from external platforms. This means that the localhost method which works very well on desktop is broken, and of course the HTML5 implementation described in our wiki won't work too.
It is a Godot-specific issue more than a plugin limitation, since Godot doesn't support webview, so going to a browser will make Godot stop working in background.
A solution could be to use the desktop method, combined with a Redirect Link to your app (specifically known as App Deep Linking).
The idea is that, when configuring your provider (Google in your case), you set your redirect_uri to a Deep Link to your app (something like https://my.godotapp.com or app://my.godotapp.com).
Then the OAuth2 flow would be the same as the Desktop flow, but instead of redirecting your users to localhost it will redirect you to that URI, which for a Desktop could be your website, but at the same time (same link!) on Android would open your App. Deep Linking calls support parameters (like request uri parameters), so in that case our plugin would be able to get the OAuth2 authorization token from the Deep Linking, and authenticate your user.
The idea should work fine, except:

Godot engine does not support natively Deep Linking for compiled Android apps. However, there should be some modules making this feature available (one mentioned in this discussion #324)
Even if the flow should work on Android Godot, we still haven't been able to test this by ourselves or with the help of somebody that wants to try this. But we are open on supporting this.

I hope I've made myself clear. Let me know if you still need help, or perhaps you are insterested in experimenting this topic.

@fenix-hub
I'm trying here, using deep links, I'll probably get the link back with the parameters, but then how to pass this to your plugin?

Once you are able to get the link back to your apṗ, we can see together how to manage this, since there is no implementation yet to handle the case, but we can work on it.
I'll close this issue since not it is unrelated, we can continue this topic both on our Discord or in a Github discussion on this repository (tag me in on it once you opened it).


Update role with latest sansible format

Need to update role to match latest sansible standards.

Closed by #6


Feat: configure / cli option for component path

I'm working on a component library for one of my projects, and since this library is only for components (and the actual library files are in ./lib), the ./src/component/ui directory doesn't make sense.
As far as I can tell, there is no way to configure the output directory.
Obviously I can just move the file so it's not a huge issue, but it would nice if the solidui cli had an option to configure the component output directory. Or perhaps a config file could be used.

Thanks for the feedback :)
This will be added to the list for the next PR which will focus on updating and polishing the CLI.


Python debugging not working

Issue Type: Bug
When I press debug button (or F5) - nothing happened. No Terminal or Debug Console output. Even no errors message. Debug overlay flashes and that's it.

Also shortcut Ctrl+F5 (start without debugging) not working as expected (debug overlay flashes, but file not executed), but when I press "Run Python File in Terminal" button, it works. Am I misunderstanding something? What is the keyboard shortcut for "Run" button, then?

Previously, debugging worked on this computer. Problems started after update. Unfortunately, I have not updated for a long time, therefore I can’t say specifically with which version everything broke.
My launch.json
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Текущий файл",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal"
        }
    ]
}

I don’t know for sure this is an extension bug or VS Code. Please, move the issue to the appropriate place, if nessesary.
Extension version: 2019.10.41019
VS Code version: Code 1.39.1 (88f15d17dca836346e787762685a40bb5cce75a8, 2019-10-10T23:31:28.683Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2808)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.89GB (9.39GB free)

Process Argv

Screen Reader
no

VM
0%

This has also suddenly started happening on my machine as well. Updated to the latest extension version as of 10 minutes ago.

Thank you @karthiknadig, workaround works.

@gmikhail  Thanks for confirming, closing this  since this is tracked via #7836


rename extensions to services (leftover occurences)

Description

Related Issue

Fixes <issue_link>

Motivation and Context

How Has This Been Tested?

test environment:
test case 1:
test case 2:
...

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

:boom: Acceptance test cs3ApiTests-ocis failed. Further test are cancelled...


Server Fails To Start

I have followed setup instructions very closely, however 'Check Server Status' always returns a 'Failed' message. Server IP and Port are automatically generated.
I have verified successful connection to PS4 using 'https://github.com/Gkiokan/ps4-remote-pkg-sender' (Server starts and shows successful connection to PS4 RPI on port 12801).
Logs -
[2022-05-09 20:49:24] Staring web server:
[SERVER] IP: 192.168.1.XXX Port: 11715
[CONSOLE] IP: 192.168.1.XXX Port: 12801
Details -
MacBook Air M1.
Firewall Temporarily Disabled.
PS4 and Mac are on the same subnet.
Server Port: 11715
RPI Port: 12801

Thank you for your report. It seems like I forgot to add something before publishing.
Can you try to run a new version? Thank you.
https://github.com/TechUnRestricted/PSDirectSender/releases/download/1.0/Release.1.0b.dmg

Hi, @TechUnRestricted.
Thanks for the update. All is working perfectly with version 1.0b. Successfully started server and sent packages to PS4 without a hitch.
Great program, very clean! Thank you.


⚠ Bofrost.fr has degraded performance

In 0262af2, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1047 ms

Resolved: Bofrost.fr performance has improved in 3b13368 after 6 minutes.


Fix definition of minimum_length

It's part of C99 but we require C11 anyway.

Oh, maybe one suggestion: drop the negation and swap the branches


Support built-in .NET OpenTelemetry classes

The .NET has had support for OpenTelemetry traces and spans since .NET Core 2.0. It is a way to instrument code without needing a dependency on a particular version of OpenTelemetry.
Describe the solution you'd like
This project should automatically register an ActivityListener (e.g. ActivitySource.AddActivityListener) and export those traces/spans to splunk.
Describe alternatives you've considered
Adding my own activity listener. This doesn't work well, since it seems to require creating a new span inside of OpenTracing, and we can't share the existing span ID that is generated by the ActivitySource
Additional context
See https://docs.microsoft.com/en-us/dotnet/core/diagnostics/distributed-tracing-instrumentation-walkthroughs

Proper OpenTelemetry support moved > https://github.com/signalfx/splunk-otel-dotnet


I asked bolt to build a login page

Describe the bug
It seemed to write code but the preview was completely blank.   I was in Chrome.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-hv1rw6
Steps to reproduce
Asked Bolt to build a login page and it seemed to write the code but no preview.  It was all blank.
Expected behavior
I expected to see something in the preview.
Screen Recording / Screenshot
No response
Platform
Browser name = Safari
Full version = 604.1
Major version = 604
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (iPad; CPU OS 18_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/131.0.6778.73 Mobile/15E148 Safari/604.1
performance.memory = undefined
Username = mrbizi1
Chat ID = 7ec745bc5ddf

Additional context
No response

Appreciate the feedback! The issue with the preview not showing is a known issue and is being tracked here.

Thanks!Thanks,Josh “I can do all things through him who strengthens me.” – Philippians 4:13On Nov 26, 2024, at 6:22 PM, Brian @.***> wrote:
Appreciate the feedback! The is a known issue and is being tracked here.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


Phone number authentication on android

Hi every one
i would like to implement authentication by mobile number with fire base and ionic on android, i have the last version of ionic and angular, because i see the plugin firebase it's in beta version can any one tell me if can i do it without problmes, any advice or idea is welcome,
Thanks in advance.

its all in the readme, give it a shot


Add keyboard shortcut to focus search box

I thought it would be nice to quickly jump to the search box with <ctrl>+<alt>+<f> (similar to <ctrl><f> in browsers).
I have mixed feelings about my implementation, though. I guess just querying for an element is wrong in a React app. I'm happy to change this if I can get some suggestion what the preferred way would be. I guess it would be adding a flag to the state (noteState?), using that in NoteList', and dispatching an action on key press?

@yogan Thanks for the commit!
Per your first comment, I agree that we should be tracking focus in redux state rather than querying the DOM.  When you create the state for the search what do you think about putting it in an object (with an attribute called focus maybe?) to simplify adding additional search state values to it?
Additionally, can you please open a Feature request for this so we can track it as a feature? You can reference this there as well, it just makes discussion about the feature much easier to track :)

Sure thing! I've created issue #182. I'm not sure if this feature is wanted at all, but if it is, I would try to update my PR with a cleaner solution (using redux action/state).

This is a good feature idea. You can use refs to focus in React.

I don't know how to pass ref to sibling, but I moved it to NoteList and that works for now and still feels better than using the DOM.

@all-contributors please add @yogan for code.


AWS S3 Storage Access broken

Currently we cannot access these links to download data which in turn breaks pyattck.

Enterprise ATT&CK JSON (merged with external data) - https://swimlane-pyattck.s3.us-west-2.amazonaws.com/merged_enterprise_attck_v1.json
Pre-ATT&CK JSON (merged with external data) - https://swimlane-pyattck.s3.us-west-2.amazonaws.com/merged_pre_attck_v1.json
Mobile ATT&CK JSON (merged with external data) - https://swimlane-pyattck.s3.us-west-2.amazonaws.com/merged_mobile_attck_v1.json
ICS ATT&CK JSON (merged with external data) - https://swimlane-pyattck.s3.us-west-2.amazonaws.com/merged_ics_attck_v1.json
NIST Controls JSON - https://swimlane-pyattck.s3.us-west-2.amazonaws.com/merged_nist_controls_v1.json
Generated NIST JSON - https://swimlane-pyattck.s3.us-west-2.amazonaws.com/attck_to_nist_controls.json
generated_attck_data.json - https://swimlane-pyattck.s3.us-west-2.amazonaws.com/generated_attck_data.json
generated_attck_data_v2.json - https://swimlane-pyattck.s3.us-west-2.amazonaws.com/generated_attck_data_v2.json

This is currently impacting these issues in the pyattck repository:
https://github.com/swimlane/pyattck/issues/136
https://github.com/swimlane/pyattck/issues/137
https://github.com/swimlane/pyattck/issues/138

@MSAdministrator I think this is fixed, but I'm still having an issue accessing https://swimlane-pyattck.s3.us-west-2.amazonaws.com/generated_attck_data_v2.json.
Can you upload the files again so we can see if that fixes and be sure the issue is resolved?

I reuploaded and this seems to be resolved. Thanks for the quick work


SMS -> Text

consider changing "SMS" -> "Text" or "Message" throughout the application

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 2 Aug 2010 at 12:04

Won't fix- with the host of other messaging apps in play, SMS is more clear.


Validate re-declaration

Hello,
I killed my self googling and reading the docs, and I couldn't find the answer/solution to the problem I am facing below.
Say I have validator based on BaseModel
class MyBaseValidator(BaseModel):
    id : str = 'ID'

class ChildValidator(MyBaseValidator):
    some_field: str = "field1"
    some_field_2: str = "field2"

# and so on

Now, I'd like to have another validator that has one of the above as a sub-model
class BigValidator(BaseModel):
    bv_1: str = 'some_field'
    bv_2: str = 'some_other_field'
    sub_model: MyBaseValidator

class BigValidator_Child(BigValidator):
   sub_model: ChildValidator

Question: Is there a way to force/validate the re-declaration of the field sub_model in all child classes of the class BigValidator to allow only the children of the MyBaseValidator class?
P.S. I am super new to pydantic! Awesome package!

Hi @ognjen-sq
Using @abc.abstractproperty (more exactly @property and @abc.abstractmethod) doesn't really work well with pydantic.
Personnally if I would probably do something like this
import abc
from pydantic import BaseModel

class ParentClass: ...

class ChildClass(ParentClass): ...

class ChildClass2(ParentClass): ...

class AbstractModel(BaseModel, abc.ABC):
    common: str

    class Config:
        arbitrary_types_allowed = True

    def __init_subclass__(cls, **kwargs):
        try:
            field = cls.__fields__['to_override']
        except KeyError:
            raise NotImplementedError(f'{cls.__name__} needs to set "to_override"')
        else:
            if not issubclass(field.type_, ParentClass):
                raise TypeError(f'Field "to_override" of {cls.__name__} needs to be a subclass of "ParentClass"')

class SubModel(AbstractModel):
    to_override: ChildClass

class SubModel2(AbstractModel):
    to_override: ChildClass2

SubModel(common='123', to_override=ChildClass())  # ok

Hope it helps!

Oh yes! This helped a lot! many thanks!

Closing the issue then 😉 Happy holidays ☃