[Question] Download astilectron and electron separately from astilectron-bundler?

Hello @asticode, I got a tricky situation which I am looking into.
I want to bundle an application in an environment which cannot download any artifacts at runtime, but they need to be specified and downloaded separately. (Flathub packaging: all dependencies must be declared and downloaded before execution as per their rules)
Looking at the excellent logging during the astilectron-bundler execution, I understand the following:

The two archives are downloaded:

/tmp/astibundler/cache/astilectron-0.51.0.zip
/tmp/astibundler/cache/electron-linux-amd64-16.0.8.zip

The two archives are copied here:

/tmp/astibundler/bind/vendor_astilectron_bundler/astilectron.zip
/tmp/astibundler/bind/vendor_astilectron_bundler/electron.zip

After this, the HTML/JS/CSS resources are put in place, and the golang code is built etc.

Is there any way to tell the bundler to skip 1) and 2) of the above, and just take two archives which are downloaded in beforehand? If so, is it expected that the archives are in /tmp/astibundler/cache or in /tmp/astibundler/bind (or someplace else?)
I have found the astilectron.Options.SkipSetup setting, which seems to be used for something similar to this, but parallel to me trying out things I thought I would ask you directly as well as to hear your opinion on this.
If I would name this (hypothetical) option something, I think of it more as SkipDownload as SkipSetup: I understand this functionality as somewhat existing as the two archives are only downloaded once on the first run, and later re-used, right?
Any opinion and feedback on the matter would be greatly appreciated!

What you could try doing is:

Create a temporary working directory (for the sake of the example, let's call it /tmp/dir)
Create a cache folder inside it
Download both astilectron and electron zip files using whatever tool you want to use in this folder. Beware as you need to get the correct versions for your OS and Arch. Full correct urls are available with exported functions astilectron.AstilectronDownloadSrc() and astilectron.ElectronDownloadSrc()
In your bundler.json, use the working_directory_path attribute to specify the path to you working directory.

That way, the bundler will see both zip files are already in the cache folder and won't download anything.
If you feel like contributing to this project, a better option would be to add a cache_path attribute the bundler configuration and use this value if not empty instead of the default value. That way you would only need to create a custom cache folder and if one day the bundler has a different default folder structure, there won't be any risk of your first solution not working anymore.

amazing!
With your advice, downloading the artifacts separately works like a charm.
Regarding the config: Of course a specific cache_path would be a great addition, but as the working_directory_path already is configurable, at least for this scenario, all is fine.
If you are interested, here is the full Flatpak Manifest:
https://gitlab.com/olof-nord/go-astilectron-flatpak-offline-demo/-/blob/main/go-astielectron-flatpak-offline-demo.yml


Link to ea.azure.com needs to be updated

In the prequisites section, there is this sentence:
The Enterprise Administrator of your enrollment can make you an Account Owner (sign in required) which makes you an Owner of the Enrollment Account.
The link goes to ea.azure.com but this portal was retired, the link would need to be updated.

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

ID: 0d73f3e0-d3d3-eca9-483f-4a787fa77bb2
Version Independent ID: d4046a56-c05e-e278-382d-2cb26dd5c20f
Content: Programmatically create Azure Enterprise Agreement subscriptions with the latest APIs - Microsoft Cost Management
Content Source: articles/cost-management-billing/manage/programmatically-create-subscription-enterprise-agreement.md
Service: cost-management-billing
Sub-service: billing
GitHub Login: @bandersmsft
Microsoft Alias: banders

@cjtous1
Thank you for bringing this to our attention.
I've delegated this to content author @bandersmsft, who will review it and offer their insightful opinions.

@bandersmsft
Could you please review add comments on this, update as appropriate.

@cjtous1  The article is updated. Thanks for your feedback.
#please-close


asyncio support

Requested by @bre77

__init__ needs to accept an aiohttp session and create one if not
do calls via that session
🍰

Going to create this as a separate AsyncAPI class

Fixed in xae27f6e2ee326faec4859037de37d1eb6ab13eaa


LUN-317: Clear storage in tests

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword LUN.
Also applied the browserlist update in this branch.

@sarahsporck Are you still working on this?

Could you create an issue for integreat as well (to move clearAllMocks/resetAsyncStorage) to jest.setup.ts?

:tada:


BCO: Pipeline for Data Ingestion

Create BCO to document data ingestion pipeline. Work with the BCO team as needed.

Model ingestion BCO will incorporate data ingestion pipeline.


Update running_ssh_service.md

the initialized status of PermitRootLogin prohibit-password is off as #PermitRootLogin prohibit-password

Proposed changes

Unreleased project version (optional)

Related issues (optional)

If I create an image from this Dockerfile
FROM ubuntu:16.04

RUN apt-get update && apt-get install -y openssh-server

And then run it, here's what I get:
docker run ubuntu:ssh cat /etc/ssh/sshd_config | grep -i permit

PermitRootLogin prohibit-password
PermitEmptyPasswords no
# the setting of "PermitRootLogin without-password".

This means that the entry on that file is PermitRootLogin, and not #PermitRootLogin, so your suggestion would not work 😢
Because of this, I'm closing this issue, but let me know if you disagree. I'm sure you'll have tons of other opportunities to help fix the docs 🐳


Add CFF Citation file

Checklist

[X] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.

Motivation and Context
Closes https://github.com/ls1intum/Artemis/issues/3892
Description
Added a citation file that shows the citation that should get used when referencing Artemis in a paper. Github has a widget for this. See the screenshots below
Steps for Testing

Check the file itself for consistency with https://dl.acm.org/doi/10.1145/3159450.3159602
Check that the citation gets shown correctly in the code tab when selecting this branch (APA and BibTeX
If you have improvement suggestions on what to change in the citation, feel free to comment.

Screenshots

@MDK5 I tried to do some improvements but yeah, seems like GitHub decided to only do one have of the implementation...
The "--" is CFF style though as well as {{...}} for the title.
For some reason, it just doesn't display e.g. the year even though it works with the GitHub example. Also, it displays the journal (which is wrong here) but not the collection title. Should I leave it in so it gets at least displayed or remove it since it's not accurate?
Also, cc @jpbernius since this doesn't seem to work as easily as expected, what do you suggest here?


allow the addition of POIs

It's basic right now but it's done. I'm still working on it to give a better functionality though.


Pre-made report for Stripe data: New Trials Over Time

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1641
Originally created by @dmor on 2020-01-29 14:35:20

[ ]  graph type: line or bar will work
[ ]  X-axis: time
[ ]  Y-axis: count of new trials
[ ]  Group by: day
[ ]  Aggregate (on the y-axis): count of new trials

This is what the report looks like in the Stripe UI https://dashboard.stripe.com/dashboard

You don't need to duplicate the other numbers in the UI
New Trials - Definition
Stripe defines new trials as: "This is the total number of new subscriptions that started with a free trial period."
When creating subscriptions, there is an option to provide a trial period before converting the user to paid. This graph shows a count of the subscriptions activated that have this feature.
Requirements

Default time range should be past 4 weeks

Separate Issues for @dmor to capture

Show total aggregate amount for the time period
Show the % change over time for the total aggregate value for the period vs. the same prior period (e.g. this 4 weeks versus previous 4 weeks, this quarter versus prior quarter)
Show the individual amounts for each point shown on the graph
Time range should be adjustable

View 18 previous comments from the original issue on GitLab


Not able to modify config

I'm looking to bind the nickserv password to a command line argument so I can upload the config to a public github without fear of my bot's IRC registration being stolen.
In bot.py (as per the example setup) I've used the argparse module to take a password argument. I've also removed the nickserv component in bot.conf and added a nickserv plugin, which is just a duplicate of the nickserv component except it runs a print after sending the IDENTIFY to nickserv just to confirm that it got the password right.
In bot.conf, I set the default password in password in plugin.nickserv to "hunter2".
In bot.py, before I do bot.run(), I do bot.config.plugin.nickserv.password = args.password. I print bot.config before and after this change to confirm that it has, in fact, changed. It has.
However, when I reach the print statement at the end of nickserv.py, the message that was sent was "IDENTIFY hunter2". The config was not changed.
Is there a way to modify the config on the fly?
If it's of any help, I've got a gist with bot.conf, bot.py, plugins/nickserv.py and my console output here: https://gist.github.com/rossjrw/75b3ecc55d4ee7d0a70b2f8e4bb879ba
Many thanks.

Hey so nickserv component copies its password out of the config it gets.
You don't need to make nickserv a plugin.
Create the bot like you normally would.  but before bot.run() do bot.irc_c.nickserv.password = "nothunter2"  or where ever you get it.


adding mycelium flag

Description
#1841
Changes
List of changes this PR includes
Related Issues
List of related issues
Checklist

[ ] Tests included
[ ] Build pass
[ ] Documentation
[ ] Code format and docstrings
[ ] Screenshots/Video attached (needed for UI changes)

@AlaaElattar  created this branch instead of the other one.
could not resolve all the conflicts so created this one.

@A-Harby Can you please give it a look?

@zaelgohary I will check for it and make sure that also docs is fine.

@khaledyoussef24
If you still working on it, please draft it :)

will delete this branch and make 2 other prs one for solution scripts and the other for test modules


Where is the link?

The comments below were machine-translated
@daltonpinheiro commented on Wed Apr 29 2020
Okay, I posted the document.
Where is the link in this publication to pass on to others to use?
Is it possible to use this feature with a free account, because I was able and I am not getting more?

Detalhes do documento
⚠ Não edite esta seção. É necessário para a vinculação do problema do docs.microsoft.com ➟ GitHub.

ID: ef5362a0-2148-3de0-fd60-a3fe5d06fe91
Version Independent ID: 1967384e-308d-cf6f-ad5f-cde6e5b741b3
Content: Publicar por meio do Power BI Desktop - Power BI
Content Source: powerbi-docs/desktop-upload-desktop-files.md
Service: powerbi
Sub-service: powerbi-desktop
GitHub Login: @davidiseminger
Microsoft Alias: davidi

@srvbpigh commented on Wed Apr 29 2020
Hello, @daltonpinheiro
Thank you for your feedback.
We are actively reviewing your comments and will get back to you soon.
Kind regards,
Microsoft DOCS International Team

Thanks for your comment, @CeciAc.
I've assigned this issue to the doc author for review.

The link to reach the posted Desktop file is in the dialog that is displayed once the publishing is complete. You can share the PBIX file like any other file you might share, or you can point users to the Power BI workspace where you uploaded the dataset.


Renamed 'Review and set aside application' to 'Review and Remake decision

Jira link (if applicable)
https://tools.hmcts.net/jira/browse/SSCS-12122
Change description
Renamed 'Review and set aside application' to 'Review and Remake decision
Checklist

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)
[ ] Does this PR introduce a breaking change

