briefcase build android failed with an exception

build error log

'D:\pfs\Java\jdk1.8.0_202\bin\javac' -version
[helloworld] Building Android APK...
'D:\codes\BeeWareProjects\beeware-tutorial\helloworld\android\gradle\Hello World\gradlew.bat' assembleDebug

FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring root project 'Hello World'.

Could not resolve all artifacts for configuration ':classpath'.
Could not resolve com.android.tools.build:gradle:3.5.3.
Required by:
project :
Could not resolve com.android.tools.build:gradle:3.5.3.
Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.3/gradle-3.5.3.pom'.
Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.3/gradle-3.5.3.pom'. Received status code 400 from server: Bad Request
Could not resolve com.android.tools.build:gradle:3.5.3.
Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.5.3/gradle-3.5.3.pom'.
Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.5.3/gradle-3.5.3.pom'.
Received status code 400 from server: Bad Request

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 2s
Error while building project.

Thanks for the report. It looks like we've been bitten by the shutdown of JCenter; I've just pushed an update to the Briefcase template that should hopefully address this. You'll need to delete the android directory that briefcase created for your project and then re-run briefcase create. If that doesn't work for you, let us know and I'll re-open this ticket and investigate further.


Flash messaging doesn't work with android

See here for detailed explanation:
http://stackoverflow.com/questions/30955849/passports-req-flash-message-empty-for-only-certain-requests-for-failureredire
I've used passport for webapps before, and they work perfectly fine, but when I switch over to android it's like nothing is maintained through the middleware.

Writing HTML-based apps and native apps is different, particularly with respect to flash messages.  Any such questions are not issues with this project, however.  Closing.


Python 3: print() function and define raw_input()

Python3 support added in 734953a88157559aa688c1fad1e28aa418c068bb. Fixed usage of print and input statements, and handles Python3's use of bytes (instead of strings) when reading from/writing to files.


Style guide layout polish

Going through our docs and making sure we're consistent with our headers and other things to set a good foundation for new additions.

When there's a docs page with no sidenav it gets the big H1

When there's a sidenav the H1 is smaller

Also upgraded Jekyll to 4.0 for faster builds

Code blocks are no longer 100% width

Open to suggestions on this. The standard prose width seemed too narrow so I went with something a bit wider.


meshpy missing dependencies gcc and pybind11 with 'conda install meshpy'

as i say in the title, when i tried to $ pip install meshpy,

i had an error with libstd++.h (??) I dont remember the exact name of .h missing)
i installed gcc : $ conda install gcc
Then i tried $ pip uninstall meshpy followed by $ pip install meshpy the installation complains about some clang++ and pybind11 missing
I installed pybind11 with $ conda install pybind11
finally $ pip uninstall conda followed by $ pip install conda succeeded.
and that's it, meshpy is installed<!--

This has nothing to with pyqt, closing.


Post release automated changes for attestation releases

Post release automated changes for azure-arm-attestation

/azp run

/azp run js - attestation - mgmt - ci

API change check
API changes are not detected in this pull request.


HOTFIX: Resolved Static Analysis and Tests failures in GitHub Actions

Replaced macOS with ubuntu in static workflow file.
Specified OS and R versions in the workflow files.
Replaced fatal level logs with error value return statements.
Added error value-based conditional statements to the webscraper test files.

Pull requests into this repository require the following checks to be completed by the submitter and reviewers.
Submitter:

[x] Administrative tasks are complete.

This pull request describes why these changes were made.
The JIRA ticket links to this PR.
The JIRA ticket for this PR is:

[x] Tests are complete.

Tests are included and test edge cases.
Tests have been run locally and pass.

[x] Code review has been performed.

Code diff has been done and checked to ensure only expected code is being committed.
A linter for the language has been run.

Primary Reviewer:

[ ] Code works.

Code has been run locally and the basic functionality affected by the PR has been checked.
Edge cases have been checked to ensure behavior is as expected.

[ ] Code review has been performed.

Code is maintainable, reusable, efficient, and correct.
Code accomplishes the tasks purpose.
Code follows style guidance appropriate for the language, including passing linter checks.
Code is well commented (which does not mean verbosely commented).

[ ] Tests are complete.

Tests are included and test edge cases.
Tests have been run locally and pass.

Merger:
Prior to merging, ensure that all checks have been completed. Delete the branch after the merge
is complete.

@archita-ekkirala Reviewed and Approved, please assign within Mettles for Github PR Reviewer approval.


Validation error display for RadioButtons and CheckBoxes

Fixes issue #370.
Added validation template to check boxes and radio button.
Looking through the material design docs I could not find any guidelines on exactly how to style things like the checkbox and radio button (I suspect because validation on these is a very rare case). IMO I like it when the graphic and the content are both turned red so that is how they are implemented. I am happy to remove this and just have the red text below the control if that is preferred as well.
I have added validation to a radio button and check box on the buttons demo pages so you can see the result.

Yeah, personally I find it wierd UX, however, it doesn't do any harm to support the validation template.


Hotfix/0.1.2

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[X ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[X] The Unreleased section in CHANGELOG.md has been amended to reflect the changes in this PR
[X] Build (mvn verify) was run locally and any changes were pushed
[X] The pull request is against the correct branch (master for bug fixes, develop for new functionality)

Pull request type

Please check the type of change your PR introduces:

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Renaming a document or subcorpus in the corpus structure editor does not work.
Issue Number: N/A
What is the new behavior?

You can actually rename the documents/subcorpora
A check in the project change listener is now adjusted for notification graphs (which have a different class than default Salt graphs)

Does this introduce a breaking change?

[ ] Yes
[X] No

Other information

@thomaskrause Please merge yourself.


Media items no longer scroll down in 2023.04

Describe the bug
Media items no longer scroll down in 2023.04. Previously one could scroll down to see all items in the library. In 2023.04 items only populate the screen and one can't scroll down to see additional items.
To Reproduce
Steps to reproduce the behavior:

Upgrade to 2023.04
View a Plex library with more items than can fit on the screen at one.
You can no longer scroll to see addditional items.
using search pulls up relevant items correctly, even if they were not showing up in the display.

Expected behavior
One should be able to scroll down to view additional items in library.
Screenshots
If applicable, add screenshots to help explain your problem.
If this is a network error, please open network tab in your browser developer tools and paste in as much information as possible about the failing request. This will make it a lot easier to help you as soon as possible.
Checks
Please check below if true:
[x ] I am running Home Assistant on HTTP protocol
[ ] I am running BOTH Home Assistant AND Plex on HTTPS protocol
[x ] My Plex server is accessible through protocol, port and ip/hostname I have specified for the card.
[ ] My Plex server is running on HTTPS and has a valid certificate.
Card Configuration
Copy and paste your card configuration. Make sure to hide token and other sensitive information.
Card Version
Replace this text with version of card you are using.
Plex Version
Replace this text with version of Plex you are using.
Device information
Information about device you are using to display the card. Also include browser / app information.
Additional context
Add any other context about the problem here.

scroll event is no longer fired on scrolling, which is the cause of this bug, we will need to find out why and fix it.

Found workaround for event - wheel event, but now window.scrollY is always 0.

Thanks for taking a look! Please let me know if there's anything I can do to help.

Fixed in https://github.com/JurajNyiri/PlexMeetsHomeAssistant/releases/tag/3.6.6 .

Thanks for fixing it in Chrome! It still seems to be broken in Safari and the ios app even after clearing the cache. Any ideas or suggestions?

Fixed in https://github.com/JurajNyiri/PlexMeetsHomeAssistant/releases/tag/3.6.7 .

Thank you!! I can confirm it's now working again on ios. You're the best!
On Friday, April 14, 2023 at 12:16:30 PM EDT, Juraj Nyíri @.***> wrote:
Fixed in https://github.com/JurajNyiri/PlexMeetsHomeAssistant/releases/tag/3.6.7 .
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I resolved the issue for myself by reverting PlexMeetsHA to a previous version (3.6.5)
My guess is whatever change that HA made in 2023.4 that originally broke PMHA was reversed in 2023.5, and now 2023.6
Can someone please confirm the earlier version of PMHA works for them? Remember to delete your cache after updating.

@pavlov70 Good find ! I can confirm this retrograde also with me solves the problem.
So I guess it is an easy fix, @JurajNyiri ? ;-)

@JurajNyiri  May I remind you of this still unfixed problem ? It seems to me the above discussion gives all the info you need to fix it.
If not, please advise. Thx for looking into it ...

Hi, I am really busy but PRs are welcomed, see changes that were introduced in 3.6.7 fixing the original issue: https://github.com/JurajNyiri/PlexMeetsHomeAssistant/compare/3.6.6...3.6.7

Fixed in 3.6.8.


COCO 2017 training hyper parameter

I want to reproduce the MAP on https://github.com/NVIDIA/retinanet-examples#performance. But can't find the hyper-parameter for training.
Is odtk train retinanet_rn50fpn.pth --backbone ResNet50FPN \     --images /coco/images/train2017/ --annotations /coco/annotations/instances_train2017.json \     --val-images /coco/images/val2017/ --val-annotations /coco/annotations/instances_val2017.json enough to reproduce Backbone: ResNet18FPN mAP @[IoU=0.50:0.95]: 0.318 on the site?

We used these options:
--with-dali --max-size=1280 --lr 0.02 --batch 32 --val-iters 4000 --milestones 50000 --iters 60000 --jitter 800 800
However you will need to tweak some of these (eg batch) for your system.

@james-nvidia Thanks a million. BTW, how many cards did you have? I found that only --batch 4 can fit on a single GPU

That command ran on 8 x V100, so your batch is about right. I'll close this issue, if that's ok.


feat: Add automation for PR rejection

What does this PR do?
fixes #47
Technical description- since there is no persistent storage to store users whose pr is rejected , i am utilizing comment of GitHub. when /reject is executed for the first time a comment will be created "Attempted:user1". this comment is updated ,adding the new user ,every time the reject command is executed. this comment will be between the reject command and the rejection message. placement is important, as it makes it faster to catch this particular comment while looping through  all the comment in the issue comment section when the assign command is executed by the user whose pr is already rejected,and is sure that this comment will be just above the first rejection message or just below the first reject command
Regex at multiple places be careful.
Screencast from 12-04-24 02:42:00 AM IST.webm
How should this be tested?
on an issue write /reject pr #prNumber message
Required

[x] Filled out the "How to test" section in this PR
[x] Read How we Code at oss.gg
[x] Self-reviewed my own code
[x] Commented on my code in hard-to-understand bits
[x] Ran pnpm build
[x] Checked for warnings, there are none
[x] Removed all console.logs
[x] Merged the latest changes from main onto my branch with git pull origin main
[x] My changes don't cause any responsiveness issues

Appreciated

[x] If a UI change was made: Added a screen recording or screenshots to this PR
[ ] Updated the Formbricks Docs if changes were necessary

