search replace

Type: Bug
when I do a ctrl-f and run search replace. When I put in a & to search for and a & with a new line it crashes visual studio code and once and a while my whole os
VS Code version: Code 1.74.0 (5235c6bb189b60b01b1f49062f4ffa42384f8c91, 2022-12-05T16:47:18.476Z)
OS version: Linux x64 6.0.6-76060006-generic
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
AMD Ryzen 9 3900X 12-Core Processor (24 x 4137)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
11, 5, 3

Memory (System)
31.29GB (18.32GB free)

Process Argv
--unity-launch --crash-reporter-id 1a2e262e-cb1c-4ce2-b496-87403f125e7a

Screen Reader
yes

VM
0%

DESKTOP_SESSION
pop

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
pop

XDG_SESSION_TYPE
x11

Extensions (41)

Extension
Author (truncated)
Version

language-x86-64-assembly
13x
3.0.0

vscode-intelephense-client
bme
1.8.2

compare-view
che
0.10.0

vscode-eslint
dba
2.2.6

prettier-vscode
esb
9.10.3

theme-editor
imP
1.9.0

vscode-docker
ms-
1.23.2

isort
ms-
2022.8.0

python
ms-
2022.20.1

vscode-pylance
ms-
2022.12.20

jupyter
ms-
2022.11.1003412109

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.12

vscode-jupyter-cell-tags
ms-
0.1.6

vscode-jupyter-slideshow
ms-
0.1.5

remote-containers
ms-
0.266.1

remote-ssh
ms-
0.94.0

remote-ssh-edit
ms-
0.84.0

remote-wsl
ms-
0.72.0

vscode-remote-extensionpack
ms-
0.23.0

cmake-tools
ms-
1.12.27

cpptools
ms-
1.13.8

cpptools-extension-pack
ms-
1.3.0

makefile-tools
ms-
0.6.0

powershell
ms-
2022.12.1

remote-explorer
ms-
0.0.3

vsliveshare
ms-
1.0.5788

vsliveshare-audio
ms-
0.1.91

vsliveshare-pack
ms-
0.4.0

gremlins
nho
0.26.0

format-html-in-php
rif
1.7.0

nunjucks
ron
0.3.1

markdown-preview-enhanced
shd
0.6.5

code-spell-checker
str
2.12.0

best-light-themes-pack
the
1.0.2

cmake
twx
0.0.17

theme-generator
use
0.0.8

php-debug
xde
1.29.1

php-pack
xde
1.0.3

linkerscript
Zix
1.0.2

php-intellisense
zob
1.0.13

(11 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
pyindex848cf:30577861
nodejswelcome1:30587005
282f8724:30602487
gswce1:30612156
iaj6b796:30613358
89544117:30613380
fim-prod:30623723

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.74.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Updated to the latest version still same issue

Which find widget is it? Is it the find within a file or globally across the workspace?

It's within a file

@kingpinzs are you searching against a large file? Can you please share the document you search if possible to help troubleshoot?

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

I used this text in a new file some text & some more text & and then some more & what the & is going on  and when I did the above steps it crashed my system.

It's pure javascript code but not sure how this can crash the system. Assigning to our Electron experts.

Hi, could you attach a crash dump?

Hi, could you attach a crash dump?

It is not creating a dump file. Any suggestions to getting crash data from linux (Pop!_OS)

Can you please share a screen recording of the steps you have tried to get the crash dumps, thanks!

cannot repro, but would be good if @kingpinzs also verifies this is fixed

I used the latest insiders and it worked as expected. Thank you very much! I tired it on the current release to make sure it was not fixed by me updating my system. The current release still crashed.

Also to note in current release I disabled all plugins and it still crashed and anytime I do it twice it crashes my whole system. So it is definitely fixed in the insider release


Change ORT/atstccfg to generate all files at once, massive performance improvement

What does this Pull Request (PR) do?
Changes ORT/atstccfg to generate all files at once. ORT calls atstccfg once, and it returns multipart/mixed text of all files. ORT then parses the multipart into its variables, and processes all files as normal.
This reduces an ORT run for a large CDN from about 8 minutes to about 20 seconds. Fixing https://github.com/apache/trafficcontrol/issues/4473 brings it down to about 10 seconds.
This also:

includes fixes to a number of ORT slugs I found.
eliminates atstccfg caching, because it's no longer necessary, as atstccfg is only called once for the config file data, and in turn only calls Traffic Ops once for those API endpoints.
adds data arguments to atstccfg for non-config data got and put by ORT, and changes ORT to never directly call TO, but to go through atstccfg for all TO data.
Makes atstccfg build the non-API packages and chkconfig endpoints from API data, so it's not necessary to create new API endpoints for those. Now, the only non-API endpoint used by ORT/atstccfg is /update, whose behavior cannot be replicated with existing API endpoints.
adds a missing client function for an API endpoint needed, GetServerUpdateStatus.
moves preprocessing, e.g. __RETURN__ replacement, from ORT to atstccfg. This was necessary, because ORT no longer has the metadata necessary.

These changes should be transparent to ORT users. ORT itself doesn't change (except to remove the now-unused cache-related flags).
Includes tests for new atstccfg funcs and the client func it adds. Changes are also covered by exitsing config tests.
Includes documentation for preexisting ORT behavior. Though it doesn't actually change the interface.
No changelog, no interface change.

[x] This PR fixes #4436 and fixes #4437

Which Traffic Control components are affected by this PR?

Traffic Ops ORT

What is the best way to verify this PR?
Run tests.
Run ORT, verify it still generates configs properly as before.
If this is a bug fix, what versions of Traffic Control are affected?
Not a bug fix.
The following criteria are ALL met by this PR

[x] This PR includes tests OR I have explained why tests are unnecessary
[x] This PR includes documentation OR I have explained why documentation is unnecessary
[x] This PR includes an update to CHANGELOG.md OR such an update is not necessary
[x] This PR includes any and all required license headers
[x] This PR ensures that database migration sequence is correct OR this PR does not include a database migration
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Additional Information

retest this please

slugs = bugs?

includes fixes to a number of ORT slugs I found.

If anyone wants more detail: the big ones were check_this_plugin and package_installed. These funcs call OS yum data about installed packages, which is reasonably slow.  But we only have ~10 unique plugins and packages.
I changed them to cache results, so they only ever call out to Yum/CentOS once per unique name.
That saved about 2 minutes on my large CDN run, reducing the full ORT run (after the single-file changes and other performance fixes) from about 140 seconds to about 20 seconds.


Task 730 rayza modules create pattern   sign up

Screenshots

Task linked: TASK-730 [modules] Create Pattern - SignUp

I'm working on tests. I just wanted to know if I'm going by right track


raftstore/store: prevent transfer leader when doing snapshot

Please add test.

To make a snapshot situation in test, I tried stop node/write data/start node; I tried partition a node/write data/recover partition; I tried adjust raft GC config, and write large amount data; but never meet the snapshot I want...
Any idea? @siddontang

Please merge master first.

Coverage decreased (-19.4%) to 62.692% when pulling 427747d7ab08a5000d73529e0f953beeda0ef94d on tiancaiamao/abort-transfer-leader-when-snapshot into b59c9df55a8b2f807f624cc70b4e3e983983226b on master.

PTAL @BusyJay

Coverage decreased (-19.4%) to 62.689% when pulling 0120bc1899ad02069ac457e5756568a67d8896cb on tiancaiamao/abort-transfer-leader-when-snapshot into b59c9df55a8b2f807f624cc70b4e3e983983226b on master.

PTAL @BusyJay @disksing

LGTM

PTAL @BusyJay @disksing

LGTM. Please fix the compile error though.

Changes Unknown when pulling d6d6ab1adbffca7666f91cc3b616457c218435cd on tiancaiamao/abort-transfer-leader-when-snapshot into ** on master**.

LGTM


Player Names Overheads

Feature request:
I would like to see an option for showing all players' names overhead - not just friends, but in public too.  This could look similar to friends' names overheads, but could be grey (or customisable colour).  I am forever right-clicking players to reveal their name.  It could also be tied in under Entity Hider.
A possible problem would be in GE - could it also be auto-disabled (or given an option to auto-disable) in GE area?
Mike

This can already be done using the "Highlight non-clan members" option of the Player Indicators plugin


More communication channels for community (slack?)

At the moment, the discussion on sphinx-needs is limited to GitHub Issues. It would be great to have a communication channel like Slack to exchange between sphinx-needs developers + users and among users themselves.
The easiest would be to use the WriteTheDocs -> Sphinx Channel.
As part of this issue, the communication and invitation to the (decided) channel needs to be published in visible places of sphinx-needs social media.
https://www.writethedocs.org/slack/

i'm for it. i'm slowing working my way through this codebase in order to have my head around it enough to start fixing some bugs. I have plenty of questions

i wouldn't mind asking some questions about the services submodule for example. It's very difficult to read

I also like the idea to have a more direct communication channel.
However, me wouldn't be (currently) able to join such a channel very often, as my daily work and the private life take a lot of time. Also some of us live in different time zones, so the chance to meet somebody in the channel may not be so big (for our small community).
I'm just thinking of a more asynchronous way, the good old email  group.
I know it's old fashion, but it works and conversations are findable and archived for everybody on the net.
So there is the chance to be helpful also for prospective community members.
I have already created one via google groups: https://groups.google.com/g/sphinx-needs
Content is accessible to everybody on the net and everybody can join without any check from my side.
But only group members can post.
I also would like to suggest a video/voice meeting via zoom or alternatives.
Maybe we could have a "call" once a month and everybody can join.
If topics are huge or urgent, I'm also open for more frequent meetings org 1:1 meetings.
So what do you thing?
Just as reminder, open tasks:
[] Mail group link in the docs
[] Repeating meeting in the docs (if you like it)
[] 1-2 additional admins for the group

just joined the google group. have not used it before, but it seems a good solution

It's the same service/mechanism how the sphinx and sphinx-dev user groups are working.
Stole the idea from there ;)

I find the idea good. Do we need to split between sphinx-needs and sphinx-needs-dev or keep it together for now?
Let's publish the group and start talking there :)

First post is available 😃  https://groups.google.com/g/sphinx-needs/c/7UGzcLMtYsw

I don't have a dog in this race. Google groups has the advantage of already being implemented.