remade on https://github.com/hmcts/sscs-ccd-definitions/pull/1492/files


Fix bug with DB-Forge composite foreign keys

Description
Fixes #4310
Hi, I edited the addForeignKey method and _processForeignKeys method of CodeIgniter\Database\Forge so that they can define composite foreign keys in an array.
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPdocs
[x] Unit testing, with >80% coverage
[x] User guide updated
[x] Conforms to style guide

Please run cs fixer
vendor/bin/php-cs-fixer fix system/Database/Forge.php
vendor/bin/php-cs-fixer fix tests/system/Database/Live/ForgeTest.php

@samsonasik It's done.

Please run rector as well:
vendor/bin/rector

@samsonasik
Hi, I fixed the problem of _processForeignKeys method when using SQLSRV Driver, modified the test case, and ran vendor/bin/rector process .

@paulbalandan  @samsonasik
Thanks for the review.
I corrected some spelling errors, improved code quality, and rolledback the _processIndexes method of the SQLSRV class.

@monkenWu it seems your PR branch's tail is still based on develop. Please rebase this against the current 4.2 branch so that changes only from your PR will appear here. If anything went wrong,, you can just recreate your PR against 4.2

Change the branch base to 4.2.


production release workflow

This is a workflow for copying the index-top.html file from the version folder up to the index.html at the root.
It is basically the same as the release-staging.yml workflow with just the DEST_FILE changed.

This workflow will be needed to release production. The workflow doesn't need to be part of the clue-3.2.0 tag.

LGTM 👍


style: wrapping flex grid

move grid to where the big spinning logo was previously
re-style grid cells from normal-looking buttons to larger white squares with font color matching background
grid is a flex container so interior cells wrap around into a 3x3 grid as expected

closes #3

I was thinking about how to change the favicon, and i have 2 ideas, one
just change the image that is in the favicon.ico file by replacing the
image or two, adding an id to the link attribute where the favicon is
located and then calling probably 2 functions- one to get the element and
one to replace the href. what do you think?
On Mon, Nov 8, 2021 at 8:13 PM John Vandivier @.***>
wrote:

move grid to where the big spinning logo was previously
re-style grid cells from normal-looking buttons to larger white
squares with font color matching background
grid is a flex container so interior cells wrap around into a 3x3
grid as expected

closes #3 https://github.com/tdavis0831/tic-tac-toe-react/issues/3
You can view, comment on, or merge this pull request online at:
https://github.com/tdavis0831/tic-tac-toe-react/pull/8
Commit Summary

style: wrapping flex grid
https://github.com/tdavis0831/tic-tac-toe-react/pull/8/commits/beeb2310ef973610f12b75043fe37fedda9e7e94

File Changes
(4 files https://github.com/tdavis0831/tic-tac-toe-react/pull/8/files)

M src/App.js
https://github.com/tdavis0831/tic-tac-toe-react/pull/8/files#diff-3d74dddefb6e35fbffe3c76ec0712d5c416352d9449e2fcc8210a9dee57dff67
(17)
M src/components/tic-tac-toe-cell/TicTacToeCell.css
https://github.com/tdavis0831/tic-tac-toe-react/pull/8/files#diff-1bf8ac4fe89732a00649f77002b7c33a28e3ced2033661e8de7aecdb39aa1894
(14)
M src/components/tic-tac-toe-grid/TicTacToeGrid.css
https://github.com/tdavis0831/tic-tac-toe-react/pull/8/files#diff-579492aa201c192ef6f0132b3ffca2d166eedf42c9b4222f8be0c4fc6c5c0528
(10)
M src/components/tic-tac-toe-grid/TicTacToeGrid.js
https://github.com/tdavis0831/tic-tac-toe-react/pull/8/files#diff-7a7d7cfb1061d56c9a47debca7275a6d3778510cade33aa33ae9c7bcc09c4e8e
(1)

Patch Links:

https://github.com/tdavis0831/tic-tac-toe-react/pull/8.patch
https://github.com/tdavis0831/tic-tac-toe-react/pull/8.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tdavis0831/tic-tac-toe-react/pull/8, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASVHKKPZ4W6O7VG7EHNCRIDULBYUJANCNFSM5HUB6NQQ
.

one just change the image that is in the favicon.ico file by replacing the image
this IMO!!


Epiphany: The first day after Sunday Epiphany seems funny.

Discussed in #322

When Epiphany is fixed on the coming Sunday, DAYS_BEFORE_EPIPHANY is still outputted the day after Epiphany (e.g. in 2022).

On 10 January 2023, it should Monday of the first week of the OT.

On 10 January 2023, it should Monday of the first week of the OT.

I think 10th of January 2023 is a Tuesday.

Thank you very much for fixing it.
I have just compiled it and got it on the test site. Friar Julian will be looking through it before we go live with it.
Once again thank you very much for all the effort.
It's good that the fix was today as it is Friar Julian's birthday. :-)


Partial Submission

Has anyone attempted to wrap up partial submission with this plugin?
I'm looking for a way for users to save their progress and resume. First thoughts were to make an ajax wrapper above the form itself which would be constantly saving to either Umbraco DB or some external DB. I'd then have a content page that would retrieve the active records for the current user, it'd then load the form and the ajax would then retrieve the active data and populate the form.

Hi @jjbrunton,
To my knowledge that's not been attempted :)
It sounds like you need to create your own rendering... reusing the existing ones might prove a bit of a challenge, both in terms of injecting existing values and saving the progress on the fly.
If I was you I'd probably look into the NoScript rendering and see if it's possible to watch the changes to the form fields; then create some save handling - either on the server or in the browser local storage.
If you end up saving progress to the server, you should be able to seed the FormModel with the saved values before subsequent form renderings.

Thanks for the input @kjac! I just wanted to check if this had been done before attempting to do it :)

Cool! Let me know if you manage to work something out :)


Error occurred when running hard negative mining

python hn_mine.py --model_name_or_path /data/bxhuang/model_folder/xiaobu-embedding-v2 --input_file /data/bxhuang/Reranking/train_data/text_pairs.json --output_file /data/bxhuang/Reranking/train_data/text_pairs_HN.json --range_for_sampling 50-80 --negative_number 15 --use_gpu_for_searching
Traceback (most recent call last):
File "/data/bxhuang/FlagEmbedding/scripts/hn_mine.py", line 116, in
find_knn_neg(model,
File "/data/bxhuang/FlagEmbedding/scripts/hn_mine.py", line 83, in find_knn_neg
index = create_index(p_vecs, use_gpu=use_gpu)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/bxhuang/FlagEmbedding/scripts/hn_mine.py", line 29, in create_index
co = faiss.GpuMultipleClonerOptions()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'faiss' has no attribute 'GpuMultipleClonerOptions'

Hello, @wongbokhe1. You can remove --use_gpu_for_searching from the command, or refer to here to install faiss-gpu.

Hello, @wongbokhe1. You can remove --use_gpu_for_searching from the command, or refer to here to install faiss-gpu.

Thanks a lot! After solving the faiss-gpu problem, a new error related to 'AbsEmbedder.py' occur:
Exception ignored in: <function AbsEmbedder.del at 0x7f6bfdd130a0>
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.10/site-packages/FlagEmbedding/abc/inference/AbsEmbedder.py", line 260, in del
File "/root/miniconda3/lib/python3.10/site-packages/FlagEmbedding/abc/inference/AbsEmbedder.py", line 352, in stop_multi_process_pool
File "/root/miniconda3/lib/python3.10/multiprocessing/process.py", line 133, in terminate
File "/root/miniconda3/lib/python3.10/multiprocessing/popen_fork.py", line 57, in terminate
AttributeError: 'NoneType' object has no attribute 'SIGTERM'
/root/miniconda3/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 4 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '

Hello, @wongbokhe1. You can remove --use_gpu_for_searching from the command, or refer to here to install faiss-gpu.

Thanks a lot! After solving the faiss-gpu problem, a new error related to 'AbsEmbedder.py' occur: Exception ignored in: <function AbsEmbedder.del at 0x7f6bfdd130a0> Traceback (most recent call last): File "/root/miniconda3/lib/python3.10/site-packages/FlagEmbedding/abc/inference/AbsEmbedder.py", line 260, in del File "/root/miniconda3/lib/python3.10/site-packages/FlagEmbedding/abc/inference/AbsEmbedder.py", line 352, in stop_multi_process_pool File "/root/miniconda3/lib/python3.10/multiprocessing/process.py", line 133, in terminate File "/root/miniconda3/lib/python3.10/multiprocessing/popen_fork.py", line 57, in terminate AttributeError: 'NoneType' object has no attribute 'SIGTERM' /root/miniconda3/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 4 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '

Please refer to: https://github.com/FlagOpen/FlagEmbedding/issues/1187#issuecomment-2458871182


Fix aspect ratio on dynamic images not being respected until the src attribute is added

Currently, the page will first load with the img attributes having 0 height, and then once the src attributes are added to the images their aspect ratio will be respected and reflows will be caused. This causes a lot of cumulative layout shift, and should be fixed.

This has now been added by adding a placeholder SVG src attribute with each images aspect ratio encoded.


fix(typings): add item prop to the DropdownProps

fixes #1222

Thanks!

Released in<EMAIL_ADDRESS>


Implement Map Render functionality for daily map/route image generation through the Google Maps API

Summary 🗺

Add MapRenderAPI, a low-level class that access both the Google Maps Static (map image generation)and Directions (path/route line generation) APIs.
Add MapRenderManager, the higher-level interface which the use case interactor should primarily use. generateMapsBuffer() returns a list of BufferedImage objects, which can be used with GUI libraries to directly show the images on screen (probably using JLabel, ChatGPT seems to know how to do it well @percy-ai).  generateMapsPNG() saves 5 (Mon-Fri) map images onto the project directory under /mapimgs.
Add MapRenderDemo, which is a almost direct copy of the MainAlgorithmDemo, but with generateMapsPNG() called at the end. Sample outputs have been included with the PR.

Minor Changes

Refactor GoogleMapsAPI to DistanceMatrixAPI to avoid confusion with MapRender classes.
Modify TimeTable slightly to return addresses (alongside codes) more accurately.

Important Points

The Google Distance Matrix API, which calculates distances between buildings, has a per-API-call limit of 25 origins+destinations. Therefore, whenever there are more than 12 buildings to work with, buildings are split into groups and then processed. This means with 30 buildings: 3 groups, 3x3=9 API calls. This stacks up quite quickly and right now, $20 CAD worth of API calls were made during November, on my machine alone. While Google provides a monthly $200 credit, we should not excessively call the API with lots of courses repeatedly. 💸
Whenever a day has NO classes, MapRenderManager will still produce an image, but a blank one.

Coding style (naming conventions, packaging structure, location of curly braces, choice of access modifiers, etc...)
This updated branch made good use of naming conventions, packaging structure, location of curly braces and choice of access modifiers.

For example, variable names always start with a lowercase letter and have a meaningful name

All MapRender-related classes are in the MapRender package.

Correctness
This code is correct!
Presence of tests and Test coverage
This demo test is correct. More coverage could be implemented later.
Adherence to Clean Architecture + SOLID
This code adheres SOLID principle; clean architecture needs to be implemented with other classes
Javadoc
Everything that is public is documented!
Clarity of any accompanying information in the pull request

The pull request should include a description of what it is about

Commit messages are informative.


Performance issue in the difinition of zero_state, layers/eight_mile/tf/layers.py

Hello, I found a performance issue in the definition of zero_state, layers/eight_mile/tf/layers.py, tf.zeros will be calculated repeatedly during program execution, resulting in reduced efficiency. I think it should be created before the loop.
And the same issue exists in tf.range(bsz).
Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.

hello, thanks for your interest in the project.  we are happy to accept PRs.
in the second case (during the beam decode), i dont see a good reason why we cant move it outside the block and, and i agree that may cause some efficiency gains (if tf.autograph) isnt smart enough to move it up already).  in the first case, the loop in the zeros function is only over the number of LSTM layers, not over time, so i would not expect any significant latency.  in fact for that case, it appears that Keras does the same thing:
https://github.com/keras-team/keras/blob/master/keras/layers/recurrent_v2.py#L1052