Hey @manish-singh-bisht
thanks a lot for working on this and sorry for the delay in review!
Here is my feedback:

1. Lots of bot messages
As you can see here in my test issue, the bot created 19 comments:
https://github.com/jobenjada/test-ossgg/issues/5
Please make sure this doesn't happen.

Complicated UX

I'm sorry if that wasn't clear from the ticket description, but we need this to work in PRs and not in Issues. So in the PR itself, I comment/reject This is my reason and then the described actions happen. In a nutshell, this needs to happen:

Comment on PR with the message drafted
Close PR
Check if PR is connected to an issue. If not, post another comment in the PR: "This PR is not linked to an issue. Please update the issue status manually."
If yes, check if the PR author is also assigned to this issue. If so:

Unassign
Post a comment into the issue: "The issue is up for grabs again! Feel free to assign yourself using /assign"

This should also cut down a bit on the logic needed in the hook 🤓

Other than that, great work! Works very well :))

Please see Discord message, in my test repo it does not work.

Doesnt work in PRs, still works in Issues
Getting a loooot of bot comments in the issue: https://github.com/jobenjada/test-ossgg/issues/5

Please make a video and explain how your fixes make it work as described in the comment 🙏
Thanks!!

hey @jobenjada , removed the oss label checks for the pr
heres the updated video
Screencast from 15-04-24 07:03:08 PM IST.webm

/award 250


API Key does not apply on Code-Server

Describe the bug
After adding an OpenAI API key with with the Rubberduck: Enter OpenAI API key command, I get an error stating that I have not yet entered an API key.
Error: Failed after 1 attempt(s) with non-retryable error: 'You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY), or as the password field (with blank username) if you're accessing the API from your browser and are prompted for a username and password. You can obtain an API key from https://platform.openai.com/account/api-keys.'
How to reproduce
Install Code-Server, install Rubber duck extension, enter api key, try to use the chat fuction.
Expected behavior
Rubber Duck extension should be able to communicate with OpenAI API when running in Code-Server.

After a little more digging into this, I found that the variable for OPEN_AI_API_KEY_SECRET_KEY was not being set or read correctly. Manually exporting this variable with my API key seems to resolve my issue.
Not sure if this is an issue with the plugin, or just a difference in the way that VS Code and Code-Server operate. But it would be very handy if the add API key command would work correctly on Code-Server installs.


Improve documentation how to get IDs i.e. "object_storage_id"

It's really difficult to find out, what the correct "object_storage_id" is to create an object storage bucket. I hat to debug the web interface and analyze the json response from the server with the chrome developer utils to get the ID ;)

Sorry for the struggle...
I added documentation on the contabo_object_storage_bucket resource in the latest version v0.1.22.
https://registry.terraform.io/providers/contabo/contabo/0.1.22


Prometheus export seems to be missing SOME values

Summary
While trying to track down why I wasn't seeing all EXPECTED metrics in Grafana I came to the conclusion that at least a part (or all) of the issue may be that Ouroboros dosen't seem to be pushing all relevant data to Prometheus.
In addition to my issue with Ouroboros I may have an issue with how I have set up Grafana as Grafana's official Prometheus dashboard seems to display properly but not sure if something needs to be added to Grafana or if as I had expected Prometheus should abstract the details of each exporter thereby presenting all "properly" configured Prometheus data as defined in prometheus.yml
Thanks for any help or insight. After beating my head against this for the past couple days seem to be deadlocked here.
Supporting Details
Anticipated output
-- Per wiki: https://github.com/pyouroboros/ouroboros/wiki/Usage#prometheus-metrics
# TYPE containers_updated_total counter
containers_updated_total{container="all"} 2.0
containers_updated_total{container="alpine"} 1.0
containers_updated_total{container="busybox"} 1.0
# TYPE containers_updated_created gauge
containers_updated_created{container="all"}<PHONE_NUMBER>.625264
containers_updated_created{container="alpine"}<PHONE_NUMBER>.6252713
containers_updated_created{container="busybox"}<PHONE_NUMBER>.7476819
# HELP containers_being_monitored Count of containers being monitored
# TYPE containers_being_monitored gauge
containers_being_monitored 2.0

What I got seems to be a subset of that content of the content above. Showing number of containers monitored, but unfortunately missing data for count of containers updated containers_updated_total{container="all"} and list of containers updated. below is a dump from the Ouroboros' Prometheus exporter...
# _curl http://localhost:3579_
# HELP python_gc_objects_collected_total Objects collected during gc
# TYPE python_gc_objects_collected_total counter
python_gc_objects_collected_total{generation="0"} 11564.0
python_gc_objects_collected_total{generation="1"} 1871.0
python_gc_objects_collected_total{generation="2"} 369.0
# HELP python_gc_objects_uncollectable_total Uncollectable object found during GC
# TYPE python_gc_objects_uncollectable_total counter
python_gc_objects_uncollectable_total{generation="0"} 0.0
python_gc_objects_uncollectable_total{generation="1"} 0.0
python_gc_objects_uncollectable_total{generation="2"} 0.0
# HELP python_gc_collections_total Number of times this generation was collected
# TYPE python_gc_collections_total counter
python_gc_collections_total{generation="0"} 122.0
python_gc_collections_total{generation="1"} 11.0
python_gc_collections_total{generation="2"} 1.0
# HELP python_info Python platform information
# TYPE python_info gauge
python_info{implementation="CPython",major="3",minor="7",patchlevel="2",version="3.7.2"} 1.0
# HELP process_virtual_memory_bytes Virtual memory size in bytes.
# TYPE process_virtual_memory_bytes gauge
process_virtual_memory_bytes 4.4343296e+07
# HELP process_resident_memory_bytes Resident memory size in bytes.
# TYPE process_resident_memory_bytes gauge
process_resident_memory_bytes 3.6487168e+07
# HELP process_start_time_seconds Start time of the process since unix epoch in seconds.
# TYPE process_start_time_seconds gauge
process_start_time_seconds 1.5856875677e+09
# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
# TYPE process_cpu_seconds_total counter
process_cpu_seconds_total 24.31
# HELP process_open_fds Number of open file descriptors.
# TYPE process_open_fds gauge
process_open_fds 28.0
# HELP process_max_fds Maximum number of open file descriptors.

Prometheus config
global:
  scrape_interval: 15s
  scrape_timeout: 10s
  evaluation_interval: 15s
scrape_configs:
- job_name: prometheus
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - <IP_ADDRESS>:9090
- job_name: Ouroboros
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - <IP_ADDRESS>:3579

Finally in the interest of completeness below is a screenshot of my partially populated dashboard running on the same host as all above. Dashboard sourced from https://grafana.com/grafana/dashboards/9728.

Those metrics won't populate until there have been actual updates. To mitigate, you can use grafana's value mappings to change null => 0

Thanks for the VERY quick response and for
"editing" my post.
In terms of no data shown in Graf. I PREVIOUSLY have data shown as updates occurred in SOME dashboard fields but NEVER saw the container updates section or even the total number of updates populated. Attached is a screenshot showing 21 day history. Unfortunately even the pervious graph of updates seems to have been reset by all my attempts to test.
The dropouts over the past 2 days in containers monitored was my attempt to diagnose the issue.

My apologies for my ignorance here as I'm clarifying my knowledge of Prometheus and Grafana. Not sure then of the following.