I somehow am not happy with Google Groups :( The easiest is if @danwos could turn on the "Discussions" in GitHub Repo settings. Then we can have the forum directly here.


Improved errors for data-feed-service API

:nut_and_bolt: Description: What code changed, and why?
Failed API calls to the data-feed-service were returning 500 in all error cases, I have updated the API to return 404 for update, get, delete operations with an id that doesn't correspond to a datafeed destination record
:chains: Related Resources
:+1: Definition of Done
:athletic_shoe: How to Build and Test the Change
:white_check_mark: Checklist

[x] I have read the CONTRIBUTING document.
[x] Tests added/updated? tested in service now dev env and with curl
[ ] Docs added/updated? docs TBD
[x] All commits have been signed-off for the Developer Certification of Origin.

:camera: Screenshots, if applicable

@vinay033 status codes have changed for some error conditions in the API. Just making you aware in case this impacts the work you are currently doing


Doc: move to pydata sphinx theme

Changelog:
Move sphinx theme to pydata_sphinx_theme
closes #3993

I've updated doc dependencies and added the theme as dependency for Debian12 packaging.
Note: pydata theme is not available but default in Debian10 and only as backport in Debian11 (see https://packages.debian.org/search?suite=default&section=all&arch=any&searchon=names&keywords=pydata), and it is only available from Ubuntu22.04 onward (https://packages.ubuntu.com/search?keywords=pydata&searchon=names&suite=all&section=all).

Ready for review, you can see the result here: https://www.silx.org/pub/silx/2023-12-12-doc-test/

just on time for silx 2.0 :smiley:  :rocket:


Frontend: Add album to playlist

Discussed in https://github.com/orgs/music-assistant/discussions/1767

Originally posted by maste9 January  6, 2024
When I yet wanted to summarize two albums into one playlist I had to notice that there's no way to that except of choosing one track at a time and add it to playlist.

It would be nice, if there was an Add to playlist button in the play button's context menu of an album.

@jozefKruszynski Just tried this but it didn't work properly. I have my test playlist which had one track in it. I then added an album and it became this:
filesystem_smb://track/The Beatles/1/Disc 1/02. From Me To You - Beatles.flac
filesystem_smb://track/Oasis/(What's the Story) Morning Glory/03. Wonderwall - Oasis.flac
filesystem_smb://track/Oasis/(What's the Story) Morning Glory/10. Morning Glory - Oasis.flac
filesystem_smb://track/Oasis/(What's the Story) Morning Glory/09. She's Electric - Oasis.flacOasis.flac
filesystem_smb://track/Oasis/(What's the Story) Morning Glory/11. [Untitled Track] - Oasis.flac
filesystem_smb://track/Oasis/(What's the Story) Morning Glory/12. Champagne Supernova - Oasis.flac
filesystem_smb://track/Oasis/(What's the Story) Morning Glory/06. [Untitled Track] - Oasis.flac

Tried to create a new playlist with a different album and you can see there is corruption in the file:
filesystem_smb://track/Simon & Garfunkel/20 Greatest Hits/05. The 59th Street Bridge Song - Simon & Garfunkel.flacflac
filesystem_smb://track/Simon & Garfunkel/20 Greatest Hits/07. At The Zoo - Simon & Garfunkel.flac
filesystem_smb://track/Simon & Garfunkel/20 Greatest Hits/20. Song For The Asking - Simon & Garfunkel.flac- Simon & Garfunkel.flac
filesystem_smb://track/Simon & Garfunkel/20 Greatest Hits/10. We've Got A Groovy Thing Goin' - Simon & Garfunkel.flac

File provider still has issues with multiple tracks being added to a playlist right. I'll try to look at that one and this today.

@jozefKruszynski any progress on this one?

this one should be fixed - can you confirm @OzGav ?

Yes. There are some other issues with what playlists are available to be added to but the option is there in the menu and it works when a playlist is selected.


[desktop:windows]: Horizontal resizing doesn't work on secondary display.

Describe your issue and include the command you're running, flutter_desktop version, browser version
Issue found on the following flutter install:
Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 2.10.1, on Microsoft Windows [Version 10.0.19044.1526], locale en-US) [√] Android toolchain - develop for Android devices (Android SDK version 32.0.0) [X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)     ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable. [√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.0.6) [√] Android Studio (version 4.1) [√] VS Code (version 1.64.2) [√] Connected device (2 available) [√] HTTP Host Availability
Both in debug mode, as well as in the release build, Window application can't be resized horizontally when moved onto a secondary monitor (to the left of the primary one).
Important note: I am using fluent_ui and a FluentApp, not MaterialApp. Not sure if that affects scaling behavior however.
Also noticed that as long as the right edge of the app window is on the primary monitor it can still be resized horizontally, however it does lock onto the edge between the 2 screens for a while when passing through it.
Video demo of the error: https://www.youtube.com/watch?v=98VipG7K1DM

@ZyphenVisuals
Since I don't have multiple monitors to verify this, but can you confirm if this behavior also occurs using default counter app with MaterialApp too ? Or is there a way to replicate this without involving monitors ?

Cannot replicate with default MaterialApp, neither after changing it to a FluentApp.
After some testing I narrowed down the problem to the package window_manager. I had already suspected it so I tested without importing or using it, but it seems the error appears right after installing it with flutter pub add window_manager, even if you never do anything with it.
Demonstration: https://youtu.be/R2KcCFDJOUs
I understand window_manager might be unrelated to the Flutter dev team. If so, I will close this issue and try submitting an issue on their page.
Thanks for the help!

Additional information: The error is unrelated to FluentAPP or fluent_ui. The exact same happens with the default Material Counter after performing flutter pub add window_manager, as shown in the last video.

Thanks for additional details. From what I understand, this seems to be happening after you add window_manager, so you will probably need to report this in dedicated repo: https://github.com/leanflutter/window_manager/issues
I am closing from here. If you disagree, write in comments and I'll reopen it.


Update Dockerfile

The project dockerize is not being used.

Uses the Microsoft Build of OpenJDK

@brunoborges I realized about one issue of the new Dockerfile.
I can build the image using my local environment, however, when I try to build the image in Azure Container Registry there is an error with the following command:
COPY --from=builder application/application/ ./
I found a workaround here and I opened an issue on the ACR repo, my understanding is that is related to the version used by ACR agents to build the image.
what I did in my local environment is adding RUN true between the two copy commands:
COPY --from=builder application/snapshot-dependencies/ ./
RUN true
COPY --from=builder application/application/ ./


Implement async worker

let's call it AsyncWorker. I think it will store AsyncQueue and some configuration parameters

this struct can be created with TypedBuilder

create looping that will be fetching tasks and executing them

if there are no tasks, it should sleep

Async Worker implemented with tests :D

implemented in https://github.com/ayrat555/fang/pull/46


Error when setting away mode

Before submitting a new issue

[x] I redownloaded the latest release and restarted Home Assistant
[x] I've checked known issues
[x] I've enabled debug logs and attached the relevant logs to this ticket

Problem description
Using version [v0.7.4b9]
When setting away mode, the error below appears. The default temperature setpoint and all other settings in the integration configuration options are set, but the error persists.
Logs
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:239
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 11:23:11 AM (1 occurrences)
Last logged: 11:23:11 AM

[140224036672704] setpoint is required on this controller
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 239, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2319, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2356, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 905, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 975, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/config/custom_components/mypyllant/switch.py", line 62, in async_turn_on
    await self.coordinator.api.set_holiday(self.system, end=end)
  File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 765, in set_holiday
    raise ValueError("setpoint is required on this controller")
ValueError: setpoint is required on this controller

Please try https://github.com/signalkraft/mypyllant-component/releases/tag/v0.7.4b10 which should use the configured default temperature from the options.

Is there an option to set the default "away" temperature un the myVaillant app? I did not find an option, but if I start the away mode I cal set the temperature. Would be great if this would aslso be possiblem in the integration.


Adjust documentation to use floats for timeouts instead of ints

While ints work fine here, it's not the native or most precise numeric type available for these. The requests and urllib3 libraries expect float.

Thanks for the PR. I'm fine with including float in the docstring, but I still think we should still document integers as a valid type. Could we instead change the value to be int/float to indicate both types are accepted?

@kyleknap sure, will revise.

@kyleknap I've adjusted the text to say float or int and have re-based.


Due to the move this action is no longer a verified action

          Due to the move this action is no longer a verified action.

[Error] googleapis/release-please-action is not allowed to be used in redacted/workflows. Actions in this workflow must be: within a repository that belongs to your Enterprise account, created by GitHub, verified in the GitHub Marketplace, or matching the following: redacted.

Originally posted by @DuncanCasteleyn in https://github.com/googleapis/release-please-action/issues/980#issuecomment-2106846228
Like I reported in another issue, this action is no longer verified since being moved however at my client not all actions are allowed to run and they need to be verified to be used or added to an exclusion list with a pinned version, this means that updating requires me to go through an approval progress each time, verification makes this action easier for me to upgrade and is probably required by other organizations as well.
I'm creating this issue to track the progress on getting this action verified again. See https://docs.github.com/en/apps/github-marketplace/github-marketplace-overview/applying-for-publisher-verification-for-your-organization

Can we get an ETA when this action wel become verified again? I think I'm not the only one waiting for this.

Looks like it was verified recently?

Thanks for letting me know, I will close this issue then.


Generate Load Scripts fails with BadImageFormatException on Microsoft.TestPlatform.TestHost

Description
When the package Microsoft.TestPlatform.TestHost is a dependency in paket.dependencies file and it is tried to create a load script for that dependency paket fails with a BadImageFormatException.
Repro steps
See a repro repo here: https://github.com/ChrSteinert/Paket-3097
Do a paket install && paket generate-load-scripts do trigger the bug.
Expected behavior
Paket ignores native dll files.
Actual behavior
Paket tries on multiple occasions to load .dll files of a package. Some are guarded by try…with, but some are not. Load Script generation hits the latter one and breaks if it tries to load native dlls from (for instance) the Microsoft.TestPlatform.TestHost package.
Known workarounds
Do not generate Load Scripts for those packages.

any chance to send a fix? I think @isaacabraham  hit it as well

Hmmm. I vaguely remember something about this but can't remember when or where. Getting old I guess...

It was hitting you here: https://github.com/fsprojects/FSharp.CloudAgent/pull/19 @isaacabraham 😄

Let me see if I can understand what is going on quickly and not just bash a try…with in there as well…


Alignment panel fix for single element

Fixes of #1246
For single selection, alignment should work based on page.

@barklund Added tests for panel and the custom hooks.


Add two linux questions to linux-quiz.ts

Summary of changes

Checklist

[x] I have read and followed the contribution guidelines.
[x] I have read through the Code of Conduct and agree to abide by the rules.
[x] This PR is for one of the available issues and is not a PR for an issue already assigned to someone else.
[x] My PR title has a short descriptive name so the maintainers can get an idea of what the PR is about.
[x] I have provided a summary of my changes.

closes #XXXXX

I have added 2 linux questions


Update moved debug toolbar on OSX.

The update moved the toolbar location over the window control buttons.  Is there a setting to fix this?

This is the default setting for Debug: tool bar location.  It makes grabbing difficult since the move handle is under the close button.  I was able to change the setting and was able, in testing, to grab the toolbar handle and move it.  I would suggest a different default position for "floating".  However, this was more my issue.


Fix/node modules

removed the node_modules installation and added some tests

:tada: This PR is included in version 1.10.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Expand JamHat buzzer range

Just a little change to allow the buzzer to play from A0 to A8, rather than the narrow A3 to A5 default.

Was talking to @waveform80 about this - we really ought to provide a way to set this at init - might be part of a bigger change to allow a dict of params for each device within the composite device.
We ought to leave JamHat's buzzer as TonalBuzzer's default, but provide a way to set it. I'm going to close this, and I'll open an issue to discuss the wider solution.
Thanks though

Ah, thanks @bennuttall.


new github workflow: create a release

when a new release PR is merged
release PR needs to be labeled with "release" label

Will be replaced by the final version by @majamassarini


#11585: README for pkg/signal.

Signed-off-by: Vladimir Roudakov<EMAIL_ADDRESS>

Can you please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "11585-3" git@github.com:VladimirAus/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

This will update the existing PR, so you do not need to open a new one.

LGTM
thanks @VladimirAus


Access the calendar of a Room resource account

Version (e.g. 1.0, dev-master):
PHP version: 7.4
Microsoft Exchange version: 2016
Description of problem:
Hello, I am currently testing your script on my server and it works great.
Now I would like to have the possibility of being able to repatriate the calendar of a meeting room but this one is in resource.
My account has the rights to this resource but I can't find how to find the events in this calendar.
Can you tell me what I need to do to get a list like with the find file in the event folder.
Thank you
David Fernandez

Hi David,
I do the same with a script to read all Events on a Room Calendar.
I change the password of the ressource in the user admin center (M365) to a new one (which I know), and use the ews script to identify as the ressource account. So I have the rights to read the calendar information and extract the items on it.
Perhaps this can halp you.
B.R. Harald


Update README.md

Based on https://typewknd.com/presentation/eqx-a-tool-for-visually-evaluating-font-quality/ text, and added ATypI 2020 video from youtu.be/L61M-rU43ec

Thanks for this @davelab6 !


Crash in gzip header handling

We're getting reports of a CHECK-failure with:
FATAL:request_context.cc(124)] Check failed: !frozen_.