[Bug]: Error [xs_sdk] groupSyncRead getdata failed after some (random) time

What happened?
I wrote some Python code in ROS, using the interbotix_xs turret modules to move my WidowX. After a while, I always get this repetitive error:
[ERROR] [1674480155.850167930]: [xs_sdk] [TxRxResult] Failed transmit instruction packet!
[ERROR] [1674480155.850201436]: [xs_sdk] groupSyncRead getdata failed
[ERROR] [1674480155.850212483]: [xs_sdk] groupSyncRead getdata failed
[ERROR] [1674480155.850224568]: [xs_sdk] groupSyncRead getdata failed
It occurs with my own code as well with the Python examples given in this repository (roslaunch interbotix_xsturret_control xsturret_control.launch robot_model:=wxxms).
The exact moment where the error occurs seems to be quite random, which makes it difficult for me to give useful information. What I observed was:

The error could occur at anytime, directly after the motors connected, directly after I start a movement (for example the turret_time_profile_control.py), during the movement, directly after a movement was successfully executed or just random while my script is waiting for a message.
Sometimes it's seconds until I get the error, sometimes minutes. The maximum was about 20 minutes.
Switching USB slots on my workstation makes no difference

Robot Model
WidowX XM430 Robot Turret (wxxms)
Operating System
Ubuntu 18.04
ROS Distro
ROS1 Melodic
Steps To Reproduce
Start the xs_sdk node from my own script or directly via the given launch file.
Example:
roslaunch interbotix_xsturret_control xsturret_control.launch robot_model:=wxxms
Leading directly or after some time/when executing a sample script to this error:
[ERROR] [1674493061.931674972]: [xs_sdk] [TxRxResult] Failed transmit instruction packet!
[ERROR] [1674493061.931731101]: [xs_sdk] groupSyncRead getdata failed
[ERROR] [1674493061.931748577]: [xs_sdk] groupSyncRead getdata failed
[ERROR] [1674493061.931762643]: [xs_sdk] groupSyncRead getdata failed
Relevant log output
... logging to /home/junge/.ros/log/dacf6f5e-9b3e-11ed-b603-000af787aed7/roslaunch-tumwiwb-lx004-7151.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://<IP_ADDRESS>:46313/

SUMMARY
========

PARAMETERS
 * /rosdistro: melodic
 * /rosversion: 1.14.13
 * /wxxms/robot_description: <?xml version="1....
 * /wxxms/xs_sdk/load_configs: True
 * /wxxms/xs_sdk/mode_configs: /home/junge/inter...
 * /wxxms/xs_sdk/motor_configs: /home/junge/inter...

NODES
  /wxxms/
    robot_state_publisher (robot_state_publisher/robot_state_publisher)
    rviz (rviz/rviz)
    xs_sdk (interbotix_xs_sdk/xs_sdk)

auto-starting new master
process[master]: started with pid [7180]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to dacf6f5e-9b3e-11ed-b603-000af787aed7
process[rosout-1]: started with pid [7201]
started core service [/rosout]
process[wxxms/robot_state_publisher-2]: started with pid [7204]
process[wxxms/rviz-3]: started with pid [7209]
process[wxxms/xs_sdk-4]: started with pid [7210]
[ INFO] [1674492979.090488755]: [xs_sdk] Loaded mode configs from '/home/junge/interbotix_ws/src/interbotix_ros_turrets/interbotix_ros_xsturrets/interbotix_xsturret_control/config/modes.yaml'.
[ INFO] [1674492979.091354169]: [xs_sdk] Loaded motor configs from '/home/junge/interbotix_ws/src/interbotix_ros_turrets/interbotix_ros_xsturrets/interbotix_xsturret_control/config/wxxms.yaml'.
[ INFO] [1674492979.099812036]: [xs_sdk] Pinging all motors specified in the motor_config file. (Attempt 1/3)
[ INFO] [1674492979.135354242]: [xs_sdk]	Found DYNAMIXEL ID:  2, Model: 'XM430-W350', Joint Name: 'tilt'.
[ INFO] [1674492979.181391225]: [xs_sdk]	Found DYNAMIXEL ID:  1, Model: 'XM430-W350', Joint Name: 'pan'.
[ INFO] [1674492979.193033031]: [xs_sdk] Writing startup register values to EEPROM. This only needs to be done once on a robot. Set the `~load_configs` parameter to false from now on.
[ INFO] [1674492979.459397166]: [xs_sdk] The operating mode for the 'turret' group was changed to position.
[ INFO] [1674492979.666205946]: [xs_sdk] Interbotix 'xs_sdk' node is up!
...
...
...
...
[ERROR] [1674493061.931674972]: [xs_sdk] [TxRxResult] Failed transmit instruction packet!
[ERROR] [1674493061.931731101]: [xs_sdk] groupSyncRead getdata failed
[ERROR] [1674493061.931748577]: [xs_sdk] groupSyncRead getdata failed
[ERROR] [1674493061.931762643]: [xs_sdk] groupSyncRead getdata failed

Anything Else
I'm new to ROS and Dynamixel/Interbotix so if I forgot to include something that would help to find the error source, like another logfile, just let me know.

Please see the corresponding section of our Troubleshooting guide here. Let me know if the solutions here do not solve your problem.

Please see the corresponding section of our Troubleshooting guide here. Let me know if the solutions here do not solve your problem.

Thank you for your fast reply! Just using a new MicroUSB to USB cable actually solved the problem, it was as easy as that.

Great to hear! Feel free to close this if your issue has been solved.

This issue is occurring to us as well (Currently using Interbotix Turrent at UT Austin Applied Research Lab.
We're going to purchase a powered usb hub, hoping that makes a difference.


Add api for creating SolidList of values

Hello, @konmik! Yes we use Solid :smile_cat:
At the moment to create SolidList of values you need to either use new SolidList<>(asList(value1, value2)) or Stream.of(value1, value2).collect(toSolidList()))
But both variants require additional objects :(
Can we please have a way to create SolidList directly from varargs?

Wow, nice to hear :)
Sure, I'll add it, probably even today.

Great! What about method name?
Since SolidList extends Stream we can't use of()

maybe just a constructor? or create?

Well, since SolidList already has a lot of constructors — constructor may fit current design better, but varargs T will create unambiguoty between constructors with other parameters.
Will be greate to replace all constructors with static methods with different names but it'll break current API…

I have an idea of creating SolidMap with map(...), so if we need to create SolidList we may probably want to call just list(...)

That would be awesome!
What about class Solid with static factories for SolidList, SolidSet and SolidMap?

I don's see a need in a such class. Why whould it be helpful?

Single point to create Solid collections, like Collections

hm... copying everything is not always ok. It is good to have a reason. :)

https://github.com/konmik/solid/commit/404279d5ea4b089f08ab41127d4725ce93a0eb26

Nice! Thanks!


Hangs after walking to XXXXX until Ctrl + C is pressed to resume

This is same as issue  #827 that was raised before. Only thing is I see exactly the same behavior with OSX El Capitan Console when I run the cli. I was wondering if anyone have seen or know the fix to this.
Expected Behavior
Going to the next PokeStop and catching pokemon on the go
Actual Behavior
Bot hangs at Walking to XXXXXXXXX until I press Ctrl + C then it immediately starts encountering and catching pokemon and resumes running fine. It then hangs again after a couple minutes of running perfectly. Same way to kick it back into action.
Steps to Reproduce
Just let the bot run for 10 min to an hour and it hangs at a Walking to XXXXX until Ctrl + C is presset to resume for some reason.
Other Information
OS: OS-X El Capitan 10.11.5 (15F34)
Running Dev version

Having this problem however it arises every time from the start of the bot.