Why containers updates graph stopped tracking shortly after most recent (second Prometheus update, see graph below).
Why data from Ouroboros  exporter appears to be missing some of the data listed from the wiki sample (thus my assumption it is not available for graphing)
Finally, my assumption is that Prometheus data that is being graphed by the dashboard is persistent (to whatever data retention policy may be set up somewhere (that I am not aware of) in Prometheus.
-If I understand what you are proposing you are just suggesting some sort of "default" value for data that's not present, not solution for missing/not displayed data right?

Thanks again for all the help!
--Tom

Please check that those panels that haven't populated are using the correct datasource, it's also worth looking a the query inspector in panel itself.

Why containers updates graph stopped tracking shortly after most recent (second Prometheus update, see graph below).

This could be because either prometheus wasn't ingesting data(could be disk utilization or network problems). Ouroboros could have been down. You could have duplicate timeseries depending on your configuration. Grafana won't display the result if more than one timeseries is return from the current prometheus query.

Why data from Ouroboros exporter appears to be missing some of the data listed from the wiki sample (thus my assumption it is not available for graphing)

Not all metrics will populate until updates are made. If ouroboros is restarted. It will lose the current metrics(by prometheus instrumentation design)

Finally, my assumption is that Prometheus data that is being graphed by the dashboard is persistent (to whatever data retention policy may be set up somewhere (that I am not aware of) in Prometheus.

Prometheus' default retention policy is 15 days unless overridden.

If I understand what you are proposing you are just suggesting some sort of "default" value for data that's not present, not solution for missing/not displayed data right?

Correct.

Thanks for the help and clarifications, most notably that restarts of
I adjusted my Prometheus retention policy to 30 days from the 15 default.
2 containers updated this morning and ALL values looks good in both Grapfana and from the raw exporter, but had two closing questions.

First, I still have no real understanding why container updates stopped graphing after the SECOND Prometheus update. Per data below, Prometheus update on 3/23 continued to accumulate data but the second update on 3/27 seems to coincide with the end of container updated graphing panel data. I can drop the matter if you say I must as things are working well just the engineer in me dosen't like not knowing why things are the way they are (even if the uncertainty works in my favor).

Second, You mentioned that if ouroboros restarts that some data is not exported until a container updates. This clearly seems to be part of my problem as in trying to trouble shoot over the past couple days I did restart each of the 3 containers (Prometheus, Ouroboros, Grafana). My question, is there any way to "prime" Ouroboros with data from either some persistent cache (if there is a volume I can mount), or from Prometheus as the data was being ingested previously so THEORETICALLY I'd like in a sense reverse the flow to SET Ouroboros values to the last recorded snapshot received (or if one were to generalize the solution, any previous timestamp/date). This would get around the problem of data resets on restart. Thanks!
Finally one last question the documentation mentioned a recommendation to set up reverse proxy to preserve connection to Prometheus when self update occurs if binding directly. I am binding through the unix port on the same host using -v /var/run/docker.sock:/var/run/docker.sock. Is this still something I need to be concerned about, and will doing such have any effect on my question above about data persistence across Ouroboros restarts.
Thanks again for all the help and your work on both Ouroboros and the Grafana dashboard. Ironically all this was all spawned by a simple desire for a persistent Ouroboros container update log, so perhaps I would add that as a change/feature request as I suspect others would appreciate the same rather then putting their own together out of notifications and/or Grafana (as great as the are).  👍
--Tom


Check for empty rows in experiment csv

Excel likes to add empty rows sometimes - could handle this more gracefully. This will result in an index error during import

fixed in 56ae09e


[BUG]Login page keeps requesting authentication api on proxy mode

Describe the bug

Login page on proxy mode will keep requesting /v1-public/authModes
Reason
The page will redirect to Login Page when /v1-public/authModes throwing 401 error.
But /v1-public/authModes will also be requested on Login Page.
So the bug will occurs, keeps redirecting, keeps requesting.
Environment:

Installation Mode: Rancher Catalog Apps

Validation Version
master-67244e23-head
When accessing the login page in proxy mode, there is no repeated request of /v1-public/authModes


General Clean Up

This PR provides a general clean up prior to me actually starting to write tests.

Fixes Flake8 Compliance Issues (auto generated files excluded via noqa comments)
Removes committed pycache directories
Updates Github Actions for more strict enforcement of the style guide
Removes nmcli from the codebase, this appears to be a duplicate of the upstream PyPi package nmcli, instead lets install via requirements when building the container image - https://pypi.org/project/nmcli/
Add bandit for security audit.

https://github.com/NebraLtd/hm-config/issues/33

NMCli was included seperately for that exact code change to fix a bug.
This will break it.

Can you elaborate on the bug? is this diff above?

NMCli was included seperately for that exact code change to fix a bug.
This will break it.

Can you elaborate on the bug? is this diff above?

It didn't work, the diff above fixed it and that's why I did it. Sorted
These changes will break the software.

We should pass the discussed above as an environment variable in the Docker container...
nmcli wraps Python sub process and as demonstrated below the sub processes inherit the environment variables from the parent...
robe8437@Roberts-MacBook-Pro hm-config % export LANG=C
robe8437@Roberts-MacBook-Pro hm-config % env | grep LANG
LANG=C
robe8437@Roberts-MacBook-Pro hm-config % python3
Python 3.9.4 (default, Apr  5 2021, 01:50:46)
[Clang 12.0.0 (clang-1<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from subprocess import CalledProcessError, run
>>> run('env')
TERM_PROGRAM=Apple_Terminal
SHELL=/bin/zsh
TERM=xterm-256color
TMPDIR=/var/folders/yh/mm13v7f127sdz7qz_9blsmlr0000gn/T/
TERM_PROGRAM_VERSION=440
TERM_SESSION_ID=91CDE78A-FE47-4F9C-ADC3-C5590C137809
USER=robe8437
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.dP60FIWkUu/Listeners
PATH=/Users/robe8437/.nvm/versions/node/v12.22.1/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
__CFBundleIdentifier=com.apple.Terminal
PWD=/Users/robe8437/Workspace/Projects/hm-config
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
SHLVL=1
HOME=/Users/robe8437
LOGNAME=robe8437
OLDPWD=/Users/robe8437/Workspace/Projects/hm-config
NVM_DIR=/Users/robe8437/.nvm
NVM_CD_FLAGS=-q
NVM_BIN=/Users/robe8437/.nvm/versions/node/v12.22.1/bin
NVM_INC=/Users/robe8437/.nvm/versions/node/v12.22.1/include/node
LANG=C
_=/usr/local/bin/python3
__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x2
LC_CTYPE=UTF-8
LINES=74
COLUMNS=165
CompletedProcess(args='env', returncode=0)
>>>

I will update the Dockerfile accordingly.

LGTM @robputt. Can you also post the Python shell snippet you posted to me before in a comment here for future references?

See https://github.com/NebraLtd/hm-config/pull/34#issuecomment-867015939

@ryanteck - The changes above to set the environment variable should alleviate the issue without having to duplicate the nmcli package. I validated that the subprocesses also inherit the environment as seen here https://github.com/NebraLtd/hm-config/pull/34#issuecomment-867015939
Best Regards,
Rob

I'm sorry but I'm not reviewing any new code and accepting PRs. This would be down to @vpetersson to test and merge.

Given that you still have the test hardware in your possession, nobody else can test it. Besides, as you have discussed with @shawaj, you will help with the hand over.

I'm sorry but I'm not reviewing any new code and accepting PRs. This would be down to @vpetersson to test and merge.

@ryanteck please can you help with this? We really need to ensure a smooth handover.

I cannot gaurantee the validty of any new code and I do not feel that I am able to certify any new code which is not my responisiblity now.
This process was requested by @vpetersson so he has assumed responsibility for maintaining this code and therefore should organise the process to test it from now on.

should organise the process to test it from now on.

And I've requested that you test it on the test devices you have available to you. So would appreciate if you could do that.
We are a team, we work together. You are still part of the team currently.


Crashed with index out of bounds error

thread 36851 panic: index out of bounds: index<PHONE_NUMBER>3709551612, len 128
.../.cache/zig/p/12207952d04b655ac7c3b4086d022ee8d963cdbc4aee94b7b7e15e22ef82b2d4e317/src/worker.zig:895:33: 0x114f781 in wait
            .events = event_list[0..event_count],
                                ^
.../.cache/zig/p/12207952d04b655ac7c3b4086d022ee8d963cdbc4aee94b7b7e15e22ef82b2d4e317/src/worker.zig:117:40: 0x1131df9 in run
                var it = self.loop.wait(timeout) catch |err| {
                                       ^
.../zig-linux-x86_64-0.14.0-dev.244+0d79aa017/lib/std/Thread.zig:409:13: 0x110d823 in callFn__anon_12713
            @call(.auto, f, args);
            ^
.../zig-linux-x86_64-0.14.0-dev.244+0d79aa017/lib/std/Thread.zig:678:30: 0x10bd672 in entryFn
                return callFn(f, args_ptr.*);
                             ^
???:?:?: 0x7f6658fe2dec in ??? (libc.so.6)
Unwind information for `libc.so.6:0x7f6658fe2dec` was not available, trace may be incomplete

???:?:?: 0x7f66590660db in ??? (libc.so.6)

Sad. Sorry.
Can I know the OS and Zig version. Are there any special / reliable steps to reproduce it?
That slice length is coming from the result of an epoll_pwait2 call.  That value looks like an -4 being cast to a u64, which suggest EINTR, but I don't see how that's coming out of the block.

I'm still not sure what's going on, but I tried to simplify the relevant code, depending only/directly on Zig's epoll_wait wrapper.

No need to sorry! Thanks for this awesome library!
I was using zig-linux-x86_64-0.14.0-dev.244+0d79aa017 on archlinux and the error came out after I started the server, went away from the keyboard for minutes (so the compute went to sleep) and woke up the compute.
It's not easy to reproduce by let me try with the patch and get back to you.

Looks like the issue is fixed by https://github.com/karlseguin/http.zig/commit/7318f6f6a09df1a73532243c920ff5cafb03b2e0. Thanks!


Use gmavenplus-plugin?

Hi
seem gmaven is dead (latest release published 20 Sep 2013 )
can you replace with org.codehaus.gmavenplus:gmavenplus-plugin:1.5 ( published 9 Mar 2015 )?
i added this code to the pom file, and seem work
<executions>
  <execution>
    <id>create-agent-jar</id>
    <phase>process-classes</phase>
    <goals>
      <goal>execute</goal>
    </goals>
  </execution>
</executions>
<configuration>
  <scripts>
    <script><![CDATA[
      def jarFile = new File(project.build.directory, "/classes/org/ehcache/sizeof/impl/sizeof-agent.jar");
      def agentClass = "/org/ehcache/sizeof/impl/SizeOfAgent.class"
      def agentDir = project.build.directory + "/agent-jar"
      def manifestDir = project.basedir.getAbsolutePath() + "/src/hidden/resources";
      ant.move(file: new File(project.build.outputDirectory, agentClass),
      tofile: new File(agentDir, agentClass))

      ant.jar(destfile: jarFile, basedir: new File(agentDir).getAbsolutePath(), manifest: new File(manifestDir, "/META-INF/MANIFEST.MF"))

      ant.delete(dir: new File(agentDir))
    ]]></script>
  </scripts>
</configuration>
<dependencies>
  <dependency>
    <groupId>org.codehaus.groovy</groupId>
    <artifactId>groovy-all</artifactId>
    <version>2.4.4</version>
    <scope>runtime</scope>
  </dependency>
</dependencies>

Thanks in advance for every suggestions
Regards

This test fails
Running org.ehcache.sizeof.SizeOfTest
Could not detect compressed-oops status assuming: false
May 02, 2016 9:02:35 PM org.ehcache.sizeof.impl.JvmInformation <clinit>
INFO: Detected JVM data model settings of: 32-Bit OpenJDK JVM
java.vm.name:   OpenJDK Server VM
java.vm.vendor: Oracle Corporation
May 02, 2016 9:02:35 PM org.ehcache.sizeof.impl.AgentLoader$1 run
INFO: Located valid 'tools.jar' at '/usr/lib/jvm/java-1.8.0-openjdk-<IP_ADDRESS>-2.b14.fc23.i386/jre/../lib/tools.jar'
May 02, 2016 9:02:35 PM org.ehcache.sizeof.impl.AgentLoader loadAgent
INFO: Trying to load agent @ /home/gil/rpmbuild/BUILD/sizeof-0.3.0/target/classes/org/ehcache/sizeof/impl/sizeof-agent.jar
May 02, 2016 9:02:35 PM org.ehcache.sizeof.impl.AgentLoader loadAgent
INFO: Agent successfully loaded and available!
JVM identified as: OPENJDK_32_BIT
Run # 1: Deviation of -0.429%
5784808 bytes are actually being used, while we believe 5760000 are
Run # 2: Deviation of -0.000%
5760000 bytes are actually being used, while we believe 5760000 are
Run # 3: Deviation of -0.000%
5760000 bytes are actually being used, while we believe 5760000 are
Two perfect matches, that's good enough... bye y'all!
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.257 sec <<< FAILURE! - in org.ehcache.sizeof.SizeOfTest
testSizeOf(org.ehcache.sizeof.SizeOfTest)  Time elapsed: 0.041 sec  <<< FAILURE!
java.lang.AssertionError:
java.lang.AssertionError: deepSizeOf(new ReentrantReadWriteLock())
Expected: is null
     but: was <112L>

        at org.ehcache.sizeof.SizeOfTest.testSizeOf(SizeOfTest.java:113)

Regarding the test failures, they simply haven't been adapted to run on any JDK version above 1.7. I've opened #45 to add support for more recent JDKs.
Regarding the gmaven plugin, since what we use it for is pretty limited and simple I'm not sure it's worth upgrading. But we'll consider that for the next release.
Thanks!


clean session flag support?

Is this flag supported? I could connect to a broker with RETAIN MSG support but only receiving latest message. I would like to get all the queued messages..
Thanks

Supported!


chore(readme): Reference docker image for GH actions

Github documentation recommends using the previous flow for security reasons, so I’m not sure if this should be changed. Although the whole section is redundant as the action page provides it anyways.

Oh... I see... personally I'd rather have a noticeably faster solution, as most of the people probably is already using many third party docker images, or dependencies. I don't think this is much more insecure tbh
But of course, up to you 🙂


plz add phone auth............

I'll see if this is really necessary, to be honest I was thinking about removing the email button so let me see what I can do for this.
Thanks.

thanks for nice package , email button is important please can you leave .
is it possible  yo add signIn with ID button ?

@Joseph-Nathan Thanks for using my package!
Look I'm able to include any type of button, but that will be so expensive for me in terms of maintainability and it'll be expensive in term of size for who does not use them.
So I had thinked about this and I offered CustomAuthButton  in order to maintain the same idea but apply it on your own button.

Thanks my bro .


Pagination query builder code inconsistency with relations pagination

Laravel Version: 8.40.*
PHP Version: 7.4.8
Database Driver & Version: MySQL 10.4.13-MariaDB

Description:
I could notice inconsistency with how the pagination selection works when using relations compared to the normal eloquent access.
When using the pagination method of any of our models while specifying the columns to select using the select method it's going to only get these columns.
When using the pagination method of a relation (BelongsToMany in my example) while specifying the columns to select using the select method, it's going to get these columns in addition to * or simply all the columns of the related table every time.
Steps To Reproduce:

Define a BelongsToMany relation between two models, for example a  many to many relation between users and roles.
Let's say the role would have this attributes:

id, name, created_at, updated_at

Use this code to get the roles ids and names that contains the letter a paginated created:

Role::where('name', 'like', '%a%')->select(['id', 'names'])->paginate()

The following code is supposed get the roles only ids and names that are assigned for the user with id=1 paginated, but in action it's going to get all the roles attributes including created_at, and updated_at columns.

User::find(1)->roles()->select(['id', 'names'])->paginate()

Commenting out this line would make it works as expected.

I could make it works on my side by specifying the columns I need to the paginate method
User::find(1)->roles()->paginate(null, ['id', 'names'])

Same "bug" I just noticed in my application, but only when using it on relation defined by hasManyThrough, while hasMany works just fine with select()->paginate().
For example:
// items is relation on model2 using hasMany
$model2->items()->select('foo', 'bar')->paginate(10); // Select works, we get only foo and bar columns
// items is relation on model1 using hasManyThrough
$model1->items()->select('foo', 'bar')->paginate(10); // Ignores select and it gets all columns
// Select columns via pagiante method
$model1->items()->paginate(10, ['foo', 'bar']); // Now it works, but code layout is different, which could confuse new developers
Provided solution works, but why paginate method ignores select() in some cases, and in some cases it just works? It's an inconsistent behaviour imo.
Closing an issue and saying "use it like this, and not like this" is not solution. It's jumping over the problem and also, in the end, gets you code that doesn't look the same throughout the application.


Man page fix

O timer version 1.3.0, on man page need a little fix:
On description options have 2 dash (--) on -f and -n.
Im just a user and i dont know how contribute on code

should be fixed in latest, thanks for reporting


Choosing command prompt pop up a new window

Environment
Windows build number: 10.0.19042.0
Windows Terminal version (if applicable): 1.4.3243.0

Any other software?
The workstation is managed by intune with default win 10 security baseline
My account is tenant admin and by extension local admin of the workstation

Steps to reproduce
Install windows terminal and launch it.
Select in the tab dropdown "Command Prompt"
the cmd pop up a a separate cmd window (not integrated as a tab)

Expected behavior
We expect the cmd to be created as a tab in the windows terminal app

Actual behavior
The cmd is created as an external, separate window

Fascinating. I don't think I've heard of anything like that before.
Does the same thing happen with powershell? Or only cmd.exe?

Fascinating. I don't think I've heard of anything like that before.
Does the same thing happen with powershell? Or only cmd.exe?

Only cmd.
Powershell or wsl is oppening a new tab as expected.
However, I just tested and the same thing happened in a standard standalone powershell windows if I run cmd.

Only cmd.
Powershell or wsl is oppening a new tab as expected.
However, I just tested and the same thing happened in a standard standalone powershell windows if I run cmd.

Fascinating. That raises more questions. Could you share the output of where cmd (from any command prompt)? Do you have anything installed that might be hooking cmd.exe? Maybe something like yori, cmder, clink, conemu?

Fascinating. That raises more questions. Could you share the output of where cmd (from any command prompt)? Do you have anything installed that might be hooking cmd.exe? Maybe something like yori, cmder, clink, conemu?

In addition to answering that, would you mind running...
reg query "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cmd.exe"

In addition to answering that, would you mind running...
reg query "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cmd.exe"

I think i have tracked donw the source. It seem to be the local admin access solution that we use (Admin By Request) that was causing the behavior (once remove, cmd operate as expected)
It was futher proven by @DHowett command :
C:\Windows\system32>reg query "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cmd.exe"

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cmd.exe
    VirtualizerType    REG_SZ    1
    Debugger    REG_SZ    "C:\Program Files (x86)\FastTrack Software\Admin By Request\AdminByRequest.exe" /Block

We will contact them to know if the behavior is expected and if so if they can do anything about it.

I think i have tracked donw the source. It seem to be the local admin access solution that we use (Admin By Request) that was causing the behavior (once remove, cmd operate as expected)
It was futher proven by @DHowett command :
C:\Windows\system32>reg query "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cmd.exe"

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cmd.exe
    VirtualizerType    REG_SZ    1
    Debugger    REG_SZ    "C:\Program Files (x86)\FastTrack Software\Admin By Request\AdminByRequest.exe" /Block

We will contact them to know if the behavior is expected and if so if they can do anything about it.

Ah good to know. Thanks for following up!

Ah good to know. Thanks for following up!


improvement Analyze partition columns when new partition loaded data for the first time. (#29154)

The first time load data to a partition, we need to analyze the partition columns even when the health rate is high. Because if not, the min max value of the column may not include the new partition values, which may cause bad plan.
backport https://github.com/apache/doris/pull/29154
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


check pseudo-Rsquared

getting negative values for R-squared.
this is possible for some, but not all of them.
check this out.

mcfadden adjusted can be negative.
the others should never have negative values.
having trouble replicating

able to replicate!
Using a LinearGam with data with a very small variance, the model likelihood becomes very large, leading to positive loglikelihoods where the learned model has greater magnitude than the null model.
this produces negative mcfadden and adjusted mcfadden, and zero naglkerke.
the cox and snell doesnt this problem.
cox-snell and nagelkerke work on the assumption that R^2 is a ratio of explained variance.
cox-snell appears to still be valid, but nagelkerke seems to be only for logistic regression.
going to keep 'ratio of explained deviance' that wood uses in the book. this has a direct analogy to ratio of RSS. as well as cox-snell


pip-sync should respect pip-compile's output_file configuration

Expected result
pyproject.toml
[tool.pip-tools]
src_files = ["requirements.in", "dev-requirements.in"]
output_file = "requirements-lock.txt"

pip-sync syncs from requirements-lock.txt
Actual result
looks for requirements.txt

Steps to replicate

use undocumented configuration src_files, and configuration output_file
pip-compile
pip-sync

Proposed Solution
respect the output file
Alternative Considerations
add a pip-sync option
Environment Versions
OS Type
WSL2 Debian 12
Python version: $ python -V
3.10.14
pip version: $ pip --version
23.0.1
pip-tools version: $ pip-compile --version
7.4.1

screw it, requirements.txt it is


Some useful Pin wrappers

This is currently not intended to get merged - at least not as is.
That's why it's not targeting the esp-hal repo
Basically, this adds a new module wrappers which contains wrappers and helpers for GPIO pins.
InterconnectPin

is a wrapper for Input + Output pins
can be used to connect one peripheral output to (multiple) peripheral inputs
might be useful for on-device / HIL tests
not sure how useful this is for regular users

e.g. the spi_loopback_dma example could be changed like this
let io = IO::new(peripherals.GPIO, peripherals.IO_MUX);
    let sclk = io.pins.gpio6;
    let miso = io.pins.gpio2;
    let cs = io.pins.gpio10;

    let dma = Gdma::new(peripherals.DMA, &mut system.peripheral_clock_control);
    let dma_channel = dma.channel0;

    let mut descriptors = [0u32; 8 * 3];
    let mut rx_descriptors = [0u32; 8 * 3];

    let mosi_miso_interconnect_pin = InterconnectPin::new(miso);

    let mut spi = Spi::new(
        peripherals.SPI2,
        sclk,
        mosi_miso_interconnect_pin.get_output().unwrap(),
        mosi_miso_interconnect_pin.get_input(),
        cs,
        100u32.kHz(),
        SpiMode::Mode0,
        &mut system.peripheral_clock_control,
        &clocks,
    )
    .with_dma(dma_channel.configure(
        false,
        &mut descriptors,
        &mut rx_descriptors,
        DmaPriority::Priority0,
    ));

Then MISO reads MOSI without physically connecting the pins.
VirtualInputPin

doesn't wrap an existing pin
can be used to programmatically set a peripheral input to low / high
might be useful for on-device / HIL tests
might be useful for regular users

e.g. the spi_loopback_dma example could be changed like this
...
    let virtual_miso = VirtualInputPin::new();

    let mut spi = Spi::new(
        peripherals.SPI2,
        sclk,
        mosi,
        virtual_miso.input(),
        cs,
        100u32.kHz(),
        SpiMode::Mode0,
        &mut system.peripheral_clock_control,
        &clocks,
    )
    .with_dma(dma_channel.configure(
        false,
        &mut descriptors,
        &mut rx_descriptors,
        DmaPriority::Priority0,
    ));

    let mut delay = Delay::new(&clocks);

    // DMA buffer require a static life-time
    let mut send = buffer1();
    let mut receive = buffer2();
    let mut i = 0;

    for (i, v) in send.iter_mut().enumerate() {
        *v = (i % 255) as u8;
    }

    loop {
        send[0] = i;
        send[send.len() - 1] = i;
        i = i.wrapping_add(1);

        let transfer = spi.dma_transfer(send, receive).unwrap();

        for _ in 0..2000 {
            virtual_miso.set_high();
            virtual_miso.set_low();
        }
...

This will make it read MISO from a toggling virtual pin. Probably not a very good example since it's pretty much impossible to match SCLK but for other things it might be more useful (e.g. controlling an enable pin)
InvertedOutputPin

is a wrapper for OutputPin
can be used to invert the output level of a peripheral output mapped to GPIO
might not be too useful for HIL testing
might be useful for regular users ... at least there is a feature request in esp-hal

e.g. the spi_loopback_dma example could be changed like this
...
    let cs = io.pins.gpio10;
    let cs = InvertedOutputPin::new(cs);
...

This will invert the output of the CS pin.
Unfortunately, it's quite a lot of code. But at least it's living in its own module could be moved out of gpio.rs.

InterconnectPin is immediately useful for users for bidirectional open-drain stuff like 1-wire, where we want to configure the RMT peripheral output side to an open-drain pin and read it back with the input side on the same pin.
I suspect there's a neat trick to get a no-hardware logic probe on another peripheral's output for debugging, as well.


Can you provide a detailed document？

Description
I am not very clear about the available options for APIs and configuration items
Full steps to reproduce the issue
I want to set the value of a parameter, but I'm not sure what allowed content is
Issue Type
Documentation Request
Operating System
Mac OS
Do you use Docker?
None

Thats where typescripts come to help, your IDE should be cleaver enough to show you what options available to use.


DCTAuthAccount.h not found

I've followed the readme. I did all the steps, except for the last one (Adding URL schemes). But I believe url scheme isn't the problem here.
I went ahead and try to compile and run my project, but I got a compile error saying DCTAuthAccount.h is not found. I googled it and found this post in https://github.com/fullstackreact/FirestackApp/issues/6
Then, I added this line somewhere in ios/Podfile, and re-run pod install
pod 'DCTAuth', :git => 'https://github.com/danielctull/DCTAuth.git'
I thought it fixed the issue, but I got another error, saying React/RCTDefines.h not found

I have no idea what's going on here.
Can anyone help me?
Kenji

I've overcome the issue by adding "${SRCROOT}/../../../ios/Pods/Headers" in OAuthManager's project header search path.
Should someone merge it to the main repo?


Chartist error when given an empty dataset

When given a dataset with 0's, I get an error:
Uncaught TypeError: Cannot read property 'units' of undefined chartist.min.js:7

With this code:
var data = {
  series: ['Test point', 'Another test point']
  labels: [[0, 0]]
};

Your data object is wrong. Series should contain arrays of arrays.
var data = {
  series: [[0, 0]]
  labels: ['Test point', 'Another test point']
};

Please check the examples in the API documentation on how to fill the data object.

@gionkunz, sorry about that. I have a lot more data and I was just keeping it brief and I missed the wrapping array. I didn't get this error with 0.6.1, so it's something new in 0.7.0.

Can you post a full example that reproduces the issue?

This works for me:
http://jsbin.com/xikuta/1/edit?js,console,output
Please post the full code that causes this issue.
Cheers

Hi this was infact a bug in 0.7.0 which makes the release useless :-/ Ive published 0.7.1. Cheers

Thanks!


dep ensure deletes the vendored packages not in gopkg.toml

I have a c library that I link with my go app. Source of this library is vendored in ./vendor directory along with other go dependencies (managed by dep). When I run dep ensure however, it seems to delete the c lib directory in ./vendor. Is there any way that I can instruct dep to keep everything that's not tracked by gopkg.toml intact?

I'm not sure I get the issue, so I'll ask some questions to understand better:

Is the c code vendored by dep? Or did you add it manually?
What are the prune options defined in Gopkg.toml?

dep assumes that it owns vendor/ and will delete it when it needs to change any dependencies. If you want to add any packages and control them, use something else besides vendor/

c code is not vendored by dep.
I haven't specified prune option. So it should be the default.

I'm using a custom script to vendor c code because it uses git submodules and complicates things a bit on my end. It would be great if I could tell dep to avoid touching certain directories in vendor.

This can also be noticed with:
https://github.com/go-goracle/goracle

@buddyspike Hey buddy, Did you find any solutions to keep your own package?

Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!


[secret-maryo-chronicles] v1.9

[ ] brew cask audit --download {{cask_file}} is error-free.
[ ] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.
[x] Named the cask according to the [token reference].
[ ] brew cask install {{cask_file}} worked successfully.
[ ] brew cask uninstall {{cask_file}} worked successfully.
[x] Checked there are no open pull requests for the same cask.
[x] Checked the cask was not already refused in closed issues.
[x] Checked the cask is submitted to [the correct repo].

Closing in favour of https://github.com/caskroom/homebrew-cask/pull/39936


@sveltejs/package Allow disabling the default behavior of copying package.json to the output directory when packaging a Svelte library

Describe the problem
For context, I'm building a cross-framework component library so I've set up a standard package structure for each framework in my monorepo with npm workspaces.
I'm using Vite with @sveltejs/package to develop and build my components. However, @sveltejs/package breaks my toolchain because it creates a copy of package.json in my dist folder.
npm workspaces picks up both the original package.json and dist/package.json, causing other dependent packages to break due to the duplication.
Describe the proposed solution
I rather keep my project structure and manage a single copy of package.json manually, so I'd like an option to disable the copy behavior.
This should ideally be added to svelte.config.js as a copyPackageJson option.
Alternatives considered
I've tried running a script to delete dist/package.json manually after each build, but this frequently breaks when Nx builds multiple packages concurrently due to the race condition.
Importance
would make my life easier
Additional Information
No response

Just to add another scenario for monorepos- our SK lib requires entries in the "exports" field of the dev version of package.json that point into /src/lib/xyz.  svelte-package keeps these incorrect dev specific entries when it goes to make the published version with it's own generated "exports" entries and this results in a broken published package.
To work around this, we remove the "exports" field, let svelte-package do its thing and then re-insert those entries after the packaging.
Here is a repro https://github.com/niktek/minimono
in root, run:
pnpm i
pnpm dev

If you delete the "exports" key from /packages/skeleton/package.json it will crash the newsite project.  And you can see the script workarounds being employed in that same file.  If you do a raw sveltekit-package you will see those dev "exports" be carried over into the public package folder that will then result in a broken package being published.

Quick bump on the PR to merge a fix for this issue:
https://github.com/sveltejs/kit/pull/6864


⚠ Bofrost.lu has degraded performance

In 4f0fad5, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2052 ms

Resolved: Bofrost.lu performance has improved in f1c2ccc after 15 minutes.


Throw Toast from controller

Hi !
I would like to know if there is some way to throw a toast from a controller ?
In Materialize CSS documentation, they said that we must use this function:
Materialize.toast('I am a toast!', 4000)
But in my controller, "Materialize" doesn't exists.

Are you sure you've included Materialize.js
Because the way the toast directive works, is that it calls Materialize.toast(...)
So you should also be able to just call Materialize.toast(...)

Yes I have included materialize.js:
<script src="bower_components/materialize/bin/materialize.js"></script>
<script src="bower_components/angular-materialize/src/angular-materialize.js"></script>

Then I don't know what is happening, but I still think it is some setup on your end, because I can run Materialize.toast('I am a toast!', 4000) just fine on http://krescruz.github.io/angular-materialize/. (Just open the console and type it in).
This means that we cannot help you any further unless you provide more information, preferably in the form of a link to a page where the issue is present (you can just use JSFiddle or similar).

I consider this issue done closed, the functionality works just fine on the demo page.


Issue with Bitmap fonts and accented characters

Note: This is a port from issue 2940. I tested as suggested with the latest release of Phaser CE, which did not fix this issue.
Issue: A bug in the rendering of accented characters of a Bitmap font
Phaser version: 2.7.7
Demo: https://github.com/jansensan/test-phaser-bitmap-font/tree/phaser-ce
There is an issue with certain punctuation characters and accented characters when using Bitmap font:

As demonstrated from the image above, many characters are not rendered properly:

Punctuation: ×÷±–…“”‘’
Accented A's: àáâäåãāæ ÀÁÂÄÅÃĀÆ
Accented E's: èéêëėęē ÈÉÊËĖĘĒ
Accented I's: ìíîï ÌÍÎÏ
Accented O's: òóôöøõōœ ÒÓÔÖØÕŌŒ
Accented U's: ùúûüū ÙÚÛÜŪ
Accented Y's and C's: ÿŸ çÇ

While it is not a guarantee against human error, I have spent a lot of time to ensure this issue does not stem from my code.

Ensured the font data XML is set to UTF-8
Wrapped offending characters in <!CDATA[[]]>
Tested the mapping of each characters

This leads me to believe the issue is with the rendering of the characters in the library. However, is it because:

Accented characters are simply not supported?
There is a specific way to declare accented characters to display them in Bitmap font?
An actual omission in the library surrounding those characters?
Magic?

Thanks for any help you can provide.

Here's a comparison using String.fromCharCode:

@samme Thanks for posting this. Originally, I thought it was ridiculous to consider using String. fromCharCode, as it would be overcomplicated to always split dialogs and other strings into each characters.
However, your image showed some of the characters I couldn't (albeit with some minor visual issues), so I thought there was another way. I tried String. fromCharCode and still got an issue, but when I console.log the string, the same issue was present.
So it turns out there were two issues:

minor mis-mapping of characters and their position in the PNG
the HTML document was missing  <meta charset="UTF-8">

This issue can be closed, as it was actually an error 18. Thanks for taking the time to look into it.


Cannot read property 'complete' of undefined

If you don't provide options to Prismic.api, you got Cannot read property 'complete' of undefined

It's fixed in 1.0.4 @bulby97 thanks for your feedback!


Get-DbaServerprotocol use DbaCmObject

Type of Change

[ ] Bug fix (non-breaking change, fixes #)
[x] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Pester test is included

Purpose

Reuse functionality of Get-DbaCmObject
use messaging standard
improve speed

Approach

replace Get-CimInstance with Get-DbaCmObject
replace Write-Verbose with Write-Message

Commands to test

Screenshots

Learning

@PowerDBAKlaas - I wrote a Test for this command that passes 👍 But I don't like the output from the new Cm commands and would like to get that addressed prior to merging.
@FriedrichWeinmann - I submitted a PR to remove the exclamation point but will probably need to up the library's version #1884. Either way, the command works, but it complains, seemingly unnecessarily

Will wait to merge with the other one

If you don't like the output of Get-DbaCmObject then it should be addressed in that command. But what output are you talking about?

Could not find valid protocol warning at the top that comes from the cm command

If you issue that same command with Verbose and post that output?

The stop function in that line show set to continue so yeah the phrase in that message is inaccurate.

Well now ... that's mightily odd. Looks like I seriously need some quality time with Get-DbaCmObject, both for the performance issue, as well as this. Obviously, throwing an exception and returning the requested information is a bit contradictory.
Looking into it.

merging to prevent future conflicts. a release or two with slower commands is less headache 🙉


Artifacts when exporting

Before I go ahead, I am not entirely sure if this is a fault of gltfjsx's. Although I thought I would report it just incase.
After exporting my object and rendering it I notice some grey lines appearing at the top of the model. You can see a darker artifact in the screenshot below running below the time 9.41 and it gets thinner as it goes from left to right. There's also a lighter part above it, going through the time. I have played around with a lot of the material options from threejs, although this kind of texture work is still new to me so I wasn't able to work it out.
I used this to generate the jsx:
gltfjsx iphone.glb iphone.js --compress
And the artifact:

The source model looks fine, and I checked that all the vertices align correctly on the same Z axis (it was a lot of labour lol).

And the source image:

My scene is very simple:
export const Phone = () => (
  <Canvas
    css={{
      top: 0,
      left: 0,
      width: `100%`,
      height: `100%`
    }}
    pixelRatio={devicePixelRatio}
  >
    <ambientLight intensity={0.68} />
    <pointLight position={[600, 600, 600]} intensity={0.475} />
    <Suspense
      fallback={
        <Dom>
          <div>
            Loading..
          </div>
        </Dom>
      }
    >
      <Model />
    </Suspense>
  </Canvas>
);

And my model looks like this: https://gist.github.com/bitttttten/95e792f046472dac880183af1fdfa0ee
Am I missing something? I am not sure what is causing the artifacts.
I am happy to supply more details like models, etc.!

gltfjsx doesn't change or modify the data. it just structures it a bit with short access jsx, but the actual buffergeom comes directly from THREE.GLTFLoader. you can doublecheck by rendering:
const gltf = useLoader(GLTFLoader, url)
return <primitive object={gltf.scene} dispose={null} />

which simply puts the scene into the graph without touching it. that should give you the same glitches. it's probably related to compression, or there is still some topology problem.
this for instance to me looks like an artifact:

Yeah, I see those artifacts in Blender but they look different the ones in the browser. I was a bit confused about how they related to each other, if they did at all, as I don't have much experience with 3d models, blender, gltf.
Okay with <primitive> I get similar artifacts so it is not gltfjsx.

Happy to close this issue then since it's not related :)

i believe what you see in blender is unrelated because the model is still going to get triangulated in gltf. in blender you have quads and ngons. maybe try triangulating in blender yourself: edit mode, sel all, face > triangulate

ahh thanks for the tip regarding triangulate. i noticed one of the vertixes was sticking out, although it didn't seem to fix my problem.
i noticed that the sharp edges were a bit inconsistent, and after playing around with them it seems to be related.
with every edge marked as sharp:

with no smart edges:

both have artifacts of their own so it's not a finished solution but i'll keep digging and let you know if i solve it :)


Fix annotation typo error

Fix typo in tar.go at line 52.

LGTM

Codecov Report

Merging #2882 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2882   +/-   ##
=======================================
  Coverage   43.89%   43.89%
=======================================
  Files         101      101
  Lines       10800    10800
=======================================
  Hits         4741     4741
  Misses       5328     5328
  Partials      731      731

Flag
Coverage Δ

#linux
47.5% <ø> (ø)
:arrow_up:

#windows
41.07% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Fix Release scripts

since the migration of Makefile to CMake lots of release scripts are broken:
So we need to Fix them and if possible get rid of Make and use a CMake based build
Todo List (Blocking point):

[x] SAT failure: waiting Googler support on Monday
[x] linearization_level parameter doesn't work

Check list
tools/doc:

Notebook: DONE
Python: DONE #3155
Doxygen: DONE

Candidate: 10497
tools/release:

Unix deliveries  "Manylinux" (Centos-7 based):

[x] .Net runtime package DONE
[x] Java runtime package DONE: (since the move to a CMake based build GPG_ARGS stuff need some refactor)

MacOS deliveries:

[x] .Net package DONE
[x] Java package DONE
[x] Archive packages DONE
[x] Python [3.6, 3.10] packages DONE (need to update virtualvenv package)

Windows:

[x] .Net package DONE
[x] Java package DONE
[x] Archive packages DONE
[x] Python [3.6, 3.7, 3.8, 3.9, 3.10] packages DONE

tools/docker:

Python:

[x] Python [3.6, 3.7, 3.8, 3.9, 3.10] Manylinux amd64 wheel DONE
[x] Python [3.6, 3.7, 3.8, 3.9, 3.10] Manylinux aarch64 wheel NOT TESTED

Archives:

[x] alpine-edge DONE
[x] centos-7 LTS DONE
[x] centos-8 (Stream 8) DONE (https://github.com/dotnet/docs/issues/28438)
[x] debian-10 Buster FAIL (drop support, no gcc 10+ available)
[x] debian-11 Bulleyes DONE
[x] fedora-33 DONE
[x] fedora-34 DONE
[x] fedora-35 DONE (**/!\ dns issue on gLinux /!**)
[x] opensuse-leap DONE
[x] ubuntu-16.04 LTS FAIL (drop support, no gcc 10+ available)
[x] ubuntu-18.04 LTS DONE
[x] ubuntu-20.04 LTS DONE
[x] ubuntu-21.10 Rolling DONE

graph TD
A-->B
B-->C
C-->A


[BUG] Socket IO not working with TSED

Information
I am not able to make SocketIO plugin work with TSED. Something strange is happening.
Here are my socket.io configurations
{
        path: "/myfii-channel",
        cors: { origin: "*" },
        adapter: createAdapter(pubClient, subClient),
        serveClient: false,
        httpCompression: true,
        allowUpgrades: true,
        transports: ["websocket", "polling"],
        maxHttpBufferSize: 1000000,
        perMessageDeflate: {
            threshold: 2048,
            zlibDeflateOptions: {
                chunkSize: 8 * 1024
            },
            zlibInflateOptions: {
                windowBits: 14,
                memLevel: 7
            },
            clientNoContextTakeover: true,
            serverNoContextTakeover: true,
            serverMaxWindowBits: 10,
            concurrencyLimit: 10
        }
    }

Version: 6.x
Packages:
"socket.io": "^4.5.2",
"tsed": 6.132.0

A few sentences describing the overall goals of the issue.
Example
Here is the code for my SocketService implementation:
import {
IO,
Nsp,
Socket,
SocketService,
SocketUseBefore,
SocketUseAfter,
Emit,
Input,
Args,
Namespace
} from "@tsed/socketio";
import * as SocketIO from "socket.io";
// import { codeToMessage } from "../helpers/responseMessages";
// import { INVALID_IDENTITY } from "../helpers/responseMessages";
import { UseBeforeSocketMiddleware, ErrorHandlerSocketMiddleware } from "../middlewares/UserAuthMiddleware";

@socketservice("/user")
export class UserDataSocketService {
@nsp nsp: SocketIO.Namespace;

public clients: Map<string, SocketIO.Socket> = new Map();

constructor(@IO private io: SocketIO.Server) {}

$onConnection(@Socket socket: SocketIO.Socket) {
    console.log("111111111");
    socket.emit("hello", "murad");
    // const identityId = socket.handshake.query.identityId as string;
    // if (!identityId) socket.emit("error", { message: codeToMessage[MISSING_IDENTITY] });
    // this.identityService
    //     .findByIdentityId(identityId)
    //     .then(() => {
    //         this.clients.set(identityId, socket);
    //         console.log("=====   CONNECTED A CLIENT   =====");
    //         console.log(`===== SOCKET ID ${socket.id} =====`);
    //         socket.emit("Hello There!");
    //     })
    //     .catch(() => {
    //         socket.emit("error", { message: codeToMessage[INVALID_IDENTITY] });
    //     });
}

$onDisconnect(@Socket socket: SocketIO.Socket) {
    socket.emit("disconnect", "Bye Bye!");
}

@Input("hello")
@Emit("world")
@SocketUseBefore(UseBeforeSocketMiddleware)
@SocketUseAfter(ErrorHandlerSocketMiddleware)
myMethod(@Args(0) userName: string, @Socket socket: Socket, @Namespace nsp: Namespace) {
    console.log(userName, nsp.name);
    socket.emit("world", "murad");
}

public async emitAuthorizationRequest(identityId: string) {
    const socket = this.clients.get(identityId);
    if (!socket) return;
    socket.emit("authorizationRequest", { user: "murad" });
}
}

Here is my client:
<script>
        const socket = io("ws://localhost:4000", { path: "/myfii-channel/user" });
        console.log("check 1", socket.connected);
        socket.on("connect", () => {
            console.log("connected to server");
            socket.emit("hello", "world");
            console.log("check 1", socket.connected);
        });

        socket.on("world", () => {
            console.log("hello event received");
        });

        // handle the event sent with socket.send()
        socket.on("disconnect", (data) => {
            console.log("disconnected");
        });
    </script>

NOTE: It seems to be connected with the sequential logs I added inside my client and but no event is received, emitted from either side. Only the onNamespaceInit event is triggered on server-side and nothing else.

Socket io works perfectly. There are some integration test to cover socket io scenario.
It will be great you can generate a small repository using tsed cli to reproduce the bug please ;)
See you
Romain

@Romakita  I have tested this sample project too and it doesn't work for me either
https://github.com/tsedio/tsed-example-socketio
anything I print inside the $onConnection event, It doesn't do anything.

I tried running the tests with the sample code and they don't work either.

The code sample is old. The integration test are host on tsed repo and works. Just take a time to create repo example please. I’m currently busy and your help will be appreciate.
see you

@muradmalik777 Have you found your issue ?


Jitted Jax Environment Loop Support

Hi,
I was just wondering if there were any future plans for ACME to support fully jittable jax environment loops? It would be really cool to be able to jit the enitre training loop, assuming that you are using jax based environments like Brax. Do you think this would be on ACME's roadmap?
Thanks,
Donal

Thanks for the question @djbyrne. We have given this a lot of thought internally and the answer is kind of complex. A TL;DR; would be "No, but...".
Let me elaborate:
No:
I don't think we'll ever be able to have the full training loop jittable in Acme. We tried hard to do this and figured it's not rally feasible if we want to keep the flexibility we currently have in the framework.
But:

As you may know Brax has several training algorithms implemented. We are actually working closely with the brax team to make those more flexible and set them up so that they can be executed on any fully-jitted environment. We are also looking for potential opportunities to allow for reusing as much as possible of Acme's algorithm implementations in Brax. This is however further down the roadmap.
A lot of the performance benefit of jitted environments comes from the fact that they can run in batched mode. @qstanczyk is actually actively working on a change which will allow us to run such environments in batch mode and hopefully gain significant performance improvements from this. This can be paired with running the policy networks in batch mode (support for this was added in https://github.com/deepmind/acme/commit/a917c9d20a59044921fd709198c6c73bb7e20f77). In fact, I believe @qstanczyk will soon submit a Brax example which employs this setup. This probably won't be as efficient as what you can get from a fully accelerated training, but we hope it strikes a good balance between performance and flexibility.


4th row is ignored on custom layout (because of rotary encoder)

Hello,
first of all thanks for the project, it has been an amazing start for my journey into keyboards, and a great learning experience.
I did not build it using your PCB because it has too few keys for me, and I also don't have access to cheap PCBs (or so I thought 2 weeks ago).
Instead I am building this 3d printed model with hand wiring the keyboard.
https://www.printables.com/model/245613-the-ortholily-a-3d-printed-split-ortholinear-mecha/files
I've used the duplex matrix, that is used by cheapino to be able to connect the two halves via just 8 wires in ethernet cable, and use a single controller (to get more learning).  (This is an excellent article on the topic of Japanese duplex matrix if someone is a beginner like me.)
My problem is that 4th row is completely ignored (ZXCVB), but all other rows work, including 5th row. When I move the wire of 4th row to 3rd row all the keys work. I tried checking if this is a hardware problem, changing ports, changing rows, and nothing helped.
I suspect this is a software problem and I solved the problem by adding an extra row that I don't connect, and setting all the keys to KC_NO.
I've eventually figured out that this is because of to the rotary encoder (thanks to your graphical debugging tool).
Do you think it would be worth it to point this out somewhere, even if just a comment in your source files?

Hey, cool keyboard!
Im a bit hesitant to call this a cheapino, since you completely build your own thing.
This thing has much more keys, the cheapino does not even have a 4th row, like you said, its only used for the encoder...
Im not sure how you wired it, but you should be aware that some encoders do not detent properly, and will continously output alternating symbols, which is why I dedicated an entire row to it(and made sure other columns going to the encoder has diodes pointing "into" the encoder, so it cant mess with anything but its own row...)

Im a bit hesitant to call this a cheapino, since you completely build your own thing.

I agree, but it is cheapino inspired for sure.
It is wired as 6x5 matrix. The grey keys on the bottom + the "lock" key form a single row. I believe that is the maximum size that can fit to the 8 wires (5 rows + 6/2 cols = 8).
For documentation sake:
This is my config, with the extra row, to work around the 4th row being for the encoder. Thanks for that info, I will try to find where in the code the encoder is considered and how I can remove or re-map it.
{
    "manufacturer": "Thomas Haukland",
    "keyboard_name": "cheapino2",
    "maintainer": "tompi2",
    "bootloader": "rp2040",
    "diode_direction": "ROW2COL",
    "features": {
        "bootmagic": true,
        "command": false,
        "console": false,
        "extrakey": true,
        "mousekey": true,
        "nkro": true
    },
    // col 0 - orange
    // col 1 - orange white
    // col 2 - green

    // row 0 - blue
    // row 1 - brown
    // row 2 - brown white
    // row 3 - green white
    // row 4 - blue white
    "matrix_pins": {
        "cols": [
            "GP0", "GP0", "GP1", "GP1", "GP2",  "GP2"
        ],
        "rows": [
            "GP3",
            "GP4",
            "GP5",

            "GP9",

            "GP6",
            "GP7"
        ]
    },
    "processor": "RP2040",
    "url": "",
    "usb": {
        "device_version": "1.0.0",
        "pid": "0x0000",
        "vid": "0xFEE3",
        "force_nkro": true
    },
    "layouts": {
        "LAYOUT": {
            "layout": [

                { "matrix": [0, 0], "y": 0, "x": 0 },
                { "matrix": [0, 1], "y": 0, "x": 1 },
                { "matrix": [0, 2], "y": 0, "x": 2 },
                { "matrix": [0, 3], "y": 0, "x": 3 },
                { "matrix": [0, 4], "y": 0, "x": 4 },
                { "matrix": [0, 5], "y": 0, "x": 5 },

                { "matrix": [1, 0], "y": 1, "x": 0 },
                { "matrix": [1, 1], "y": 1, "x": 1 },
                { "matrix": [1, 2], "y": 1, "x": 2 },
                { "matrix": [1, 3], "y": 1, "x": 3 },
                { "matrix": [1, 4], "y": 1, "x": 4 },
                { "matrix": [1, 5], "y": 1, "x": 5 },

                { "matrix": [2, 0], "y": 2, "x": 0 },
                { "matrix": [2, 1], "y": 2, "x": 1 },
                { "matrix": [2, 2], "y": 2, "x": 2 },
                { "matrix": [2, 3], "y": 2, "x": 3 },
                { "matrix": [2, 4], "y": 2, "x": 4 },
                { "matrix": [2, 5], "y": 2, "x": 5 },

                { "matrix": [3, 0], "y": 3, "x": 0 },
                { "matrix": [3, 1], "y": 3, "x": 1 },
                { "matrix": [3, 2], "y": 3, "x": 2 },
                { "matrix": [3, 3], "y": 3, "x": 3 },
                { "matrix": [3, 4], "y": 3, "x": 4 },
                { "matrix": [3, 5], "y": 3, "x": 5 },

                { "matrix": [4, 0], "y": 4, "x": 0 },
                { "matrix": [4, 1], "y": 4, "x": 1 },
                { "matrix": [4, 2], "y": 4, "x": 2 },
                { "matrix": [4, 3], "y": 4, "x": 3 },
                { "matrix": [4, 4], "y": 4, "x": 4 },
                { "matrix": [4, 5], "y": 4, "x": 5 },

                { "matrix": [5, 0], "y": 5, "x": 0 },
                { "matrix": [5, 1], "y": 5, "x": 1 },
                { "matrix": [5, 2], "y": 5, "x": 2 },
                { "matrix": [5, 3], "y": 5, "x": 3 },
                { "matrix": [5, 4], "y": 5, "x": 4 },
                { "matrix": [5, 5], "y": 5, "x": 5 }

            ]
        }
    }
}

{
  "version": 1,
  "notes": "Cheapino default keymap",
  "documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n",
  "keyboard": "bastardkb/skeletyl/blackpill",
  "keymap": "default",
  "layout": "LAYOUT",
  "layers": [
    [
      "KC_ESCAPE", "KC_1", "KC_2", "KC_3", "KC_4", "KC_5",
      "KC_TAB",    "KC_Q", "KC_W", "KC_E", "KC_R", "KC_T",
      "KC_LEFT_CTRL", "KC_A", "KC_S", "KC_D", "KC_F", "KC_G",
      "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO","KC_NO",
      "KC_LEFT_SHIFT", "KC_Z", "KC_X", "KC_C", "KC_V", "KC_B",
      "KC_NO", "KC_LEFT_ALT", "KC_LEFT_GUI", "KC_SPACE", "KC_SPACE", "KC_SPACE"
    ]
  ],
  "author"<EMAIL_ADDRESS>}

It is wired as duplex matrix where two columns are connected. The bottom keys are "shifted" to left so the matrix becomes more square.
(colors in image don't represent the colors of the wire in the original photo, rows are green, columns are colored)

My whole keyboard is now done. For my learning, can I ask you why did you choose to not share any rows in your design? I originally thought I will be able to connect the left side and the right side and use the same pins for the rows, but it did not work at all, and then I saw that you use separate rows (and of course columns) for the left and right part of the keyboard.
So now I am not sure if this is an optimization on your side, recommendation from qmk, or just an opinionated choice. 😊
Thank you!

Hey, regarding separate rows/columns: there are still some ghosting issues, which are minimized when using different pins for right side. (the v1 cheapino shared rows across split, and therefor has some possible ghosts between both hands, which are much more likely to happen, than same hand ghosts...)
To test you own, try pressing two keys on the same row while pressing a third on the row below or above, on the "next" column. So 3 different columns, 2 rows. Not all combos produce ghosts, but on cheapinov2 I think I caught all of them in firmware.

great thank you for the info. I will close this now since I never had any actual problem with cheapino 🙂


added eclipse-transformer plugin

Added eclipse-transformer plugin

We need a JIRA to explain what is needed for this.

Replaced by #9889


Additional babel plugins

Coverage decreased (-1.8%) to 81.917% when pulling 69e128151a51b4c18e81115a0de19aaf81c815fe on additional-babel-plugins into 86b248ad8b7e5449266534ad34444555f243fce7 on master.


Add DeleteAllScenes and DeleteAllITLPrograms

@ziyan after this is merged I will tell the customer about this DeleteAllITLPrograms API. They look in hurry.

thanks~


Software Engineering: Double Proxy Server Connection

The new solution to try is shown below:

                                            Router
**************      *****************         |-->       *******************      ************
*   Webcam   *----->* Local server  *---------|--------->*  Remote server  *----->*  Client  *
**************      *****************         |-->       *******************      ************
                                    (No port forwarding
                                   as indicated by arrows)

Port forwarding does not allow WAN requests to enter the LAN network. Though, there is nothing to stop LAN requests to connect to the WAN network and establish a connection. This allows a possibility for which the MJPEG stream can be transferred to the remote server (Heroku). This possibility will be tried and documented.

Created the connection between the webcam and the local server. The server now streams the video from the webcam to the browser under a different URL. The key was to use the pipe function which takes IO from one stream and links it to another. Understanding that HTTP is a stream protocol cleared much of the confusion of implementing a proxy server.

The connection between the local server and the remote server is quite complicated. The remote server cannot initiate the connection but the local server can. The user can connect to the remote server but since there is no connection to the local server, there is no way to start the webcam feed. The user and the local server both meet up at the remote server. There must be some way communication can be established such that both proxy servers can communicate without having to follow the request/response methodology. WebSockets seemed ideal for this but the technology does not allow efficient transfer of binary data without having it converted to the blob format.

Finally achieved a good solution using this post. Looked at ZeroMQ docs and it seemed a better option however slightly difficult to implement because of the knowledge needed to create a message channel. Socket.io used the WebSocket protocol and was therefore easier to implement. Now, data sent through the HTTP protocol from the Windows Phone to the local server is sent to the remote server in binary form. From there, clients can receive the MJPEG stream data which can then be processed by the browser.


Fix build failure for TI tests for cmake

Description
The Ninja generator combines linker and post build commands using '&&'
which results in a long string. Windows has a limit of 8191 characters
on the command line string length. We were hitting that limit for TI and
were getting "command string too long" error.
This commit updates the cmake files to force Ninja to use response files
which is a feature implemented for exactly this purpose and results in a
much smaller command string.
Signed-off-by: Gaurav Aggarwal<EMAIL_ADDRESS>By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Can you also add some comments in cmake file explaining why this can't be done in the arm-ti.cmake file? Also we need to delete the same setting in that file (set(CMAKE_C_RESPONSE_FILE_LINK_FLAG "")).

/bot run checks

/bot run checks

/bot run checks

Can you also add some comments in cmake file explaining why this can't be done in the arm-ti.cmake file? Also we need to delete the same setting in that file (set(CMAKE_C_RESPONSE_FILE_LINK_FLAG "")).

Added comment. We cannot remove the line mentioned above from arm-ti.cmake as the TI archiver starts to fault when I do that.


chore: release v2.4.2

Add support for OTEL_METRICS_EXPORTER=none. #801

Codecov Report
Patch and project coverage have no change.

Comparison is base (8681bfc) 86.10% compared to head (5e9ff3a) 86.10%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #802   +/-   ##
=======================================
  Coverage   86.10%   86.10%
=======================================
  Files          19       19
  Lines         662      662
  Branches      151      151
=======================================
  Hits          570      570
  Misses         92       92

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


device.write(bytes([addr & 0xFF]), stop=False) in sparkfun_qwiickeypad.py

I followed the installation instructions and ran example1, but got an error:
pi@raspberrypi:~/Jukebox $ python -V
Python 3.7.3
pi@raspberrypi:~/Jukebox $ sudo python ./example1_read_button.py
Qwicc Keypad Example 1 Read Button
Traceback (most recent call last):
  File "./example1_read_button.py", line 42, in <module>
    if keypad.connected:
  File "/usr/local/lib/python3.7/dist-packages/sparkfun_qwiickeypad.py", line 90, in connected
    if self._read_register(_KEYPAD_ID) != QWIIC_KEYPAD_ADDR:
  File "/usr/local/lib/python3.7/dist-packages/sparkfun_qwiickeypad.py", line 153, in _read_register
    device.write(bytes([addr & 0xFF]), stop=False)
TypeError: write() got an unexpected keyword argument 'stop'

Workaround:
/usr/local/lib/python3.7/dist-packages/sparkfun_qwiickeypad.py
change line 153 from:
device.write(bytes([addr & 0xFF]), stop=False)
to
device.write(bytes([addr & 0xFF]))
Question:
Is something wrong with my Python installation? Or, is this a bug?
Note that Adafruit Bus Device Library Documentation, Release 1.0
does not show any examples using
device.write(bytes([addr & 0xFF]), stop=False)
only:
device.write(bytes([addr & 0xFF]))

I encountered the same error. Changing it to device.write(bytes([addr & 0xFF])) seems to fix the problem.

Thanks, I think the stop variable is no longer supported.  I'll remove it from the code.

This issue is now fixed in the latest release.   The fix was to use the function write_then_readinto() to replace the write() with the stop flag false followed by a readinto().


still got 500 error on wiki when mirror setup

Gogs version (or commit ref): 0.11.29 or b1100b5
Git version: 2.1.0
Operating system: Linux debian 8
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gogs.io:

[x] Yes https://try.gogs.io/mckaygerhard/tested-migrating-wiki-bug
[ ] No
[ ] Not relevant

Log gist (usually found in log/gogs.log):

2017-09-01 12:00:43: Started GET /organi1/elsistema/wiki for <IP_ADDRESS>
2017/09/01 12:00:43 [TRACE] Session ID: be7cbd998cecfcd7
2017/09/01 12:00:43 [TRACE] CSRF Token: <removed>
2017/09/01 12:00:43 [ERROR] [.../routes/repo/wiki.go:53 renderWikiPage()] GetBranchCommit: object does not exist [id: refs/heads/master, rel_path: ]
2017/09/01 12:00:43 [TRACE] Template: status/500
2017-09-01 12:00:43: Completed GET /organi1/elsistema/wiki 500 Internal Server Error in 30.653383ms

Description
the issue #4464 it's still reproducible with lasted stable release, also i build development brand and still reproducible..
IMPORTANT NOTE: i can see at the git root path the .git and also the .wiki.git exist after the mirror clone operation
...

The bug is still present as of 0.11.34.
A possible workaround is to delete the wiki (Settings -> Erase Wiki Data), and then to recreate it (Setting -> Enable wiki system).

yeah that's works i confirmed the workaround, but hey its not the solution.. as i posted i can see the wiki.git after the mirror clone opertaion completed

with 0.11.53, sqlite3 db, the workaround by @Juma7C9 does not work on my install
erase wiki, then enable wiki, create a wiki page, still get 500 page
tried to erase the repo wiki git folder on server, it does not help either.
hope this can be fixed soon... thanks,
very nice project ! most common github functions are here !

I can no longer reproduce this problem with new migration from GitLab. I'll close this issue in few days if no stable reproduce steps reported any more.


New ASAN crash for standalone/regress_52715_test/none

There are new test failures on Support the dart:developer timeline APIs in dart2js and DDC....[dart2js] Temporarily undo valid refines change..
The tests
standalone/regress_52715_test/none Crash (expected Pass)

are failing on configurations
vm-aot-asan-linux-release-x64

Example from log:
--- Command "vm" (took 01.000687s):
DART_CONFIGURATION=ReleaseASANX64 TEST_COMPILATION_DIR=/b/s/w/ir/out/ReleaseASANX64/generated_compilations/vm-aot-asan-linux-release-x64/multitest_standalone_regress_52715_test_none out/ReleaseASANX64/dart_precompiled_runtime --sound-null-safety -Dtest_runner.configuration=vm-aot-asan-linux-release-x64 --ignore-unrecognized-flags --packages=/b/s/w/ir/.dart_tool/package_config.json /b/s/w/ir/out/ReleaseASANX64/generated_compilations/vm-aot-asan-linux-release-x64/multitest_standalone_regress_52715_test_none/out.aotsnapshot

exit code:
-6

stderr:
=================================================================
==66143==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 80 byte(s) in 4 object(s) allocated from:
    #0 0x56103076525d in strdup ../staging/llvm_build/tools/clang/stage2-bins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/lib/asan/asan_interceptors.cpp:475:3
    #1 0x561030abdb5b in dart::bin::OSError::SetMessage(char const*) out/ReleaseASANX64/../../runtime/bin/utils.h:47:18
    #2 0x561030abdb5b in dart::bin::OSError::SetCodeAndMessage(dart::bin::OSError::SubSystem, int) out/ReleaseASANX64/../../runtime/bin/utils_linux.cc:34:5
    #3 0x561030abdb5b in dart::bin::OSError::Reload() out/ReleaseASANX64/../../runtime/bin/utils_linux.cc:25:3
    #4 0x561030abdb5b in dart::bin::OSError::OSError() out/ReleaseASANX64/../../runtime/bin/utils_linux.cc:21:3
    #5 0x5610307f83b3 in dart::bin::Builtin_FileSystemWatcher_InitWatcher(_Dart_NativeArguments*) out/ReleaseASANX64/../../runtime/bin/file_system_watcher.cc:28:13
    #6 0x561030c7cb5e in dart::NativeEntry::AutoScopeNativeCallWrapperNoStackCheck(_Dart_NativeArguments*, void (*)(_Dart_NativeArguments*)) out/ReleaseASANX64/../../runtime/vm/native_entry.cc:217:7
    #7 0x7f0c2405d70a  (<unknown module>)
    #8 0x7f0c240c5995  (<unknown module>)
    #9 0x7f0c240c305e  (<unknown module>)
    #10 0x7f0c240c301a  (<unknown module>)
    #11 0x7f0c2407d3b0  (<unknown module>)
    #12 0x7f0c240e5f19  (<unknown module>)
    #13 0x7f0c2409478d  (<unknown module>)
    #14 0x7f0c2411684f  (<unknown module>)
    #15 0x7f0c240cd771  (<unknown module>)
    #16 0x7f0c240612bf  (<unknown module>)
    #17 0x7f0c24116024  (<unknown module>)
    #18 0x7f0c240c770a  (<unknown module>)
    #19 0x7f0c240c75c9  (<unknown module>)
    #20 0x7f0c240c7592  (<unknown module>)
    #21 0x7f0c2406ffd1  (<unknown module>)
    #22 0x7f0c2406ff70  (<unknown module>)
    #23 0x7f0c2405d5a0  (<unknown module>)
    #24 0x561030bc4e8d in dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&) out/ReleaseASANX64/../../runtime/vm/dart_entry.cc:125:33
    #25 0x561030bc9a51 in dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&) out/ReleaseASANX64/../../runtime/vm/dart_entry.cc:37:10
    #26 0x561030bc9a51 in dart::DartLibraryCalls::HandleMessage(long, dart::Instance const&) out/ReleaseASANX64/../../runtime/vm/dart_entry.cc:718:28
    #27 0x561030c25561 in dart::IsolateMessageHandler::HandleMessage(std::__2::unique_ptr<dart::Message, std::__2::default_delete<dart::Message>>) out/ReleaseASANX64/../../runtime/vm/isolate.cc:1308:15
    #28 0x561030c4969f in dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool) out/ReleaseASANX64/../../runtime/vm/message_handler.cc:239:16
    #29 0x561030c4acfc in dart::MessageHandler::TaskCallback() out/ReleaseASANX64/../../runtime/vm/message_handler.cc:458:18
    #30 0x561030f8d365 in dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) out/ReleaseASANX64/../../runtime/vm/thread_pool.cc:158:15
    #31 0x561030f8e77a in dart::ThreadPool::Worker::Main(unsigned long) out/ReleaseASANX64/../../runtime/vm/thread_pool.cc:330:9
    #32 0x561030e3a7f2 in dart::ThreadStart(void*) out/ReleaseASANX64/../../runtime/vm/os_thread_linux.cc:154:5
    #33 0x7f0c27478608 in start_thread /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:477:8

SUMMARY: AddressSanitizer: 80 byte(s) leaked in 4 allocation(s).

--- Re-run this test:
python3 tools/test.py -n vm-aot-asan-linux-release-x64 standalone/regress_52715_test/none

I think this is already tracked at https://github.com/dart-lang/sdk/issues/52834

Note: tracked at #52816.


Fixes #665

@mariobehling @the-dagger This fixes #665. I have changed code to retrieve sessions for a new user. Now all the sessions are being displayed.

Current coverage is 11.15% (diff: 3.33%)

No coverage report found for development at db26110.

Powered by Codecov. Last update db26110...64c6190


Use the KomojuGateway direct from activemerchant, rather than including its own version.

Ideally, the spree_komoju gem would use the KomojuGateway direct from activemerchant, rather than using a copy of it in this gem. This would allow the spree_komoju gem to use the latest version of the KomojuGateway which has been updated to use the new komoju testing server (https://komoju.com/api/v1), and dropped support for the old sandbox server (https://sandbox.komoju.com/api/v1).


Use div for dangerouslySetInnerHTML

Fixes #6339
Having dangerouslySetInnerHTML within a <p> where the first part of the authService.description contained a <p> itself would result in invalid markup which the browser would fail to render. Putting it in a <div> instead means any nested elements should be valid.

Do we ever want to validate the DOM?  Maybe with something like interweave?


[Idea] Allow routing based on partial or complete route params

What should we add or change to make your life better?
Hello,
It's currently possible to perform routing based on headers and query parameters.
How open would you be to extend RouteMatch to have it expose a RouteParam sub matcher. This one would be very similar to RouteQueryParameter (accepting values, a mode, ...).
Given, for instance, a route such as /api/tenants/{tenant_id}/do/something, it would be easy to redirect the requests based on the value of tenant_id.
Why is this important to you?
In order to meet regulations, data from those tenants should be stored in selected geographical locations.
Would this feature request feel appropriate, I'd be very willing to help contribute it through a Pull Request.

Hello,
Fwiw, I would also be interested to see path param prefix based routing by Yarp.

Yarp is a great but I would be excited to see that feature implemented in Yarp.