fix: replace C-style initialization with correct C++ initialization

Avoid clang++ compilation error:
connectedhomeip/src/platform/Linux/bluez/BluezConnection.h:127:39: error: no matching constructor for initialization of 'IOChannel'
    IOChannel mC1Channel            = { 0 };

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Issue with "TimeComponents" in @site/docs/reference/scripts/time-components.md

Describe the problem

Page: TimeComponents
Source: https://github.com/demisto/content/blob/master//Packs/FiltersAndTransformers/Scripts/TimeComponents/README.md

 Typo

The link of python dateparser used in section https://xsoar.pan.dev/docs/reference/scripts/time-components#inputs is a typo. Mentioned link is https://dateparser.readthedocs.io/en/latest/#popular-formats, which is not working.
Screenshots

Environment

OS: [e.g. Windows]
Browser: [e.g. chrome, safari, firefox..]
Browser Version:

Suggested fix

Actual link should be https://dateparser.readthedocs.io/en/latest/#popular-formats

This issue has been fixed by https://github.com/demisto/content/pull/34554.


e2e test TestGithubSecondPullRequestConcurrencyMultiplePR is failing sometime

the artifacts are not available anymore but when it shows we need to dig into the logs of e2e to see if there is any clues why cleanup didn't work properly
out of 18, waiting 10s more, 15/35"}
{"level":"info","ts":1716791990.2163646,"caller":"test/github_pullrequest_concurrency_multiplepr_test.go:130","msg":"number of unsuccessful PR 8 out of 18, waiting 10s more, 16/35"}
{"level":"info","ts":1716792000.256401,"caller":"test/github_pullrequest_concurrency_multiplepr_test.go:130","msg":"number of unsuccessful PR 7 out of 18, waiting 10s more, 17/35"}
{"level":"info","ts":1716792010.2988453,"caller":"test/github_pullrequest_concurrency_multiplepr_test.go:130","msg":"number of unsuccessful PR 6 out of 18, waiting 10s more, 18/35"}
{"level":"info","ts":1716792020.3391192,"caller":"test/github_pullrequest_concurrency_multiplepr_test.go:130","msg":"number of unsuccessful PR 6 out of 18, waiting 10s more, 19/35"}
{"level":"info","ts":1716792030.374956,"caller":"test/github_pullrequest_concurrency_multiplepr_test.go:130","msg":"number of unsuccessful PR 5 out of 18, waiting 10s more, 20/35"}
{"level":"info","ts":1716792040.4162462,"caller":"test/github_pullrequest_concurrency_multiplepr_test.go:130","msg":"number of unsuccessful PR 4 out of 18, waiting 10s more, 21/35"}
{"level":"info","ts":1716792050.4529085,"caller":"test/github_pullrequest_concurrency_multiplepr_test.go:130","msg":"number of unsuccessful PR 4 out of 18, waiting 10s more, 22/35"}
{"level":"info","ts":1716792060.4852042,"caller":"test/github_pullrequest_concurrency_multiplepr_test.go:130","msg":"number of unsuccessful PR 3 out of 18, waiting 10s more, 23/35"}
{"level":"info","ts":1716792070.5413985,"caller":"test/github_pullrequest_concurrency_multiplepr_test.go:130","msg":"number of unsuccessful PR 2 out of 18, waiting 10s more, 24/35"}
{"level":"info","ts":1716792080.5747092,"caller":"test/github_pullrequest_concurrency_multiplepr_test.go:130","msg":"number of unsuccessful PR 2 out of 18, waiting 10s more, 25/35"}
{"level":"info","ts":1716792090.6038084,"caller":"test/github_pullrequest_concurrency_multiplepr_test.go:130","msg":"number of unsuccessful PR 1 out of 18, waiting 10s more, 26/35"}
    github_pullrequest_concurrency_multiplepr_test.go:140: assertion failed: 10 (int) != 9 (allPipelinesRunAfterCleanUp int): we should have had 9 kept after cleanup, we got 10

{"level":"info","ts":1716789214.0118024,"caller":"test/github_pullrequest_concurrency_test.go:129","msg":"number of unsuccessful PR 4 out of 5, waiting 10s more in the waiting loop: 2/30"}
{"level":"info","ts":1716789224.0287883,"caller":"test/github_pullrequest_concurrency_test.go:129","msg":"number of unsuccessful PR 4 out of 5, waiting 10s more in the waiting loop: 3/30"}
{"level":"info","ts":1716789234.0453036,"caller":"test/github_pullrequest_concurrency_test.go:129","msg":"number of unsuccessful PR 4 out of 5, waiting 10s more in the waiting loop: 4/30"}
{"level":"info","ts":1716789244.0635755,"caller":"test/github_pullrequest_concurrency_test.go:129","msg":"number of unsuccessful PR 3 out of 5, waiting 10s more in the waiting loop: 5/30"}
{"level":"info","ts":1716789254.0832686,"caller":"test/github_pullrequest_concurrency_test.go:129","msg":"number of unsuccessful PR 2 out of 5, waiting 10s more in the waiting loop: 6/30"}
{"level":"info","ts":1716789264.1016324,"caller":"test/github_pullrequest_concurrency_test.go:129","msg":"number of unsuccessful PR 2 out of 5, waiting 10s more in the waiting loop: 7/30"}
{"level":"info","ts":1716789274.1189997,"caller":"test/github_pullrequest_concurrency_test.go:125","msg":"the 5 pipelineruns has successfully finished"}
    github_pullrequest_concurrency_test.go:145: assertion failed: expression is false: strings.HasPrefix(prActualName, prExpectedName): prActualName: no-match-f7jv4 does not start with expected prefix prlongrunnning-6, was is ordered properly at start time
{"level":"info","ts":1716789274.1404073,"caller":"github/pr.go:186","msg":"Closing PR 2228"}
{"level":"info","ts":1716789274.6032455,"caller":"repository/teardown.go:13","msg":"Deleting Repository in pac-e2e-ns-xmjxq"}
{"level":"info","ts":1716789274.6077428,"caller":"repository/teardown.go:16","msg":"Deleting NS pac-e2e-ns-xmjxq"}
{"level":"info","ts":1716789274.6104174,"caller":"github/pr.go:199","msg":"Deleting Ref refs/heads/pac-e2e-test-z92q4"}


tar: /var/lib/ghost/content.orig: Cannot open: No such file or directory

I use docker compose to create it, the configuration file approximately is:
services:
  blog:
    image: "ghost:latest"
    ports:
      - 1984:2368
    volumes:
      - [data directory]:/var/lib/ghost

The data directory is a new directory and I have full permissions. But it seems failed, the logs show this:
tar: /var/lib/ghost/content.orig: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

And after this I can see the content directory was created in the data directory. Is anything wrong?

I ran into the same issue.
Happens only, when I mount an empty folder to /var/lib/ghost
When I don't mount a volume it works.
I tried
sudo docker run -it --name ghost-blog-1.0 -v /var/www/ghost:/var/lib/ghost -p 2368:2368 ghost:1.0

I solved it.
Explaination
I took a look at the Dockerfile. You can see here that the Docker Ghost 1.0 now use /var/lib/ghost/content and NOT /var/lib/ghost/
When I run it locally:
docker run -d
--name ghostone
-p 3001:2368
-v /Users/myusername/Documents/gstdatatest:/var/lib/ghost/content
ghost:1.0.2-alpine
Docs
I would do a PR on the readme over here.
Please let me know if you guys can replicate :)
Cheers!
Pascal

Thanks, @pascalandy that was a real stupid one! sigh
Although now I'm running into another issue, but I don't think that is related.

tar: themes/casper: Cannot utime: Operation not permitted