bot logs in
bot says theres a level up reward being collected (which there shouldn't be on every start)
bot [followspiral] walks from XXXXXX(position1) to XXXXXX (position2)
bot continues to walk from position1 to position2  and vice versa without catching/evolving/transferring items or spinning pokestops

Probably Niantic bans your IP

Lol, just may be. If IP is banned, I would assume, when I pressed Ctrl-C, it would have continue to catch/walk/etc. It still does. Same goes when I kill the script and run it again. That's the odd thing about it.

Update please


Poor auto-indention inside of HTML blocks.

Something else that I think I broke when I dropped all of my plugins and started fresh. Whenever I’m in a file that’s a mix of HTML and code (let’s say PHP) the auto-indentation for the markup just isn’t there.

Had this working at one point, seems to have something to do with the php plugin I'm using. Minor inconvenience currently. Closing


command 'install' not working

the command aframe install does not have any known usage to the cli.
Output:
   $ aframe install: Invalid command: aframe install
Expected:
Like described in README.md the command should install a component

Many thanks for filing this issue! #74 will introduce support for installing components by calling aframe component install aframe-extrude-and-lathe, for example. I'll update this issue when it's resolved. Thanks for using and testing 👍

see #74 for proposed commands for adding components:
aframe component

aframe component --list
aframe component list

aframe component --help
aframe component help

aframe component install aframe-lerp-component@latest
aframe component add aframe-lerp-component

aframe component rm aframe-lerp-component
aframe component remove aframe-lerp-component

let me know if you, or anyone else, has feedback on these.


proposal: cmd/vet: enable nilness checker by default

Summary
Consider enabling the nilness linter by default on go vet (and therefore go test).
Details
The nilness linter searches for potential nil pointer dereferences in code.
It is not enabled by default for go vet or gopls. Users can opt into it for gopls with the analyses setting.
It is not compiled into go vet, so users cannot opt-into it as part of a build process easily.
Today, two options are:

Install it manually with a fairly long import path, and use it with go vet -vettool
go install golang.org/x/tools/go/analysis/passes/nilness/cmd/nilness@latest
go vet -vettool $(which nilness) ./...

Enable it in golangci-lint by adding it under the linter-settings.govet.enable configuration key
linters-settings:
  govet:
    enable: [nilness]

Historically, the linter was disabled in gopls by default because memory consumption from its dependence on SSA analysis was too high. It was brought up in the golang-tools call today that this may not be less of an issue now.
This proposal suggests enabling the nilness linter by default in go vet and gopls.
If there are still good reasons not to do that, this proposal can be downgraded to building nilness into go vet and disabling it by default, allowing opt-in with a -nilness flag.

CC @adonovan @timothy-king

Historically, the linter was disabled in gopls by default because memory consumption from its dependence on SSA analysis was too high. It was brought up in the golang-tools call today that this may not be less of an issue now.

Memory usage during SSA construction was indeed the reason it was never added to vet, but I'm not aware of any reason things may have changed since we made that decision. Do you care to add nilness to vet and measure its performance (e.g. on go vet std) before an after? If you're on Linux, you can use command time -f '%e %M' go vet std to measure its elapsed time and peak memory usage.

Fair points, @timothy-king. I can see the risk of that.
@adonovan, I'm not on Linux, but looks like /usr/bin/time -l provides similarly useful information.
Before:
% go version
go version go1.20.3 darwin/arm64
% /usr/bin/time -l go vet std
        2.21 real         8.82 user         4.27 sys
           118652928  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              590602  page reclaims
                2799  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
               10172  signals received
               15612  voluntary context switches
              150439  involuntary context switches
<PHONE_NUMBER>7  instructions retired
<PHONE_NUMBER>  cycles elapsed
            46400960  peak memory footprint

Adding nilness to the same version of Go:
% (cd src && ./make.bash)
# ...
% GOROOT=$(pwd) /usr/bin/time -l ./bin/go vet std
# ...
        2.56 real        11.95 user         4.38 sys
           158105600  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              655031  page reclaims
                1811  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
               12776  signals received
               15422  voluntary context switches
              159276  involuntary context switches
<PHONE_NUMBER>4  instructions retired
<PHONE_NUMBER>  cycles elapsed
            46417344  peak memory footprint

FYI, it reported some issues in std. The non-test ones appear to be intentional.

# bytes_test
src/bytes/buffer_test.go:270:8: panic with nil value
# crypto/internal/bigmod
src/crypto/internal/bigmod/nat_test.go:184:10: tautological condition: nil == nil
# encoding/xml
src/encoding/xml/xml_test.go:1312:10: impossible condition: non-nil == nil
# net/netip
-: impossible condition: non-nil == nil
-: impossible condition: non-nil == nil
-: impossible condition: non-nil == nil
-: impossible condition: non-nil == nil
-: impossible condition: non-nil == nil
# os_test
src/os/timeout_test.go:371:10: impossible condition: non-nil == nil
# net
src/net/timeout_test.go:840:10: impossible condition: non-nil == nil
# testing
src/testing/example.go:97:28: tautological condition: nil == nil
# runtime
src/runtime/panic.go:988:2: nil dereference in store
src/runtime/panic.go:1133:2: nil dereference in store
src/runtime/panic.go:1175:2: nil dereference in store
src/runtime/proc.go:277:3: nil dereference in store
src/runtime/stack.go:1124:2: nil dereference in store
# runtime_test
src/runtime/callers_test.go:230:5: nil dereference in load
src/runtime/callers_test.go:278:2: nil dereference in dynamic function call
src/runtime/callers_test.go:306:3: nil dereference in dynamic function call
src/runtime/crash_test.go:387:5: nil dereference in map update
src/runtime/stack_test.go:321:2: nil dereference in store
src/runtime/stack_test.go:938:2: nil dereference in store

(It's not obvious to me why positions for net/netip aren't reported.)

Thanks. Seems like a substantial increase in max RSS (+32%). I'm not sure that's a dealbreaker, but Tim's response is cogent, as is the fact that the standard library is not "clean", and that some of those violations are intentional. I mailed https://go.dev/cl/486675 to fix the good ones.

In the long term we are aiming for all of go vet to be enabled during go test, which means vet must be fast. My understanding is that SSA is below the performance bar. I wonder if the nilness check can be written using the simpler cfg analysis.

This summer we did some work to reduce the asymptotic cost of constructing the go/ssa representation, in particular eliminating the term that was proportional to the total number of dependencies. I just remeasured the cost of go vet -vettool=x std with and without nilness in the multichecker, and to the nearest half second I consistently see 4.0s real 15s user with and 3.0s real 12s user without nilness, so still around 25%-33% cost, so no apparent benefit in this case. (The benefit higher up the application dependency graph is enormous though.)
We have plans for to improve things further, but the cost of SSA is still to high to justify adding nilness to vet for now.

Besides performance, the other aspect of this problem is that when new language features are added to the compiler, they need to be added to golang.org/x/go/ssa as well, and this can sometimes take a while; in the meantime, the vendored version of go/ssa is unable to process the dialect of Go understood by the compiler. While this not fundamentally different from any other analyzer, go/ssa is a more complex body of code, and as an example, the range-over-func feature of go1.23 only just landed in go/ssa this week (mostly my fault, but it doesn't change my point).
So, I think it would be impractical from a process perspective to add ssa-based analyzers to go vet, and I think we should decline this proposal.

This proposal has been declined as infeasible.
— rsc for the proposal review group

I was also surprised that nilness is not enabled by default in go vet or golangci-lint but it is in VS Code so I was surprised that it finds issues my linting CI setup does not. Now I wonder, are there any other tools available which are not enabled in go vet one could opt-in? Is that documented somewhere?

Now I wonder, are there any other tools available which are not enabled in go vet one could opt-in? Is that documented somewhere?

The gopls documentation explains the categories of analyzers it includes:

https://github.com/golang/tools/blob/master/gopls/doc/analyzers.md
You can find gopls internal analyzer configuration here, which lists the particulars:
https://github.com/golang/tools/blob/f10a0f1c3b14ceefea1281987dfd66dfe95b26ad/gopls/internal/settings/analysis.go#L176


consider updated name database

the names database described at the following link looks to be newer than the python library that you are using (still US-centric, and not obvious whether the age-related aspect would be useful to you):
https://cran.r-project.org/web/packages/gender/vignettes/predicting-gender.html
I found the above link based on a paper that I saw presented earlier this week at a security & privacy conference:
https://www.usenix.org/system/files/conference/soups2016/soups2016-paper-mondal.pdf
(Section 3.3.2 describes these researchers' approach to gender discovery)

My much belated response is that, since my tool is written in Python and the library you linked to is in R, I'm going to stick with the library I use. If you find or create a better Python gender-guessing library please let me know!


Cannot read property 'focus' of null

"ng-pick-datetime": "^6.0.8"
"@angular/***": "^6.0.7",
Code was copied from Git Hub docs
<input [owlDateTime]="dt2" placeholder="Date Time" [owlDateTimeTrigger]="dt2">
<owl-date-time #dt2 [pickerMode]="dialog" [startView]="year">
The use of startView seems to trigger the error, no errors are present when the attribute is not used. When used the error is present no matter the value of the attribute.
zone.js:192 Uncaught TypeError: Cannot read property 'focus' of null
at SafeSubscriber._next (calendar.component.js:252)
at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub (Subscriber.js:195)
at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next (Subscriber.js:133)
at Subscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._next (Subscriber.js:77)
at Subscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:54)
at TakeSubscriber.push../node_modules/rxjs/_esm5/internal/operators/take.js.TakeSubscriber._next (take.js:40)
at TakeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:54)
at SafeSubscriber.schedulerFn [as _next] (core.js:3488)
at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub (Subscriber.js:195)
at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next (Subscriber.js:133)

I tested it in a new angular cli project and it worked fine.
Please use StackBlitz to build an app and show the issue you mention about
I would close this until it is confirmed as an issue.


DeepL no longer working with Translate-Shell

As of yesterday I have found that the DeepL engine no longer seems to be working with Translate-Shell.
This was also an issue in July of this year (2018)
I have called trans via both the command line and via a Keyboard Maestro macro, but have found it fails in both instances.
Here is my command line usage:
========================
trans -b -e deepl "Was ist das?"
(The output is just a blank line.)
If called with Yandex, however, I get the following:
==========================
trans -b -e yandex "Was ist das?"
What's that?
I have updated my Homebrew installation and upgraded Translate-Shell, but the problem still persists.
Here is the output of trans -V:
============================
Translate Shell       <IP_ADDRESS>-git:0fd5430
platform              Darwin
gawk (GNU Awk)        4.2.1
fribidi (GNU FriBidi) 1.0.5
audio player          [NOT INSTALLED]
terminal pager        less
terminal type         xterm-256color
user locale           en_GB.UTF-8 (English)
home language         en
source language       auto
target language       en
translation engine    google
proxy                 [NONE]
user-agent            Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/602.1 (KHTML, like Gecko) Version/8.0 Safari/602.1 Epiphany/3.18.2
theme                 default
init file             [NONE]
Report bugs to:       https://github.com/soimort/translate-shell/issues
Hopefully this isn't a major issue.
Many thanks,
Bowjest

For me, it always uses emoji instead of the specified language:
$ trans -engine=deepl de:en Test
Test

[ Emoji -> English ]

Wow. That is weird. I just tried ad-si's example above (and a few variations) and I now get the same thing (sort of):
trans -e deepl "Wo bist du?"
Wo bist du?
[ Emoji -> English ]
Deus ex machina? ;)

FYI, DeepL is proactively blocking unauthorized access on a per IP basis. Once you get blocked, even the web interface will fail you for hours or so. Just don't use that engine now.

Thanks, soimort. Adieu, DeepL.

Support for DeepL will be abandoned in the next release.
DeepL is using all kinds of inscrutable conventions to prevent HTTP simulations: Such as requiring a redundant whitespace in the request string "method": "LMT_split_into_sentences"; together with some mysterious server-side timestamp and id verification. Upon receiving an invalid request, it might just block your IP for ages, which makes it very high-maintenance to hack.
It might be possible to find a way, but it won't worth my time; anyway, they might be already watching this repo (which is open-source) for countermeasures, so our asses are broken too easily.