fixed in 0f772622b8f315884f5f9dc79b3e0b58d8ee31cf


Tests

Add tests + travis ci

Thanks, this will make me much more confident to be able to make substantial changes!

@mquander I think these are good for now but take a look when you get a chance to see if there are other tests you really feel should be there. I think the random raycast test is the most valuable set of cases here, though. Tests for the MeshBVH class api and tree building itself can be added in the future.


Raise deadline of failed RPC in cancel_ares_query_test

Should fix https://github.com/grpc/grpc/issues/19880 and https://github.com/grpc/grpc/issues/20971 (10,000 runs now pass - e.g. bazel --bazelrc=tools/remote_build/manual.bazelrc test --config=dbg //test/cpp/naming:cancel_ares_query_test@poller=epollex --nocache_test_results --runs_per_test=10000
Flakiness of the cancel_ares_query_test is currently reproduceable. The test within it that flakes does the following:

Create a channel with a 1ms DNS resolution timeout
Create an RPC on that channel with a 10ms deadline
Perform the RPC, and wait until it receives a status.
Assert that the call's status was "unavailable" (attempts to check that the DNS resolution timeout fired before the RPC deadline fired)

When this flakes, common to all flakes is roughly the following:
When starting the RPC, the RPC's 10ms deadline fires before the channel has even started DNS resolution. I.e., the problem is not that the DNS resolution timeout didn't fire on time, but rather that the channel was slow to even start DNS resolution. As for where this before-resolution-has-started slowness is coming from, log timestamps seem to point to occasional slowness in a call to SplitHostPort (see https://github.com/grpc/grpc/issues/20971#issuecomment-551955361). But given that nothing is seems stuck or broken, and that this is due instead to an occasional slow performance of something that is not on the data plane, increasing the deadline seems best. (also see https://github.com/grpc/grpc/issues/20971#issuecomment-551447248).

I tried 1000 runs on windows and with some luck, I got no failures, so this is definitely an improvement:
~/bazel-1.0.0-windows-x86_64.exe --bazelrc=tools/remote_build/windows.bazelrc test --config=windows_opt //test/cpp/naming:cancel_ares_query_test  --runs_per_test=1000

Basic Tests C/C++ Macos: https://github.com/grpc/grpc/issues/20694

LGTM


bash scripts are now migrated to yq v4

What this PR does / why we need it:
bash scripts are now migrated to yq v4
Which issue this PR fixes (use the format fixes #<issue number>(, fixes #<issue_number>, ...) to automatically close the issue when PR gets merged): fixes  #202
Public facing documentation PR (if applicable)

Special notes for reviewer:
Add a screenshot or an example to illustrate the proposed solution:
Checklist:

[x] Added relevant notes to WIP-CHANGELOG.md
[ ] Proper commit message prefix on all commits
[ ] Updated the public facing documentation
Is this changeset backwards compatible for existing clusters? Applying:

[x] is completely transparent, will not impact the workload in any way.
[ ] requires running a migration script.
[ ] will create noticeable cluster degradation.
E.g. logs or metrics are not being collected or Kubernetes API server
will not be responding while upgrading.
[ ] requires draining and/or replacing nodes.
[ ] will change any APIs.
E.g. removes or changes any CK8S config options or Kubernetes APIs.
[ ] will break the cluster.
I.e. full cluster migration is required.

Chart checklist (pick exactly one):

[x] I upgraded no Chart.
[ ] I upgraded a Chart and determined that no migration steps are needed.
[ ] I upgraded a Chart and added migration steps.

Pipeline config (if applicable)
If you change some config options (e.g. add/rename variable or change the default value) you may need to update the config used by the pipeline in pipeline/config.

can we use yq4 with the news scripts? and install yq4 along side yq3?
we should also be able to use the previous apps releases

also add the new yq in https://github.com/elastisys/compliantkubernetes-apps/blob/main/get-requirements.yaml

can we use yq4 with the news scripts? and install yq4 along side yq3?
we should also be able to use the previous apps releases

I can't see an immediate answer to having two yq versions alongside.

can we use yq4 with the news scripts? and install yq4 along side yq3?
we should also be able to use the previous apps releases

I can't see an immediate answer to having two yq versions alongside.

@aarnq you can now take a look at this PR :slightly_smiling_face:


Finally Merge kobil branch to master

@hauleth please update changelog

Will do.

@deadtrickster I need to do some squashing before merge that I will handle tomorrow so do not merge yet.


Integration loses values

After a few hours I lose all values from SEAT Connect integration (all values „not available“). If you go to integrations and click on reload, it works again. But loses the values again after some time.
This is what the log says:
Logger: seatconnect.connection
Source: custom_components/seatconnect/init.py:818
Integration: Seat Connect (documentation, issues)
First occurred: 3. Juli 2023 um 21:37:55 (4707 occurrences)
Last logged: 14:53:41
and
Logger: custom_components.seatconnect
Source: custom_components/seatconnect/init.py:756
Integration: Seat Connect (documentation, issues)
First occurred: 3. Juli 2023 um 21:37:56 (1569 occurrences)
Last logged: 14:53:41
An error occured while requesting update from Seat Connect: 'serviceInfo'
I already set the poll interval to 10min and completely reinstalled the integration (even removed it from HACS). But the problem persists. What can I do?

Am I really the only one with this problem?
This issue, reported with Skoda Connect, seems very similar to my issue:
https://github.com/skodaconnect/homeassistant-skodaconnect/issues/165
The entities become unavialable very unregularly. Sometimes it takes almost a whole day, sometimes it's every half hour. It seems like it happens more often, if something changes - e.g. vehicle is charging and changing its SoC or if you drive somewhere and have a new location and lower SoC afterwards.

same here!
HA Version 2023.07.1

Finally ... it's not just me!

I have the same problem with seatconnect, and I lose connection after some time .
I tried everything (uninstall, delete all  and reinstall) but the problem persist.

Is there anything we can provide to get that fixed?

Also interested... Bought f***ing cupra connect for 69 bugs... and now that :(

After a few hours I lose all values from SEAT Connect integration (all values „not available“). If you go to integrations and click on reload, it works again. But loses the values again after some time.
This is what the log says: Logger: seatconnect.connection
Source: custom_components/seatconnect/init.py:818
Integration: Seat Connect (documentation, issues)
First occurred: 3. Juli 2023 um 21:37:55 (4707 occurrences)
Last logged: 14:53:41 and Logger: custom_components.seatconnect
Source: custom_components/seatconnect/init.py:756
Integration: Seat Connect (documentation, issues)
First occurred: 3. Juli 2023 um 21:37:56 (1569 occurrences)
Last logged: 14:53:41 An error occured while requesting update from Seat Connect: 'serviceInfo'
I already set the poll interval to 10min and completely reinstalled the integration (even removed it from HACS). But the problem persists. What can I do?

Sounds to me it loses connection after the token is expired. Then after reload it gets with login a new token.

Same issue here

I have the same error since several weeks.
I think that the problem could be problems with the token. I have this log register.
"Logger: seatconnect.connection
Source: custom_components/seatconnect/init.py:818
Integration: Seat Connect (documentation, issues)
Could not refresh tokens: Token is invalid for client"

I have the same problem. It feels like Seat is restricting these automated API-Calls. If the integration looses it's values, my Cupra app also stops working and I cannot login anymore. I have to wait sometimes about two days until it works again. I fear that it's a problem might not be fixable.

I have the same problem. It feels like Seat is restricting these automated API-Calls. If the integration looses it's values, my Cupra app also stops working and I cannot login anymore. I have to wait sometimes about two days until it works again. I fear that it's a problem might not be fixable.

Strange ... since the last SEAT Connect update a few days ago, I don't have the problem anymore. The integration doesn't lose the values anymore. Did you all update to the newest version?

Strange ... since the last SEAT Connect update a few days ago, I don't have the problem anymore. The integration doesn't lose the values anymore. Did you all update to the newest version?

Yes  I'm using Version 1.1.9 and I'm getting the following error mesages
An error was encountered during interaction with the API: 'serviceInfo'
Received unhandled error indicating client-side problem. Restart or try again later. Could not fetch operation list, HTTP status code: 429
(Btw error 429 is "Too Many Requests")
Error fetching seatconnect data: No vehicles found.
I don't know where the error is exactly

I have 2 cars Mii and I have set the time to 30, 60, 120 and 300 and the result is the same for both of them. They dont connect from time to time, but not at the same time. There is no rules, aparently

This code is no longer being maintained by me and requires contributors in order to fix issues.


build: Use .cjs file extension with CJS webpack configs

Renames all the webpack config files to use the .cjs file extension. This will make it easier to add type: module to ESM-only packages.
I used these commands to do the bulk of the work:
fd --glob "**/webpack*.js" --exec mv {} {.}.cjs
fd package.json --exec sd 'webpack\.(.*)\.js' 'webpack.$1.cjs'
fd --extension=config.cjs --exec sd --fixed-strings 'extensions: [".ts", ".tsx", ".js"]' 'extensions: [".ts", ".tsx", ".js", ".cjs", ".mjs"]'

A few other files might need replacement of the extensions list (several of the first, only one of the second):


If device-template is used, check that each device has a template

Now that I've switched to launching containers from images, instead of cloning other instances, I need to make sure that I have called "extract" first, to extract devices from the image.  If I forget to do this, the instance will quietly launched with empty devices, and it may not work properly.
Add a check that ensures that I don't use empty non-transient devices.

Done.  If a device template is missing, it is an error.  If you want to proceed anyway, you have to create the template filesystem.
You can use "lxops extract" to do this.


[REQUEST]Wait time and start againg

I was wondering if you can implement the function when all the proxies have been banned, wait a certain number of minutes and start automatically after that time, thanks.

I think you are looking for the reload interval..
https://i.imgur.com/yhLTPpj.png

This will be included in the scheduler which is planned to be released at some point this year


Update branch master to support Rolling only

This PR updates branch master to make it buildable only with the Rolling release.
The PR removes all "feature flags" from static_config.hpp, including RMW_CONNEXT_RELEASE and any code meant to support earlier releases.
This PR must be merged before creating the next Galactic release in order to be able to create a maintenance branch from the updated master.
The code was changed assuming the following "feature configuration":

Feature
Value

RMW_CONNEXT_RELEASE
RMW_CONNEXT_RELEASE_ROLLING

RMW_CONNEXT_HAVE_PKG_RMW_DDS_COMMON
1

RMW_CONNEXT_HAVE_SCOPE_EXIT
1

RMW_CONNEXT_HAVE_GET_DOMAIN
1

RMW_CONNEXT_HAVE_OPTIONS
1

RMW_CONNEXT_HAVE_OPTIONS_PUBSUB
1

RMW_CONNEXT_HAVE_INCOMPATIBLE_QOS
1

RMW_CONNEXT_HAVE_INCOMPATIBLE_QOS_EVENT
1

RMW_CONNEXT_HAVE_LIFESPAN_QOS
1

RMW_CONNEXT_HAVE_MESSAGE_LOST
1

RMW_CONNEXT_HAVE_SERVICE_INFO
1

RMW_CONNEXT_HAVE_LOCALHOST_ONLY
1

RMW_CONNEXT_HAVE_TAKE_SEQ
1

RMW_CONNEXT_HAVE_SECURITY
1

RMW_CONNEXT_HAVE_COMMON_MUTEX
1

RMW_CONNEXT_HAVE_LOAN_MESSAGE
1

RMW_CONNEXT_HAVE_MESSAGE_INFO_TS
1

RMW_CONNEXT_HAVE_GET_INFO_BY_TOPIC
1

RMW_CONNEXT_HAVE_QOS_PROFILE_API
1

RMW_CONNEXT_HAVE_TIME_UTILS
1

Note to reviewers: It would be great to review these changes but they are somewhat trivial. I'm creating this PR mainly to keep track of them for future reference.

CI jobs to validate the changes:

ci_linux:
ci_osx:
ci_windows:

Making sure everything is good after merging:

ci_linux:
ci_osx:
ci_windows:


uint8_t and uint16_t should not be boxed

Currently all unsigned integers are boxed.  uint8_t and uint16_t should instead be immediate values.

Fixed by #413.


3drecode

Full merge into the main branch, complete recode of the 3d side of simulation.

Jitter still exists
Great improvement in performance
More customizability
Native debug statistics

Looks good to me !


Stumbled upon this project and was thoroughly amused. We should video chat sometime.
I didn't really find a bug, I just don't know any socially normal ways of helloing.

closing won't fix

also we should totally catch up... thanks for making me smile 😊


Implement primitive task weighting

See https://github.com/Emerson-Alexander/backlist/issues/4

Closing with commit https://github.com/Emerson-Alexander/backlist/commit/e77f8f94ad94e134c4367551d51c0c3764c9702e


A bit of refactoring/cleanup

While working in the shim/runtime stind sync, I've done a few clean-ups. No need to wait for that work to be finished to review and merge those ones.

Coverage increased (+0.4%) to 71.053% when pulling ce67e51b7680014e4181cc8d1b74c3001e44a35f on dlespiau:20170504-cleanups into 8094997f226fe62b3064cf65b11d33b1ca7e2be1 on clearcontainers:master.

LGTM


States not properly displayed

Describe the bug
Adding State [Condition Name] in a journal displays the wrong icon beside the state.
Clicking on the state shows the wrong description.
Wrong description is displayed twice in the chat.
To Reproduce
Steps to reproduce the behavior:
1- In a journal page, type 'State Blind' and save
2- Display the journal page, a Blind state box will appear with the Deaf state icon
3- Click the state box, the Deaf description will be displayed TWICE
Expected behavior
The state box should properly display the Blind state with its proper icon.
Clicking the Blind state box should display the Blind state description in the chat.
A state description should be displayed once in the chat, not two times.
Screenshots

Versions:

Foundry Version : 10.288
DSA/TDE version : 4.1.10

Additional context

Clicking on a state from the /condition command displays the correct state description and only once.
It also seems dragging and dropping states on an Actor does nothing. I think it used to apply the state to the Actor.

I can not recreate the posting of wrong status but I fixed the double post.

@Plushtoast
After researching, the posting of the wrong status is caused by another module, Monk's Little Details. Setting status sorting order anything but None causes the problem. Probably due to an index value being used instead of a string value lookup.

Thank you!


Allow fields with ui:field specified, be rendered with default label

Prerequisites

[X] I have read the documentation;
[X] In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.

Description
We use heavily "ui:field" extension and would like to enable native label rendering, so that we could use the same label for extended components as for others.
Expected behavior
Would expect 2 possible behaviors

displayLabel is not affected by the ui:field
We can force labelDisplay in ui:options (currently this is overridden by ui:field)

Actual behavior
It's disabled by default if "ui:field" is specified, and there is no way to enable it, other then take control over from native Form.
SchemaField lines 188 - 190
  if (uiSchema["ui:field"]) {
    displayLabel = false;
  }

Version
0.51.0

💥

Closing due to inactivity. I don't think we can change the behavior of ui:field at this point, but perhaps we can export the default label component so you could use it in your ui:field component.


zcml_package_includes does not add package to site.zcml where deprecated load_zcml: package_includes still works

Something strange is going on with the new format to add package includes. I found out about this when trying to add experimental.gracefulblobmissing to a setup:
This is deprecated in the instance.yaml
load_zcml:
    package_includes: ['mysite_policy', 'experimental.gracefulblobmissing']

It throws a warning, but stil adds both package to the ./instance/etc/site.zcml
The new format:
zcml_package_includes: ['mysite_policy', 'experimental.gracefulblobmissing']

Does not add experimental.gracefulblobmissing to the site.zcml.  But that this parameter is no longer working is probably missed by many, because they also have
[settings]
main-package = -e src/mysite_policy[test]

in their mx.ini, and this registration add the zcml for the main package also to the site.zcml:
  <!-- INCLUDES mysite_policy -->
  <include package="mysite_policy" />

I have another issue open with this template where the db_blob(s)_location rename deprecation is not working, #25. Is something more in general wrong with the deprecation code in cookiecutter or this template?

The docs:
zcml_package_includes

    A string with comma separated configure.zcml files from packages to include.

    Examples: "my.fancypackage" or "myns.mypackage, collective.example"

    Default: empty string

You wrote it as a list:

zcml_package_includes: ['mysite_policy', 'experimental.gracefulblobmissing']

but correct is
zcml_package_includes: mysite_policy, experimental.gracefulblobmissing
Why? Because otherwise it is not possible to override this value with environment variables, like in this script https://github.com/plone/cookiecutter-zope-instance/blob/main/helpers/transform_from_environment.py


docs: adding more documenation about the project

Codecov Report

Merging #21 (6b1fa70) into main (aa1a174) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #21   +/-   ##
=======================================
  Coverage   76.37%   76.37%
=======================================
  Files           3        3
  Lines         127      127
=======================================
  Hits           97       97
  Misses         19       19
  Partials       11       11

Continue to review full report at Codecov.

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


Is the package suitable to do simulations "as fast as possible"?

Hello, I wounder if this is the use case for this package: modelling diseases and vaccination processes with localization and various different sub-environment, e.g. farms, vaccination teams, wind and whether and so on.
The question is, if I would like to simulate one run of the corresponding "world" as fast as possible, e.g. for training the agents with RL and so on, how would I proceed? Like, how to make everything fast but still use the advantage of the communication protocol and other cool features of this package?
Or is this use case not suited for the use of this package?
Maybe a simple example of the real RL code around e.g. the 2D grid example (like, how to start and stop the environment at each iteration to perform the learning cycles, how to record the results and so on) would be great?
And thanks for fixing the "real_time_factor" so quickly ;)

Hey, thanks for trying out RxEnvironments! I think what you want is possible, and is what I call a "discrete time environment", a small section in the documentation can be found here. What this essentially does is that we, instead of using the machine clock to determine time, we fire the update! function whenever your agent emits an action. This is indeed a bit like the Windy Gridworld example as well, only that setup does not have a clock (see the note on that documentation page).
So you could use this package to create a composite environment for RL as well, I think the package is suitable for that. As for the example with an actual learning cycle, this will become available at some point, but I do not have a specific timeframe in mind.

Thanks for the answer. I will take a look to it at a later point in time. However, possible this is not exactly not what I would need, since I want to have e.g. diseases to come at different (and random) time steps, which would not be possible without an internal clock.
So, basically what I think of is probably a discrete time but with notion of time difference and not just single steps :)


[HW] Tizelia Norville

Name: Tizelia Norville
Email<EMAIL_ADDRESS>Linkedin Profile: https://www.linkedin.com/in/tizelia-norville-3535bb201/
Attach the homework step I screenshots below:

Attach the homework step II screenshots below:

Hey Tizelia Norville, great job! Congrats! Here is your badge! https://api.badgr.io/public/assertions/9FTrLhruTey2F5RJkhzLmQ


Fix encryption gp2

Reverting previous change to allow tests to pass

Please ignore this one. I have still not completed my testing on this branch. I will update once that is done.

Discarding this pull request in lieu of a new one.


[53] Fetch parenting info from NHS website

Closes #53
Code for fetching text data from NHS Start for Life: https://www.nhs.uk/start-for-life/
More info in the readme!

Thank you @kstathou for the really helpful comments - yes, the code definitely could use some refactoring!
I'll merge now, but will bookmark your comments for when I have a bit more time.


Website Page down

Codetime-api.datreks.com/login/github is down and we can't create an account.

@Nosirn It has been fixed. We plan to conduct a round of refactoring after the Chinese New Year to better ensure service stability.


feat: enable reading device id via settings API and HW info shell

This improves the settings demo a little bit to let users query the device/hardware ID via Shell and Settings/MCUMgr.
Via shell:
uart:~$ hwinfo get
hwinfo/id:10d722607b2986c3

Via MCUMgr:
$ mcumgr --conntype ble --connstring peer_name=Zephyr config hwinfo/id
Value: 10d722607b2986c

@alvarowolfx - What's the state of this PR? Still relevant, or should we close it?

Update: this PR is still relevant, and will try to get it merged soon.


How to set a suitable batch size to improve training time?

I use my data to train the model. I have 30,000 samples. Now I am training my model on the TitanX, and it takes one epoch per hour with the default setting of batch size: 1. I guess it would take 200 hours in my case.
As a result, I want to set a larger batch size, but I don't have any experience in it. Need some help from you guys.
Thank you sooo much!

Batch size can be set as a command-line argument for this tool. See the beginning of the main source file for explanation of all command line arguments.


doesn't this script support cn-northwest-1 region

aqiao@aqiaodeMacBook-Pro delete_vpc % ./delete_vpc.sh --region cn-northwest-1 --vpc-id vpc-05e1867fe5a9c47ce
*** Are you sure to delete the VPC of vpc-05e1867fe5a9c47ce in cn-northwest-1 (y/n)? y
Process of ELB ...
Process of EC2 instance(s) ...
Process of NAT Gateway ...
waiting for state of deleted
Process of VPN connection ...
An error occurred (UnsupportedOperation) when calling the DescribeVpnConnections operation: The functionality you requested is not available in this region.
Process of VPN Gateway ...
Process of VPC Peering ...
Process of VPC endpoints ...
Process of Egress Only Internet Gateway ...
Process of Network ACLs ...
Process of Elastic IP ...
Process of Network Interface ...
detach Network Interface of eni-0d857b4625d2957cc
network attachment is ela-attach-00eb2f04b753bbaf5

For china regions (cn-northwest-1|cn-north-1), the step of Delete VPN connection and  Delete VPN Gateway will be ignored. Please check new release.

@lianghong ，thanks for your response, will check it later


Feature: Separate fetching and waiting times for response

Adding just a tiny bit more granularity for metadata returned when executing requests. Similarly as browsers do this and provide info when server first responded and how long it took to actually fetch the content.

I like this as a feature, but it needs more work + tests. also needs to be backwards compatible, which I dont think this is?

I mean, sure it's not a fully ready "feature" per se, as it should be integrated with GUI, etc. But it is backwards compatible definately. It just adds additional kwargs to request_metadata, that's it. Can be used by people manually. And used in future PRs to extend UI.

The only "incompatible" change would be removing cast to int of response_time in FastHttpSession. But standard HttpSession returns float normally. So just wanted to make it standarized.

I see. I misread the diff to imply that response_time was only set in certain conditions, sorry.
I'm not sure about the naming
I wont have time to review this any time soon, but if you add unit tests I can check it out later.

Ok, will do. Thank you.


Changed representation to stop using Kryo serialization.

Fixed a bug with json parsing and Float/Double Infinity

This PR has a number of things mixed together.  Can you pull out the Kryo change separate from the other stuff?  I'd like to hold off on requiring reimport but get all the other stuff in.  Thanks!

jenkins

Will split out the disk representation aspect once the other part goes in (one-way dependency)


fix: remove lingering red text from variable names

This seems to happen when you set a text colour for problem.unknown, as it will not properly be cleared when you click out of it
Default themes dont seem to use this attribute at all, so we can just avoid using it too
Closes #9

This also fixes really incorrect colouring for variable names, and allows us to style them properly!


chore: typing e3

Draft because of a issue self.key in:
key = NEW_PROTOCOL_PARAMS[self.key]

Codecov Report
Attention: Patch coverage is 0% with 27 lines in your changes missing coverage. Please review.

Project coverage is 6.38%. Comparing base (e3753db) to head (07d1185).

Files
Patch %
Lines

midealocal/devices/e3/message.py
0.00%
17 Missing :warning:

midealocal/devices/e3/__init__.py
0.00%
10 Missing :warning:

Additional details and impacted files
@@           Coverage Diff            @@
##            main     #66      +/-   ##
========================================
- Coverage   6.38%   6.38%   -0.01%
========================================
  Files         77      77
  Lines       6605    6608       +3
========================================
  Hits         422     422
- Misses      6183    6186       +3

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


Fix issue in filtering practices by country

Tracked by: https://vizzuality.atlassian.net/browse/ORC-596.


TypeScript compilation issue

Short description of the problem:
I am receiving this when building the latest beta in my project. Not sure what is causing it or how to fix?

ERROR in [default] C:/Users/dylan.vdmerwe/app/node_modules/angular2/src/facade/promise.d.ts:1:9
Cannot re-export name that is not defined in the module.

Which Ionic Version? 2.x
Run ionic info from terminal/cmd prompt: (paste output below)
Cordova CLI: 6.1.0 (cordova-lib@undefined)
Ionic Version: 2.0.0-beta.3
Ionic CLI Version: 2.0.0-beta.22
Ionic App Lib Version: 2.0.0-beta.12
OS:
Node Version: v5.7.0

Hello,
This might be related to this angular/angular/issues/6468.

@dylanvdmerwe That is indeed a typescript bug that popped up when angular 2 went to typescript 1.8.0 and hasnt been fixed yet. It shouldn't be causing any issues though. Is it causing your typescript not to compile?

This workaround will resolve the error:
https://github.com/angular/angular/issues/6468#issuecomment-176590156
and there is an open issue for this on our CLI repo here:
https://github.com/driftyco/ionic-cli/issues/848
Going to close this as a duplicate but feel free to continue the discussion over there. :smile:

@brandyscarney : Is there a specific reason for recommending manually hacking up angular files instead of upgrading past the version where it is fixed? Does Ionic have some sort of showstopper conflict with >=beta7? I haven't encountered one yet.

@rapropos We're working on the beta.4 milestone issues and when trying to upgrade ran into some issues with breaking changes, so we'll be updating once beta.4 is out.

I don't think this is a super crazy issue. Was just bringing it to the team's attention - everything still works fine.


Optimize memory usage

The parser is quick but also hungry, testing with a .reg file with roughly 2.8k lines slurps up quite a bit of memory:

This looks like a job for Spans, if necessary gonna bump to a more recent .NET version if it's a benefit:

Alright, migrated a lot of helper methods to use constants, spans and offsets instead of sub-strings:

Still a few ideas left to tune 🥳


Possible bug in webpack config

https://github.com/zalmoxisus/crossbuilder/blob/c5e3ed6ae802dfb72ae19a17fb65c6287e5188fc/webpack/extension.config.js#L17 says '"production"' which is a string in a string and feels mistaken.

The value is code that is meant to be parsed then executed. My mistake. Sorry for the noise.


Where is Framework7 documentation repo?

I found some some errors, i want to do a PR on.

https://github.com/nolimits4web/Framework7-Website


Added nginx.conf.erb file to set up config for osumbchallenges.dev

Nginx will give us the ability to hit osumbchallenges.dev rather than localhost:3000. The main reason for this is to be able to have a redirect URL to give to OSU's SSO for local testing (osumbchallenges.dev/login/callback or something like that)

Outside of my two comments this looks good @atareshawty


[In Progress] H1 Masterfile Update Work

To-do:

[x] #750
[ ] #698
[ ] #413
[ ] #455
[ ] #459
[ ] #697
[ ] #746

Completed:

[x] #584
[x] #583
[x] #458
[x] #454
[x] #416

Future

Future: Do we want to create more design templates for info panels?
Future: do we want to circle back and create the quick start design templates?
Future: maybe we break out education (tooltips etc) in a separate page or section
Future maybe break out cross-page patterns? (breadcrumbs, carry over filter beahvior, responsiveness etc)

Archive files (low priority)

Phase 2 deprioritized - need to break out implement and still deprioritized
Prototype - may need to be ina prototypes or UXR folder

Completed scope for H1 update, future corrections and refinements should be logged as request tickets or as a part of implementation support wrap up.


Fix issues due to the Parameterized private namespace

https://github.com/holoviz/param/pull/766 was merged too quickly, running the HoloViews test suite locally revealed a bunch of new errors:

setting an attribute in the __init__ before calling super().__init__ wasn't exerted in Param's test suite but leveraged in HoloViews (https://github.com/holoviz/holoviews/blob/a64cfc544acc94b3806d427912047ca660253587/holoviews/plotting/plot.py#L1168). This is now supported again and tested.
the private namespace broke pickling when the protocol 0 is used which is apparently used by HoloViews in some cases. This PR fixes the support for that protocol, at least in the sense that the HoloViews unit test suite should now pass. To complete that fix, I have had to remove the compatibility code on Watcher that allowed to exclude precedence while unpacking (added in https://github.com/holoviz/param/pull/557). I believe that compatibility code is no longer required for Panel. The code in Param was released in 1.12.0 and Panel 0.13.0, which depended on Param >= 1.12.0, was released with updated code that no longer required the compatibility code (https://github.com/holoviz/panel/pull/2809). I had to remove that code as, I think, __iter__ was called both when pickling and unpickling, resulting in the last two attributes being filtered out (error I got: TypeError: __new__() missing 1 required positional argument: 'queued'). I would hope no other Param dependents relied on that compatibility code like Panel used to do, and if they did I don't feel too bad breaking that for Param 2.0.

Working on these fixes I have stumbled upon this PR https://github.com/holoviz/param/pull/400 which had no tests, I have added some (thinking about another WIP PR that touches constant/instantiate too)

This is again ready for review @philippjfr


Add preferTypeOnlyAutoImports to protocol.UserPreferences

Looks like preferTypeOnlyAutoImports is missing from the protocol version of UserPreferences but present in ts.UserPreferences

As of #57361, ts.server.protocol.UserPreferences is just a re-export of ts.UserPreferences


It's difficult to troubleshoot connection issues

Description
Hello,
I am trying to fuzz our API with RESTler, this is my settings file:
{
  "per_resource_settings": {},
  "max_combinations": 20,
  "authentication": {
    "token": {
      "location": "/.restler/token.txt",
      "token_refresh_interval": 300
    }
  },
  "Host": "apigateway.test.tenant1.vodeno.online",
  "Basepath": “/name-of-our-api”
}

I am running the restler test like this (in a Docker container):
/RESTler/restler/Restler test --grammar_file /Compile/grammar.py --dictionary_file /Compile/dict.json --settings /.restler/settings.json
The output is:
Using python: 'python3' (Python 3.12.7)
Request coverage (successful / total): 0 / 35
Attempted requests: 0 / 35
No bugs were found.
See 'coverage_failures_to_investigate.txt' to investigate API coverage.
Task Test succeeded.

I see this in the /Test/RestlerResults/experiment*/logs/network.testing.*1.txt file:
2024-12-09 12:47:03.691: Failed to receive response.  Success: False, status: Creating, Response: Exception Creating Socket: [Errno -2] Name does not resolve
When I screw up the settings file (replace “Host” with “Howrongst” for example), the result is exactly the same.
I did find logs that show what is inside the HTTP requests that RESTler creates in the /Test directory, however, I cannot find any logs with information on what happens when the settings and token files are loaded or what URL these requests are sent to. I can access our API from the container with wget so I need to find out what RESTler does differently.
Also in the “getting started” documentation file there is a diagram that tells me to refer to Troubleshooting.md in my situation, but the file does not exist.

Could you please add more documentation and logging, or at least point me in the right direction?

Thanks in advance.

would you help to double check your restler_user_settings.json?  in this file, it includes "disable_logging". you should set it as true.

Thank you. It was not loading the Host and Basepath settings, they should be in lowercase. I was able to proceed.

I think that when RESTler is loading the settings and token files, it is important that it prints an error that it encountered something invalid in those files.


problem to get antd typings

Hi
i am new in npm and react and ...
i want to use antd package in my project
my ide is visual studio 2015 and i am using typescript 1.8
i install antd package (  latest version ) but when i want to install typings definitions, get this error
3/21/2017 10:49:50 AM: Installing antd package from Typings...
3/21/2017 10:49:53 AM:
3/21/2017 10:49:53 AM: typings ERR! message Unable to find "antd" ("dt") in the registry.
typings ERR! message We could use your help adding these typings to the registry: https://github.com/typings/registry
typings ERR! caused by https://api.typings.org/entries/dt/antd/versions/latest responded with 404, expected it to equal 200
my command for typings installation is:
typings install dt~antd --global --save
sorry for my issue, i am realy beginner in frontend ...

That just means there are no typings for antd.
You need to either create and contribute, or use it without typings.


Add portfolio Mobile part

Mobile part added with :

[ ] media queries
[ ] use of flexbox
[ ] code optimization

FELLOW CR :pray:

Please, kindly check my summary to perform the review from the newly created PR the student would add in this PR description to ensure the review is made from the previous reviewer's suggested changes. :pray:


distribution misbehave when configure cache

System environment
docker info
Containers: 6
Images: 212
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 225
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.16.0-41-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 1
Total Memory: 993.8 MiB
Name: i-m903up73
ID: ZMBV:RGFO:PTY2:Z45B:5N2B:GDFX:NNL2:26ID:XJ4Y:U3K3:642J:2OQV
Debug mode (server): true
File Descriptors: 27
Goroutines: 42
System Time: 2015-10-16T15:00:18.902790463+08:00
EventsListeners: 0
Init SHA1: 70b0cda2ecbf0d9fb1879ed198a66ad09a3dc50c
Init Path: /usr/lib/docker/dockerinit
Docker Root Dir: /var/lib/docker
WARNING: No swap limit support

docker version
Client:
 Version:      1.8.3
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   f4bf5c7
 Built:        Mon Oct 12 05:37:18 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.8.3
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   f4bf5c7
 Built:        Mon Oct 12 05:37:18 UTC 2015
 OS/Arch:      linux/amd64

uname -a
Linux i-m903up73 3.16.0-41-generic #55~14.04.1-Ubuntu SMP Sun Jun 14 18:43:36 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

docker-compose version
docker-compose version: 1.4.2
docker-py version: 1.3.1
CPython version: 2.7.6
OpenSSL version: OpenSSL 1.0.1f 6 Jan 2014

steps to reproduce the bug
1.directory structure:

2.docker-compose content:
registry:
  image: registry:2
  ports:
    - "5000:5000"
  environment:
    - REGISTRY_STORAGE_CACHE_BLOBDESCRIPTOR=inmemory
    - REGISTRY_HTTP_TLS_CERTIFICATE=/ssl/domain.crt
    - REGISTRY_HTTP_TLS_KEY=/ssl/domain.key
  volumes:
    - ./data:/var/lib/registry
    - .:/ssl

3.docker-compose up -d
4.docker pull hello-world && docker tag hello-world example.com/private/hello-world && docker push example.com/private/hello-world
5.docker rmi -f hello-world
6.docker pull example.com/private/hello-world
7.rm -rf data/docker
8.docker push example.com/private/hello-world
9.docker rmi -f example.com/private/hello-world
10.docker pull example.com/private/hello-world
Everything works fine until step 6. You can run this container, you can push and pull successfully. But after step 7 which you directly remove the data in storage, things start to go wrong.

You can see from above picture, after step 7, there is nothing left in data directory. And the push action after that should like step 4 but the registry reports that the image already exists and what's more the data is recovered in storage.
Although the log information is confusing, we can tolerant that. But when you delete your local image and pull from the registry. Bad happens:

Immediately after that I check the data directory and the data is indeed exist:

I have test it several time and it happens every time once you configure the cache option no matter you configure it using inmemory or redis.
And this applies not only to filesystem storage but also OSS storage driver. So I think this will applies to all storage drivers

If you remove the registry storage manually, the blob descriptor cache will not be updated which will cause false positives.  What happens when you restart the registry after step 6?
I do not recommend you delete files the registry uses while it is running.

After deleting files directly, if you restart the registry, you can successfully push and pull again.
Yes, I do know either not using cache or not delete files will avoid this problem and I'm doing it this way now. However the mechanism working behind is certainly broken.
Since the registry will report image already exists and will flush data from cache to storage. It's expected the state machine should be the same as when you have pushed the image successfully in the first place. And it has no reason to make the pull action failed and report 404

If the registry is configured as a pull through cache, it will clean up the
filesystem when cache objects expire.  Subsequent pulls will detect this
and refetch the data.
Manually removing files from the filesystem while a running a registry
configured as a cache or otherwise will result in undefined behaviour.
On Tue, Oct 27, 2015 at 4:18 PM, farmerworking<EMAIL_ADDRESS>wrote:

After deleting files directly, if you restart the registry, you can
successfully push and pull again.
Yes, I do know either not using cache or not delete files will avoid this
problem and I'm doing it this way now. However the mechanism working behind
is certainly broken.
Since the registry will report image already exists and will flush data
from cache to storage. It's expected the state machine should be the same
as when you have pushed the image successfully in the first place. And it
has no reason to make the pull action failed and report 404
—
Reply to this email directly or view it on GitHub
https://github.com/docker/distribution/issues/1132#issuecomment-151672884
.

It's not configured as a pull through cache. The cache I'm talking about is storage->cache-> blobdescriptor which you can set inmemory or redis
Use the cache subsection to enable caching of data accessed in the storage backend. Currently, the only available cache provides fast access to layer metadata. This, if configured, uses the blobdescriptor field.

according to the documentation https://github.com/docker/distribution/blob/master/docs/configuration.md#cache
Apparently cache should only speed up pull process and shouldn't change any semantic at all. With or Without cache enabled should behave exactly the same.
The Registry is a stateless

according to this documentation https://docs.docker.com/registry/. The registry itself is stateless since data is stored in storage. With this model, once you clean the storage after a successful push there shouldn't be any difference between now and the time before push.
Currently it's true that the result is undefined in this situation. But it's not undefined by design or by choice. It's just simply broken. I can say that.
After talking about walk around (shouldn't manually delete data in storage) and current state (the result is undefined right now). It's time to focus on where is broken and try fix it!

The only fix for this is for the registry to monitor the storage system (using, at best inotify and at worse polling) and invalidate the blob descriptor cache.  This will need to be supported in every storage driver.
The filesystem is abstracted by the registry and should not be tampered with while the registry is running.  This is not broken, it's perfectly OK to define this constraint.
What exactly are you trying to achieve?

Should this be closed, or is there still something to be answered?

@thaJeztah User corrupted data store then complained that cache didn't figure it out. The cache is a part of the data store and it needs to be cleared, as well.
Closing.


Fix broken redirect

Description
This redirect was causing an infinite loop of redirecting since urls don't care about capitalization.
Checklist

Do all Lints pass?

[ ] Have you ran pnpm spellcheck?
[ ] Have you ran pnpm fmt?
[ ] Have you ran pnpm lint?

The redirect was originally made here I believe: https://github.com/aptos-labs/developer-docs/pull/480 but seems like it's been tweaked since then


Updated package.json to work on a fresh install

A few updates to help jsbin work out of the box with node 7+ and npm 4+. The build still passes with your node/npm version (0.10.40/1.4.28) as well.

memcached has been throwing errors with hashring on every install I've ever done of jsbin, I always have to manually update this and sqlite to get the build to work.
sqlite follows the same issue as memcached, with node-gyp build failures across several target machines, updated to get rid of that.
connect is required, but doesn't install under express when using npm install

For reference, these fixes were found in a closed jsbin issue: https://github.com/jsbin/jsbin/issues/2958

I can't merge this, partly because it requires mysql in production and some tight requirements on memcache (unrelated to mysql), but also because you've just set the default flag on pro to true for all new entries. I assume this is for your own branch (and am closing for now)?

Hah - I totally forgot that I submitted this PR last month, glad you caught that - that sure looks malicious doesn't it? So sorry @remy!
I do have a question though, what OS are you using for dev here? On Ubuntu 16.04 (and related friends) memcached fails pretty hard every single time due to hashring (node-gyp fails). Some thing with sqlite 2. I've never been able to just pull and install jsbin across various node/npm versions on Ubuntu 16.04 x64
Might be worth putting connect in packages as well though, since it doesn't auto install as a dependency for some reason. I can submit a PR for just that if you agree.

For dev, I'm on a mac, but in production, it's Ubuntu 14.
I do have a private branch that upgrades the entire code base of jsbin to move from<EMAIL_ADDRESS>to node@6 and it would also likely drop memcache entirely…maybe!

Interesting, I'll set the base image to 14 then and give it a go. Have you thought about using containers? I set JSBin up in docker for both dev and prod in our environment (since we try to run everything through Rancher), didn't take much effort at all. If you're ever interested in that I'd be happy to share the dockerfile + compose config. Might help people get up and running faster using identical environments.


get_flops.py

Hi, I'm trying to use get_flops to get params and flops(MACs *  2).
But, when I ran it with just default setup like only
python get_flops.py
.
Traceback (most recent call last):
File "get_flops.py", line 11, in
import mmdet_custom  # noqa: F401,F403
ModuleNotFoundError: No module named 'mmdet_custom'
error is occured like above.
I followed all the instructions in segmentation folder, and image_demo.py works well. what is the problem?

Hi, I'm trying to use get_flops to get params and flops(MACs * 2).
But, when I ran it with just default setup like only
python get_flops.py
. Traceback (most recent call last): File "get_flops.py", line 11, in import mmdet_custom # noqa: F401,F403 ModuleNotFoundError: No module named 'mmdet_custom'
error is occured like above.
I followed all the instructions in segmentation folder, and image_demo.py works well. what is the problem?

Hi, you can try this command before running the python script:
export PYTHONPATH=/path/to/ViT-Adapter/detection
Replace the /path/to/ViT-Adapter/detection with the path to the detection folder.

Hi, I'm trying to use get_flops to get params and flops(MACs * 2).
But, when I ran it with just default setup like only
python get_flops.py
. Traceback (most recent call last): File "get_flops.py", line 11, in import mmdet_custom # noqa: F401,F403 ModuleNotFoundError: No module named 'mmdet_custom'
error is occured like above.
I followed all the instructions in segmentation folder, and image_demo.py works well. what is the problem?

Hi, you can try this command before running the python script: export PYTHONPATH=/path/to/ViT-Adapter/detection Replace the /path/to/ViT-Adapter/detection with the path to the detection folder.

Hey, I try this but
raise KeyError(f'{name} is already registered '

KeyError: 'SinePositionalEncoding is already registered in position encoding'
error like this

Sorry, there seems a bug in the get_flops.py in the segmentation folder. You can replace import mmdet_custom with import mmseg_custom, and add the path to the segmentation folder to PYTHONPATH.

Sorry, there seems a bug in the get_flops.py in the segmentation folder. You can replace import mmdet_custom with import mmseg_custom, and add the path to the segmentation folder to PYTHONPATH.

Thanks.
Btw, could you give me a example code to run get_flops?
I'm using
mask2former_beit_adapter_large_896_80k_mapillary.pth.tar
with 360 x 480 img.
Looks quite different from using image_demo.py

I think maybe you can try a command like this:
python tools/get_flops.py configs/cityscapes/mask2former_beit_adapter_large_896_80k_mapillary_ss.py --shape 360 480

I think maybe you can try a command like this: python tools/get_flops.py configs/cityscapes/mask2former_beit_adapter_large_896_80k_mapillary_ss.py --shape 360 480

python get_flops.py mask2former_beit_adapter_large_896_80k_mapillary.pth.tar --shape 360 480
Traceback (most recent call last):
File "get_flops.py", line 94, in
cfg = Config.fromfile(args.config)
File "/home/iasl/ViT-Adapter/lib/python3.8/site-packages/mmcv/utils/config.py", line 334, in fromfile
cfg_dict, cfg_text = Config._file2dict(filename,
File "/home/iasl/ViT-Adapter/lib/python3.8/site-packages/mmcv/utils/config.py", line 184, in _file2dict
raise IOError('Only py/yml/yaml/json type are supported now!')
OSError: Only py/yml/yaml/json type are supported now!
I changed ur suggestion little bit cuz previous error is ----ss.py is not a check point. so I replaced it as a .pth.tar.
but error like this

The "not a check point" error is caused by the pre-trained checkpoint, not by ".py". When counting flops or parameters, you don't really need a checkpoint file or pretrained file. So you can change
pretrained = 'pretrained/beit_large_patch16_224_pt22k_ft22k.pth' in configs/cityscapes/mask2former_beit_adapter_large_896_80k_mapillary_ss.py to pretrained = None and run
python tools/get_flops.py configs/cityscapes/mask2former_beit_adapter_large_896_80k_mapillary_ss.py --shape 360 480 again.

The "not a check point" error is caused by the pre-trained checkpoint, not by ".py". When counting flops or parameters, you don't really need a checkpoint file or pretrained file. So you can change pretrained = 'pretrained/beit_large_patch16_224_pt22k_ft22k.pth' in configs/cityscapes/mask2former_beit_adapter_large_896_80k_mapillary_ss.py to pretrained = None and run python tools/get_flops.py configs/cityscapes/mask2former_beit_adapter_large_896_80k_mapillary_ss.py --shape 360 480 again.

Traceback (most recent call last):
File "/home/iasl/ViT-Adapter/lib/python3.8/site-packages/mmcv/utils/registry.py", line 52, in build_from_cfg
return obj_cls(**args)
File "/home/iasl/ViT-Adapter/segmentation/mmseg_custom/models/backbones/beit_adapter.py", line 26, in init
super().init(init_values=init_values, with_cp=with_cp, *args, **kwargs)
File "/home/iasl/ViT-Adapter/segmentation/mmseg_custom/models/backbones/base/beit.py", line 344, in init
self.init_weights(pretrained)
File "/home/iasl/ViT-Adapter/segmentation/mmseg_custom/models/backbones/base/beit.py", line 358, in init_weights
load_checkpoint(self, pretrained, strict=False, logger=logger)
File "/home/iasl/ViT-Adapter/segmentation/mmcv_custom/checkpoint.py", line 338, in load_checkpoint
checkpoint = _load_checkpoint(filename, map_location)
File "/home/iasl/ViT-Adapter/segmentation/mmcv_custom/checkpoint.py", line 286, in _load_checkpoint
raise IOError(f'{filename} is not a checkpoint file')
OSError: pretrained/beit_large_patch16_224_pt22k_ft22k.pth is not a checkpoint file
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/iasl/ViT-Adapter/lib/python3.8/site-packages/mmcv/utils/registry.py", line 52, in build_from_cfg
return obj_cls(**args)
File "/home/iasl/ViT-Adapter/segmentation/mmseg_custom/models/segmentors/encoder_decoder_mask2former.py", line 34, in init
self.backbone = builder.build_backbone(backbone)
File "/home/iasl/ViT-Adapter/lib/python3.8/site-packages/mmseg/models/builder.py", line 20, in build_backbone
return BACKBONES.build(cfg)
File "/home/iasl/ViT-Adapter/lib/python3.8/site-packages/mmcv/utils/registry.py", line 212, in build
return self.build_func(*args, **kwargs, registry=self)
File "/home/iasl/ViT-Adapter/lib/python3.8/site-packages/mmcv/cnn/builder.py", line 27, in build_model_from_cfg
return build_from_cfg(cfg, registry, default_args)
File "/home/iasl/ViT-Adapter/lib/python3.8/site-packages/mmcv/utils/registry.py", line 55, in build_from_cfg
raise type(e)(f'{obj_cls.name}: {e}')
OSError: BEiTAdapter: pretrained/beit_large_patch16_224_pt22k_ft22k.pth is not a checkpoint file
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "get_flops.py", line 98, in
model = build_segmentor(
File "/home/iasl/ViT-Adapter/lib/python3.8/site-packages/mmseg/models/builder.py", line 48, in build_segmentor
return SEGMENTORS.build(
File "/home/iasl/ViT-Adapter/lib/python3.8/site-packages/mmcv/utils/registry.py", line 212, in build
return self.build_func(*args, **kwargs, registry=self)
File "/home/iasl/ViT-Adapter/lib/python3.8/site-packages/mmcv/cnn/builder.py", line 27, in build_model_from_cfg
return build_from_cfg(cfg, registry, default_args)
File "/home/iasl/ViT-Adapter/lib/python3.8/site-packages/mmcv/utils/registry.py", line 55, in build_from_cfg
raise type(e)(f'{obj_cls.name}: {e}')
OSError: EncoderDecoderMask2Former: BEiTAdapter: pretrained/beit_large_patch16_224_pt22k_ft22k.pth is not a checkpoint file
Then, error like above, quite difficult to use it XD
anyway, thanks for your rapid reply :)

Have you changed the pretrained/beit_large_patch16_224_pt22k_ft22k.pth in configs/cityscapes/mask2former_beit_adapter_large_896_80k_mapillary_ss.py to None?

Have you changed the pretrained/beit_large_patch16_224_pt22k_ft22k.pth in configs/cityscapes/mask2former_beit_adapter_large_896_80k_mapillary_ss.py to None?

Yeah, it doesn't work. idk what is the problem now, but I'll keep try it.
Thanks for your help!

I had a similar problem, but I wrote a custom model as the author wrote it, and it was registered, but he still got an error: KeyError: "MaskRCNN: 'IMViTAdapter is not in the models registry'"


New Feature: Granular Control of Expiration Date + 12/24 Hour Modes

New Features

Adds granular control of expiration date, being able to set a specific duration for when the share will expire (resolves #12)

Adds the ability to disable the expiration date of a share (resolves #8)
Configurable 12/24 hour selection using the frontend's .env file

What changed

Added some missing dependencies to package.json (it wouldn't run without)
Updated rx.js
Without updating rx,js, an error was thrown when trying to access the database. (TypeError: (0 , rxjs_1.lastValueFrom) is not a function)
Replaced expiration dropdown with a numerical input and a dropdown for "unit selection" (minutes, hours, days, etc.)
Added the "Never" expiration checkbox option to the "create share" modal (disables numerical input when checked)
Added small tooltip under expiration selection previewing when the share would expire
Updated text (in the completed upload modal and shares page) to match the "never" expiration (text like "this share never "expires")
Updated backend to not automatically remove "never expires" shares
Fixed some various linting errors (mostly related to unused imports)
Added a new environment variable in the frontend to toggle between 12-hour and 24-hour date/time previews (used in several places)

How was this implemented
The customizable expiration date changes required no changes to the backend, only the frontend needed some changes.
The "never" expiration date was implemented by using unix timestamp 0. Some manual exceptions were added to the backend to support the timestamp of 0. For example, backend/src/auth/jobs/jobs.service.ts line 20 (AND: [{expiration: {lt: new Date()}}, {expiration: {not: moment(0).toDate()}}]) now has a hardcoded exception to shares that have a expiration date of 0. There are several other changes very similar to this scattered around the backend.
The 12/24 hour modes was implemented by simply importing next's runtime config options and checking the TWELVE_HOUR_TIME option, then printing the appropriate time format.
Known Issues
There is one known issue: entering an expiration date that is too long. Some values (999999 Years for example) break the date parsing in the backend. A quick fix to temporarily resolve this issue is to limit the expiration input to a smaller value (currently set to 99999, but should be adjusted in the near future.) A better fix is to handle this specific error in the backend and return an appropriate response, then showing a proper error message in the frontend instead of just displaying "Internal server error." This issue does not significantly affect application performance.

Hey thank you so much for your PR! I look into it on this weekend. This could take some time because there are 5 really big merge conflicts.

Fixed the merge conflict could you give me access to this PR so I can push the changes? See here how you can do that.

The checkbox has been checked the entire time.  Sorry about the merge errors btw, idk how that happened, I changed very little code

No problem, I fixed some things while you created the PR. But I think I messed the merge up...

If it's an issue, I can reopen the PR on another branch and reopen the PR.

ofc, I fully believe in contributing to projects you use and enjoy. Fully expect me to open more issues and open more PRs once I deploy this app to my own server and start fully using it


"JWT not active" error return by server when requesting /verdaccio/packages from the Web

We are using verdaccio 4 and we want to configure JWT authentication.
We have read:

https://verdaccio.org/blog/2019/04/19/diving-into-jwt-support-for-verdaccio-4
https://github.com/auth0/node-jsonwebtoken#usage

When we set the jwt configuration as in the sample:

security:
  legacy: false
  api:
    jwt:
      sign:
        expiresIn: 60d
        notBefore: 1
  web:
    sign:
      expiresIn: 7d
      notBefore: 1

We are having issue after connecting using with a user and it's password from the Web:
The GET request to http://localhost:4873/-/verdaccio/packages return the following content:
{
  "error": "jwt not active"
}

What have I done wrong?

Use notBefore: 0
The JWT documentation explain the reason of it. I will close, but feel free to PR some improvement in the docs if you consider is misleading for users.

The JWT documentation explain the reason of it.

Thanks @juanpicado, I have read the documentation and I was surprised not to get any explanation regarding many options.

notBefore: expressed in seconds or a string describing a time span zeit/ms.

Eg: 60, "2 days", "10h", "7d". A numeric value is interpreted as a seconds count. If you use a string be sure you provide the time units (days, hours, etc), otherwise milliseconds unit is used by default ("120" is equal to "120ms").

Where did you get more explanation?
Why do you use notBefore: 1 in your config sample?

Sorry to ask that @juanpicado but I couldn't find what notBeforeis for.
Is 0 the recommended parameter for security.web.sign.notBefore and security.api.jwt.sign.notBefore ?

There is a bug and I am not even sure that it is related to notBefore.
To reproduce:

Activate jwt authentication.
Go to the webui and login.
After login, check the console and you will see the 401 error with jwt not active.
CTRL+F and search for a private package you have access for, you can notice you can't see them.
Refresh the page with F5.
Now it work and you can see all package for which you have access.


Warning: Missing helper: 'doctype' Use --force to continue.

I'm unable to use any this (and other) helper(s) with Assemble. Why is there no reference to this helper within lib/helpers/helpers-html.js , but it is documented in docs/helpers/html/helper-doctype.md ?

What version of assemble are you using? with grunt? gulp? standalone?

Assemble: 0.4.42
Grunt: 0.4.5

Looks like the doctype helper was removed and the documentation hasn't been updated yet.

Closing due to age and the {{doctype}} helper has been removed and the README no longer refers to it.


Disable model cache when loading road network glb

Hopefully this helps with the memory leaks we were noticing.
NB. I didn't profile this, but perhaps we can get this patch tried out to see if it helps things? @Gamenot

Seems reasonable, does it help?

hope so, we'll see


Not behaving same on both iOS and Android.

Bug
onChange={event => {
console.log(event);
}}
This is giving different results on ios and android.
Environment info
"@react-native-community/segmented-control": "^1.4.0",
"react-native": "0.62.2",
react-native info output:
System:
OS: macOS 10.15.4
CPU: (8) x64 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz
Memory: 18.80 MB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.13.0 - /usr/local/bin/node
Yarn: 1.22.4 - ~/.npm-global/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 22, 23, 24, 26, 27, 28, 29
Build Tools: 28.0.3, 29.0.2
System Images: android-25 | Google APIs Intel x86 Atom, android-25 | Google APIs Intel x86 Atom_64, android-26 | Google APIs Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom_64
Android NDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_241 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
npmGlobalPackages:
react-native: Not Found
Library version: 1.4.0
Steps To Reproduce
Just add handler for onChange and log the event.
onChange={event => {
console.log(event);
}}
Describe what you expected to happen:

Expected to behave same on both ios and android.

Reproducible sample code
onChange={event => {
console.log(event);
}}

Please give an example of the two outputs. What are the differences?


Cleaned up FindLibCrypto

Now finds both the static and shared libcrypto libraries, if available
Exports the correct libcrypto via LibCrypto_LIBRARY based on the value of BUILD_SHARED_LIBS
Gets rid of the case where find_library was returning the wrong library for the expected linkage
Did general cleanup of FindLibCrypto (formatting, docs)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1107   +/-   ##
=======================================
  Coverage   87.59%   87.59%
=======================================
  Files         189      189
  Lines       16917    16917
=======================================
  Hits        14818    14818
  Misses       2099     2099


Double pressing 'j'(fire) throws error & makes fire unable to disappear with 'j'

While we press 'j' once, fire appears, if we press it again, it disappears. But if we press 'j' twice, simultaneously, Fire appears but throws this error and upon pressing 'j' again, fire doesn't disappears.

https://user-images.githubusercontent.com/35926530/181520285-0f625c54-2d87-4457-8670-026559e84d16.mp4

Fixed


Support values with spaces

The current scheme doesn't work when there are space in the the values. Also it would be nice to not use Re_str to do the parsing of arguments :-)

Note that one thing I have been realizing recently is that rather than have "key=value" arguments it's much better to have sequences of "key" "value" arguments, it entirely removes the need for quoting and escaping abilities in the =value part. It also makes it easier to specify the values in shell script without having to think about the number of levels of quoting you need to apply...


add all the files in arg of initcontainer

@kahootali Chart: grafana Dry Run successful

@kahootali Chart: grafana-storage Dry Run successful


Move project to a GitFlow based branch strategy

I'd like to move this project to a branch strategy with a develop branch such that main always matches what's released.
There are a lot of little reasons for doing this:

The API documentation is generated from main and thus when we're in between releases, the API documentation often doesn't match the release
The project has samples 'built-in' and we've seen examples of where developers are confused. E.g. #1754.
We have enough active contributors that we see regular merge conflicts

I think the way to go is well documented here: https://nvie.com/posts/a-successful-git-branching-model/
Feel free to comment on this Issue if you have thoughts or suggestions.

This is done!


Dragging Kitematic window in Windows will cause the size of Kitematic to be larger than screen

Dragging window will cause the size of Kitematic Windows to be larger than screen.
Tested on: Windows 8.1 Pro x64
Device: Surface Pro 3
Tested on: Windows 8 x64
Device: Lenovo Yoga
How to get out: press 'esc' button

Should be fixed in #659 but reopen if not


Add MI_WIN_NUMA flag for controlling NUMA aware allocation on Windows

Some virtualization environment may has issue with NUMA support, so it's better to provide an option to disable it.

Thanks for the PR! However, already you can disable NUMA aware allocation by setting the  environment variable MIMALLOC_USE_NUMA_NODES=1 (or programmatically). That way the NUMA api calls will not be made.
However, even without setting this, the code should not crash if the NUMA api calls do not succeed and just pretend to have 1 NUMA node. Did you experience crashes or other problems in a virtual environment?

Just find MIMALLOC_USE_NUMA_NODES works too, thanks. Close this now.
We haven't noticed any crash yet, but we do know the result of GetCurrentProcessorNumberEx() is not correct in our virtual environment.


add Pumba chaos testing for Docker

Pumba is a chaos testing and network emulation tool for Docker containers

Thanks for the contribution!


⚠ ClamAV has degraded performance

In e248571, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 68 ms

Resolved: ClamAV performance has improved in 13cc1e1.


Update TermsQuery and TermsSetQuery and add tests

Description

Created schema for Terms.
Updated TermsQuery and TermsSetQuery to use the Terms schema.
Add unit tests for TermsQuery and TermsSetQuery.

Issues Resolved
Part of https://github.com/opensearch-project/opensearch-api-specification/issues/540
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thanks @dblock I have updated the PR addressing your comments, please take a look.

Updated @dblock, please check.

If you're looking for more work @prudhvigodithi, https://github.com/opensearch-project/opensearch-api-specification/issues/548 looks like it's a bit more involved, might also need doc fixes.

Sure @dblock.
Thanks
@getsaurabh02


How I can provide user defined variables?

Assuming I have:

require_once(__DIR__ . "/vendor/autoload.php");
use jcubic\Expression;

$var1=(int)$_POST['var1']??20;
$var2=(int)$_POST['var1']??10

$e = new Expression();
// thos formula is stored in db and has been fetched
$e->evaluate("var1+var2");

// How I can provide `var1` and `var2` and get the result?

Where var1 and var2 are user defined variables. How I can provide values for these variables and get the result of the math function?

There is $e->variables assoc array that allows to the addition of new variables:
$e = new Expression();
$e->variables['var1'] = (int)$_POST['var1']??20;
$e->variables['var2'] = (int)$_POST['var1']??10;

$e->evaluate("var1+var2");


Borgbackup timer doesn't depend on network-online.target

Describe the bug
On unstable, Borgbackup jobs created with persistentTimer fail to build because they don't depend on network-online.target.
Steps To Reproduce
When adding a borgbackup job to configuration.nix with persistentTimer
 services.borgbackup.jobs.home-danbst = {
    paths = "/home/danbst";
    encryption.mode = "none";
    environment.BORG_RSH = "ssh -i /home/danbst/.ssh/id_ed25519";
    repo = "ssh://user@example.com:23/path/to/backups-dir/home-danbst";
    compression = "auto,zstd";
    startAt = "daily";
    persistentTimer = true;
  };

It throws the following error on nixos-rebuild switch:
borgbackup-job-home-danbst.timer is ordered after 'network-online.target' but doesn't depend on it

Additional context
I think this bug was introduced when this PR was merged:
https://github.com/NixOS/nixpkgs/pull/258680
The solution might be as simple as adding after = [ "network-online.target" ]; when persistentTimer is true here?
https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/backup/borgbackup.nix#L125
Notify maintainers
@globin
@dotlambda

Oh yeah, that's a dynamically generated config that got missed by our grepping, and is not tested in a NixOS test, so it simply slipped through the cracks.

i guess this is fixed via #301528?

i guess this is fixed via #301528?

Seems so.