I figured the problem is that I'm mapping a local drive from windows machine and tar somehow cannot update the access/read/edit (utime) time on the filesystem with tar.
For now I went on a simpler approach for the copying of the files in the entrypoint-script.
if [[ "$*" == node*current/index.js* ]] && ! ls $GHOST_CONTENT/* 1>/dev/null 2>&1; then
  cp -R $GHOST_INSTALL/content.orig/* $GHOST_CONTENT/
  knex-migrator-migrate --init --mgpath "$GHOST_INSTALL/current"
fi

Cheers,
Mark

I think we should close this issue :)

Ok 😄
A solution has been posted by @pascalandy -> if the issue persists comment and we can reopen or create a new issue.


I updated to python 3.12 - Maybe causing issues?

Pretty sure it is causing me problems. If you think this is likely could you just confirm and Ill fix the problem I made for myself. I forgot the documentation said "python 3.9-3.11".... This is on me, I just thought I should mention it in case.
Aider would try to apply edits with diff and it would end up deleting half the code. I just undid it to fix it, so no big deal. But I thought I should bring this to your attention if other people get similar output problems.
Here is an example of the output id receive when this occurred. There was way worse output also, but its just a giant wall of text so this works, if you think its another problem just let me know, appreciate this project dude!:
This diff removes the redundant GUI code and retains the `open_msi` function, which can be used by the `newmainv2.py` file if needed. The `check_server_status` function and the timer setup are also retained, as they may be part of the intended functionality of the `install.py` module.
diff:
[
    [
        0,
        "import os\nimport subprocess\nfrom PyQt6.QtWidgets import QApplication, QPushButton, QWidget\nimport socket\nfrom PyQt6.QtCore import QTimer\n\n# Get the absolute path of the MSI file in the program's directory\nmsi_file_path = os.path.join(os.path.dirname(__file__), \"mysql-installer-community-<IP_ADDRESS>.msi\")\n\n# Create the application and main window\napp = QApplication([])\nwindow = QWidget()\nwindow.setWindowTitle(\"Install MySQL Server\")\n\n# Create the button\ninstall_button = QPushButton(\"Install MySQL Server\", window)\n\n# Define the button's click handler\ndef open_msi():\n    subprocess.Popen([msi_file_path], shell=True)  # Use subprocess for reliable execution\n\ninstall_button.clicked.connect(open_msi)\n\n# Show the window\nwindow.show()\n\n# Run the application\napp.exec()\n\n"
    ],
    [
        -1,
        "\n"
    ],
    [
        0,
        "# Function to check server status\ndef check_server_status():\n    try:\n        with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:\n            s.settimeout(2)  # Set a timeout for the connection attempt\n            s.connect((\"localhost\", 3306))\n            link_to_server_status.setStyleSheet(\"background-color: green\")  # Server detected\n    except socket.error as e:\n        link_to_server_status.setStyleSheet(\"background-color: red\")  # No server detected\n        print(f\"Error connecting to server: {e}\")  # Log the error\n\n# Create a timer to periodically check the server status\ntimer = QTimer()\ntimer.timeout.connect(check_server_status)\n"
    ],
    [
        -1,
        "timer.start(3000)  # Check every 3 seconds\n"
    ],
    [
        1,
        "timer.start(3000)  # Check every 3 seconds"
    ]
]
Applied edit to install.py
Commit 25d3f72 aider: Remove redundant GUI code and retain `open_msi` function, `check_server_status` function, and timer setup in `install.py`.

Thanks for reporting this. That is just some old debug output. I pushed a new version to quiet it.
I'm surprised you got 3.12 to work. See #300 for info on the upstream blocker.

I am what you'd probably  refer to as a "script kiddie" decades ago, in this case I'm more like an "AI coder kiddie". Without your program helping me to write the programs I am working on I'd be lost. But I am learning soooo much this way, I've learned more about coding with your program than 20 years of struggling/giving up ever got me.
I see the errors now, pick up on syntax and formatting ahead of time, can debug with far less frustration....So its not like I do not understand. You are essentially making this into a computer game for me. I tell everyone about this program.
So my main point here is that I stupidly updated to 3.12 because I thought having python up to date was a fantastic idea, like its windows or something. Man, was I wrong lol!


[FEATURE] Add support for visual regression / snapshot testing

Add support for snapshots of the page, screenshots etc like in jest toMatchSnapshot
Example: https://github.com/kumaraditya303/pytest-playwright-snapshot

@mxschmitt Any thoughts on this ?

I have implemented this feature in a separate pytest plugin,
See https://github.com/kumaraditya303/pytest-playwright-snapshot
Install it with
$ pip install pytest-playwright-snapshot

cc to some users who requested it: @TommyXie1990 @utapyngo @chasays

@bgronemanLIO my tests are quite heavy on visual assertions. After trying couple of different solutions and pytest plugins I ended up with https://github.com/Visual-Regression-Tracker/Visual-Regression-Tracker - it's free, configuration is quite easy and provides reliable results. Also - it support few different comparison libs, so you can tweak the settings according to your needs.
It would be nice to have this kind of feature out-of-the-box, though - but I guess it's rather unlikely.

@aspenboy thanks for sharing that tool. It seem very robust I will consider integrating it into our pipeline.

No problem :) good luck!

Can you tell me when this method is planned to be implemented?
pytest-playwright-snapshot is weak

We also need to use visual testing and would be great to know if and when this will be implemented? I didn't find any stable long term solution.


feat: Sync filter state with url params on gene page

Addresses FX-2893
Description
This PR updates the address bar when the filter state changes on the Gene page and applies filters from the address bar when loading the page.

Thanks!


Prep for IBC community call

We should:

[ ] Get confirmation on attending teams/people (@milosevic)
[ ] Prep slides explaining Quint (@konnov)
[ ] Draft a script for an interactive demo (@bugarela, @thpani)
[ ] Do a test run (Friday?)

Here's a doc with my very rough notes from our meeting last week, please add/change etc. https://docs.google.com/document/d/17Zp253Iy7bHn8P4fJXhYI4vRD4em8cjxCIm872SI1jY/edit

The call was great!


Define adequate UX for current hypothesis testing

@hdrury1 @chugginselifesciences

Step 0: document the hypothesis / hypotheses under test.
Some initial thoughts for the reading experience:

It should have a goldilocks level of design applied: if it looks too rough, that could be a barrier to engagement, but if it looks too polished, it might be seen as a commitment to doing it that way, when things are very much in flux. This is a description of an approach rather than specific UX  requirements.
Add a list of most recent 5 items to the home page, in addition to the pre-existing editorial community links. Aim: to demonstrate rapidly changing content, and to provide a direct way to access latest content (might be more effective when we have more rapidly changing content).
Add microcopy to document current restrictions on searching. Aim: to avoid user user frustration through searching in ways that aren't yet supported.
Update search box placeholder text to something more meaningful. It should work with the updated microcopy, but be capable of standing alone. Aim: to provide more context for the user.

This doesn't touch on the contribution experience. Ideas to come on that in due course.

I'd like to suggest only listing recent reviews on the home page and moving editorial communities to another page if realistic within time constraints. I worry that both on the homepage will confuse the purpose of the homepage.
I'm picturing a stripped back version of this page - note the "Editorial Communities" link in the top menu.
https://invis.io/B9WVPQAS4PE#/415097280_home-Logged-In

Additional thoughts on contribution experience:

The disclaimer text surrounding the add review form should clearly establish what information is expected and set the expectation that it may not persist due to the demonstrative nature of the site. See #61

We should add a submit button affordance to establish a clear way for the user to add their review. See https://github.com/libero/prc/issues/79

The placeholder text of the DOI input should be more descriptive. See https://github.com/libero/prc/issues/80

The title of the form should be more descriptive. See https://github.com/libero/prc/issues/78

Tickets raised, with prioritised work added to To Do.


Styling raises AttributeError in python 3.11.1 due to CPython regression

I happened to use python 3.11.1, and couldn't get your examples to work. Tinkering for a bit led me down a rabbit hole, whereupon I came to learn of a curious regression for that micro version of CPython: https://github.com/python/cpython/issues/100098
This affects the BorderKind class, as its an Enum of NamedTuple values. I'll be making a PR to address this shortly

Woah, nice catch! Looking forward to the PR :)


WebSockets broken in sandbox for ^5.5.0

Describe the bug
The HTTP fallback to get-index introduced with commit https://github.com/arc-repos/architect/commit/747e8980813e54bc07e7d7db9279df22c41d7dcf in v5.5.0 breaks web socket support in the sandbox.
To Reproduce
Steps to reproduce the behavior:

Clone https://github.com/arc-repos/arc-example-ws.
Update @architect/architect in package.json from ^5.0.7 to 5.5.0 and install.
Run npx sandbox and visit http://localhost:3333.
Type something into the input and press enter.
Check the network tab in the inspector of your browser and verify that the message was sent using the web socket connection but the expected response was not received.

Expected behavior
To receive the expected response message via web socket.
Additional context
Adding another else if (req.originalUrl === '/__arc') next() after line 16 fixes the problem, so I assume the logic below line 16 might overwrite some sort of routing logic user for the local web socket functionality. Haven't dived any deeper into the code yet, but would this make sense?
I'd be happy to help and contribute!

Gnarly, thanks for reporting! Will defer to @brianleroux since he wrote that code – he should be back from vacation tomorrow.

Thanks @ryanblock! Let me know if I can help, @brianleroux. If you can fill me in on the details, how exactly this function should behave, I'd be happy to open a PR to fix it.

Possibly related to https://github.com/arc-repos/architect/issues/312

Sorry, we've been a bit backed up due to some other large-delta work we've been on, I'll prioritize this for today!

Released in 5.6.2!


"Intrested to propose Computer Vision Model for Drowsiness Detection Using YOLOv5 and OpenCV"

Add YOLOv5-Based Drowsiness Detection Model Using OpenCV
Purpose
We propose adding a new Computer Vision model for drowsiness detection using YOLOv5 and OpenCV to the DL-Simplified repository. This enhancement aims to provide a practical application for detecting drowsiness in various scenarios, such as monitoring driver alertness.
Benefits and Impact
Enhanced Functionality: This model will extend the repository's capabilities by introducing a state-of-the-art drowsiness detection system.
Practical Applications: The model can be used in real-time applications to ensure safety by monitoring and alerting drowsiness, particularly useful in automotive safety systems.

Technical Requirements
YOLOv5: Utilized for object detection and classification.
OpenCV: Used for real-time video processing and capturing data.

Integration Steps
Model Development: Implement the YOLOv5 model for drowsiness detection.
Data Collection: Use OpenCV to capture and process video data for training and detection.
Model Training: Train the model with relevant datasets to detect signs of drowsiness.
Evaluation: Test the model's accuracy and performance in real-time scenarios.

This addition will significantly enhance the repository's offerings and provide a valuable resource for contributors interested in practical deep learning applications.

pls you consern about my request pls give me a label it will be helpful
gssoc,hacktoberfest

Drowsiness detection model/project is already present here in this repository.


The SFMLInstaller can get easily installed now.

Not that useful but it also does no harm. :wink:

:+1:


Teacher Log In

User Story
As a teacher, I want to log in.
AC
WHEN The school is logged in
AND I click the "teacher log in" button
THEN I should be able to enter my username and pin to log in
Dev Notes

Store log in information in session storage
Clear log in information from session storage upon log out.
API call on log in to pull teacher information via username and pin.


Reenable test_client_json.py

Issue #1449

Current coverage is 86.05% (diff: 100%)

Merging #1465 into master will not change coverage

@@             master      #1465   diff @@
==========================================
  Files            29         29
  Lines          6804       6804
  Methods           0          0
  Messages          0          0
  Branches        863        863
==========================================
  Hits           5855       5855
  Misses          800        800
  Partials        149        149

Powered by Codecov. Last update c63e9fc...e14c514


Make unit test framework easier

Hopefully that'll encourage people to write some tests :stuck_out_tongue:
This is mostly a proof-of-concept that we can add tests to the site without significant friction. There's still some things I'd like to change, but I wanna make sure people are on board with the general idea first.
The TL;DR is that we used to have separate source (ruddock) and test directories, but TBH I think that disincentivizes making tests. So I've moved the existing tests into the corresponding subdirs of ruddock. Also, I've changed the fixtures we use so that we can painlessly test methods that mutate the database state.

Things I wanna do later:

Make it easier to pick up exceptions that happen during testing
Add helpers for inspecting flask-y things, like flashed messages
Rework these fixtures into decorators, so I can do something like:

@require_app_context
@mutator_test
def test_create_account():
  # blah blah
  assert foo == bar

wait lol, we send emails in test mode? lemme think about a clean way to abstract that.... :laughing:

Hmm, turns out pytest doesn't like it when two files have the same name, and that's ridiculous. Considering converting to pythons native unit tests.

deprecated in favor of https://github.com/RuddockHouse/RuddockWebsite/pull/172


[New Feature Request] Zoom Slider on top of Scrcpy window, next to device name

[ OK] I have checked that a similar feature request does not already exist.

Is your feature request related to a problem? Please describe.
It's a little frustrating to read my Kindle ebooks using the zoom feature. The reason for that is this: It is never clear or predictable what the output will be. I mean, when holding CTRL and dragging the mouse button down, it was supposed to zoom out, and the opposite to zoom in. But that hasn't been the case, at least to my experience, according to the case I initially mentioned. Same goes for viewing photos and zooming in or out when using Scrcpy.
Describe the solution you'd like
With a physical, visible option such as a slider, one could make sure the output is as requested.
Take the attached picture as an example. Upon being launched, the slider would sit on the zero (normal view) position.
When sliding it to the right (positive value), it will always zoom in to the max, 100% (the positive [+] end);
And when sliding to the left of the initial zero position, Scrcpy will now zoom down to -100% (the negative [-] end of the slider).

That visual representation and manual control would solve all the issues I've been having with Scrcpy (in regards to the zoom feature, obviously).
Additional context
As far as I can tell, the existing zooming feature is good, but there's room for improvement.
Currently, when holding down CTRL (Win, Linux) and dragging the mouse button all the way down, there's an imaginary line the software will follow to determine the limits to zoom in and out. The control I'm suggesting puts and end to that and visually represents exactly what is happening.
Dev, please consider this suggestion to better handle the zoom feature.
Keep up the great work!

Hi,
The reason the "zoom" feature is implemented that way is that it generates "mirrored" touch events relative to the center of the screen: https://github.com/Genymobile/scrcpy/issues/24#issuecomment-671552682
An additional feature to simulate touch events with something like Ctrl+scroll would also be great, but it's not trivial.
(a slider in the menu bar would require CSD, which is not possible with SDL, and a widget, also not available in SDL, so that would probably not be implemented that way)


error installing package

hey everyone,
i have problems installing the package.
I am getting the following error:
C:\Users\xxx>apm install react
Installing react to C:\Users\xxx.atom\packages failed
npm WARN addRemoteGit Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit     at ChildProcess.exithandler (child_process.js:206:12)
npm WARN addRemoteGit     at emitTwo (events.js:106:13)
npm WARN addRemoteGit     at ChildProcess.emit (events.js:191:7)
npm WARN addRemoteGit     at maybeClose (internal/child_process.js:877:16)
npm WARN addRemoteGit     at Socket. (internal/child_process.js:334:11)
npm WARN addRemoteGit     at emitOne (events.js:96:13)
npm WARN addRemoteGit     at Socket.emit (events.js:188:7)
npm WARN addRemoteGit     at Pipe._handle.close [as _onclose] (net.js:498:12)
npm WARN addRemoteGit  git+https://github.com/millermedeiros/rocambole.git#1bd5044df1d6c888a1bd1b511158fb34b011e9aa resetting remote C:\Users\xxx.atom.apm_git-remotes\git-https-github-com-millermedeiros-rocambole-g
it-1bd5044df1d6c888a1bd1b511158fb34b011e9aa-af4fdf85 because of error: { Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit     at ChildProcess.exithandler (child_process.js:206:12)
npm WARN addRemoteGit     at emitTwo (events.js:106:13)
npm WARN addRemoteGit     at ChildProcess.emit (events.js:191:7)
npm WARN addRemoteGit     at maybeClose (internal/child_process.js:877:16)
npm WARN addRemoteGit     at Socket. (internal/child_process.js:334:11)
npm WARN addRemoteGit     at emitOne (events.js:96:13)
npm WARN addRemoteGit     at Socket.emit (events.js:188:7)
npm WARN addRemoteGit     at Pipe._handle.close [as _onclose] (net.js:498:12)
npm WARN addRemoteGit   killed: false,
npm WARN addRemoteGit   code: 1,
npm WARN addRemoteGit   signal: null,
npm WARN addRemoteGit   cmd: 'git -c core.longpaths=true config --get remote.origin.url' }
npm ERR! git clone --template=C:\Users\xxx.atom.apm_git-remotes_templates --mirror https://github.com/millermedeiros/rocambole.git C:\Users\xxx.atom.apm_git-remotes\git-https-github-com-millermedeiros-rocamb
ole-git-1bd5044df1d6c888a1bd1b511158fb34b011e9aa-af4fdf85: Cloning into bare repository 'C:\Users\xxx.atom.apm_git-remotes\git-https-github-com-millermedeiros-rocambole-git-1bd5044df1d6c888a1bd1b511158fb34b011e9aa-
af4fdf85'...
npm ERR! git clone --template=C:\Users\xxx.atom.apm_git-remotes_templates --mirror https://github.com/millermedeiros/rocambole.git C:\Users\xxx.atom.apm_git-remotes\git-https-github-com-millermedeiros-rocamb
ole-git-1bd5044df1d6c888a1bd1b511158fb34b011e9aa-af4fdf85: fatal: unable to access 'https://github.com/millermedeiros/rocambole.git/': Unknown SSL protocol error in connection to github.com:443
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Users\xxx\AppData\Local\atom\app-1.19.5\resources\app\apm\bin\node.exe" "C:\Users\xxx\AppData\Local\atom\app-1.19.5\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--gl
obalconfig" "C:\Users\xxx\.atom\.apm\.apmrc" "--userconfig" "C:\Users\xxx\.atom\.apmrc" "install" "C:\Users\xxx\AppData\Local\Temp\d-11781-1552-bsetea.w48jpds4i\package.tgz" "--runtime=electron"
"--target=1.6.9" "--arch=x64" "--global-style" "--msvs_version=2015"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code 128
npm ERR! Command failed: git -c core.longpaths=true clone --template=C:\Users\xxx.atom.apm_git-remotes_templates --mirror https://github.com/millermedeiros/rocambole.git C:\Users\xxx.atom.apm_git-remotes\git
-https-github-com-millermedeiros-rocambole-git-1bd5044df1d6c888a1bd1b511158fb34b011e9aa-af4fdf85
npm ERR! Cloning into bare repository 'C:\Users\xxx.atom.apm_git-remotes\git-https-github-com-millermedeiros-rocambole-git-1bd5044df1d6c888a1bd1b511158fb34b011e9aa-af4fdf85'...
npm ERR! fatal: unable to access 'https://github.com/millermedeiros/rocambole.git/': Unknown SSL protocol error in connection to github.com:443
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\xxx\AppData\Local\Temp\apm-install-dir-11781-1552-1b61gi8.8u0afw29\npm-debug.log
unfortunately the file it wants me to include here doesnt exist..
installing other packages worked just fine.
I am using Windows 10 on a 64bit machine
i am behind a proxy but this shouldnt be any problem since installing other packages works fine.
apm  1.18.4
npm  3.10.10
node 6.9.5 x64
git 2.10.2.windows.
Atom 1.19.5

I nearly the same error output. I am behind a proxy too. I have the proxy settings in .amprc set, and can install other packages, but this one is the only one that I have found that fails.
It gives me some 407 errors after proxy connect, which usually means bad proxy config, but that just doesn't make sense, because other packages all install fine with current settings.

I might have just found the fix, for me at least. my git config file also needed the proxy settings along with .apmrc. I have git installed direct, so the path to the file is c:/programdata/git,
I had github desktop, git, AND the git package from cygwn installed, so I had no idea which configs to change. I uninstalled everything and started fresh with only git, and then atom. Uninstalling is pretty manual and annoying if you try it. Files flying everywhere that the uninstaller doesn't get

The package is not even findable on react packages page, I have no idea what is going on :(

its showing errors .........!
while installing packages

You can try language-babel if you want a more up-to-date alternative.


Maven certificate expired

https://maven.sumup.com/releases/com/sumup/merchant-sdk/3.3.1/merchant-sdk-3.3.1.pom
The certificate for maven.sumup.com expired on 27/05/2021.

thanks


bugfix: Local Firefox Driver [NP-1065]

Creates a patch that allows Firefox drivers to be created both locally and through grid (Browserstack appears to be unaffected).
The issue stems from the fact that the key for the browsername when created directly using browser :firefox appears to not be camelised, whereas the chrome one is being camelised. In Se4 this case mismatch is then bubbling up as an invalid key error.

Related work to follow from this:
https://citizensadvice.atlassian.net/browse/NP-1234?filter=15271
cc/ @mrdaniellewis / @adriana-rus


enable overflow checks in the standard library

I am not sure how to test this, but it seems like a cheap extra check to do so why not.
@bors r+

:pushpin: Commit 330ec0acdbdff74be1fa75e86aab561302bf5700 has been approved by RalfJung

:hourglass: Testing commit 330ec0acdbdff74be1fa75e86aab561302bf5700 with merge a5c2211adab4a6b0e3981cd6a76ca6dd580b40e7...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing a5c2211adab4a6b0e3981cd6a76ca6dd580b40e7 to master...


Can I make an updated version of this resource pack using newer emojis?

I would give credit ofc but seeing as this pack hasnt been updated in awhile I wanted to ask if it was ok if i could make an updated version.

For sure! Feel free to fork and change to your preferences. Since I'm using Twemoji emojies here which are licensed under CC BY 4.0 I used the same license for convenience. GitHub provides a summary to this type of license on the license page of this project stating what's allowed and what not. As long as you give credits to the original work, name it's license and mark the changes you've made, you can do almost anything you want and publish it yourself.
You can also open a pull request afterwards if you like. However, I'm a little strict with the quality of what I accept in terms of the size and quality of the images. Feel free to check out my comment on the already open pull request #3 about this.

I forgot to put it here, but I released the pack on Modrinth. https://modrinth.com/resourcepack/twemojis-in-minecraft

Thanks for the quick info.👍 Glad you were able to successfully update the pack.


remove intermediate aliases of cupy.sort

closes #2863

Hello, thanks for your contribution!
Instead of sort the issue is about prefixing sorting 😊

Instead of sort the issue is about prefixing sorting

Tell me if it requires any changes now.

Jenkins CI test (for commit 8613e4e1f30a144dbdfce3f9326b5404de217d6f, target branch master) succeeded!


Exception on cache_client.get(cache_name, key) for non-scaler type values.

Scaler type values are being returned as expected.
But for non-scaler type values below exception is being thrown on get call.
momento.errors.exceptions.FailedPreconditionException:
FailedPreconditionException(
    message='internal service error',
    error_code=<MomentoErrorCode.FAILED_PRECONDITION_ERROR: (14,)>,
    transport_details=MomentoErrorTransportDetails(
        grpc=MomentoGrpcErrorDetails(
            code=<StatusCode.FAILED_PRECONDITION: (9, 'failed precondition')>,
            details='internal service error', metadata=None
        )
    ),
    message_wrapper="System is not in a state required for the operation's execution")

Momento SDK Verion
momento==1.5.0
momento-wire-types==0.64.1

Python Version - Python 3.9.16

@ash-ishh if I understand correctly, you are calling set on a scalar valued key and then get on the same key. You say this works.
Then you store a non-scalar key, for example by calling dictionary_set_fields, correct? If so, to retrieve a collection -valued key, you need to call the corresponding fetch method. In this case it would be dictiionary_fetch. Hence the error for wrong type.
Let me know if this answers your question.

Thanks, dictionary_set_fields and dictionary_fetch  are working.

Good to hear that. I regret the indirect error message. We will improve that.


Controls Multiple Cells Again

Why are you adding that back?

Because it's absolutely necessary.
Without it the bot just ignores the second or third cell . .It feeds them into viruses or other people etc..
It's crucial that it controls the first three cells at least . .

It is however , needed to be cut down to the first two or three cells , four at max .. anything after that is unnecessary and crazy burden on the cpu ..
But I don't know how to implement that ...Could you ?? if so can you do it on this version I've just edited please ?

Man I'm testing it now and it's brilliant . ..Please merge this . .in these versions I've deleted the UI improvements so it will look like the way you want . .The updated one of course. .

Also if it controls just one cell , all the threat assessment etc. is done using that cell,
assume I've just spit and ate 3-4 cells in one go , I'll have one large and one small cell, and the bot controls the small one, then I'm covered with threats arounds while it's not really so ..

When controlling multiple cells, when I attack , the attacking cell automatically lock on to the cansplit target making it a sure kill ..
This is absolutely necessary man

I understand what you mean, but that is not the right code to add back in.

Well, I'm not a coder at all .. I understand how things work slightly that's it . .All I'm doing is moving things around with the code you provided trying to get things the way I want . .
BTW..right or wrong . .it works right now . .It does control multiple cells..
If you can make it better AND please don't control more than four cells . .That's my (probably others) dream come true

And yes, I did dig this up from earlier versions.. so what I've added is your code anyway :)

It's just not the right code.

And yet it works exactly as needed . .Isn't that amazing :P

Oh btw I just found out 1.20 for isVirus is still too large and it can hover over viruses ..1.10 is the correct number as at that there is simply no virus it can hover over..it's under the virus or it's a threat..
Can you please update it like that as this also solves the problem of eating food under a virus and exploding as it happens quite often..

Didn't agar.io break the multiple cells control thing? Also, @Apostolique , mind explaining why it is the wrong code? (Outdated? Not compatible with the current version? Slow? etc?)
 I do realize that this might be totally awesome but give Apostolique a little bit of time.

multiple cell control thing is the bot being aware of the multiple cells and protecting all of them etc . .
and that is a crucial function also when it's giving out visual data it considers all the cells in equations.. and as with the code above it works perfectly .. now why it is the wrong code, is really low in my priorities list as it just works exactly I want as of now :P
@stefnotch "stop being so impatient" ....I don't like that , I'd like to refrain from personal comments please.I really don't appreciate people telling me what to do ..

So, it doesn't control the cells separately, it just takes care of all of them? And, about the "stop being so impatient", sorry for judging you by your cover.

So...
Is this still being worked on, or is it just another forgotten project?

Hell yeah ;)
flawless,identical control up to 4 cells , organic threat management ,highly advanced organic-bounce wall code, all-new corner code, advanced evasion (purge & split)  mechanics , threat cell count , re-merge and re-unite mechanics ,rapid growth system (split and eat dots super fast early on), split to kill (first two cells for now), and heaps more are currently working brilliantly ...
it's called "Little Smart Dot" now . . .and I don't know what to do with it ..
but yeah , I've almost maxed out what you can do with it . ..
<EMAIL_ADDRESS>if you want a copy of the afore mentioned for yourself ;)

It's just not the right code.

Reason for closure.


Test 0225 crashes with Arnold 6.1

Test 0225 is testing the switcher shaders that are using the array parameters.
It's only the RGBA shader (Color4_Array_Switch) that crashes and only when there's another shader plugged in to an array item other than the first one.
Here's the error I get:
ERROR : [arnold] AiArrayGetRGBAFunc: out-of-range error (1 out of 0) in shaders\src\Color4Switch.cpp at line 48
The other shaders testing Float, Int, Boolean and Vector all work ok with a shader connected in any array item.
I'm pretty certain that this is a new core regression with Arnold <IP_ADDRESS>+ I tested Arnold <IP_ADDRESS> and that had no problems.
@sjannuz Could you check this with the core team?

Hi @JenusL . I can't verify in Softimage at the moment. Do you mind trying to export an ascii .ass and check if kick fails too ? In case, let me have the file please.

Hi @JenusL . I can't verify in Softimage at the moment. Do you mind trying to export an ascii .ass and check if kick fails too ? In case, let me have the file please.

Hi @JenusL . I can't verify in Softimage at the moment. Do you mind trying to export an ascii .ass and check if kick fails too ? In case, let me have the file please.

Was preparing a .ass for you and I noticed som oddities in it so I actually think it's an SItoA issue after all. Let me explain.
When exporting the Array, if the item has a shader connected, the shader value itself isn't exported, leaving that array item value unset.
Color4Switch
{
 name Sources.Materials.DefaultLib.Material.Color4_Array_Switch.SItoA.1000.2
 input 2
 default 0.123999998 0.123999998 0.123999998 0.123999998
 values 3 1 RGBA
1 0 0 0 0 0 -nan 0 0 0 1 0
 values[1] Sources.Materials.DefaultLib.Material.float_to_rgba.SItoA.1000.3
 index 3 1 INT
1 2 3
}

There you can se the second array item is 0 0 -nan 0 because that array item is just skipped because the shader connection is exported instead.
This caused the shader to crash.
I'll fix this in SItoA so that it sets the value on all items as well as exporting the shader.

Hi @JenusL . I can't verify in Softimage at the moment. Do you mind trying to export an ascii .ass and check if kick fails too ? In case, let me have the file please.

Was preparing a .ass for you and I noticed som oddities in it so I actually think it's an SItoA issue after all. Let me explain.
When exporting the Array, if the item has a shader connected, the shader value itself isn't exported, leaving that array item value unset.
Color4Switch
{
 name Sources.Materials.DefaultLib.Material.Color4_Array_Switch.SItoA.1000.2
 input 2
 default 0.123999998 0.123999998 0.123999998 0.123999998
 values 3 1 RGBA
1 0 0 0 0 0 -nan 0 0 0 1 0
 values[1] Sources.Materials.DefaultLib.Material.float_to_rgba.SItoA.1000.3
 index 3 1 INT
1 2 3
}

There you can se the second array item is 0 0 -nan 0 because that array item is just skipped because the shader connection is exported instead.
This caused the shader to crash.
I'll fix this in SItoA so that it sets the value on all items as well as exporting the shader.


make the readme more glam

Since #7 will probably warrant a new release, I figured we could take this as a chance to make the readme a bit nicer and consistent with our other projects. Thanks!

@stjepang any chance to make a new release of async-task?

@ignatenkobrain I don't have commit access currently; this would be up to @stjepang. I estimate this will be published after the holidays as he's currently on vacation. Apologies!

@ignatenkobrain I have just published version 1.1.0 :)


Does the client work in Alpine Linux containers?

I've downloaded the linux client binary in an alpine docker container, saved to /usr/bin (in the user PATH), set the appropriate permissions, yet I still can't get it to run - I always get:
/bin/sh: notify-send: not found
I have tried moving the binary to /usr/local/bin (where I have successfully installed/can execute other 3rd party binaries) too, but alas I get the same error.
Should the binary work on alpine linux?
Cheers,

It appears that there is in fact a difference when building golang for alpine - I used this docker image to re-build the client and this is now working!
https://github.com/blang/golang-alpine-docker


Limit the number of failures before a simulator is restarted for a retry

Often due to flakiness in tests there might be a bunch of failures during a simulator run. If the tests are configured to retry, then they may all pass upon restarting the simulator and retrying them. However, since there is no limit on how many tests a simulator can let fail before going for a retry it could waste a lot of time failing on one test after another until it goes through all remaining tests in the bundle. LinkedIn's flagship app is facing this issue most likely due to iOS 14 simulator flakiness.
The proposal is to put a limit on number of test failures each simulator can take before restarting, in terms of a Bluepill configuration. \cc @ob @chenxiao0228 @RainNapper

@ravimandala  Can you start a conversation internally first?

@ravimandala  Can you start a conversation internally first?


Wyze Outdoor Plug support?

Wyze Outdoor Plug support?

I just received my Outdoor Plug, added it to the Wyze app and upgraded the firmware as directed.
Then I started digging around on my own. I am not sure how to deliver a code change so here it is: :-)
In WyzeConnectedHome.js. I added
case 'OutdoorPlug':
immediately after line 117.
After restarting Homebridge, I see 3 (?) tiles for the Outdoor Plug. 2 of the tiles correspond to the names I assigned in the Wyze app for the individual outlets and do control the outlets correctly (Yay!). The 3rd tile seems to correspond to the device in total, and is always on. (You can tap it off, but it comes back by itself. This does not affect either of the electrical outlets.) My solution was to 'hide' that tile in a room with status and notifications off. All in all it seems to be working for the basic on/off functionality.

Problem solved with another revision. Again, sorry but I do not know how to do a Pull Request to supply the changes so here they are in a diff(1). The only file that was changes was src/WyzeHomeConnect.js.
96c96
<     let accessoryClass = this.getAccessoryClass(device.product_type);

let accessoryClass = this.getAccessoryClass(device.product_type,device.product_model);

115c115
<   getAccessoryClass(type) {

getAccessoryClass(type,model) {
116a117,118
case 'OutdoorPlug':
if (model == 'WLPPO') return
143c145
<     let accessoryClass = this.getAccessoryClass(homeKitAccessory.context.product_type);

let accessoryClass = this.getAccessoryClass(homeKitAccessory.context.product_type,homeKitAccessory.context.product_model);

Is it possible to get these plugs working by manually making these changes? I just received a few and i'd like to see them in homekit, just not sure how to do that.

Second that, can they be made manually until developer gods have some time and update?  Any chance to get copy of file omit anything that might have your LAN or creds?

Look here for a complete version of the plugin that supports the outdoor plug. Be sure to set the outdoor plug up in the Wyze app first.

Thank you for your work Outdoor plug is good to go!!!
npm install -g https://github.com/RMCob/homebridge-wyze-connected-home.git
for those that can't figure out how to install a branch version.

I barely know what I'm doing. I added the plugin through the UI, but it doesn't support the outdoor outlets. How can I remove the original plugin and install this version?

@Bom342 See the previous comment.
Open a terminal session from the UI.
Type the following at the command prompt:  npm install -g https://github.com/RMCob/homebridge-wyze-connected-home.git
Then restart Homebridge.

I already tried using terminal from the Mac Finder for that install code, but got a slew of errors about not having developer tools.
But that was Terminal from the Finder. I’ve looked for how to open a terminal session within the Homebridge UI, and don’t see anything like that.

Bryan

On Mar 2, 2021, at 4:18 PM, RMCob<EMAIL_ADDRESS>wrote:
@Bom342 https://github.com/Bom342 See the previous comment.
Open a terminal session from the UI.
Type the following at the command prompt: npm install -g https://github.com/RMCob/homebridge-wyze-connected-home.git https://github.com/RMCob/homebridge-wyze-connected-home.git
Then restart Homebridge.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/misenhower/homebridge-wyze-connected-home/issues/28#issuecomment-789319440, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALDUI43A5F4KRM534WQ4IRLTBV54FANCNFSM4XBLTYDQ.

@Bom342 On the right side of the UI menubar, click on the 3 dots and select Terminal

Bryan

On Mar 2, 2021, at 4:34 PM, RMCob<EMAIL_ADDRESS>wrote:
@Bom342 https://github.com/Bom342 On the right side of the UI menubar, click on the 3 dots and select Terminal
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/misenhower/homebridge-wyze-connected-home/issues/28#issuecomment-789326971, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALDUI45KHRBSQNGHAIFW7GLTBV7ZBANCNFSM4XBLTYDQ.

I tried to post a screenshot, but no go. There's no Terminal under my three dots on the Mac.

Can I just run that script from Terminal outside of the Homebridge UI?

The command I showed was for Linux on a Raspberry Pi. Not sure if the same thing works on the Mac.

I have looked in my .Homebridge directory on the Mac and find few elements associated with Wyze. And nothing that I could edit to add code for outdoor switches. Is there some more manual way to edit my installation and someplace else in my Linux directories that the Homebridge plugin code is stored?

Bryan

On Mar 4, 2021, at 8:27 AM, RMCob<EMAIL_ADDRESS>wrote:
The command I showed was for Linux on a Raspberry Pi. Not sure if the same thing works on the Mac.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/misenhower/homebridge-wyze-connected-home/issues/28#issuecomment-790744450, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALDUI47E5RBAY44LRY3VFO3TB6YHFANCNFSM4XBLTYDQ.

I think I've got the UI problem solved. I renamed my package to give it a unique name.
In the UI, search for: homebridge-wyze-connected-home-op
and install it from there. Please let me know if this works for you. Thanks....

Up and running! Thank you so much for persisting with this.

@RMCob do you have any interest in merging some of the newer commits to your branch? I’ve been using it on homebridge (thanks for that by the way) but it appears this project is no longer being updated and I’d love to see if I can help in any way for getting color bulb and lock support.


Postgres subsegments not working

Hi, I'm just encountering some problems using x-ray-postgres.
the documentation shows basically the same code snippet for manual and automatically, but they do not work.
Any ideas why?
import * as AWSXRay from 'aws-xray-sdk';
import * as _pg from 'pg';

const pg = AWSXRay.capturePostgres(_pg);

constructor() {
  this.pool = new pg.Pool(configuration.rds);
}

and then the query is being performed like this:
async query(sql: QueryConfig | string, values?: Array<any>): Promise<QueryResult> {
  const client = await this.pool.connect();
  try {
    return await client.query(sql, values);
  } finally {
    client.release();
  }
}

Hi @julianbonomini,
Could you try to call capturePostgres on require('pg'), rather than using ES6 import syntax? Because of the way we monkey patch SQL libraries, there have been some issues with using the import syntax.

Still working funny, we moved to manual supplementation. Thank you!
Now we are facing problems with the subsegment tho. Sometimes is undefined (we are using experimental).
But thanks! This issue can be closed!


retire devsim doc

while devsim is usable from gdsfactory meshing (I use it personally), the documentation is severely outdated
removing it from the docs for now

I think if we keep, even if it has issues, someone who needs it may feel compelled to fix it. That person may be you or someone else.
On the other hand if we remove it i think we'll never get back to it :)
what do you think?


#64 [support][logging] fixed error content-type for ping request

Signed-off-by: yanghua<EMAIL_ADDRESS>see issue #64
cc @drasko

See my comment in the issue you have just opened.
If  you open an issue, wait for comments before push the PR :)

@chenchix  OK, I will change it to json format.

@chenchix done this, I create a issue and make a PR because it's a obviously error. If this is a ambiguity issue, I will wait for answering.

No problem. :)


Remove anyhow from public API

Re: https://github.com/spruceid/ssi/pull/379/files#r806777763, https://github.com/spruceid/ssi/pull/379#discussion_r807339307

Fixed: https://github.com/spruceid/ssi/pull/379#discussion_r815104486, https://github.com/spruceid/ssi/pull/379#discussion_r815189521


Failed to Connect

Hi All,
I have recently replaced my home router and wifi ssid changed.
I can no longer get my Dyson Cloud & Dyson Local to work. I have uninstalled and reinstalled both integrations and now I cant even get pass the setup screen.
on Dyson Cloud, after enter my region and email address, Im getting "Failed to Connect"
on Dyson Local, im getting "Failed to parse device WiFi information" on wifi setup method.
Please help :(
Thanks.

I experience the exact same thing 😢

Getting the same "failed to connect" issue when trying to setup Dyson Cloud.

I experience the exact same thing 😢

same issue here. Failed to connect with Dyson Cloud after entering my region and email address for the username. Any updates?

Exactly the same issue here. Failed to connect with Dyson Cloud after entering my region and email address.

Hi I have found a workaround which worked for me:
As described here https://github.com/shenxn/ha-dyson under setup and manual setup on your Windows PC run the Python script (before make sure that the requirements.txt are installed) it is also important that you are NOT logged in to the account (app or website), otherwise you will get an error after the email request. If the script was successful you get the serial number of the device, the device ID and the credentials which you have to enter in hassio at Dyson local. if necessary you have to enter the IP address of the Dyson.
If this still doesn't work I have 2 more things I did, but I don't know if this helped the problem. The change to the dyson.py must be done directly in the homeassistant docker via cli when working with docker.
home-assistant/core#38607 (comment)
Or the following in the dyson.py
https://gist.githubusercontent.com/LedariaTim1/64cbeef34ebf359b41fde5c00ca45d51/raw/e15e522f992daec87ebbb6cced6e87b630dd44a4/dyson.py

Thanks for the reply !!! Sorry but how do I run the python script.

I did this by installing python on my windows and then running python3 get_devices.py in the folder where the file is downloaded. https://www.python.org/downloads/
If you have problems that your powershell still doesn't find the command python3 after the installation, you have to adjust your path variables, just let me know if you don't get along.
[https://github.com/shenxn/ha-dyson#setup-manually]

I have tried to sign out of the app but making sure the fan was still on and running and am getting the below. Still unable to connect.
`Traceback (most recent call last):
File "/Library/Python/3.8/site-packages/urllib3/util/ssl_.py", line 402, in ssl_wrap_socket
context.load_verify_locations(ca_certs, ca_cert_dir, ca_cert_data)
ssl.SSLError: [X509] PEM lib (_ssl.c:4232)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Python/3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/Library/Python/3.8/site-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/Library/Python/3.8/site-packages/urllib3/connectionpool.py", line 1010, in validate_conn
conn.connect()
File "/Library/Python/3.8/site-packages/urllib3/connection.py", line 411, in connect
self.sock = ssl_wrap_socket(
File "/Library/Python/3.8/site-packages/urllib3/util/ssl.py", line 404, in ssl_wrap_socket
raise SSLError(e)
urllib3.exceptions.SSLError: [X509] PEM lib (_ssl.c:4232)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Python/3.8/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/Library/Python/3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/Library/Python/3.8/site-packages/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='appapi.cp.dyson.com', port=443): Max retries exceeded with url: /v3/userregistration/email/userstatus?country=US (Caused by SSLError(SSLError(9, '[X509] PEM lib (_ssl.c:4232)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/christianlappin/libdyson/libdyson/cloud/account.py", line 107, in request
response = requests.request(
File "/Library/Python/3.8/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/Library/Python/3.8/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/Library/Python/3.8/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/Library/Python/3.8/site-packages/requests/adapters.py", line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='appapi.cp.dyson.com', port=443): Max retries exceeded with url: /v3/userregistration/email/userstatus?country=US (Caused by SSLError(SSLError(9, '[X509] PEM lib (_ssl.c:4232)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "get_devices.py", line 22, in
verify = account.login_email_otp(email, region)
File "/Users/christianlappin/libdyson/libdyson/cloud/account.py", line 127, in login_email_otp
response = self.request(
File "/Users/christianlappin/libdyson/libdyson/cloud/account.py", line 117, in request
raise DysonNetworkError
libdyson.exceptions.DysonNetworkError
`

I did this by installing python on my windows and then running python3 get_devices.py in the folder where the file is downloaded. https://www.python.org/downloads/
If you have problems that your powershell still doesn't find the command python3 after the installation, you have to adjust your path variables, just let me know if you don't get along.
https://github.com/shenxn/ha-dyson#setup-manually

Thanks! I got it working! Indeed, need to logout from the Dyson mobile app. Then do a re-login (fill in region, email, password) and wait for the authentication code to be sent to email. This code is needed in the python script to obtain all information needed for the Dyson local setup.

@christianlappin , you might need to update the cert. First get the cert and add to root store (or system store if on Mac). Then use pip3 certifi to reference system certs.

Download this Cert: https://cacerts.digicert.com/DigiCertTLSRSASHA2562020CA1-1.crt.pem and import to system/root store/keychain
If on Mac:
Run "pip3 install certifi"
Run

CERT_PATH=$(python3 -m certifi)
export SSL_CERT_FILE=${CERT_PATH}
export REQUESTS_CA_BUNDLE=${CERT_PATH}

Re-run python3 get_devices.py and see if it works.

I did this by installing python on my windows and then running python3 get_devices.py in the folder where the file is downloaded. https://www.python.org/downloads/
If you have problems that your powershell still doesn't find the command python3 after the installation, you have to adjust your path variables, just let me know if you don't get along.
https://github.com/shenxn/ha-dyson#setup-manually

hm If I open the get_devices.py the cmd opens for under a second and nothing else happens

Ok I ended up getting this working by installing Python https://www.python.org/downloads/ on one of my Windows instances then installing Python from the windows store. I am sure if I played around with path variables and rebooted a few times I might not have needed that but after loading the Windows store Python and logging out of the Dyson app and making sure the fan was on things worked perfectly!  I suspect on Mac with OSX as @dcnoren eluded to the local certs needed to be updated but since I got it working I am leaving it along. Frustrating that running Python on Windows was the answer but HAPPY I am integrated into Home Assistant now. Hope this helps someone.

@dcnoren I still get the unable to verify certificate error. Installed the certificates using the "install certificate.command" (on Mac) as well.
Dyson Cloud still failed to connect.
anyone has any fix?

please fix Dyson Cloud can't connect either
I get "Failed to connect" when I click on submit email

Do you guys happen to be locates in Norway. For me it seems to be a case of "NO" being parsed as "false" and/or zero by somewhere in the stack.

I did this by installing python on my windows and then running python3 get_devices.py in the folder where the file is downloaded. https://www.python.org/downloads/
If you have problems that your powershell still doesn't find the command python3 after the installation, you have to adjust your path variables, just let me know if you don't get along.
https://github.com/shenxn/ha-dyson#setup-manually

Thanks, I finally got it working but only after loggin out of the app, getting a new security code from Dyson AND then looking up my Dyson IP-address in my router and putting that under host (it couldn't find it otherwise).

I did this by installing python on my windows and then running python3 get_devices.py in the folder where the file is downloaded. https://www.python.org/downloads/
If you have problems that your powershell still doesn't find the command python3 after the installation, you have to adjust your path variables, just let me know if you don't get along.
https://github.com/shenxn/ha-dyson#setup-manually

Can you walk me through step by step on how to run python3. I downloaded & install python and have no idea what i am doing here. Thank you very much

I did this by installing python on my windows and then running python3 get_devices.py in the folder where the file is downloaded. https://www.python.org/downloads/
If you have problems that your powershell still doesn't find the command python3 after the installation, you have to adjust your path variables, just let me know if you don't get along.
https://github.com/shenxn/ha-dyson#setup-manually

Can you walk me through here. After open get_devices.py, I get new windows ask me for region [1/2], region code, and email. After filled email and enter, windows disappear and nothing happen.

I did this by installing python on my windows and then running python3 get_devices.py in the folder where the file is downloaded. https://www.python.org/downloads/
If you have problems that your powershell still doesn't find the command python3 after the installation, you have to adjust your path variables, just let me know if you don't get along.
https://github.com/shenxn/ha-dyson#setup-manually

Can you walk me through here. After open get_devices.py, I get new windows ask me for region [1/2], region code, and email. After filled email and enter, windows disappear and nothing happen.

You have to logout from any Location, i mean Website and App
I Hope this will Help you


venv configuration

[x] Add clear instruction how to init environment.
[ ] Test env creation w/ gpu and for different OSs

@Anya497 looks like we didn't use venv anymore. Isn't it?

@Anya497 looks like we didn't use venv anymore. Isn't it?

Where?


Whats the correct way to install from a git repo?

I couldnt find a close match in the docs :(

$ python -m pipenv.help output
Pipenv version: '11.9.0'
Pipenv location: '/Users/andy/.pyenv/versions/3.6.4/lib/python3.6/site-packages/pipenv'
Python location: '/Users/andy/.pyenv/versions/3.6.4/bin/python'
Other Python installations in PATH:

2.7: /usr/bin/python2.7

2.7: /Users/andy/.pyenv/shims/python2.7

2.7: /usr/bin/python2.7

2.7: /usr/bin/python2.7

3.4: /Users/andy/.pyenv/shims/python3.4

3.6: /Users/andy/.pyenv/versions/3.6.4/bin/python3.6m

3.6: /Users/andy/.pyenv/versions/3.6.4/bin/python3.6

3.6: /Users/andy/.pyenv/shims/python3.6

3.6: /usr/local/bin/python3.6

3.6: /usr/local/bin/python3.6

3.6.4: /Users/andy/.pyenv/versions/3.6.4/bin/python

3.6.4: /Users/andy/.pyenv/shims/python

3.6.4: /usr/local/bin/python

2.7.10: /usr/bin/python

3.6.4: /usr/local/bin/python

2.7.10: /usr/bin/python

None: /Users/andy/.pyenv/shims/python2

3.6.4: /Users/andy/.pyenv/versions/3.6.4/bin/python3

3.6.4: /Users/andy/.pyenv/shims/python3

3.6.4: /usr/local/bin/python3

3.6.4: /usr/local/bin/python3

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.6.4',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '17.5.0',
 'platform_system': 'Darwin',
 'platform_version': 'Darwin Kernel Version 17.5.0: Mon Mar  5 22:24:32 PST '
                     '2018; root:xnu-4570.51.1~1/RELEASE_X86_64',
 'python_full_version': '3.6.4',
 'python_version': '3.6',
 'sys_platform': 'darwin'}

System environment variables:

CD_VIRTUAL_ENV
VIRTUALENVWRAPPER_SCRIPT
VIRTUALENVWRAPPER_PROJECT_FILENAME
TERM_PROGRAM
PYENV_ROOT
TERM
SHELL
PIPENV_VENV_IN_PROJECT
TMPDIR
Apple_PubSub_Socket_Render
TERM_PROGRAM_VERSION
TERM_SESSION_ID
PYENV_VERSION
ZSH
USER
COMMAND_MODE
SSH_AUTH_SOCK
PYENV_DIR
__CF_USER_TEXT_ENCODING
VIRTUAL_ENV_DISABLE_PROMPT
PAGER
WORKON_HOME
LSCOLORS
PATH
VIRTUALENVWRAPPER_HOOK_DIR
PWD
JAVA_HOME
DJANGO_SETTINGS_MODULE
EDITOR
LANG
ITERM_PROFILE
PYENV_HOOK_PATH
XPC_FLAGS
XPC_SERVICE_NAME
PYENV_SHELL
SHLVL
HOME
COLORFGBG
ITERM_SESSION_ID
LESS
LOGNAME
LC_CTYPE
VIRTUALENVWRAPPER_WORKON_CD
REPORTTIME
SECURITYSESSIONID
COLORTERM
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH
PYTHONUNBUFFERED

Pipenv–specific environment variables:

PIPENV_VENV_IN_PROJECT: 1

Debug–specific environment variables:

PATH: /Users/andy/.pyenv/versions/3.6.4/bin:/usr/local/Cellar/pyenv/1.2.2/libexec:/Users/andy/.pyenv/shims:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/sbin:.:/bin:/Users/andy/bin
SHELL: /bin/zsh
EDITOR: vim
LANG: de_DE.UTF-8
PWD: /Users/andy/projects/vfk/Research-Server/portal

Contents of Pipfile ('/Users/andy/projects/vfk/Research-Server/portal/Pipfile'):
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true

[packages]
django = ">=2"
wagtail = "==2.0.1"
raven = "*"
django-post-office = "*"
uwsgi = "*"
uwsgidecorators = "*"
dj-static = "*"
django-secrets = "*"
pypugjs = "*"
easy-thumbnails = "*"
django-rosetta = "*"
wagalytics = "*"
"django-gravatar2" = "*"
"django-select2" = "*"
wagtail-modeltranslation = "==0.8.1"
django-compressor = "*"
django-crispy-forms = "*"
"django-bootstrap3" = "*"
django-extensions = "*"
django-undeletable = "*"
django-redis = "*"
"fabric3" = "*"
django-libsass = "*"
"flake8" = "*"
"psycopg2-binary" = "*"
djangorestframework = "*"

["dev-packages"]
django-debug-toolbar = "*"pipenv clean
django-livereload-server = "*"
ipdb = "*"

--code might be what im looking for but if its meant to also be given a github url, its broken
toml.TomlDecodeError: Stuff after closed string. WTF?
But since the docs only mention code, it might as well just work with  local code .. the docs are kinda vague. :(
i was trying those commands .. all failed
pipenv install -c https://github.com/deschler/django-modeltranslation.git#egg=master
pipenv install "-c https://github.com/deschler/django-modeltranslation.git#egg=master"
pipenv install -e https://github.com/deschler/django-modeltranslation.git#egg=master
pipenv install "-e https://github.com/deschler/django-modeltranslation.git#egg=master"
pipenv install https://github.com/deschler/django-modeltranslation
pipenv install -c https://github.com/deschler/django-modeltranslation
pipenv install -e https://github.com/deschler/django-modeltranslation

please tell me i dont have to start using pip again! 👎

Looks like you have some random text on the Django debug toolbar line
On Mon, Apr 9, 2018 at 8:00 AM kakulukia<EMAIL_ADDRESS>wrote:

please tell me i dont have to start using pip again! 👎
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pypa/pipenv/issues/1942#issuecomment-379782727, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABhjqycUOd1_KCjR5lm3c3p6C5loK3iCks5tm3eAgaJpZM4TMsfm
.

@kakulukia you do this the exact same way as you do with pip -- pipenv install -e git+https://thing
you need to include the vcs type in front of the url.

and: "Stuff after closed string. WTF?" is a weird way oftelling the user about syntax errors in the Pipfile

It's not random text, it's the exact same way you install a VCS repository in editable mode using pip. See https://pip.pypa.io/en/stable/reference/pip_install/#git
Please see the code of conduct and consider that many people have this project on their watchlist, be courteous and please try to keep your commentary productive.
Also, I did just try one of your examples (it is the only example I attempted to use) -- not sure how our messaging could be improved here:
 /t/test  pipenv install -e https://github.com/deschler/django-modeltranslation.git#egg=master
Installing -e https://github.com/deschler/django-modeltranslation.git#egg=master…
⠦
Error:  An error occurred while installing -e https://github.com/deschler/django-modeltranslation.git#egg=master!
https://github.com/deschler/django-modeltranslation.git#egg=master should either be a path to a local project or a VCS url beginning with svn+, git+, hg+, or bzr+

no @techalchemy, you misunderstood @jtratner - i literally had random text in my Pipfile and he spotted it
But again: it should be mentioned in the docs of how to install from a git repo

Stuff after closed string. WTF? is indeed not a message that should be output by a grown-up tool.

@kakulukia our documentation doesn't re-cover all of the steps involved in installing packages in python, please see the pip documentation as described.


[WIP][MINOR][INFRA] Update the link text and ref in notify_test_workflow.yml

What changes were proposed in this pull request?
The pr aims to update the link text and ref in notify_test_workflow.yml.
Why are the changes needed?
1.The keyword Disabling or limiting GitHub Actions for a repository does not exist on the page.

If a new user encounters the above issue, she/he will generally click on this page to search for Disabling or limiting GitHub Actions for a repository  But unfortunately, the content of this page has changed and the keyword Disabling or limiting GitHub Actions for a repository no longer exists.  I propose updating it to reduce user confusion.
2.The url https://docs.github.com/en/github/administering-a-repository/disabling-or-limiting-github-actions-for-a-repository has been redirected to https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository.
Does this PR introduce any user-facing change?
Yes, only for dev.
How was this patch tested?
Manually test.
Was this patch authored or co-authored using generative AI tooling?
No.

cc the original author of this file @HyukjinKwon

Merged to master.


python310Packages.ipympl: 0.9.0 -> 0.9.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.ipympl is: "Matplotlib Jupyter Extension"
meta.homepage for python310Packages.ipympl is: "https://github.com/matplotlib/jupyter-matplotlib"
meta.changelog for python310Packages.ipympl is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 0.9.1 with grep in /nix/store/wpgnl92fbc90hbqifdamjnnb8gb5cc4h-python3.10-ipympl-0.9.1
found 0.9.1 in filename of file in /nix/store/wpgnl92fbc90hbqifdamjnnb8gb5cc4h-python3.10-ipympl-0.9.1

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
python310Packages.ipympl
python39Packages.ipympl

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/wpgnl92fbc90hbqifdamjnnb8gb5cc4h-python3.10-ipympl-0.9.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.ipympl https://github.com/r-ryantm/nixpkgs/archive/a433cc0312fbb47edda411f9fbc6fd740911e3a0.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/wpgnl92fbc90hbqifdamjnnb8gb5cc4h-python3.10-ipympl-0.9.1
ls -la /nix/store/wpgnl92fbc90hbqifdamjnnb8gb5cc4h-python3.10-ipympl-0.9.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

python310Packages.ipympl
python39Packages.ipympl

Maintainer pings
cc @jluttine @FabianGD for testing.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/870


propagator-ot-trace published to NPM without build directory

Please answer these questions before submitting a bug report.
What version of OpenTelemetry are you using?
v0.13.0
What version of Node are you using?
node v12.20.1
npm 6.14.10
What did you do?
If possible, provide a recipe for reproducing the error.
npm install<EMAIL_ADDRESS>node -e "require('@opentelemetry/propagator-ot-trace');"

What did you expect to see?
Nothing, exit status zero
What did you see instead?
internal/modules/cjs/loader.js:303
      throw err;
      ^

Error: Cannot find module<EMAIL_ADDRESS>Please verify that the package.json has a valid "main" entry
    at tryPackage (internal/modules/cjs/loader.js:295:19)
    at Function.Module._findPath (internal/modules/cjs/loader.js:508:18)
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:802:27)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at [eval]:1:1
    at Script.runInThisContext (vm.js:120:18)
    at Object.runInThisContext (vm.js:309:38)
    at Object.<anonymous> ([eval]-wrapper:10:26) {
  code: 'MODULE_NOT_FOUND',
  path<EMAIL_ADDRESS>  requestPath: '@opentelemetry/propagator-ot-trace'

Additional context
Add any other context about the problem here.
You can see the error at https://runkit.com/embed/2cqmh29d8d6z
The installed package appears to be missing the build directory
ls node_modules/@opentelemetry/propagator-ot-trace/
LICENSE      README.md    package.json

BAH! I'm beginning to feel our tests should be run against the final build artifact. I'm fixing this now.

I'm not sure how this is possible. The package.json contains the correct entry and the build scripts should build the project before packaging just like any other package in the repository.

Awesome.  Thanks for jumping on this so quickly 🙇♂


Mixed ondemand and spot instances with managed nodegroups

Is your request related to a problem? Please describe.
As far as i've understand, mixed OnDemand and spot ASG can be created only using worker_nodes and not using node_groups
Unfortunately all my groups are managed due to a company policy that wants to have as many externally managed things.
And in this case i can't manage to have a node_group with 3 ondemand based instance and the rest of 100% spot instances
Describe the solution you'd like.
a property like worker_groups_launch_template only for node_groups

if you want mix spot and ondemand group in single managed node group without launch template then it is not supported by AWS itself.
If you mean something different then the best show me screen from AWS UI how you configuring this.

I'm getting this by modifying the created underlying ASG in this wa

y

this is assumed as hack on managed groups as AWS EKS Nodegroup API doesnt support it


Made css stylings more consistent

I thought it odd that rows in the plugins were larger than the 60px height that were uniform to our buttons and headers so I made them all 60px.

did this change the look at all? Can you post screenshots of before/after?
At some point, it would be nice to have some sort of framework that produced screenshots of the changes on various systems and resolutions. heh, more testing.

It's minute, but rows are even in this branch and plugin buttons highlight to a uniform color:

As opposed to in master where the bars are misaligned compared to the header/sidebar buttons and the hover shading is defined per plugin and is slighlty lighter, as demonstrated by the Add Folder button.

I'm not sure that you want this stuff lined up. They are separate parts of the UI, and when they don't line up it's much more clear that there's a difference between them. Would be nice to get an opinion from a designer.

I could go wrong either way on this one, David makes a good point about different functional parts of the UI. But I like the appearance of the symmetry.
I think the symmetry might be better with a smallish border to distinguish the active area.
If on the fence, its probably a good idea to trust the in-house designer (Ming here) :)

@pmknutsen since you designed it, you're actually the in-house designer here

Some general comments (from a non-designer, but someone knowledgeable on visual processing):
Aligning elements has a visually calming effect. This is especially true when elements are perceived as belonging to the same 'group'. Our visual system groups by all kinds of features, including spatial features such as nearby edges with matching orientations. In this case, you have multiple horizontal lines that almost, but not quite, merge. So, we tend to perceive something continuous, because the elements almost line up. This triggers our attention to a perceived misalignment. In fact, the exact elements Ming aligned have also irked me on a few occasions. In a UI, you generally want don't a user's attention drawn to anything that is not a 'feature', i.e. you want a focus on application usability and not on design (i.e. a good design is something that does not draw any kind of attention away from the usability aspect).
Following this, a designer can also 'over-align'. This happens when you align elements that otherwise would not be visually grouped, e.g. because they are visually too distinct (e.g. don't share color, shape, orientation, too far apart etc).
I don't think it is important here that the menu and body of the UI are different 'parts' of the UI, and thus should not be aligned. You should align not because of function, but because you don't want to create a visual distraction if you otherwise did not align.
Since at least two people (Ming and I) were both irked by this small mismatch, I think that tells us that these elements should be aligned.
So, long story short, I too vote for alignment.

Wow thanks for the insight @pmknutsen!

From Jing:
okay so
two design decisions i disagree with:
regardless of whether they line up or not, the bottom lines of the objects on the left should not extend all the way aross the page
across*
a little bit of lining up is ok
let me screenshot you an example

http://imgur.com/Q5pJwWC

search bar is aligned, but that's ok
site objects are not aligned
does that make sense?

Sorry, had a few meetings, didn't get a chance to read @pmknutsen's comment until now.
Jing's suggestions solve this problem by preventing the lines from going to the edge, which means your eyes don't try to line things up anymore

So I think this is what Jing meant, specifically with the about page.

I'm just nitpicking at this point, but since it's a style PR I guess that makes sense. I don't think you want the underline to line up perfectly with the text, if you look at Jing's screenshot, the line is actually larger than the text by a little bit.

Yo, out of left-field here, but what about

Otherwise this pr is updated with those slightly longer lines you wanted.

Gotta say, now that I'm seeing it, I think it looks a lot better without the lines extended. I guess I'm not a designer lol.
I do like the idea of adding a text blurb with some links, but the way you did it above doesn't look good at all. Also, I'm not sure I like the version numbers in a capsule, seems like the wrong place to put them.

Yeah that first screenshot is just for concept. Otherwise this PR looks like the second screenshot in my previous comment, can it be merged?


CheckBox?

I am working on a new user provisioning scripts and I need to select which groups to add the user to.  How can that be accomplished?  I already have 1 datagrid in the project.  I could use that but I do not see how to add two datagrids.
I was thinking of doing something like the radio buttons but with multi-select but I did not see how to do that either.
Thanks

Immediately after posting I found it - sorry for false alarm/question


GPU usage of emotion classification

Hi Justin,
Great project, it really is saving my life! I have a question about GPU usage (it's not really an issue, so sorry if this is not the right way to ask):
I'm using the detect_emotion() function providing already the bounding box of the faces, which come from previous data. I'm wondering, does the emotion classification part of the function use GPU acceleration? I've checked the source code and it's not clear to me, since it's using Tensorflow, which I know can support GPU directly in the recent versions. I know that face detection using mtcnn does use GPU acceleration, but I'm avoiding that part of the function by providing the bounding boxes.
In case it does use GPU acceleration to classify the emotions, I really don't think it provides any noteworthy improvements, since it's a very fast process and cannot be done in batches, am I right?
Thanks again!

I'm glad you find it useful! It will use a GPU if it is available. You can verify this with
import tensorflow as tf
tf.debugging.set_log_device_placement(
    enabled=True
)

Whether there is a performance improvement for using a GPU, probably not a lot. The biggest improvement would probably come from batching, as you suggested. This would be an additional feature, which would require a bit of refactoring but could be added. Let me know if this is important for your use case.

Hi Justin, I'm so sorry for the very late reply. For some reason I was not subscribed to this and didn't get the notification!
Thanks for the info. Just wanted to make sure I understood everything correctly. I guess batch recognition could be a nice feature, but it's definitely not important for my case, so don't worry about it. Thanks a lot for the offer though! The performance is already great as it is and it's not much of a bottleneck - CPU parallelisation gives fast results!
Thanks again!


[const evaluator] Refactoring: exposing functions to look up symbolic values and to flow-sensitively evaluate possibly branching instructions.

@marcrasi @devincoughlin  This is a minor refactoring that exposes a couple of utility functions. These methods will be useful for creating a flow-sensitive interpreter that will enable a client to step through a sequence of instructions.

@swift-ci Please smoke test

@swift-ci Please test and merge

@swift-ci Please test and merge

@swift-ci Please test Linux Platform

Build failed
Swift Test Linux Platform
Git Sha - e8d77b439074d732be45992c7243572e14225c78

@swift-ci Please test Linux Platform


Update gems to fix vulnerabilities

More information:
https://rubyonrails.org/2022/7/12/Rails-Versions-7-0-3-1-6-1-6-1-6-0-5-1-and-5-2-8-1-have-been-released
https://discuss.rubyonrails.org/t/cve-2022-32224-possible-rce-escalation-bug-with-serialized-columns-in-active-record/81017
We do not seem to be affected with the change on the serialization changes implemented in the fix.

Codecov Report

Merging #91 (a8b2bee) into master (6f956a5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #91   +/-   ##
=======================================
  Coverage   91.17%   91.17%
=======================================
  Files           7        7
  Lines         102      102
=======================================
  Hits           93       93
  Misses          9        9

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Implement DataHub Catalogue client for dp-catalogue library

Convert CatalogueClient class into ABC base, so OMD and DataHub client classes can be inherited
implement __init__ and create_or_update_table for DataHubCatalogueClient using DataHub gms
add tests to check DataHub client is submitting requests as expected (in the format supported by DataHub python sdk gms emitter).
add packages to pypoetry.toml
refactoring

I have tested using this branch to create a dataset on the apps and tools instance. See https://datahub.apps-tools.development.data-platform.service.justice.gov.uk/dataset/urn:li:dataset:(urn:li:dataPlatform:glue,my_data_product2.my_table3,PROD)/Schema?is_lineage_mode=false&schemaFilter=
I think I'm reasonably confident it's working end to end now, although there are some things we might need to come back to.
Notes:

Custom variables are not implemented yet - so expecting we'll need to add these and any other missing fields later
We have to pass tags at the table level now, since DatahubCatalogueClient is not passing along any tags from the Data Product (and either way I don't believe the dataset would inherit this from the data product).
With the DatahubCatalogueClient, you need to pass the name as $database_name.$table_name, if you want the database to show up as a container. Otherwise it sticks everything in a "Default" container.
In datahub entities have multiple "aspects". We were creating an aspect for the schema, and tags, but we were missing the one for basic properties associated with the dataset, so I've added that in.

Here is a table created with the latest code:
https://datahub.apps-tools.development.data-platform.service.justice.gov.uk/dataset/urn:li:dataset:(urn:li:dataPlatform:glue,test_data_product_v2.test_table,PROD)/Schema?is_lineage_mode=false&schemaFilter=
Note that I have fully qualified the database name here (database.table), which groups everything from the same database in a container that shows up in the breadcrumb, and in the datahub search interface.

We can change this later if we don't like it, but this keeps it consistent with what we were doing before.


use wait_for_ipv4_addresses var

wait_for_ipv4_addresses should be configurable upon create. we use a 2nd network interface without fixed address to test ansible roles, which waits 600s and times out if wait_for_ipv4_addresses is set to true

label enhancement missing


docker 运行,centos 已安装 chromeDriver , cookie获取中一直报 FileNotFoundError: [Errno 2] No such file or directory: '/home/12306/chromedriver': '/home/12306/chromedriver'

描述问题
用  ./docker.sh run 启动过程中出现  cookie获取中一直报 FileNotFoundError: [Errno 2] No such file or directory: '/home/12306/chromedriver': '/home/12306/chromedriver'

重现步骤
已安装了 chromeDriver , 且该路径下存在 chromedriver

截图&日志
12306ticket | cookie获取中
12306ticket | /usr/local/lib/python3.7/site-packages/keras/engine/saving.py:292: UserWarning: No training configuration found in save file: the model was *not* compiled. Compile it manually.
12306ticket |   warnings.warn('No training configuration found in save file: '
12306ticket | Traceback (most recent call last):
12306ticket |   File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/common/service.py", line 76, in start
12306ticket |     stdin=PIPE)
12306ticket |   File "/usr/local/lib/python3.7/subprocess.py", line 775, in __init__
12306ticket |     restore_signals, start_new_session)
12306ticket |   File "/usr/local/lib/python3.7/subprocess.py", line 1522, in _execute_child
12306ticket |     raise child_exception_type(errno_num, err_msg, err_filename)
12306ticket | FileNotFoundError: [Errno 2] No such file or directory: '/home/12306/chromedriver': '/home/12306/chromedriver'
12306ticket |
12306ticket | During handling of the above exception, another exception occurred:
12306ticket |
12306ticket | Traceback (most recent call last):
12306ticket |   File "run.py", line 20, in <module>
12306ticket |     run()
12306ticket |   File "run.py", line 8, in run
12306ticket |     select_ticket_info.select().main()
12306ticket |   File "/usr/src/app/init/select_ticket_info.py", line 156, in main
12306ticket |     getDrvicesID(self)
12306ticket |   File "/usr/src/app/config/getCookie.py", line 25, in getDrvicesID
12306ticket |     idriver = webdriver.Chrome(executable_path=TickerConfig.CHROME_PATH)
12306ticket |   File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 68, in __init__
12306ticket |     self.service.start()
12306ticket |   File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/common/service.py", line 83, in start
12306ticket |     os.path.basename(self.path), self.start_error_message)
12306ticket | selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
12306ticket |
12306ticket exited with code 1

后来改在 /usr/bin 路径下也不行
12306ticket | FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/chromedriver': '/usr/bin/chromedriver'

环境信息

windows
python3.7.1
订票小助手版本 1.1.101

额外的备注

Add any other context about the problem here.

使用方式 3 软件就可以运行了


crash when mixing in basin

Describe the Bug
crash when creating brass in basin
Reproduction Steps

added hand crack to cogwheel
added zinc and copper to basin
turn hand crack and crashes
...

Expected Result
mixing would make brass
Screenshots and Videos
No response
Crash Report or Log
https://pastebin.com/7MAtHuE3
Operating System
windows 11, macos 13
Mod Version
0.5.0f
Minecraft Version
1.19.2
Other Mods
Mods:
  [✔] architectury-6.3.49-fabric
  [✔] create-fabric-1.19.2-0.5.0f-776
  [✔] ecologics-fabric-1.19.2-2.1.10
  [✔] fabric-api-0.66.0+1.19.2
  [✔] geckolib-fabric-1.19-3.1.37
  [✔] Oh_The_Biomes_You'll_Go-fabric-1.19.2-<IP_ADDRESS>
  [✔] Patchouli-1.19.2-76-FABRIC
  [✔] RoughlyEnoughItems-9.1.572
  [✔] TerraBlender-fabric-1.19.2-<IP_ADDRESS>
  [✔] Terralith_v2.3.5
  [✔] The_Graveyard_2.0_(FABRIC)for_1.19.2
  [✔] The_Graveyard_Biomes_1.2(FABRIC)_for_1.19
  [✔] WilderWild-1.1.1-Fabric+1.19.2
  [✔] worldedit-mod-7.2.12
  [✔] wwoo-3.1.8-FABRIC-1.19.2
Additional Context
No response

The problem is Wilder Wild, it loads NBT Crafting which causes the crash.

would it be a possible fix in future release?