Support for DeepL will be abandoned in the next release.
DeepL is using all kinds of inscrutable conventions to prevent HTTP simulations: Such as requiring a redundant whitespace in the request string "method": "LMT_split_into_sentences"; together with some mysterious server-side timestamp and id verification. Upon receiving an invalid request, it might just block your IP for ages, which makes it very high-maintenance to hack.
It might be possible to find a way, but it won't worth my time; anyway, they might be already watching this repo (which is open-source) for countermeasures, so our asses are broken too easily.

Maybe the time is over to not have deepl on board?
now i see it in alot of plattforms on the web using it/deepl (e.g mastodon).
Or is this issue still up to not include deepl?
I was looking for a translation tool in my debian (again).
i just want ONE installation. and switch to an engin i can have w/o internet.
and i dont want all that extras packages other software offer to have deepl on board. hmm
idea: maybe someone can bundle an app as extension for this project to have it on a lot of linux distros ?

Maybe the time is over to not have deepl on board? now i see it in alot of plattforms on the web using it/deepl (e.g mastodon). Or is this issue still up to not include deepl?
I was looking for a translation tool in my debian (again). i just want ONE installation. and switch to an engin i can have w/o internet. and i dont want all that extras packages other software offer to have deepl on board. hmm
idea: maybe someone can bundle an app as extension for this project to have it on a lot of linux distros ?

In order to use deepl on a Mastodon instance, it needs to provide an API key first; but that's not the case for translate-shell.
Just to be clear, this issue is up to not include deepl in an API-free way, as I can no longer afford the time personally to hack & circumvent the anti-scraping technique. If anyone is unhappy about that, they are mostly welcome to hack it themselves and/or submit a PR.
Whether we should include deepl for people who can provide their own API keys is open for discussion (#396, #457). So please upvote / comment there if you like the idea.


The script wouldn't run.

Any time I try to run the script, this error appears:
image
In fact, the script worked just once, but not anymore.

Hi, try it now. It should run, but your previous settings won't be restored unfortunately.


Update diagrams

These are autogenerated by rake and db:migrate.

Now that I've seen the diagrams in GitHub, the content is the same. Not sure why they get generated at a slightly different resolution locally on my machine.


Android wss "No subjectAltNames on the certificate match" error

I am using library version 1.5.1 and Android OS version 7.1.2.
I was trying to follow "SSLClientExample", but I keep getting "javax.net.ssl.SSLHandshakeException: No subjectAltNames on the certificate match" error. Can anyone point me in a direction what to do? I am completely stuck. I tried adding SAN to my server certificate and keep getting the same error. Here is my code.
       SSLSocketFactory factory = null;

        AssetManager assetManager = getAssets();
        KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());
        ks.load(assetManager.open("keystore.bks"), KEYPASSWORD.toCharArray());

        KeyManagerFactory kmf = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm());
        kmf.init(ks, KEYPASSWORD.toCharArray());

        KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType());
        keyStore.load(assetManager.open("truststore.bks"), KEYPASSWORD.toCharArray());

        TrustManagerFactory tmf = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
        tmf.init(keyStore);

        SSLContext sslContext = null;
        sslContext = SSLContext.getInstance("TLS");
        sslContext.init(kmf.getKeyManagers(), tmf.getTrustManagers(), null);

        factory = sslContext.getSocketFactory();

    ArrayList<IProtocol> protocols = new ArrayList<IProtocol>();
    protocols.add(new Protocol("ocpp1.6"));
    protocols.add(new Protocol(""));
    Draft_6455 draft_ocppAndFallBack = new Draft_6455(Collections.<IExtension>emptyList(),
            protocols);
      mWebSocketClient = new WebSocketClient(uri, draft_ocppAndFallBack) { ...}

      mWebSocketClient.setSocketFactory(factory);

Hey,
Looks like your certificate does not match the url you are connecting to.
Best regards,
Marcel

I am using the same URL from certificate's CN, but I kept getting the same error.
The only way I could solve it(probably not really a legitimate solution), was to follow guide at
https://github.com/TooTallNate/Java-WebSocket/wiki/No-such-method-error-setEndpointIdentificationAlgorithm
and override hostname checker provided by Android.
It allowed me to move past this issue, but as I said I am not sure it is just a workaround or a real solution.
Either way, since I am no longer dealing with this issue, I am going to close it for now.


What IAM policies are required to deploy this?

Hi, the screenshots for this look like it would be very useful - wanting to deploy it ourselves and was wondering: what IAM policies do we need to grant this app to work?

Hi @samjarrett, excellent question, the readme needs updating with this information and I'll attach a sample policy document asap, but in the mean time the monitor needs:

EC2 Describe instances
ECS List and describe clusters
ECS List & describe container instances
ECS List & describe services
ECS List task definitions
ECS List & describe tasks
CloudWatch describe log streams
CloudWatch get log events
CloudWatch get metric stats

So essentially its list & describe permissions for EC2, ECS and CloudWatch - But as I say I'll attach a sample/recommended policy document asap.

I've attached a recommended IAM policy which can be found here


Update windows-boot-failure.md

This document had missing steps for Gen2 VMs and there were couple of notes that needs to be added here so that it will help customers who follow this document for troubleshooting the issue.

@microsoft-github-policy-service agree company="Microsoft"

@ajsing I made some editorial changes and fixed some grammar/formatting issue for readability. Let me know if there is any problem. If no, we will publish these changes. Thanks.

@AmandaAZ: it looks fine, should be good to publish. Thanks


USB/IP client for windows7/10

I need a USB/IP client that supports Windows7/10, and I can spend money to purchase it

Both OS are too old and will not be supported

Some of our clients are currently using these two systems and we need to meet their requirement

Windows 10 x64 Version 1809, OS build 17763) and later are supported. There is no way to support Win7.


Dy v2.2.0 data migration

Don't merge. Keep it open to make sure that the preprod branch only has the differences that are env specific to release for pre-prod


Failed eopatch_1_col-0_row-1 with During execution of task SentinelHubInputTask:

I am trying to run the examples present at the location eo-learn/examples/crop-type-classification/ in your github repository, while executing the following cell:

execute workflow and save the names of those that failed
failed = []
for patch_name in tqdm(patch_list):
# add EO data if possible
try:
workflow.execute({load: {'eopatch_folder': patch_name},
add_l2a: {'time_interval': time_interval},
#add_sc_feature: {'data': {}},
#add_rl_feature: {'data': {}},
save: {'eopatch_folder': patch_name}})
# append EOPatch name to list for further investigation
except Exception as ex:
print(f'Failed {patch_name} with {ex}')
failed.append(patch_name)

I am getting the following error:
Failed eopatch_1_col-0_row-1 with During execution of task SentinelHubInputTask: Configuration parameters 'sh_client_id' and 'sh_client_secret' have to be set in order to authenticate with Sentinel Hub service
Failed eopatch_2_col-1_row-0 with During execution of task SentinelHubInputTask: Configuration parameters 'sh_client_id' and 'sh_client_secret' have to be set in order to authenticate with Sentinel Hub service
Failed eopatch_0_col-0_row-0 with During execution of task SentinelHubInputTask: Configuration parameters 'sh_client_id' and 'sh_client_secret' have to be set in order to authenticate with Sentinel Hub service
Failed eopatch_3_col-1_row-1 with During execution of task SentinelHubInputTask: Configuration parameters 'sh_client_id' and 'sh_client_secret' have to be set in order to authenticate with Sentinel Hub service

I have set the client name and secrets in above cells, but still getting this error i am unable to understand, please guide me how to remove this error, i am also attaching the screenshot for much clarity. Thank you

Hi @Ehsan125,
Please make sure that the config object, that is passed to SentinelHubInputTask as a parameter, contains valid sh_client_id and sh_client_secret attributes.

I am attaching the screenshot, the configuration cell was ran successfully, and i do not know how can i check the validity of this in config object, please enlighten me.

There are 2 problems:

Your code does not set credentials, it just compares existing, probably empty, credentials with your credentials. The code should be something like:

config = SHConfig()
config.sh_client_id = '<your client id>'
config.sh_client_secret = '<your client secret>'

if config.sh_client_id == '' or config.sh_client_secret == '':
    print("Warning! To use Sentinel Hub services, please provide the credentials (client ID and client secret).")

You are trying to set your username instead of an OAuth client id. Please check this part of the tutorial video that shows what exactly OAuth client id is. Your OAuth client secret is seems to be ok.

The notebook also contains a link to configuration instructions with all this information and more.

Thank you for your valuable addition in code, i have followed the exacts steps of getting the OAuth client id and secrets, as your suggested video tutorial, now i am getting the following error:

Failed eopatch_1_col-0_row-1 with (During execution of task SentinelHubInputTask: ({'status': 400, 'reason': 'Bad Request', 'message': 'Illegal client_id', 'code': 'OAUTH_ERROR'}) )
Failed eopatch_2_col-1_row-0 with (During execution of task SentinelHubInputTask: ({'status': 400, 'reason': 'Bad Request', 'message': 'Illegal client_id', 'code': 'OAUTH_ERROR'}) )
Failed eopatch_0_col-0_row-0 with (During execution of task SentinelHubInputTask: ({'status': 400, 'reason': 'Bad Request', 'message': 'Illegal client_id', 'code': 'OAUTH_ERROR'}) )
Failed eopatch_3_col-1_row-1 with (During execution of task SentinelHubInputTask: ({'status': 400, 'reason': 'Bad Request', 'message': 'Illegal client_id', 'code': 'OAUTH_ERROR'}) )

I suspect that your OAuth client id is still not correct.

Thank you soo much for your help, you are pro. I have solved the error by your help, now it is taking too long to fill the process bar. i do not know why? i am closing at least this issue.


[HTTP 500] SNAT Port Exhaustion issue for JS Application services

Description
We've been experiencing some issues related to SNAT port exhaustion within the application services when running functional tests for the different Botframework SDK tools . These tests are the SkillFunctionalTests from the Botframework-FunctionalTests repository which run every night on our pipelines.
Specifically for JS tests, it seems that the SNAT port usage is exceeding the limit, so this "port exhaustion" problem comes up.
We received an email with a detail of the specific resources causing this kind of issues and some guidance on a few options to solve them:

Here you can also see the current SNAT connections status for the JS Application Services:

Possible solution
After making some research, we found a suggestion from Azure within the same view where the SNAT connections are, that proposed adding a Regional Virtual Network with service or private endpoints for routing all of the outbound traffic into a Virtual Network.
For us, creating this resource and connecting it to our application services worked successfully, considerably reducing the use of the SNAT ports.
The creation of a VNET worked because we had source and destination within Azure. If you route the traffic outside of Azure, SNAT comes into play and provides you with 128 ports for HTTP communication. These ports can be auto-provisioned by Azure (in batches of 128 additional ports), but this auto-provisioning is not instantaneous and some connections might be lost.
When routing the traffic inside Azure with VNET you gain access to all ports available in the running OS (65.000+) which gave us a boost in network resources efficiency decreasing port usage peaks from 240 to les than 30 and a median of just 7 ports against 50 that we where having.
Virtual network resources

Here you can also see how these fixes resulted to us, reducing the the SNAT port connections to an average of 10.

Maybe we should add a little context at the beginning, adding a link to the functional tests repo, and explaining the kind of tests we are doing there.
Also, I think we should say that implementing VNET solved the issue for us.

Maybe we should add a little context at the beginning, adding a link to the functional tests repo, and explaining the kind of tests we are doing there.
Also, I think we should say that implementing VNET solved the issue for us.

+1

I would add more details here on how we created it (pictures of resources required in Azure). How we added these new resources to our currently existing pipelines and the results of said changes. Going from peaks of 240 ports required with an average of 50 to peaks of 20 (I think) and averages of 7.

I'd also add an explanation of the issue we were having, the symptoms and how it turned out after the fix. Something like:
The creation of a VNET worked for us because we had source and destination within Azure. If you route the traffic outside of Azure, SNAT comes into play and provides you with 128 ports for HTTP communication. These ports can be auto-provisioned by Azure (in batches of 128 additional ports), but this auto-provisioning is not instantaneous and some connections might be lost.
When routing the traffic inside Azure with VNET you gain access to all ports available in the running OS (65.000+) which gave us a boost in network resources efficiency decreasing port usage peaks from 240 to les than 30 and a median of just 7 ports against 50 that we where having.

Should we add some text saying why are we creating the issue? Something like ``We are creating the issue to track this behavior in case anyone faces a similar situation`.
If not, it may sound that we are expecting a solution.

Promoted to MS in # 3777


[BUG] Android: Type androidx.media3.exoplayer.dash.DefaultDashChunkSource$Factory is defined multiple times

Version
6.4.4
What platforms are you having the problem on?
Android
System Version
Generating bundle
On what device are you experiencing the issue?
Real device, Simulator
Architecture
Old architecture
What happened?
After upgrading from 6.4.3 to 6.4.4 I started getting this error when trying to create a signed bundle:
Type androidx.media3.exoplayer.dash.DefaultDashChunkSource$Factory is defined multiple times: [path-to-project]/node_modules/react-native-video/android/buildOutput_a15d4dee7fc4eda61b91308cbb6a2e72/.transforms/c8f30f85078ac0af2a73b555487223f1/transformed/release/androidx/media3/exoplayer/dash/DefaultDashChunkSource$Factory.dex, [path-to-project]/android/app/build/intermediates/external_libs_dex/release/mergeExtDexRelease/classes.dex

It does not happen when running the app on the simulator
Reproduction
No response
Reproduction
Step to reproduce this bug are:
Create a signed bundle release with new version 6.4.4

Can you run gradlew clean in your android folder ? I suspect this is just a build issue.

What is your Android version?
I think it's 11.

I am also having the same issue

same issue

Please follow these steps:

Perform a clean build of the project:
In Android Studio, go to Build > Clean Project, then go to Build > Rebuild Project.

IDE Cache Issues:
In Android Studio, go to File > Invalidate Caches / Restart, and select Invalidate and Restart. This will clear the cache and restart the IDE.

Remove node_modules:
In the root of your project, run the command rm -rf node_modules, then run yarn install to reinstall the dependencies.

Im also having the same Issue, I tried to clean the cache and do a fresh install, but that did not help. Downgrading to 6.4.3 resolved the issue for now

Same issue

This PR will fix this issue.

Fix integrated in 6.4.5. The version has been released


pact-jvm-provider and pact-jvm-java8 fat jars

In #747, you provided a shaded jar for the pact jvm consumer library, for which I'm very grateful. However, one of the team's we were hoping this would solve some problems for is a provider, rather than a consumer. Could you provide shaded jars for that library and the java8 one, too?

The shaded jar contains all the consumer libraries, including the Java 8 one. It also contains all the provider ones excluding the build plugins.
Which provider library are you wanting?

That's funny. Is this what the maven dependency for the fat jar is supposed to be?
<dependency>             <groupId>au.com.dius</groupId>             <artifactId>pact-jvm</artifactId>             <version>${pact.version}</version> 			<type>pom</type>             <scope>test</scope>         </dependency>

Ok. Do the import statements need to change when we use the fat jar? Because when I tried using the fat jar on a project with provider side tests in place of the pact-jvm-provider-junit_2.12 library, it couldn't find any of the pact classes I was trying to import. I got errors like "package au.com.dius.pact.provider.junit does not exist," and when I tried deleting the old import statements and running "fix imports" on the file, it couldn't find a package in the fat jar library that contained them.

Ok, I'll have a look as it should have those packages in it.

I've checked the latest version, and after unpacking the JAR file I can see the class files in there. It must be your project setup. Are you using IntelliJ or Eclipse?

It is the all classifier that you are missing.
<dependency>
            <groupId>au.com.dius</groupId>
            <artifactId>pact-jvm</artifactId>
            <version>3.5.24</version>
            <scope>test</scope>
            <classifier>all</classifier>
        </dependency>

That works. We'll get people using it.


Strip .egg-info folders from iree-base-compiler whl files.

Tentative fix for https://github.com/iree-org/iree/issues/19155
The .egg-info/PKG-INFO file is not handled by promote_whl_from_rc_to_final.py (since the underlying change_wheel_version package doesn't handle it), resulting in partial version promotions.

Did more testing with the PkgCI artifacts, so I'm reasonably confident this is working.

Downloaded linux_x86_64_release_packages from https://github.com/iree-org/iree/actions/runs/11848137572?pr=19156
Extracted iree_base_compiler-3.0.0.dev0+892393a41bb06d4b2e8e39152c8bcdae92a60497-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Installed that whl and checked version:pip install ~/Downloads/dev/iree_base_compiler-3.0.0.dev0+892393a41bb06d4b2e8e39152c8bcdae92a60497-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

pip show iree-base-compiler

# Name: iree-base-compiler
# Version: 3.0.0.dev0+892393a41bb06d4b2e8e39152c8bcdae92a60497

Converted the versions in that whl, installed, and checked version again:./build_tools/python_deploy/promote_whl_from_rc_to_final.py ~/Downloads/dev/iree_base_compiler-3.0.0.dev0+892393a41bb06d4b2e8e39152c8bcdae92a60497-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

pip install ~/Downloads/dev/iree_base_compiler-3.0.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

pip show iree-base-compiler

# Name: iree-base-compiler
# Version: 3.0.0

The remaining question is "did this break anything"? For that, I'm trusting the test coverage in pkgci.yml.


Segments API bitness attribute for x86 binaries that have a mix of 16-bit and 32-bit segments

Currently, when you load a MBR containing a mix of 32-bit protected mode and 16-bit real mode code you must specify the architecture as either x86-32 or x86-16. There is no way to tell BN that segment x is 16-bit and segment y is 32-bit code. For this reason, analysis is often inaccurate requiring a lot of undefining/re-creating functions.
I'd like the segments API to consist of a bitness attribute and analysis to decompile x86 code based on the segment bitness. In IDA, you can Change segment attributes by hitting Shift+F7, right clicking on a segment, and clicking Edit segment. In this window there is a "Segment bitness" combo box that allows you to select 16-bit, 32-bit, or 64-bit.

We agree that this is an issue but we would be unlikely to fix this in this way.


document dirid 13

Hi @jasonknichel, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;


[CI] Don't trigger GHA pull_request on PRs from local branches

See https://github.com/crystal-lang/crystal/pull/9890#issuecomment-723636259

There is a workaround suggested by piersy in the thread you linked: https://github.community/t/how-to-trigger-an-action-on-push-or-pull-request-but-not-both/16662/10

Resolves #9890

This seems to be working as intended (despite https://github.com/crystal-lang/crystal/pull/9890#issuecomment-724334502). Only jobs triggerd from the push are running.

@straight-shoota That solution wasn't working for me.

Yeah, maybe there was some confusion because the configuration changed after the PR was created. Or some other glitch. I mean this configuration shouldn't really disable all jobs.
That's why I figured to try again.


Additional features and bugfixes for anav

Tasks

[x] Create an issue to discuss what you are going to do, if you haven't done so already (and add the link at the bottom)
[x] Give this pull request a descriptive title that can be used as a one line summary in a changelog
[x] Make sure your code is composed of functions of no more than 50 lines and uses meaningful names for variables
[ ] Circle/CI tests pass. Status can be seen below your pull request. If the tests are failing, click the link to find out why.
[ ] Preferably Codacy code quality checks pass, however a few remaining hard to solve Codacy issues are still acceptable. Status can be seen below your pull request. If there is an error, click the link to find out why. If you suspect Codacy may be wrong, please ask by commenting.
[x] Please use yamllint to check that your YAML files do not contain mistakes
[x] (Only if really necessary) Add any additional dependencies needed for the diagnostic script to setup.py, esmvaltool/install/R/r_requirements.txt or esmvaltool/install/Julia/Project.toml (depending on the language of your script) and also to package/meta.yaml for conda dependencies (includes Python and others, but not R/Julia)
[x] If new dependencies are introduced, check that the license is compatible with Apache2.0

Modified recipe/diagnostic

[x] Update documentation for the recipe to the doc/sphinx/source/recipes folder

[x] Update provenance information if needed

[ ] Assign the author(s) of the affected recipe(s) as reviewer(s)

all diagnostics for anav: check before convert_units that the data is not already in this unit (otherwise error) - application example: tos in CMIP6 has degC cmor unit and degC plot unit

evolution plot: Fixed ensemble name from hardcoded "CMIP5" to name given in recipe. Why not simply take project name from data? My application uses the same ensemble but different experiments so wanted easy way to distinguish.

removed "legend_year_outside" attribute that isn't used in any diagnostics

esmvalcore._task.DiagnosticError: An error occurred during execution of NCL script carbon_cycle/mvi.ncl, see the log in /mnt/lustre02/work/bd0854/b309057/ESMValTool/v2_output/recipe_anav13jclim_20200714_083603/run/diag_mvi_tas/mvi_global/log.txt

In the diagnostic log:
Variable (all_data_yearly) is still undefined, unable to reference attribute units

Are you sure you're using the last version? I had accidentally copy pasted with the wrong variable, but fixed it in a later commit. recipe ran through no problem on mistral last night right before I made the pull request

Yes, sorry, I was missing the last commit.
Trying again.


Migrate Entities

Migrate Functions and ViewPost: Done
Entity Template: Done
Seperate txt Functions for card vs full: In progress

For separate txt functions in regards to list/card view and full entity page view just implementing the functions with the card/list aspects stripped out. Will create separate issue for refining them. Deciding this due to needing to research and to plan out the UX for the full entity page.


[KYC Match / KYC Fill-in] OpenID Foundation (OIDF) collaboration

Problem description
Based on the presentation about OIDF eKYC-IDA made on February 6th, is there any better way for collaboration / allgienment with OIDF eKYC-IDA specs, as CAMARA adopts OpenID Connect features.
(Spin off from Issue #65, item No.11, as per Action Item #13.03)
BR

I would agree with @AxelNennker that opening an issue in the eKYC-IDA repository would start the discussion in the working group and anyone is free to attend the working group meetings.
In terms of ways for collaboration, I can work with the eKYC-IDA Chairs to coordinate specific times to address CAMARA related issues/topics to allow CAMARA members to participate in the discussion. When working with GSMA, we also arranged workshops (in-person and virtual) to discuss current open issues and solutions.


add special-element demo

增加一个 运用 special element 实现 dropdown的 demo

@houfeng0923 thx, it's too complicated as an special-element example. It'll be moved to showcase dir.

@houfeng0923 it's convenient to use English in github communication. Pls use English for your code, comment and UI text.


error: when make pytorch wrapper

Hi @BrianPharris
Could you please give me some help?
I cannot make pytorch wrapper, there is error message.
nvcc -arch=sm_61 -std=c++11  --use_fast_math -lineinfo -maxrregcount 128 -I .. wavenet_infer.cu ../matrix.cpp -lz -Xcompiler -fPIC -shared -o wavenet_infer.so
wavenet_infer.cu(97): error: argument of type "int *" is incompatible with parameter of type "int"
wavenet_infer.cu(97): error: argument of type "int" is incompatible with parameter of type "int *"
2 errors detected in the compilation of "/tmp/tmpxft_00006df7_00000000-8_wavenet_infer.cpp1.ii".
Makefile:48: recipe for target 'wavenet_infer' failed
make: *** [wavenet_infer] Error 1
However, before you last commit, I still can make pytorch wrapper successfully.

Hi @ShichengChen - my apologies, I just reverted the merge.


 This is caused by hotswapping constantly taking place:
https://github.com/user-attachments/assets/4e324453-ab37-42dc-91bc-513732f9395e
Expected-behavior
The TS generator is not run unless a project class is changed
Reproduction
copilot-client-test-hilla in copilot. Does not reproduce in a new starter project
System Info
Hilla: 24.5.0.alpha10
Flow: 24.5.0.alpha15
Vaadin: 24.5.0.alpha12
Copilot: 24.5-SNAPSHOT
Copilot IDE Plugin: 1.2.0-intellij
Java: JetBrains s.r.o. 17.0.10
Java Hotswap: true
Frontend Hotswap: Enabled, using Vite
OS: aarch64 Mac OS X 14.6.1
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36

This was a HotswapAgent issue fixed in HotswapAgent 2.0.1


Windows node fails to register in a cluster with k8s version 1.15.0

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Create a custom cluster on rancher:master-head
Add a linux node - Ubuntu 18.04 LTS - all roles
Add a windows node - 2019 - worker role.

Expected Result:
Node should get registered with the cluster
Actual Result:
Windows node fails to register

Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): master-head
Installation option (single install/HA): single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): custom
Kubernetes version (use kubectl version):

1.15.0

Hello @loganhz is this still on hold in review? Thanks

yes

@sangeethah @sowmyav27  Before these 2 PRs merged, the workloads under system project might not be scheduled successfully. You need to delete the red pods manually to workaround it.
https://github.com/rancher/kontainer-driver-metadata/pull/29
https://github.com/rancher/rancher/pull/22346

Link to PR https://github.com/rancher/kontainer-driver-metadata/pull/9

Verified with latest master-head.
Setup:
Windows AWS node: `Windows_Server-1903-English-Core-Base-2019.08.16`
Linux Node: `18.04 Ubuntu LTS`
Linux node docker and Windows node docker - 19.03, k8s version - 1.15.3

Steps:

Launch a custom cluster
Register 1 etcd and control plane linux node
Register 1 worker linux node
Register 2 worker windows node.
Windows cluster comes up active. Windows nodes are registered.

Basic test cases - deploying workloads, ingress, nodeport works.


Not Functioning?

I hoped to not create an issue here, but I'm completely lost or it's not working for my install. I installed the extension and jupyter labextension list returns:
JupyterLab v0.35.4 Known labextensions:    app dir: /home/duncan/.local/share/jupyter/lab         jupyterlab_vim v0.10.1  enabled  OK
However when I am inside an iPython notebook in Jupyter Lab, I have no vim control when inside a cell. I still see a " | " cursor which is always in insert mode like normal. I tried reading the Readme a few times but I'm afraid I'm either dumb and don't know how to enter vim mode or something isn't right on my end.

@duncanam Sorry about that, definitely not your fault. It's not easy to tell why stuff isn't working with stuff like this. I'm not sure what the problem is, I assume you refreshed the jupyterlab tab after you installed the plugin?
One thing you can try is looking at the javascript console. In Chrome you can open it from the menu bar: View->Developer->JavaScript Console. Open the console in the tab you have jupyterlab and refresh the page, look for errors in red like so:

I have something wrong with the sidecar plugin but jupyterlab tells me it's fine:
@jupyter-widgets/jupyterlab-sidecar v0.3.0  enabled  OK

In this case I think the sidecar plugin is incompatible with the version of jupyterlab I have.

I think I got it working a little while back, but I currently can't check as jupyter itself is completely broken on my machine. Not sure what's up but I'll figure out that first and then close this.

Alright- I am able to use vim navigation within cells as well as between cells. All is well. For future users having this issue, I am not really sure what changed. Perhaps it was just a restart.

Glad it's working for you. If it happens again please file another issue, thank you!


Added ignore for NCrunch project files.

Actually, looks like this won't be necessary: the issue should be fixed by https://github.com/github/VisualStudio/pull/890


use new mda.streams functions

addresses #31. we've discussed moving more of powstreams to mda.streams in the future.

Changes Unknown when pulling 46dd59fffd8fce83583733b742f538c24583f7b5 on aappling-usgs:master into ** on USGS-R:master**.

it's that issue with unitted and R-devel with appveyor. we've fixed this for streamMetabolizer and mda.streams, but given our current attitude toward powstreams, i'm just going to merge and deal with that another day if at all.


[5.1]Fix Validation unique,exists rule when use multi database connection

Needs description of problem and what you did to fix it.

Closing this pending description of the bug and explanation of fix.


Python 3.12 Wheels

Hi!
Happy holidays!
I've been just doing a routine update of all my libraries and dependency audit for Python 3.12. Would it be possible to get Python 3.12 wheels uploaded?
Thank you so much for all the work you've put into this!
Will

Just released 0.5.0 to PyPI, along with Python 3.12 wheels.


[GeneUpdate] Generalizing the AuctionRefineVC

[x] Added a way to use developerExtras in swift
[x] Started generalizing the AuctionRefineViewController into the new RefineArtworksViewController
[x] Complete generalization

1 Error

:no_entry_sign:
No CHANGELOG changes made

2 Warnings

:warning:
PR is classed as Work in Progress

:warning:
Needs testing on a Phone if change is non-trivial

  Generated by :no_entry_sign: danger

Btw, I’m not sold on the name ‘RefineViewController’, it’s a bit ambiguous.

I’d prefer something like ‘RefinementOptions’ over ‘Refine’
and maybe add something that hints at it filtering a collection, e.g. CollectionRefinementOptionsViewController ?

I don't mind changing the name. It's not necessarily tied to embedded models vc's, so maybe RefinementOptionsViewController makes the most sense. Fun fact: Xcode refuses to refactor -> rename swift :rage:

This is almost done! It'll support sorting & price range at first, and I'll make a new PR for medium/other sections next.

There’s a whole bunch of Live auction related changes in https://github.com/artsy/eigen/pull/1355/commits/12c8f6dcb63e070a88471a969b2ceaa85c738438, both code and icons. What gives?

Not entirely sure - the merge seems to have fixed it.

Suspicious CI fail... -_-

Rebuilding w/o cache

merging this exhausting pr

Epic PR and apt GIF! :metal:


[Button] focus effect padding

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
The focus effect does not cover the hole button

Expected behavior 🤔
Focus must be full width
Steps to reproduce 🕹
Steps:

Add a button
Focus by using the tab key

Context 🔦
No response
Your environment 🌎
No response

not sure what the maintainers think is the best approach here, but maybe adding a prop for longer buttons to the ButtonBase since this is only going to be in certain cases? went through the Ripple.js file to see where the styling originates from

@oliviertassinari could you shed some light on why this was implemented this way? I haven't found any mentions of circular focus indicators in Material Design docs.

Let's just fix it. @mlgrn would you like to take a shot at it?

Hi @michaldudak, may I work on this issue? I think the source of this bug is in this line of code, and I couldn't understand the logic behind it:
https://github.com/mui/material-ui/blob/adda22c283b8d6aea46a1be25e2dd18f4d03c7b9/packages/mui-material/src/ButtonBase/TouchRipple.js#L228
Changing it to rippleSize = Math.max(rect.width, rect.height) will solve this issue.
Do you confirm this proposal?

@oliviertassinari could you shed some light on why this was implemented this way? I haven't found any mentions of circular focus indicators in Material Design docs.

@michaldudak This was by design of the MD v1 spec: https://material.io/archive/guidelines/components/buttons.html#buttons-flat-buttons

Now, looking at the MD v2. spec, I believe that we should remove the ripple on focus.

:+1: Agreed.
@alisasanib could you take Olivier's comment into consideration in your PR?

@michaldudak Yes sure!

@oliviertassinari please let me know if I understood your comment correctly. I checked the latest Material design version for button components, and I think the desired behavior for MUI whenever the button is focused is sth like this:

To achieve this goal, I think we should remove the pulsate related variables, classes, and functions as they won't be necessary anymore. It's also been used by different components such as Button, Tab, and Fab.

I believe @oliviertassinari meant to remove the ripple completely when focusing and leave just the changed background color, as shown on the demo: https://material.io/components/buttons#interactive-demo

Now, looking at the MD v2 and v3. spec, I believe that we should remove the ripple on focus. It should be a simple background change. This would have the added benefit to make Material UI easier to customize.

There is also a change in the shadow when focused:

@alisasanib you take this demo as an example: https://material.io/components/buttons#usage (this is what I used in the gif above).
BTW, we should treat this as a breaking change in my opinion, as it differs quite a bit compared to the previous behavior.

Any update or workaround?

There is also a change in the shadow when focused

We do move the shadow when focused:
Material UI:
https://user-images.githubusercontent.com/4696105/199466639-652599f9-f80e-4338-969e-558a1bce72a4.mov
Material Design 2:
https://user-images.githubusercontent.com/4696105/199466656-8686139d-206d-4906-8e02-25f7a1fbfa53.mov
As for the breaking change - it's always hard to decide when doing visual changes like this. The change won't literally break any applications but will be perceivable by users and may result in new issues. The safe option here would be to introduce a prop controlling the appearance, but I'm not a fan of inflating the API.
There is a workaround in userland possible. Adding the disableFocusRipple prop and styling the focused state to make the button appear lighter should do the trick.


Needed to make Footer Section completely Responsive for all screen sizes.

File Name
src/components/Footer.tsx
Reason for Refactoring the Code
The footer is not completely responsive for smaller screens, make it completely responsive so that it looks perfect on every screen size the fonts, images, logos, etc.
Checklist

[ ] I have checked the existing issues.
[ ] I have read the Contributing Guidelines.
[ ] The changes don't break the code and don't introduce new functionality.
[ ] I am willing to work on this issue (optional).

Congratulations, @AjayAsnani! 🎉 Thank you for creating your issue. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work!We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines

Hi
Is the issue fixed? I don't see any major issues with footer responsiveness. But if there's anything to be changed, I would like to work on it.

Hi @pooranjoyb , I want to work on this issue can you please assign it to me..

If you will see in depth you will see some text overlapping and also there is some alignment issues with left and right div

@SamIsTheFBI go ahead with this let me know if you have any questions.

I can see the problem is with call us and services text overlapping. As this is Up for grabs i'm starting working on this.
If there is anything else i'm missing out in footer section please mention @AjayAsnani

@Amitooo1 This issue is already assigned to @SamIsTheFBI. Either you wait for him to complete this issue or you can look for another issue to work on.

Oh, sorry, I just saw the label "up for work" and i was unaware that it had already been assigned!
@SamIsTheFBI all the best 👍

Hey @pooranjoyb I saw that image paths are not using absolute paths for src. This causes image not being found in certain routes.
For example, here the profile picture & footer images are not found.
I am fixing those issues as well since I just have to simply change the relative paths to absolute paths.

Hi @AjayAsnani , please assign this issue to me under GSSoC'24.


BAU: Fingerprint javascript fixes

The way we were creating the fp_img fingerprint image element with JS
enabled was causing warnings while running the Jasmine tests. The
fingerprint javascript also didn't follow our standard conventions for
modularising our JS and didn't have any Jasmine spec tests.
Author: @vixus0

Looks good to me ✨


Artifacts Can Exchange Places with Ghosts.

Description

Was on Wizards Den Leviathan, watching engineering set up a tesla.
Suddenly I am teleported to science, and when I get back to the tesla setup, there is an artifact there.
Reproduction

Not reproducible in a normal environment without extreme luck.
Screenshots

Round 71685, Wizard's Den Leviathan [East Coast]
About thirteen minutes in I want to guess, round is ongoing.
Additional context

Asked on the discord if that is supposed to happen and the general response was no, ghosts should not be targets for abilities. If this is not a bug, please close.

the arti swapping with you is a different effect from the swaping places effect. what happened was that the artifact made a portal on top of you which you went through, the arti went through the other side of the portal

the arti swapping with you is a different effect from the swaping places effect. what happened was that the artifact made a portal on top of you which you went through, the arti went through the other side of the portal showing up to where you once were. there were no ghosts involved

arti only makes portals to players. the arti made a portal to the ghost.

oh sorry, I missunderstood and didnt realise OP was talking about themselves being a ghost


It is failed to create image.

In GitLab by @cuiaq123 on Jul 18, 2018, 17:07
create image:when create image failed,click cancel wait button，a button in bottom Invisible

In GitLab by @cuiaq123 on Nov 8, 2019, 07:56
board：<IP_ADDRESS> root	xFs8Fwiy
master：
<IP_ADDRESS>	root	xFs8Fwiy
node：
<IP_ADDRESS>	root	xFs8Fwiy
<IP_ADDRESS>	root	xFs8Fwiy
<IP_ADDRESS>	root	xFs8Fwiy

In GitLab by @luotian-github on Nov 8, 2019, 07:56
reproduced locally

In GitLab by @wknet123 on Nov 8, 2019, 07:56
I can't reproduce this issue again. Please provide the full of failure logs in comment.

In GitLab by @wknet123 on Nov 8, 2019, 07:56
Jenkins Slave node is offline, maybe you mistake configuration in Slave node.

In GitLab by @guyingyan on Nov 8, 2019, 07:56
the slave cannot added to jenkins master caused the file board.cfg gave a error password. you host <IP_ADDRESS> root's correct password is 'xFs8sFwiy' but in board.cfg file you  give the password it '123456a?'

In GitLab by @luotian-github on Nov 8, 2019, 07:56
My false. I forgot to modify jenkins node passsword in the board.cfg file.

In GitLab by @sokril on Nov 8, 2019, 08:25
closed

In GitLab by @sokril on Nov 8, 2019, 08:25
assigned to @luotian-github


SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes

Laravel Version: 10
PHP Version: 8.2.0
Database Driver & Version: MySQL 8.0.31

Description:
Whenever I install a new Laravel installation and run php artisan migrate it shows me this error.
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes
I have a solution but if it's fixed by Laravel default installation then that will be good for us.
Thank you

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.


Change color Vimeo embed

In the @vimeo/playe, we have a function: setColor("someColor"). But using the WebView in react-native, the iframe has't no function to change this. Is there a function or a handler to do this in react-native-webview?
To Reproduce:
  <WebView
    showsHorizontalScrollIndicator={false}
    showsVerticalScrollIndicator={false}
    scrollEnabled={false}
    containerStyle={{ backgroundColor: '#000000' }}
    javaScriptEnabled
    scalesPageToFit={false}
    allowsFullscreenVideo
    source={{
     uri: "https://player.vimeo.com/video/<video-link>"
    }}
    />

Environment:

OS: Android
OS version: 12
react-native version: 0.62
react-native-webview version: 11.2

I'm not sure what "iframe" you're referring to, but I'm guessing you'd want to use Javascript injection.

O sorry, maybe it wasn't so clear, the iframe, is the embed, available by vimeo itself. I hadn't connected the dots that I could edit through the DOM, I will try and come back with news, may thanks!


Homework 3

https://video.drift.com/v/absq3ISXDPqqpz5g3idBLglVPHFasWyWfG1BWLQ109E2M/
Output of the code

Metric
Value

alert_status
:white_check_mark: OK

bugs
1

code_smells
28

reliability_rating
C (at least 1 Major Bug)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0

Metric
Value

alert_status
:x: ERROR

bugs
1

code_smells
6

reliability_rating
C (at least 1 Major Bug)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0

Metric
Value

alert_status
:x: ERROR

bugs
0

code_smells
3

reliability_rating
A (0 Bugs)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0


experiment with chartkick

installed gems including chartkick:
bin/bundle install --path vendor/bundle

then copied chartkick's js files to public/ since Sinatra doesn't have an asset pipeline
cp vendor/bundle/ruby/2.5.0/gems/chartkick-3.4.0/vendor/assets/javascripts/* public/

The result:

Some observations:

Default Chart.js backend is not as feature full as Highcharts but the license is MIT so works better for OnDemand.
https://chartkick.com/ is nice but organizing the data to get the stacked bar chart to work took a little experimentation and actually looking at documentation for data format for the JS implementation instead of the Ruby implementation. It is unfortunate you have to break up data into two separate objects to get the stacked chart to work
Chart.js uses canvas. So to make this accessible, a text only alternative is necessary.  Google charts requires using Google API to generate the charts, though it is free to use and Google Charts does auto generate tabular format for screen readers.
Benefit: Charkick is implemented in multiple programming languages/frameworks which implies it actually might be supported for a while.
Drawback: The ungzipped download size is large: Chart.bundle.js 566K and chartkick.js 68K. Compare this to utilities like https://github.com/leeoniya/uPlot or https://gionkunz.github.io/chartist-js/ where the entire charting solution is around 30K. We could start with chartkick and then decide we want to add a chartkick backend to light weight charting or just use light weight charting and add a few Ruby helpers ourselves for use in ERB, if this is something we will use.
Chart.js supports adding patterned color to parts of graphs to distinguish other parts for accessibility purposes.
Yes I did a donut/pie chart here as an experiment. This is not a recommendation to use donut/pie charts. They should be avoided. The original XDMoD dashboard uses this for its job efficiency widget and we could do the same if it didn't take up too much extra space - though a stacked bar chart accomplishes a similar goal. With a real charting library it may beeasier controlling heights of multiple bar charts and we could actually use that instead of a the stacked bar chart.

Looks cool, but can't do anything with it really at this point.


Login 404

When logging in using localhost (while running the server in the background) I am not able to log in. I have tried creating a brand new account using npm run create-user and that also does not work.

I am using the most recent version of dev.
@Gremlinbaby also has the same issue.

Turns out that the config files were out of date.
Be sure that when you update config files by deleting your config.json files and then running python setup.py


For (rl *Shell) Readline(), the input is from os.StdIn, does it support the user-specified io stream as the command input source

For (rl *Shell) Readline(), the input is from os.StdIn, does it support the user-specified io stream as the command input source

Hello,
sorry for not answering earlier, I didn't have much time to work on this library.
So currently the input source is indeed bound to os.Stdin, because the shell also has to monitor for various cursor/terminal escape codes that happen to go through it.
In many cases those escape codes sent back to us by the terminal are mixed along any user-typed keys that would happen to be typed at the same time, and that is why the "key management engine" of this library only uses os.Stdin (it simplifies the code to some extent).
I'm not against giving the option to use another input stream, and it might indeed not be that difficult to implement while preserving the capabilities of this readline library, but I would need some specific example.
Could you provide one ? Maybe some code snippets along with it ?
Thanks


LS optimization: early stop, const arrays in moduleGapSize, simpler logic in isTighterTiltedModules

check inner module occupancy before looping over the segments: small speedup in one event test from 0.95 to 0.90 ms
const arrays in moduleGapSize; provides most of the gain
logic in isTighterTiltedModules adds a few %

Summary:

createSegmentsInGPUv2:

overall profiler for the first event: 0.76 ms -> 0.42 ms
register usage: 80 -> 72

standard timing

There was someone else on the 8-head A100 node during the tests above; so, fluctuations are possible.

I've updated the PR description with notes on the latest commits

Summary using the nvidia cluster:

createSegmentsInGPUv2:

overall profiler for the first event: 0.76 ms -> 0.42 ms
register usage: 80 -> 72

standard timing

There was someone else on the 8-head A100 node during the tests above; so, fluctuations are possible.

@VourMa
the memory use goes down indeed

superseded by #301