Input Field validation

Description, please be as detailed as possible:
The fields in the aplication need validators to check for problems before sending data to the database;
This validations can include:

null or undefined fields;
fields without valid text (spaces cannot validade);
Be creative; if you think of something that can be checked, include this;

Some fields that need to be validated:

Login and Sign-in Forms;
Posts;
Comment editions;
Messages (if page is done);

Tips:

New comments (see code in src/components/Posts/comments/addComments/index.jsx) already have a basic validation that can be found in the services folder (src/services/validators/messagingValidations);
All validations should be in the validators folder;

I'm using short circuit validation (example below) but, feel free to use another pattern.

Thank you for helping out @Mikiwey I've assigned this to you.

Hey @michael251194, how's the field validation goin? need any help?

Hey @michael251194, how's the field validation goin? need any help?

Hey @Ronnie018, it's ok at the moment thanks !

@michael251194 I am so sorry for calling you the wrong name. I do not even know where that other name came from. Normally when I @ someone on an issue it only shows me the people who have commented on these issue. I only just realized that my comment said that. I would have corrected it sooner but I had a few days off but I'm just about caught back up.
But please keep in mind to keep your fork up to date with the main repo and when you are ready to make a pull request, you will need to submit it from a branch from your main. Of course, I try to keep my eyes on the repo as much as posable so anytime you have even the smallest question just post it and I'll help you out as much as I'm able. That's what I'm here for!!!


Bluetooth: controller: Restructure LLL include files

Move LLL header files for all roles to common folder. Move
vendor-specific content to internal header files, in particular ADV
buffer handling. Define the vendor-specific type lll_adv_pdu in a
separate header file lll_adv_pdu.h to avoid cyclic dependency when
moving ADV buffer handling to internal header file. Make sure all
internal header files are in vendor-specific folders.
The goal is to have a more consistent structure for LLL header files
and allow unconditional inclusion of non-internal LLL header files.

This is quite similar to the changes proposed in https://github.com/zephyrproject-rtos/zephyr/pull/29785. Might be worth checking out the comments from @thoh-ot from that PR.

@wopu-ot I don't have a great overview of these files, but it's a bit concerning that a restructure or move of files causes a deletion of almost 160 lines of code. Is that due to removal of some duplicated code, or?

@wopu-ot I don't have a great overview of these files, but it's a bit concerning that a restructure or move of files causes a deletion of almost 160 lines of code. Is that due to removal of some duplicated code, or?

Yes, the change removes duplicated files and definitions. There is no point in having every LLL repeat the definition of interfaces that are necessarily the same.

This is quite similar to the changes proposed in #29785. Might be worth checking out the comments from @thoh-ot from that PR.

The key difference is that this PR separates the common and vendor-specific definitions rather than moving lll_adv.h as it is. I hope that @thoh-ot will agree with this approach.

This is quite similar to the changes proposed in #29785. Might be worth checking out the comments from @thoh-ot from that PR.

The key difference is that this PR separates the common and vendor-specific definitions rather than moving lll_adv.h as it is. I hope that @thoh-ot will agree with this approach.

Yes i agree, as this ensures that common LLL interfaces stay the same, while still supporting vendor specific details.


App indicator not showing dropdown options

I'm pretty sure the app indicator is supposed to show some drop down options when you click (or perhaps right click) it. The snap doesn't seem to be doing this at the moment on Wayland.

I think the latest commit fixed this?


Add Travis testing

Also add classifiers to setup.py

Travis results at https://travis-ci.org/jayvdb/pytest-flakes/builds/130886300

Thanks!
Didn't know about nightly, nice!


OpenPublish hangs in verifying links

and that caused issue in loading wikis

Cannot reproduce, tried many times with no luck.
Are you sure these are the full logs? what's your current jumpscale log level? (see LOGGER_LEVEL at /sandbox/cfg/jumpscale_config.toml).

lets disable the link checking when loading, only do when starting the tool with certain option


Update README.md

Fixed typo

@clhain Can you review?

Thanks for the PR! This is getting rolled into #46. Please be sure to open PRs against development for future contributions (dropdown selector when creating).


refactor: use forge-std/Test.sol for tests

Motivation
replace <ForgeTest> is DSTest with <ForgeTest> is STest so we use the actual forge-std/Test.sol for our tests

Solution
copy excerpt of forge-std contracts into testdata/lib/forge-std and update usage in testdata

LGTM - let's replace the checked in forge-std instead with a submodule?

Hm but then we run in the risk of forge-std here going out of sync with the forge-std in the other repo.

What exact difficulties do you foresee via a submodule?
Is it worth using git subtree instead?
Is it worth pulling forge-std in the main repo? (Think not)

What exact difficulties do you foresee via a submodule?

complicates things, really don't like them.

Is it worth using git subtree instead?

can't say never used it, no idea how it works.

Is it worth pulling forge-std in the main repo? (Think not)

should remain stand-alone because of forge install
tbh I'm also fine with closing this entirely since we don't really need forge-std/Test as base because all the features it provides are tested, so perhaps even redundant to pull in like that.

Yeah OK, my bad here, didn't think of the complication introduced via submodule. Let's close - sorry for the waste of time :S


Add GNSS Metadata fields (Pro) error messages "Tool has failed to open..."

I am working in 2.0.1 ArcPro.  I downloaded and extracted the collector-tools.  When I double click to open the "Add GNSS Metadata Fields (Pro) - FeatureClass" tool, I get the following error message.
Tool has failed to open: S:\GIS_Data\Mapping\7429Production\MAPS\Production\Laura\Mobile Field\GPS Pilot Program\JOC Contract\collector-tools-master(4)\collector-tools-master\CollectorUtils\pro\CollectorUtils_Pro.tbx\AddGNSSFieldsPro
If you have any idea of what the issue is, please let me know.
Thank you,
Laura

@Lmawhinney7175 Have you added the toolbox  (CollectorUtils_Pro.tbx) to ArcGIS Pro?

Hello,
Yes.  I add the toolbox to ArcGIS Pro?

@Lmawhinney7175  I'm not able to reproduce the error.

Thank you for responding and helping.  It makes it challenging to trouble shoot if someone can't reproduce the error.  There isn't much to go on.

Laura

@Lmawhinney7175 Can you update ArcGIS Pro to the latest released version (2.2) and then give it a try?

You know that is a good idea.  I will check, but I don't think I will be able to?

Closing this issue for the time being, can reopen if this issue is still reproducible.


shellyannouncegen2 issue

Describe the bug

This is not really a bug!!  When HA starts, shelly announce is triggerd but not all devices will be dicovered with the current state, some will report "unknown". Also the H&T devices will not get the correct values at once.
Expected behavior

the expectation is that all shelly devices will be discovered with the correct state when HA starts.  If shelly announce is triggered manually after a while (3-5min), all shelly states will be recovered correctly and H&T devices will get the values. Maybe it will help, if shelly announce will be delayed after HA is fully startet. For me it looks like, that HA is not completely ready when shelly announce it triggered.
-->
Versions:

Home Assistant:  2024.12
Shellies Discovery GEN2: 3.6.0
Shelly device firmware: 1.4.4

Shellies Discovery GEN2 automations:
``id: shellies_announce_gen2
alias: "Shellies Announce Gen2"
triggers:
  - platform: homeassistant
    event: start
actions:
  - repeat:
      for_each: "{{ device_ids }}"
      sequence:
        - action: mqtt.publish
          data:
            topic: "{{ repeat.item }}/rpc"
            payload: "{{ get_config_payload }}"
        - service: mqtt.publish
          data:
            topic: "{{ repeat.item }}/rpc"
            payload: "{{ get_components_payload }}"
variables:
  get_config_payload: "{{ {'id': 1, 'src': 'shellies_discovery', 'method': 'Shelly.GetConfig'} | to_json }}"
  get_components_payload: "{{ {'id': 1, 'src': 'shellies_discovery', 'method':'Shelly.GetComponents', 'params': {'include': ['config']}} | to_json }}"

  device_ids:  # enter the list of device IDs (MQTT prefixes) here

Please provide Shellies Discovery automations (announce and discovery) here.
++++++++++++++++
  id: shellies_discovery_gen2
  alias: "Shellies Discovery Gen2"
  mode: queued
  max: 999
  triggers:
    - platform: mqtt
      topic: shellies_discovery/rpc
  actions:
    - action: python_script.shellies_discovery_gen2
      data:
        id: "{{ trigger.payload_json.src }}"
        device_config: "{{ trigger.payload_json.result }}"
    - condition: template
      value_template: "{{ 'mqtt' in trigger.payload_json.result }}"
    - service: mqtt.publish
      data:
        topic: "{{ trigger.payload_json.result.mqtt.topic_prefix }}/command"
        payload: "status_update"

Shelly device MQTT settings:
 n/a
Debug log:
 will be delivered only  if applicable in this case

Check the discovery automation traces to see if it executes correctly after HA starts. Some HA instances have problems with this and need to add a delay to the announce automation.


Documentation of install command by asdf is wrong

What happened:
Command-line tool: pipectl | PipeCD
The pipectl install command by Asdf described in this document did not work.
What you expected to happen:
That I can successfully install pipectl by modifying the commands in the order of asdf plugin add in the documentation.
-asdf add plugin pipectl
+asdf plugin add pipectl

Getting Started | asdf
asdf plugin add <name> [<git-url>]      Add a plugin from the plugin repo OR,
                                        add a Git repo as a plugin by
                                        specifying the name and repo url

How to reproduce it:
Environment:

piped version:
control-plane version:
Others:

Thank you!


Addition of other Block types

As a user
I want support for data type blocks
So I can experiment with storing/sourcing app data

GIVEN there exists JSON data
WHEN supplied at runtime
THEN it is available for use in the job execution context

abandoning given changes introduced by #10


cannot get this to work

I install using git clone in jetson nano. into catkin_ws/src folder. The ran catkin_make. Seemed to build file.
But when I run the sample line:
$ rosrun nmea_navsat_driver nmea_serial_driver _port:=/dev/ttyUSB0 _baud:=115200
I get:
Illegal instruction (core dumped)
What have I done wrong? Thanks.

This appears to be a problem specific to the Python installation on your Jetson Nano. See the discussion here https://stackoverflow.com/questions/65631801/illegal-instructioncore-dumped-error-on-jetson-nano


Crash when trying to save.

JxlEncoderStatus JxlEncoderOptionsSetDistance(JxlEncoderOptions* options, float distance)
there is a line:
if (distance < 6.56f) {
jpeg_quality = -5.456783f * std::log(0.0256f * distance - 0.16384f);
} else {
jpeg_quality = -11.11111f * distance + 101.11111f;
}
this generates a crash, because log of negative values is not possible.
It should be
if (distance > 6.56f) {

Thanks for reporting!


Running ide-helper:generate throws PHP ReflectionException

The exception doesn't impact the generation of the _ide_helper.php file.
This is on macOS 10.13.4, with PHP 7.2.5, Zend Engine v3.2.0, Zend OPcache v7.2.5, and Xdebug v2.6.0
Here's the stack trace:
PHP ReflectionException:  Method handle does not exist in /Users/jess/Development/dev/vendor/barryvdh/laravel-ide-helper/src/Method.php on line 298
PHP Stack trace:
PHP   1. {main}() /Users/jess/Development/dev/artisan:0
PHP   2. App\Console\Kernel->handle() /Users/jess/Development/dev/artisan:37
PHP   3. Illuminate\Console\Application->run() /Users/jess/Development/dev/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:122
PHP   4. Illuminate\Console\Application->run() /Users/jess/Development/dev/vendor/laravel/framework/src/Illuminate/Console/Application.php:89
PHP   5. Illuminate\Console\Application->doRun() /Users/jess/Development/dev/vendor/symfony/console/Application.php:145
PHP   6. Illuminate\Console\Application->doRunCommand() /Users/jess/Development/dev/vendor/symfony/console/Application.php:262
PHP   7. Barryvdh\LaravelIdeHelper\Console\GeneratorCommand->run() /Users/jess/Development/dev/vendor/symfony/console/Application.php:886
PHP   8. Barryvdh\LaravelIdeHelper\Console\GeneratorCommand->run() /Users/jess/Development/dev/vendor/laravel/framework/src/Illuminate/Console/Command.php:170
PHP   9. Barryvdh\LaravelIdeHelper\Console\GeneratorCommand->execute() /Users/jess/Development/dev/vendor/symfony/console/Command/Command.php:251
PHP  10. Illuminate\Foundation\Application->call() /Users/jess/Development/dev/vendor/laravel/framework/src/Illuminate/Console/Command.php:183
PHP  11. Illuminate\Container\BoundMethod::call() /Users/jess/Development/dev/vendor/laravel/framework/src/Illuminate/Container/Container.php:564
PHP  12. Illuminate\Container\BoundMethod::callBoundMethod() /Users/jess/Development/dev/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31
PHP  13. Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() /Users/jess/Development/dev/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87
PHP  14. call_user_func_array:{/Users/jess/Development/dev/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29}() /Users/jess/Development/dev/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29
PHP  15. Barryvdh\LaravelIdeHelper\Console\GeneratorCommand->handle() /Users/jess/Development/dev/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29
PHP  16. Barryvdh\LaravelIdeHelper\Generator->generate() /Users/jess/Development/dev/vendor/barryvdh/laravel-ide-helper/src/Console/GeneratorCommand.php:113
PHP  17. Barryvdh\LaravelIdeHelper\Generator->generatePhpHelper() /Users/jess/Development/dev/vendor/barryvdh/laravel-ide-helper/src/Generator.php:74
PHP  18. Illuminate\View\View->render() /Users/jess/Development/dev/vendor/barryvdh/laravel-ide-helper/src/Generator.php:89
PHP  19. Illuminate\View\View->renderContents() /Users/jess/Development/dev/vendor/laravel/framework/src/Illuminate/View/View.php:90
PHP  20. Illuminate\View\View->getContents() /Users/jess/Development/dev/vendor/laravel/framework/src/Illuminate/View/View.php:125
PHP  21. Illuminate\View\Engines\PhpEngine->get() /Users/jess/Development/dev/vendor/laravel/framework/src/Illuminate/View/View.php:142
PHP  22. Illuminate\View\Engines\PhpEngine->evaluatePath() /Users/jess/Development/dev/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:21
PHP  23. include() /Users/jess/Development/dev/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:43
PHP  24. Barryvdh\LaravelIdeHelper\Alias->getMethods() /Users/jess/Development/dev/vendor/barryvdh/laravel-ide-helper/resources/views/helper.php:19
PHP  25. Barryvdh\LaravelIdeHelper\Alias->detectMethods() /Users/jess/Development/dev/vendor/barryvdh/laravel-ide-helper/src/Alias.php:166
PHP  26. Barryvdh\LaravelIdeHelper\Method->__construct() /Users/jess/Development/dev/vendor/barryvdh/laravel-ide-helper/src/Alias.php:308
PHP  27. Barryvdh\LaravelIdeHelper\Method->normalizeDescription() /Users/jess/Development/dev/vendor/barryvdh/laravel-ide-helper/src/Method.php:57
PHP  28. Barryvdh\LaravelIdeHelper\Method->getInheritDoc() /Users/jess/Development/dev/vendor/barryvdh/laravel-ide-helper/src/Method.php:149
PHP  29. ReflectionClass->getMethod() /Users/jess/Development/dev/vendor/barryvdh/laravel-ide-helper/src/Method.php:298

Closing this out. Turns out to have been caused by something linked to Homebrew's notorious "breaking of PHP" a few months ago. I haven't run into this issue after clearing out the PHP packages and re-installing everything, or running on VMs, for that matter.


Undefined method add_child for nil

I'm getting the following error:
NoMethodError: undefined method `add_child' for nil:NilClass
2019-08-23T14:28:18.336Z 8932 TID-ounlng4rs WARN: /home/achaves/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/bootstrap-email-0.2.6/lib/bootstrap-email.rb:52:in `inject_head!'
/home/achaves/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/bootstrap-email-0.2.6/lib/bootstrap-email.rb:24:in `perform_full_compile'
/home/achaves/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/bootstrap-email-0.2.6/lib/bootstrap-email/action_mailer.rb:10:in `make_bootstrap_mail'
/mnt/c/Users/chave/Documents/apps/smarthost/app/mailers/user_mailer.rb:45:in `price_check_notification'

the mailer action looks like this:
def price_check_notification(email, user_name, property_id, property_name, impacted_dates)
    @property_name = property_name
    @impacted_dates = impacted_dates
    @user_name = user_name
    @property_id = property_id
    make_bootstrap_mail(:to => email,  subject: I18n.t(:prices_not_in_sync))
  end

Any ideas on what's causing this?

I'm also seeing this issue.
       3: from /Users/JacobG/.rvm/gems/ruby-2.3.1/gems/bootstrap-email-0.3.1/lib/bootstrap-email/action_mailer.rb:10:inmake_bootstrap_mail'
2: from /Users/JacobG/.rvm/gems/ruby-2.3.1/gems/bootstrap-email-0.3.1/lib/bootstrap-email.rb:24:in perform_full_compile'         1: from /Users/JacobG/.rvm/gems/ruby-2.3.1/gems/bootstrap-email-0.3.1/lib/bootstrap-email.rb:52:in inject_head!'
NoMethodError (undefined method add_child' for nil:NilClass)

This is the line that is being run:
def inject_head!
  @doc.at_css('head').add_child(bootstrap_email_head)
end

This would mean to me that there is no <head> tag in your template. Ensure you are using the html template described here and that the file is named correctly: https://bootstrapemail.com/docs/setup.


After changing the size of the container, it starts to poorly scroll

Youtube video
When resizing with "parentScroll" it starts behaving strangely. Jumps when scrolling, apparently it does not calculate the height of the elements when changing sizes

It looks like you're doing something we don't officially support: Changing the size of an item after it has been rendered.
This should be easy to fix. I'll code up something & submit a new version to npm.
It'll be a method to invalidate the cached measurements.
In the meantime, you can try one of these 3 temporary workarounds:
//1) might work, but will work better after I code up a hotfix
[enableUnequalChildrenSizes]="false"

//2) should work
public alwaysFalse(item1, item2) {
   return false;
}
public forceRemeasure() {
    this.myItems = this.myItems.splice(0); // clone array
}

(compareItems)="alwaysFalse"
[items]="myItems"

//3) should work
//variable needs to change value when items are resized. value should be exact pixels of rendered item
[childWidth]="myWidth" [childHeight]="myHeight"

Here's the reasoning:
In your video it looks like your items are all the same size, However, it looks like when you open the sidebar all of the items shrink at the same time, but they're still equal size to each other.
[enableUnequalChildrenSizes]="false" is the correct setting here. This setting only needs only to be true if each item has a different size compared to the others items.
enableUnequalChildrenSizes causes a performance hit because it has to measure every single item, instead of only one.
The root issue is the scrollbar can be jumpy if it has incorrect measurements. Once an item has been measured it is cached & won't be re-measured.

I've committed a fix for this. It's not yet available on npm, but will be soon.
After release, I think your best option would be
[enableUnequalChildrenSizes]="false"
After elements change size due to side-bar opening, call this method: virtualScroll.invalidateAllCachedMeasurements();

This is now available on npm as version 0.4.13
Please re-open if this doesn't solve your issue.


Fix generate-configmap.sh

The directory structure and script did not match and could not be generated properly.

/approve
/lgtm


Docker stopped working in WSL <IP_ADDRESS>

Windows Version
Microsoft Windows [Version 10.0.22635.3930]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-microsoft-standard-WSL2
Distro Version
Ubuntu 20.04
Other Software
Docker version 27.0.3, build 7d4bcd8
Repro Steps

Update WSL via windows store
Launch Docker

Expected Behavior
Docker to launch successfully
Actual Behavior
Docker fails to launch
Diagnostic Logs
No response
Some additional context
This morning WSL was updated via the Windows store, after that Docker failed to launch with a generic "exit code 1" error message. I uninstalled and reinstalled Docker and then it still failed to launch complaining it couldn't get the disk size.
I've seen some other issues related to Docker  https://github.com/microsoft/WSL/issues/11742 and https://github.com/microsoft/WSL/issues/11771 and kernel version <IP_ADDRESS>, but those don't seem to apply to me since I'm not building the kernel my self (installing from Microsoft Store), and I don't have "kernel=" in my .wslconfig.
Also, installing Docker using Hyper-V instead of WSL has no problems.

I ran into the same issue. Rolling back WSL to 2.2.4 via the installer at https://github.com/microsoft/WSL/releases/tag/2.2.4 mitigated this issue for me for now.
It seems like WU updated me to the 2.3.11 prerelease.

@neoGeneva docker inside WSL is not working anymore? It might have to do with modules loading. On an non-systemd I can't load any WSL modules. On a systemd enabled WSL distro modules load fine, and docker engine works also:
ubuntu@eleven:~$ wslinfo --wsl-version
2.3.11
ubuntu@eleven:~$ docker info
Client: Docker Engine - Community
 Version:    26.1.4
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.14.1
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.27.1
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 0
 Server Version: 26.1.4
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: d2d58213f83a351ca8f528a95fbd145f5654e957
 runc version: v1.1.12-0-g51d5e94
 init version: de40ad0
 Security Options:
  seccomp
   Profile: builtin
 Kernel Version: <IP_ADDRESS>-microsoft-standard-WSL2
 Operating System: Ubuntu 24.04 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 7.757GiB
 Name: eleven
 ID: 49698596-f698-4988-846b-b652beca4bd4
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  <IP_ADDRESS>/8
 Live Restore Enabled: false

When looking through the /AppData/Local/Docker/log/host/com.docker.backend.exe.log I saw the following:
[2024-07-18T07:51:56.773991200Z][com.docker.backend.exe.sys] Checking if a WSL update is required
[2024-07-18T07:51:56.888485600Z][com.docker.backend.exe.update] version is <IP_ADDRESS>. an update is not required
[2024-07-18T07:51:56.888485600Z][com.docker.backend.exe.sys] Ensure WslUpdateRequired setting: WslUpdateRequired = false
[2024-07-18T07:51:56.890002800Z][com.docker.backend.exe.enginedependencies] Clearing isocache
[2024-07-18T07:52:05.222828700Z][com.docker.backend.exe.ipc][W] (754d0b9c) 716a4dc5-desktop_extensions C<-S NoResponse GET /forwards/list (10.0027955s): Get "http://ipc/forwards/list": context deadline exceeded
[2024-07-18T07:52:05.223022500Z][com.docker.backend.exe.extensions] request failed and retry attempts exhausted: Get "http://ipc/forwards/list": context deadline exceeded
[2024-07-18T07:52:05.223529000Z][com.docker.backend.exe.ipc] (37770e90) 716a4dc5-desktop_extensions C->S desktop_extensions GET /forwards/list
[2024-07-18T07:52:05.224585600Z][com.docker.backend.exe.ipc] (37770e90) 9a95e917-BackendAPI S<-C 716a4dc5-desktop_extensions GET /forwards/list
[2024-07-18T07:52:06.084884400Z][com.docker.backend.exe.tasks.build] 2024-07-18 07:52:06 [W] gc failed: CreateFile <HOME>\AppData\Roaming\Docker\buildstore\content\blobs: The system cannot find the file specified.
[2024-07-18T07:52:06.208400900Z][com.docker.backend.exe.apiproxy] >> HEAD /_ping
[2024-07-18T07:52:06.208400900Z][com.docker.backend.exe.apiproxy][W] Proxy error handling "/_ping": no connected VM
[2024-07-18T07:52:06.208939000Z][com.docker.backend.exe.idle] event handler 89f11bfa-8038-4e33-9854-08b12eb9239c: req = &{Method:GET URL:/v1.45/events?filters=%7B%22event%22%3A%7B%22die%22%3Atrue%2C%22start%22%3Atrue%7D%2C%22type%22%3A%7B%22container%22%3Atrue%7D%7D&since=1721289061.065096600 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[User-Agent:[Docker-Client/unknown-version (windows)]] Body:{} GetBody:<nil> ContentLength:0 TransferEncoding:[] Close:false Host:api.moby.localhost Form:map[] PostForm:map[] MultipartForm:<nil> Trailer:map[] RemoteAddr:\\.\pipe\dockerDesktopLinuxEngine RequestURI:/v1.45/events?filters=%7B%22event%22%3A%7B%22die%22%3Atrue%2C%22start%22%3Atrue%7D%2C%22type%22%3A%7B%22container%22%3Atrue%7D%7D&since=1721289061.065096600 TLS:<nil> Cancel:<nil> Response:<nil> ctx:0xc002080960 pat:<nil> matches:[] otherValues:map[]}
[2024-07-18T07:52:06.208939000Z][com.docker.backend.exe.apiproxy] >> GET /v1.45/events?filters=%7B%22event%22%3A%7B%22die%22%3Atrue%2C%22start%22%3Atrue%7D%2C%22type%22%3A%7B%22container%22%3Atrue%7D%7D&since=1721289061.065096600
[2024-07-18T07:52:06.208939000Z][com.docker.backend.exe.apiproxy][W] Proxy error handling "/v1.45/events?filters=%7B%22event%22%3A%7B%22die%22%3Atrue%2C%22start%22%3Atrue%7D%2C%22type%22%3A%7B%22container%22%3Atrue%7D%7D&since=1721289061.065096600": no connected VM
[2024-07-18T07:52:06.209465500Z][com.docker.backend.exe.tasks.build] 2024-07-18 07:52:06 [E] failed to listen to docker events: request returned Internal Server Error for API route and version http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/v1.45/events?filters=%7B%22event%22%3A%7B%22die%22%3Atrue%2C%22start%22%3Atrue%7D%2C%22type%22%3A%7B%22container%22%3Atrue%7D%7D&since=1721289061.065096600, check if the server supports the requested API version

Thanks, @wmmc88. Rollback was the only option for me, and it works https://github.com/microsoft/WSL/releases/tag/2.2.4

If downgrading WSL to 2.2.4 is a temporary solution, is there any way to prevent the Microsoft Store from upgrading?

[com.docker.backend.exe.wslintegration] exited the watch loop of wsl distro agents
[com.docker.backend.exe.wslintegration] updating integration, default distro: true, additional distros: [], kubernetes enabled: false, kubernetes listener active: false, mustMergeKubeconfig: false
[com.docker.backend.exe.wslintegration] starting distro watcher
[com.docker.backend.exe.wslintegration] current active agents before sync: 0
[com.docker.backend.exe.wslintegration] active agents: 0
[com.docker.backend.exe.wslintegration] adding a wsl agent for new distro Ubuntu
[com.docker.backend.exe.ipc] 1ff0b792-wslintegrationagent-Ubuntu -> \\.\pipe\dockerWSLCrossDistroService CrossDistroService
[com.docker.backend.exe.wslintegration] done syncing agents
[com.docker.backend.exe.wsldistroproxy] start wsl integration for distro Ubuntu
[com.docker.backend.exe.wsldistroproxy] Configuring docker credstore to use desktop.exe
[com.docker.backend.exe.wsldistroproxy] credsStore already set to desktop.exe
[com.docker.backend.exe.wsldistroproxy] wsl.exe -d Ubuntu -e whoami
[com.docker.backend.exe.wsldistroproxy] wsl.exe -d Ubuntu -u root -e sh -c ( addgroup docker || true ) && addgroup "root" docker
[com.docker.backend.exe.wsldistroproxy] wsl.exe -d Ubuntu -u root -e sh -c ( groupadd docker || true ) && usermod -aG docker "root"
[com.docker.backend.exe.wsldistroproxy] wsl.exe -d Ubuntu -e cat /etc/wsl.conf
[com.docker.backend.exe.wsldistroproxy] wsl.exe -d Ubuntu -e cat /etc/wsl.conf
[com.docker.backend.exe.wsldistroproxy] wsl.exe -d Ubuntu -e /mnt/wsl/docker-desktop/docker-desktop-user-distro sync-context-store /mnt/c/Users/zcobol/.docker/contexts
[com.docker.backend.exe.wsldistroproxy][W] syncing context store in Ubuntu distro: cli contexts not resynced: exit status 1
[com.docker.backend.exe.wsldistroproxy] wsl.exe -d Ubuntu -e cat /etc/wsl.conf
[com.docker.backend.exe.wsldistroproxy] wsl.exe -d Ubuntu -e cat /etc/wsl.conf
[com.docker.backend.exe.wsldistroproxy] wsl.exe -d Ubuntu -e /mnt/wsl/docker-desktop/docker-desktop-user-distro sync-home-subdir /mnt/c/Users/zcobol/.aws
[com.docker.backend.exe.wsldistroproxy][W] syncing ~/.aws in Ubuntu distro: path .aws not synced: exit status 1
[com.docker.backend.exe.wsldistroproxy] wsl.exe -d Ubuntu -e cat /etc/wsl.conf
[com.docker.backend.exe.wsldistroproxy] wsl.exe -d Ubuntu -e cat /etc/wsl.conf
[com.docker.backend.exe.wsldistroproxy] wsl.exe -d Ubuntu -e /mnt/wsl/docker-desktop/docker-desktop-user-distro sync-home-subdir /mnt/c/Users/zcobol/.azure
[com.docker.backend.exe.wsldistroproxy][W] syncing ~/.azure in Ubuntu distro: path .azure not synced: exit status 1
[com.docker.backend.exe.wsldistroproxy] wsl.exe -d Ubuntu -e cat /etc/wsl.conf
[com.docker.backend.exe.wsldistroproxy] wsl.exe -d Ubuntu -e cat /etc/wsl.conf
[com.docker.backend.exe.wsldistroproxy] wsl.exe -d Ubuntu -e /mnt/wsl/docker-desktop/docker-desktop-user-distro sync-file /mnt/c/Users/zcobol/.docker/features.json ~/.docker/features.json
[com.docker.backend.exe.wsldistroproxy][W] syncing ~/.docker/features.json in Ubuntu distro: syncing windows path /mnt/c/Users/zcobol/.docker/features.json to ~/.docker/features.json: exit status 1
[com.docker.backend.exe.wsldistroproxy] Killing CLI API server running at /root/.docker/run/docker-cli-api.sock
[com.docker.backend.exe.wsldistroproxy] Starting WSL Distro proxy
[com.docker.backend.exe.wsldistroproxy] wsl.exe -d Ubuntu -e cat /etc/wsl.conf
[com.docker.backend.exe.wsldistroproxy] wsl.exe -d Ubuntu -u root -e /mnt/wsl/docker-desktop/docker-desktop-user-distro proxy --distro-name Ubuntu --docker-desktop-root /mnt/wsl/docker-desktop C:\Program Files\Docker\Docker\resources
[com.docker.backend.exe.wslintegration] distro agent Ubuntu exited unexpectedly: running wsl distro proxy in Ubuntu distro: exit status 1
[com.docker.backend.exe.wslintegration] attempting recovery from agent Ubuntu error: running wsl distro proxy in Ubuntu distro: exit status 1
[com.docker.backend.exe.report] reporting error to user: running wsl distro proxy in Ubuntu distro: exit status 1

Enabling systemd within WSL as described here resolved the issue for me. https://github.com/docker/for-win/issues/14198#issuecomment-2237494427

For me the issue was related to WSL 2.3.11 Pre-release.
Check your version with wsl --version.
I downloaded the installer for 2.4.4 (Latest) restarted the computer and docker loaded as normal.
Download WSL from the official release page - https://github.com/microsoft/WSL/releases

To revert back on <IP_ADDRESS> run the following from a Terminal with admin rights
wsl --shutdown
wsl --uninstall
wsl --update
wsl --version (ensure you see <IP_ADDRESS>)

This did not work for me, it installed 2.3.11 again, most likely because Im on windows insider programme or something. What did work was to install version 2.2.4 from the github release page and then block all updates in Microsoft Store app (by clicking on my profile, Settings, turn off updates)

docker-win-4.23.0 does work with wsl-2.3.11. I've noticed that if the default wsl distro is not running launching docker desktop will fail with Docker Engine stopped and wsl -l -v show the distro in non-running state. It should be as docker kick-starts it. Restarting docker works. It also works if the wsl distro is already running.

Same here. Windows 11 Insider. New WSL version breaks docker.

docker-win-4.23.0 does work with wsl-2.3.11. I've noticed that if the default wsl distro is not running launching docker desktop will fail with Docker Engine stopped and wsl -l -v show the distro in non-running state. It should be as docker kick-starts it. Restarting docker works. It also works if the wsl distro is already running.

I was running into this as well after upgrading to pre-release wsl. Quitting Docker Desktop, starting wsl, then starting Docker Desktop worked for me.

Thanks, @wmmc88. Rollback was the only option for me, and it works https://github.com/microsoft/WSL/releases/tag/2.2.4

could you share the command to rollback to 2.2.4? I use commands in this thread (shared by @JonathanPitre) but it didn't work for me (installing latest version). Thanks

wsl-2.3.13 fixed the docker not staring issue. See details at  https://github.com/microsoft/WSL/releases/tag/2.3.13

Reverting t o 2.2.4 didnt fix it. I had to uninstall Docker Desktop for Windows entirely then reinstall it with the latest: 4.33.0. I now see this:
C:\Windows\System32>wsl --version
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>-1
WSLg version: 1.0.63
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26100.1297
Docker for Desktop loads correctly now.

Reverting didnt fix it. I had to uninstall Docker Desktop for Windows entirely, install wsl 2.3.13, then reinstall DDfW with the latest: 4.33.0. I now see this:
C:\Windows\System32>wsl --version
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>-1
WSLg version: 1.0.63
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26100.1297
Docker for Desktop loads correctly now.

WSL 2.3.11 also broke/changed the way docker_gwbridge networking works within docker swarm. The gateway address <IP_ADDRESS> appears to permanently timeout within the swarm.
This is still broken in 2.3.13, but it does at least start now.
Reverting to 2.2.4 works correctly.


Alternative Icons

Came up with some alternative icons for things. Feedback is appreciated.

I really like the aesthetic! However, they need to be 'fat' icons so that you can zoom into/out of them (in a yet unreleased feature). Do you think this style would work with that constraint too? ie: FAT icons

I can take a crack at it!

I am really liking these! I'm still thinking about it though. It sounds really weird, but these look really good, and I'm wondering how that will change the perception of the tool. There's something freeing about using something that looks crappy 🤔

freeing about using something that looks crappy

I personally prefer the newer icons, I think they would make it better


Fix 1144932 by in ComboBoxSample by setting the tab-order to the logical order of operations

Set a tab order in ComboBoxSample to match the logical order of operations
Previous behavior:
Tab focus does not go to the list of movies after expanding the button.
While navigating through tab key, Keyboard focus goes illogical that after selection of movie, the tab focus does not go to the watch now button.
New behavior:
Keyboard tab focus goes to the watch now button after selecting any movie from the list.
Tab focus should go to the movies list and after expanding the button and then from the list it should go to the watch now button.
Expand button-->Movies list-->Watch Now button.

/azp run

/azp run


Typescript warn underline when i use the prop by defineExpose

when i use script setup with Typescript in componet Son ,and i use defineExpose to expose a function named handleSearch,and i call it by component Son 's InstanceType in component Parent,(code: sonRef.value.handleSearch() ),the function can successful called,but the handleSearch is warn underline and tips show with  sonRef.value don't havae handleSearch on it by Typescript(I have to comment @ts-ignore above the line to fix the warn message) .But when i change component Son by defineComponent,the warn will disappear.

See https://github.com/vuejs/vue-next/issues/4397.


ENH: Clang GitHub Actions

The script clang-format-linter.yml was pulled from the ITKModuleTemplate. This will verify the clang format for all the proposed changes. If the changes do not conform to clang, then the Action will fail and print the changes needed to pass. If the changes do conform to clang, the Action will pass.
In addition, this removes appveyor.yml and azure-pipelines as the new GitHub Actions have been implemented. @thewtex Please disable appveyor.yml for this module. I believe azure-pipelines.yml has already been disabled.

@mseng10 thank you!
I removed the AppVeyor web hook.


ASA Pricing with enterprise Tiers shows it is Free wheras it is now GA

Azure Spring Apps is now GA, no more Preview.
Screenshots

See at https://azure.microsoft.com/en-us/pricing/calculator/

@ezYakaEagle442
Thanks for reaching out.
This problem does not exist in my side.
Here is the screenshot:

Please try to refresh your page.

@chenrujun this is because your screenshot shows the standard Tier is selected, NOT the Enterprise Tier.
Check on your side please, selecting Enterprise Tier.

Closing this issue because the issue is tracked here: https://dev.azure.com/azurecom/ACOM/_workitems/edit/186630


Message dispatching based on consumer priority-level

Motivation
Addressing #134 : Message dispatching based on consumer priority-level
Result
Shared mode consumer priority, the messages will only goes to the consumers with higher priority if there's permit, otherwise the message can also be pushed to the consumers with lower priority.

CLA is valid!


feat(GPUManager): check nvidia container toolkit capabilities

What does this PR do?
Add some utility function to the GPUManager to check if nvidia-ctk is installed on the machine or native host (linux) for nvidia cards.

ℹ Nothing is exposed to the user currently.

Screenshot / video of UI
N/A
What issues does this PR fix or reference?
Fixes https://github.com/containers/podman-desktop-extension-ai-lab/issues/1824
Requied for https://github.com/containers/podman-desktop-extension-ai-lab/issues/1591
Part of https://github.com/containers/podman-desktop-extension-ai-lab/issues/1708
How to test this PR?

[x] unit tests has been provided

Manually
You can check manually by adding the following code to the studio.ts
    setTimeout(() => {
      this.#gpuManager?.collectGPUs().then((gpus) => {
        console.log('collectGPUs', gpus);

        const connections = this.#podmanConnection?.getContainerProviderConnections() ?? [];
        Promise.all(
          connections.filter(connection => connection.status() === 'started').map((connection) => (this.#gpuManager?.getGPUContainerDeviceInterface(connection)))
        ).then((result) => {
          console.log('promise all get GPU CDI', result);
        })
          .catch((err: unknown) => {
          console.error('promise all get GPU CDI', err);
        });
      }).catch((err: unknown) => {
        console.error('collectGPUs', err);
      });
    }, 10000);

I dont have a NVIDIA GPU 😢 to test this

Linux code seems to be based on local podman. Is there a way to check ? What is user is using Podman machine ?

If the vmType is undefined on Linux, it is a native connection.

Moving to draft


SSR Mode Resulting in SyntaxError

Hey there,
Thanks for the awesome extension! This has been working perfectly for SPAs, however, I can't seem to make it work for SSR/PWA.
When running quasar dev -m ssr, this results in a SyntaxError during warmup.
Here's the log:
 App • Running "@vueauth/auth" Quasar App Extension...
 App • Running "@vuemodel/supabase" Quasar App Extension...
 App • Extension(@vueauth/auth): Extending quasar.config.js...
 App • Extension(@vuemodel/supabase): Extending quasar.config.js...
 App •  WAIT  • Compiling of SSR Webserver with Esbuild in progress...
 App •  DONE  • SSR Webserver compiled with success • 1489ms

 App • Extension(@vueauth/auth): Extending Vite config
 App • Extension(@vueauth/auth): Extending Vite config
 App •  WAIT  • Warming up...
@vueauth/supabase doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.
9:45:29 pm [vite] Error when evaluating SSR module /src/App.vue:
---\node_modules\@vueauth\core\dist\core.esm.js:1
import { ref, inject, unref, computed } from 'vue-demi';
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at compileFunction (<anonymous>)
    at Object.compileFunction (node:vm:352:18)
    at wrapSafe (node:internal/modules/cjs/loader:1033:15)
    at Module._compile (node:internal/modules/cjs/loader:1069:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (---\node_modules\@vueauth\quasar-ui-auth\dist\index.common.js:6:110)

I've tried running this with Typescript & Javascript but the error continued to occur for both configurations.
Cheers

Mmm interesting, thanks for the report!
Looks like I've done something strange in the VueAuth build process.
Will try to make time to explore this on the weekend!


RUC-352 Add versioning to widget initialization

Some widgets do not have a configuration setup in the backend, so they
must take the main widget's version. This allows those widgets to also
implement versioning.
Tests: manually tested that version is added to iframe as expected
@CrowdTwist/boba
@georgehlim @pkhedkarcrowdtwist @kchanct
@c-wright @dkarten

@c-wright updated


Remove "unshare" mode on volume mount

The results directory should not have the "U" unshare mode. The reason
is that the ./test/scan-example-with-podman.sh script intends to create
a child directory in results. "U" here removes ownership from the EUID
too early, and it's not the right directory to unshare anyway. We want
to unshare the child. This patch reverts the addition of "U" mode on the
results mount.

Thanks for report this. I confirmed the issue.


Simulation error on tablets: obstacles vanish

This error occurs on my tablet, not on my laptop:
Clicking the blue obstacle lets it vanish immediately. Other similiar errors occur when creating and moving obstacles.
Hope, that it is a cache problem :-)

released as hotfix


Fix for WFLY-19021, WildFly provisioning to support WildFly stability

Issue: https://issues.redhat.com/browse/WFLY-19021
Also bumping Galleon and WildFly Galleon plugins to latest beta.
NOTE: The minimum stability of all built feature-pack has been set to experimental.

Th failure for cloud tests is unrelated. Seems an infrastructure error. Should be re-run at some point.

@jfdenise Let's discuss this in a thread in https://wildfly.zulipchat.com/#narrow/stream/174184-wildfly-developers.
AIUI this PR is just using a new setting that achieves the same thing as existing settings that you remove. So it's no big deal and is mergeable.  But WFLY-19021 overall is a Feature Request, with an associated analysis at https://github.com/wildfly/wildfly-proposals/pull/555, and we're working to use the new WildFly feature dev process for such things. We're kind of bypassing that with this work though, e.g. the plugins are being updated and released and now being merged into WF. I don't want to just ignore any process requirements and keep merging things, so let's talk about what we need to do to adapt this to process.
Step 1 is to pick a stability level for WFLY-19021 itself. That doesn't map to --stability etc, but the levels are general concepts that go beyond Paul's work and the related stuff.

FYI, this works great in https://github.com/wildfly-extras/mvc-krazo-feature-pack/pull/18

@bstansberry , I updated the Proposal to align with the new process.
A new Galleon Plugins release would be needed to align with the updated proposal. I am going to set this PR as draft until we have an approved proposal.

/retest
@jfdenise Please move this out of draft state. Your plan re testing is enough to keep moving forward.

Thanks @jfdenise!


Add presets for bicycle parkings...

... that are not essentially just a type of bicycle stands but a different thing (by name). See https://wiki.openstreetmap.org/wiki/Key:bicycle_parking

I wonder, if this also changes the meaning of the regular "Bicycle parking" preset to be meant for "on street without cover". If so, the cover=no could be the smart default there (to be changed by users if required).

No, because there are also normal stands  which simply have a roof/cover but are open to the sides. In my area, often found at train and metro stations.
There is a StreetComplete quest that asks for bicycle stands if they are covered or not.
So, it is definitely a possible field for bicycle stands, but not automatically "no".
Am 29. April 2019 07:34:32 MESZ schrieb Tobias<EMAIL_ADDRESS>
I wonder, if this also changes the meaning of the regular "Bicycle
parking" preset to be meant for "on street without cover". If so, the
cover=no could be the smart default there (to be changed by users if
required).

Wait, I did not change anything yet!

@westnordost I know! I figured I'd just take care of it so the translators can get started.

Ok cool


user integration with old drupal profile should import more user details

after #29 drupal users can log-in to spark
these drupal users have some data which is missing
most important:

first_name
last_name
gender

possibly other data as well..
best way will be to add those fields to drupal_users table

Nitay was adding some scripts, I'll ask him to update his progress here

I did not see a fix for this issue.. why is it closed?

I'm sorry, I should have commented on that.
I see it as a duplicate of this broader issue:
https://github.com/Midburn/Spark/issues/122

this issue is about data we are missing from drupal users (like we don't have their first_name / last_name fields for them)
even if we have SSO we will still need to figure out how to map the fields from drupal
for example, in spark we have 3 fields for name: name, first_name, last_name - but drupal only have "name" - how do we map and integrate those fields? should we split the name field by space? should we remove first_name / last_name from spark users table?

Right, so since we decided to leach from the drupal database (for this year), we will effectively have no need for the user table.
Furthermore, we will need to cache every single user uid we fetch so that it can serve as a primary key in other tables.
Unfortunately we will not be able to cache any other information about the user since the drupal data is live and might change at any time.
Having said that, we will need to decide eventually if we go with name or first name / last name. I think separating them is a good thing because you can then address your users formally and informally. Next year when we migrate, we can try to split the name on a best effort basis and then when users login present them with a 'confirm your details' sort of a page :)


Safari (macOS) support

Enable sidekick extension for Safari (macOS).

:tada: This issue has been resolved in version 6.7.6 :tada:
The release is available on:

GitHub release
v6.7.6

Your semantic-release bot :package::rocket:


Helper for making alias column names

When running arc_select() or collect() the returned data frame does not use the alias of the field. The alias is often more human readable than the field name. It may be preferable to return the column names as the alias

Not sure if there is a way to do this without picking up an additional dependency but I think aliases are actually more equivalent to variable labels as implemented by the {labelled} package and they are often not well suited to using as column names directly: https://larmarange.github.io/labelled/articles/intro_labelled.html#variable-labels
One possibility could be to add a .name_repair argument and a helper function that, if used for .name_repair, could replace the column names with the alias values. Likely the same helper could be adapted to make variable labels for anyone using arcgislayers::arc_select() in combination with labelled::var_labels().
I added a .name_repair argument to esri2sf::esri2sf() so I could use it in combination with the handy janitor::make_clean_names() function. For {esri2sf}, I'm just passing the argument to tibble::as_tibble() but you could use the underlying vctrs::vec_as_names() function directly.

You're right, re labels. I was thinking of the labels behavior of haven. I wonder if there is a good way out of this without over engineering arc_select(). Perhaps a utility function like field_aliases() can be used in combination with rename. This does feel contrived though..
library(dplyr)

library(arcgis)
#> Attaching core arcgis packages:
#>   - {arcgisutils} v0.1.0
#>   - {arcgislayers} v0.1.0

# define the feature layer url
furl <- "https://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services/USA_Counties_Generalized_Boundaries/FeatureServer/0"

county_fl <- arc_open(furl)

# helper function
field_aliases <- function(x) {
  fields <- list_fields(x)
  setNames(fields[["name"]], fields[["alias"]])
}

county_fl |>
  collect() |>
  rename(!!!field_aliases(county_fl))
#> Simple feature collection with 3142 features and 12 fields
#> Geometry type: MULTIPOLYGON
#> Dimension:     XY
#> Bounding box:  xmin: -178.2176 ymin: 18.92179 xmax: -66.96927 ymax: 71.40624
#> Geodetic CRS:  WGS 84
#> First 10 features:
#>    OBJECTID            Name State Name State FIPS  FIPS Area in square miles
#> 1         1  Autauga County    Alabama         01 01001               604.37
#> 2         2  Baldwin County    Alabama         01 01003              1633.14
#> 3         3  Barbour County    Alabama         01 01005               904.52
#> 4         4     Bibb County    Alabama         01 01007               626.17
#> 5         5   Blount County    Alabama         01 01009               650.63
#> 6         6  Bullock County    Alabama         01 01011               625.14
#> 7         7   Butler County    Alabama         01 01013               777.88
#> 8         8  Calhoun County    Alabama         01 01015               612.27
#> 9         9 Chambers County    Alabama         01 01017               603.11
#> 10       10 Cherokee County    Alabama         01 01019               599.98
#>    2020 Total Population People per square mile State Abbreviation County FIPS
#> 1                  58805                   97.3                 AL         001
#> 2                 231767                  141.9                 AL         003
#> 3                  25223                   27.9                 AL         005
#> 4                  22293                   35.6                 AL         007
#> 5                  59134                   90.9                 AL         009
#> 6                  10357                   16.6                 AL         011
#> 7                  19051                   24.5                 AL         013
#> 8                 116441                  190.2                 AL         015
#> 9                  34772                   57.7                 AL         017
#> 10                 24971                   41.6                 AL         019
#>    Shape__Area Shape__Length                       geometry
#> 1    0.1489034      1.884137 MULTIPOLYGON (((-86.82067 3...
#> 2    0.4044891      3.678276 MULTIPOLYGON (((-87.97309 3...
#> 3    0.2224307      2.218514 MULTIPOLYGON (((-85.74337 3...
#> 4    0.1577359      1.852453 MULTIPOLYGON (((-87.41986 3...
#> 5    0.1675296      2.067456 MULTIPOLYGON (((-86.96799 3...
#> 6    0.1557273      2.006250 MULTIPOLYGON (((-85.4114 32...
#> 7    0.1927305      1.769462 MULTIPOLYGON (((-86.44912 3...
#> 8    0.1523369      2.149825 MULTIPOLYGON (((-85.79353 3...
#> 9    0.1531136      1.637226 MULTIPOLYGON (((-85.58963 3...
#> 10   0.1527217      1.794142 MULTIPOLYGON (((-85.41657 3...

I really like this approach. I did something similar in my getdata package: https://github.com/elipousson/getdata/blob/65668b09a1c1e564b8f6dfb18dec88cd2aa7fed9/R/format_data.R#L137-L183
fields_alias() should take an optional fields column (same as arcgislayers::arc_select()) so you can subset the alias values and make sure you can use the aliases to rename a sf object that has the same subset of the original columns.

Reviewing this, I think that there should be a utility function that would be in the same bucket as refresh_layers that most people wont have a need for.
Renaming columns is out of the scope of these packages but providing handy utilities might not be.

I'm going to close this for now as I think its out of the scope of the main functionality. If it comes back up we can write a FAQ / short workflow article on this.


Minor UI improvements

Hey @liyasthomas,
Something went wrong with the build.
TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.
View build log
TravisBuddy Request Identifier: 637f7750-a32b-11e9-8f5b-6da796c0dc0a


yubikey-manager-qt: fix build

Description of changes
On nixos-untsable yubikey-manager-qt fails to build because yubikey-manager4 fails to build probably because of a cryptography update. Upstream uses yubikey-manager 5 https://github.com/Yubico/yubikey-manager-qt/blob/yubikey-manager-qt-1.2.5/requirements.txt which I also tested locally and which just works as good.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

fixes #280934

Add a :+1: reaction to pull requests you find important.

This looks to be the same problem as in #121121 . I wonder how and why that broke. 🤔

Congratulations on your renewed ascension to committer status, btw, @SuperSandro2000. 🙌🏻

Found a solution to that and opened #281421 with it

Going to merge this without maintainer feedback to unbreak yubikey-manager-qt.


output should be absolute path

Current Buggy or Suspicious Behavior
const outputPath = `outputs/${output}.mbtiles`;

Expected Behavior
  const outputPath = output;

Thanks! I actually just addressed this in 17, because I needed absolute path for the task worker service.


Generalized Weave error-to-string facility

-- Re-implemented Weave’s ErrorStr() function to use a modular design where the work of translating an error to string form is delegated to a series of formatting functions which can be registered at runtime.  The new design makes it possible for error formatting functionality to be implemented separately for each category of error.  Additionally, adapters of Weave code can install their own error-to-string translations for errors that are unique to a particular platform or execution environment.
Once landed, this feature will be used to provide SDK-specific error translations for the nRF52840 and ESP32 platforms.
-- Using the above facility, error translations for the various OpenWeave-defined error categories were moved out of ErrorStr.cpp and into their own files.
-- Minor adjustments were made to the output format of error strings to make them more consistent and more informative.  Notably, long-format error strings now include the error code in both decimal and hex format.
-- Reduced memory usage when using long-format error strings by decreasing the size of the static buffer used to error strings from 1000 to 256 bytes.  The new size seems to be more than adequate for the existing crop of error translations.

Codecov Report

Merging #194 into master will decrease coverage by <.01%.
The diff coverage is 91.77%.

@@            Coverage Diff             @@
##           master     #194      +/-   ##
==========================================
- Coverage   54.29%   54.28%   -0.01%
==========================================
  Files         327      330       +3
  Lines       56244    56258      +14
==========================================
+ Hits        30539    30542       +3
- Misses      25705    25716      +11

Impacted Files
Coverage Δ

src/ble/BleLayer.cpp
0.81% <0%> (-0.01%)
:arrow_down:

src/system/SystemLayer.cpp
62.35% <100%> (+0.44%)
:arrow_up:

src/inet/InetError.cpp
100% <100%> (ø)

src/test-apps/TestErrorStr.cpp
100% <100%> (ø)
:arrow_up:

src/system/SystemError.cpp
57.14% <60%> (-7.15%)
:arrow_down:

src/lib/support/ErrorStr.cpp
85.71% <90%> (-9.43%)
:arrow_down:

src/lib/support/ASN1Error.cpp
94.44% <94.44%> (ø)

src/lib/core/WeaveError.cpp
96.13% <96.13%> (ø)

... and 4 more

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 4baaef3...ddcd91b. Read the comment docs.

One minor bit of feedback; however, overall, this looks good.

The main pitfall with this approach is that the application has to remember to register all the error formatters that it needs to use.

The main pitfall with this approach is that the application has to remember to register all the error formatters that it needs to use.

I think I have that mostly covered for all the existing formatters.  Weave and ASN1 formatters are "pre-registered".  Ble Layer, Inet Layer, System Layer, LwIP and POSIX formatters get registered when you initialize the respective layer objects.

Review comments addressed.

The main pitfall with this approach is that the application has to remember to register all the error formatters that it needs to use.

I think I have that mostly covered for all the existing formatters. Weave and ASN1 formatters are "pre-registered". Ble Layer, Inet Layer, System Layer, LwIP and POSIX formatters get registered when you initialize the respective layer objects.

I caught some of those, and missed others, that's what inspired the comment.  I then realized that even if this were left to the app developer, it would still work even in the presence of multiple registration of the same formatter (though at an expense of a few extra checks).

it would still work even in the presence of multiple registration of the same formatter (though at an expense of a few extra checks

Yep, and the "extra" check occurs at registration time, as RegisterErrorFormatter() won't add a formatter to the list that points to the same format function as an existing one.


Support filtering by has_many associations, without having to specify a custom filter

Nice change!
I've left two minor suggestions, otherwise looks good to me!

Thanks ! Hmm, I can't see those suggestions @dylanmckay

Ah, I'm not used to GitHub's review feature. Should be up now.


Add information on how to get involved

ref: https://github.com/fluxcd/community/pull/29#discussion_r516195578

Signed-off-by: Daniel Holbach<EMAIL_ADDRESS>

Looks like we're all good with #29


PHP 8.0 - uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero

collection_functions.php, line 360 (maybe also somewhere else)
uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero

I could try to prepare PR. Should I? Because I can see some issues without any reaction (for example https://github.com/DusanKasan/Knapsack/issues/69, https://github.com/DusanKasan/Knapsack/issues/70, https://github.com/DusanKasan/Knapsack/issues/71), so I'm not sure if someone will look at it.

The problem is not in DusanKasan / Knapsack library. Actually it was in my application (sort function implementation). I have to apologize and close issue.


diff-highlight and language-diff-${language} rendering issue on Safari

Information

Language: all that I tested, Kotlin, Java, Dart, JS, Swift, Diff
Plugins: diff-highlight

Description
On Safari, when using diff and the diff-highlight plugin, Span's are rendered to the the codeblock and the code dissapears. You can see this happen on the plugin page on the prism website. https://prismjs.com/plugins/diff-highlight/

After doing some debugging it looks like the problem is related to how the HTML_LINE regex is generated. Replacing the generated regex with hardcoded version fixes the problem.

The page works in Chrome, Firefox, Edge, and IE11, so this is definitely a safari-specific bug.
Thank you @tbarbugli for doing the debugging.
This is just a guess, but are could it be that \r and \n aren't escaped properly in the .source property? If not, what's the difference between the generated and hard-coded pattern?

@RunDevelopment that was my first guess as well but that's not it. Here's the two version of the HTML_LINE patterns:
Chrome
(?:<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>|[^\r\n<])*(?:\r\n?|\n|(?:<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>|[^\r\n<])(?![^\r\n]))

Safari
(?:$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>|[^\r\n<])*(?:\r\n?|\n|(?:$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>|[^\r\n<])(?![^\r\n]))

For some reason I don't know, Chrome generates a different (correct) pattern than Safari.
Not sure what is the advantage of having the HTML_LINE regex to be computed at runtime, if not needed I would say having the final regex hard-coded is the easy fix.

https://github.com/PrismJS/prism/pull/2239

For some reason, the first 18 characters of the pattern are simply gone! It's a miracle the pattern doesn't throw a syntax error. I simply cannot believe that Safari is unable to execute the following lines of code correctly.
var HTML_TAG = /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/gi;
var HTML_LINE = RegExp(/(?:__|[^\r\n<])*(?:\r\n?|\n|(?:__|[^\r\n<])(?![^\r\n]))/.source.replace(/__/g, HTML_TAG.source), 'gi');

The interesting part now is: Where does it go wrong? Is it the .source stored incorrectly or is the String.prototype.replace at fault?
If I were to guess, then I'd say that Safari is having trouble with the $<% part of the pattern. My guess is that it is somehow interpreting this as a substitution. If my suspicion is correct, then messing with the substitution sequence should fix it. I guess [^$\s>\/=<%] instead of [^\s>\/=$<%] will work? Could you please test this @tbarbugli? (I'd like to do the debugging myself, but I don't have access to a macOS computer.)
Either way, this problem is huge because a few of Prism's languages also generate patterns in a similar fashion meaning that all those languages will potentially not work in Safari.

Not sure what is the advantage of having the HTML_LINE regex to be computed at runtime

Redundancy. If hard-coded, the HTML_TAG pattern will be present at 3 different locations in the file. It also makes the pattern easier to understand (because you don't have to mentally parse a 280 characters long regex).

$< seems to be used for named captures (https://tc39.es/ecma262/#table-45) and Safari's behaviour seems to be per spec to be honest: it searches for a named capture called %]+(?:\s(?:\s*[^\s and since it can't find it, it replaces with the empty string. There must be a subtlety that I don't get, though, if it work properly in Chrome.
Changing this order of the characters in the character class should indeed work. A safer but uglier alternative would be to use HTML_TAG.source.replace(/\$/g, '$$$$') as the replacement string, I guess.


[5.1] Added MsSQL Azure connection lost message

Added Microsoft SQL Server message to lost connections, some references:
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/63bfcfb2-6cca-4cff-96df-216ad206881e/dbprocess-is-dead-or-not-enabled
http://www.sqlservercentral.com/Forums/Topic123601-92-1.aspx
http://forums.databasejournal.com/showthread.php?5260-DBPROCESS-is-dead-or-not-enabled
Bye.

Have you tested this works?

Now I am using App\Exeptions\Handler to do it, then I didn't tested it with this code.
This problem occurrs on worker deamon, when redis connection is lost (in night, timed out) and worker try to put job on failed table, but get lost connection from MsSQL.
I'm testing solutions for redis now, and it's too hard to reproduce for tests.
Sorry my english.


documentation for the master branch doesn't update.

Hey, I think our doc pages for the master branch aren't updating.
We added a separate opstamp type in the last commit and it's not reflected in documentation on the master branch.
https://github.com/tantivy-search/tantivy/blob/master/src/lib.rs#L265
Follow me to reproduce.
Reproduce
Go to readme/getting started section
Follow the link to docs for the last master branch
Run the query below
https://tantivy-search.github.io/tantivy/tantivy/index.html?search=opstamp
What happened?
Only shows methods with opstamp in the name.
What was expected?
type Opstamp should also show up.
Which version of tantivy are you using?
master
https://github.com/tantivy-search/tantivy/commit/5c0b2a4579adbdbb0c87adefa67bae0aa729c620
Info that might help
the gh-pages branch was last updated nearly a year ago
https://github.com/tantivy-search/tantivy/tree/gh-pages
I am struggling to see where in travis.yml documentation is generated and updated.

I think I found the culprit.
https://github.com/tantivy-search/tantivy/commit/09661ea7ec9b8f26dcff8ac07b8ac260c37c7f2d
Removes uploading documents. Should be easy to include again (famous last words). Will poke at it, when I have time

Nice job spotting it. I tried to read the cargo doc-upload thing. Let's see what happens.

docs aren't updated due to the failure in the CI build and cargo doc-upload running after_success
Also, cargo doc-upload seems not to work as expected. See the bottom of the travis build log
remote: Invalid username or password.
fatal: Authentication failed for<EMAIL_ADDRESS>Documentation already up-to-date.

Can we agree on the best way to update documentation, before we implement this?
The head of master branch progresses in 2 different ways:

One of the contributors commits directly to master
a PR is merged via Git or GitHub by Paul

in (2), using cargo-travis won't help us, as it skips upload documentation from PRs.

I'm ok with this.
The master branch is already protected. I'm the only person who can unprotect it.
I did unprotect that branch to amend a commit in master right after I merged a branch, but this is super rare.

Looking at the last 10 lines of most recent travis-log from a push build
remote: Invalid username or password.
fatal: Authentication failed for<EMAIL_ADDRESS>
We need to set authentication travis to push to gh-pages. I don't have access to the travis config for tantivy, but I imagine there must be a way to do this and restrict it to the gh-pages branch
https://help.github.com/en/articles/enabling-branch-restrictions

Ok I fixed it. I did a bunch of thing, but I think what fixed it is removing the encrypted environment and set a brand new token via the travis interface instead.
Also I disabled doc building and uploading on all platforms but one.

Running the query below still fails to find Opstamp as a type
https://tantivy-search.github.io/tantivy/tantivy/index.html?search=opstamp
Our top-level directory on gh-pages looks like this
aho-corasick - updated last year
ascii - updated last year
...
master - updated 12 hours ago
...
winapi - updated last year

Upon inspection it looks like documentation is written to the master/tantivy directory on gh-pages, which makes our directory look like this
aho-corasick - updated 12 hours ago
ascii - updated 12 hours ago
...
winapi - updated 12 hours ago

I'm new to tantivy and was confused why the docs don't reflect changes that seemed to have happened a while ago in the issue tracker. There's a big difference between this: https://tantivy-search.github.io/tantivy/tantivy/query/index.html and this: https://docs.rs/tantivy/0.10.0/tantivy/query/index.html
Perhaps as a temporary fix, while your github.io docs are being fixed, you could change the doc links to point to docs.rs?

Removed master docs entirely from the links.


RESTORE with REPLACE option implementation

@sazzad16 mind rebasing?. Now that @bsnyder788 has approved it's good to merge.

Merged into master, 2.10.


[feat] Allow inserting from right click menu

Describe the feature
Allow users to insert elements from right-click menu. This can enable more interactivity on the sidebar.

Duplicate of #683, going to close this so we can consolidate.


Introduce Custom Ports and use higher default ports

Certain ISPs block ports ranging <10k.
My suggestion is to allow the end user to set their own ports and use higher default ports (>10k) instead of 5555 and 4444.

We have an (Faq entry)[https://lbry.io/faq/how-to-change-port] regarding this. I guess this addresses your issue.

@hackrush01 I'll change my issue then. There should be a UI function to do so too as it is harder to run it comparatively from cmdline in Windows than Linux.
The current default ports should also be changed to something which is higher too so that more end users do not need to have the hassle of changing the ports themselves

Introducing this feature to UI needs the app to be up and running, which in turn needs to connect through the default ports. From UI you could only change the port for the next run onwards(Although having an option to change this before daemon start up must not be impossible, but I'm unaware of the feasibility). Summoning @kauffj
As for higher default ports by default, I grab the attention of appropriate people: @jackrobison @kaykurokawa.

It makes the most sense to change the daemon defaults first if we're going to do this, but I'm not sure what the consequences are of switching this.

@eukreign and @jackrobison do we want to proceed with this or can we close?

I think if we're going to change defaults we should do some more research. I expect such a change could be distruptive to the network until everyone updates. So if we're going to do such a disruption hopefuly it's only needed once and actually has the intended benefit.

Which ISPs block <10k ports?
Do any major / popular ones do this?
What do other P2P apps do to resolve this?
BitTorrent is 6881-6889, does bittorrent not work for folks with such ISPs?

If only a small number of ISPs do this then I'd rather keep the defaults as-is.
@jackrobison thoughts?

@eukreign @alyssaoc closing this issue
I don't think we need to change defaults, just make them more accessible: https://github.com/lbryio/lbry/issues/1374
This will also require the app be updated to provide access to these settings.


How can i get all attributes of ncform schema?

Hi, I want to know how can I get all the supported attributes in ncform. I mean how can I get - this object through code. There must be a way to retrieve this object for sure but I just cannot get it.

The API is not currently provided directly, but you can get it through the following methods：window.__$ncform.__ncFormsGlobalList['your form name']

The API is not currently provided directly, but you can get it through the following methods：window.__$ncform.__ncFormsGlobalList['your form name']


Add cloud provider check before chgm investigation

Cad currently only supports aws clusters and throws errors like this on gcp.
Assuming role failed, potential CCAM alert. Investigating... error:  3 failed to assume into jump-role: RequestError: send request failed
caused by: Post "https://sts.us-east1.amazonaws.com/": dial tcp: lookup sts.us-east1.amazonaws.com on <IP_ADDRESS>:53: no such host
Error: credentials are there, error is different: 3 failed to assume into jump-role: RequestError: send request failed
caused by: Post "https://sts.us-east1.amazonaws.com/": dial tcp: lookup sts.us-east1.amazonaws.com on <IP_ADDRESS>:53: no such host

This PR adds a check for the clusters cloud provider and throws a clear error message in case it is not 'aws'.
Incident ID is: Q2YUU901Z5FKY7
Error: cloudprovider is not supported: gcp

Closes:

https://issues.redhat.com/browse/OSD-13417

/label tide/merge-method-squash


missing /32 FIB entries

It seems like Contiv-VPP adds a /32 FIB entry in VRF1 on a new node for each existing node in the cluster (by default those are in <IP_ADDRESS>/24).
But it also seems that the existing nodes don't get updated.  So, for example, the master node in my cluster only has the /24 plus a local /32, the first worker I start also has a /32 for the master, and the next worker gets that plus a /32 for the first worker - and so on.
So I'm seeing pings drop when destined for <IP_ADDRESS>/24 addresses when there's no matching /32, but stuff behind those address (e.g. pod IPs) seems to be ok (looks like the FIB entry for the /24 resolves to ARP whereas the FIB entry for the IPAM network resolves to the correct next-hop including MAC addresses etc.)

Hey Giles,
we are talking about the vxlanCIDR and the IP addresses applied to the VXLAN BVI interfaces, right?
Contiv-VPP is actually NOT installing any static /32 routes for them. They seem to be installed by VPP itself. I guess the local interface is always there and the rest is installed whenever there is some pod-to-pod communication between particular nodes (since there is almost always something talking to the master node, /32 for the master BVI would be installed on each node).
From where are you trying to ping the remote BVI interfaces? From VPP? Do you use some specific source interface? Apart from ping not working, do you see any issue with communication between the nodes? You know that ping utility on VPP has many issues...

interesting.    but not sure why e.g. worker2 gets a route for worker1.
and yeah - was trying to ping from VPP using the loop0 as the source.
Thee reason I started looking at this was we had a broken cluster (workers unable to reach etcd IIRC) and that was the only thing I could see different in the FIBs.
will dig some more...

oh yes, so it was the vxlanCIDR addresses.

Well if the issue was that workers were unable to reach contiv ETCD, you may need to look at a different place. Contiv-ETCD uses nodeport service, so relies on kube-proxy to do the NAT, then the traffic goes via mgmt node inter-connection as opposed to via VPP (to the master node's mgmt IP from the workers). The reason for that is that the agents need to be able to connect to ETCD even before the CNI starts working (before VPP is running & configured).
Maybe you are hitting this issue? https://github.com/contiv/vpp/issues/1430

BTW I am confused about why, when and how VPP installs those /32 routes for other node's BVIs as well. It should not need them at all - there is a /24 route covering them, but I guess it is some runtime optimization in the VPP fib logic? Anyway, I tried to "force" VPP to create them using some pod-to-pod traffic, but wasn't successful.  Pod-to-pod traffic between the nodes worked, but the /32 route towards the other node's BVI was not added.


Make AutoMapper portable with Profile 111

Hello,
I need for Xamarin a portable class library. Can you make AutoMapper.Unity portable with Profile 111?
Best regards

I can look into it, but only in a month or so.

Thanks. It's okay. I'll wait.

Unfortunately, AutoMapper 5 isn't portable.

I was wrong. 5.0.2 doesn't support PCL, but 5.1.1 - does. Will that be okay with you?

Yes, that is okay.

Please try version 7.0.0-pcl0003 and tell me how it works for you.


Can AnyOne explain what is push.js file exactly ? is that the same file come with phonegap or Cordova project ?

push.js is way of loading new pages via ajax without reloading the page.
cordova.js is a bridge to access non-browser features on mobile device via JavaScript
Do you even read the docs? http://goratchet.com/components/#push

I read the docs .. that's why I am asking
is that the same file that exist in phonegap default project (index.js) ?


[TypeSpec CI] Remove folder OpenAI.Authoring

Spec removed from repo in #23969

/azp run specs - typespec - ci


fix: make stop_without_zone_id conditional on fare rule type

Summary:
Resolves #1663 by updating StopZoneIdValidator to issue notice about a stop without zone_id defined only when the stop is contained in a trip contained in a route defined in a fare rule with zone fields defined. Change from previous logic which warned about stops without zone_id defined if any fare rules had zone fields defined.

The warning is still only triggered for stops where location_type is 0.
Zone fields in fare_rules.txt are origin_id, destination_id, and contains_id.

Expected behavior:
If a stop of location_type 0 does not have a zone_id defined, and that stop is defined as part of a trip in stop_times.txt, and that trip is defined as part of a route in trips.txt, and that route is defined in a fare rule in fare_rules.txt, and that fare rule has any of origin_id, destination_id, or contains_id defined, then a stop_without_zone_id notice is issued.
Exactly one notice is issued per stop meeting the criteria to issue a notice even if there are multiple trips, routes, and fare rules associated with that stop that meet the criteria.
The notice is never issued if a stop has a zone_id defined, even if that zone_id is never defined in a zone field of a fare rule associated with the stop by the (stop_time > trip > route) chain described above.
TODO: Add screenshots with test feed from google/transit #429
Please make sure these boxes are checked before submitting your pull request - thanks!

[X] Run the unit tests with gradle test to make sure you didn't break anything
[X] Add or update any needed documentation to the repo
[X] Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
[X] Linked all relevant issues
[ ] Include screenshot(s) showing how this pull request works and fixes the issue(s)

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

I closed this pull request and deleted the fork because of issues with the email written into my commits and CLAassistant, and I submitted a (nearly) identical pull request.


Fix for running tests

:camera: Screenshots

:page_facing_up: Context

Tests can finally be run. Some of them are failing but that is a problem for another day.
:pencil: Changes

:paperclip: Related PR

:no_entry_sign: Breaking

:hammer_and_wrench: How to test

:stopwatch: Next steps

Tests can be run now, some work still needs to be done in SentinelFragmentTests.

Fixed SentinelFragmentTests as well. I'd say it is fine for now but we should expand them in future to cover all cases and re-arrange test code to make it easier to read(maybe add AAA comments).


ALARM1 e ALARM2 set to LOW when ON

Hello. I'm working with Alarm PANEL PRO with 1.2.4 SW Version and 0.1.5-047de6 FW version and Hassio version core-2021.6.5. I need to work with ALARM1 and ALARM2 when on=LOW. My issue is that when I reboot hassio the switches ALARM1 and ALARM2 change status during reboot and siren ringing. Why?

When the device first boots, the outputs of ALARM1 and ALARM2 will momentarily be LOW until the software initializes. This cannot be avoided. It's recommended that you configure your alarm to be ON when the output is HIGH for this reason.

Thanks for your answer but I have a siren that is singing when  cut OFF +12V. how can i configure ALARM1 and 2 output in LOW mode?
I attach the manual of my siren
2manuale_ENG_SAEL2010_LED_ver_32.pdf

@errecla You may need to use an external relay (controlled by OUT1 or OUT2) to make a normally-closed circuit with 12V+ to the siren input, then when activated it will break that circuit and activate the siren.


Collect for allocator-api2 and hashbrown, also Metrics allocator

Implements Collect for HashMap and HashSet from hashbrown, also Vec and Box from allocator-api2. Also implements a custom Allocator trait wrapper that records allocations and deallocations from gc-arena's Metrics handle, and is branded with the branding lifetime so it cannot be mixed up with other arena types.
The implementation for hashbrown is slightly subtle because it is different depending on whether or not the "allocator-api2" feature is also enabled. Circle-CI now also checks all combinations of the features "allocator-api2" and "hashbrown" to make sure they all compile.
This also subsumes #73 as it it's hard to disentangle them

Marking as a draft until I at least check it in piccolo..

I have working memory tracking in piccolo with this and also #79, it works so I'm unmarking it as a draft.
It can be merged as is, but this is a little in the way atm of effectively using it https://github.com/zakarumych/allocator-api2/pull/5


Change call to party service to ask for enabled and pending enrolments

Motivation and Context

Action is only interested in pending or enabled enrolments for a business this changes the call to party service to only return enabled and pending enrolments. This should stop respondents who are disabled getting emails.
What has changed

Changed party client to send list of desired enrolment status when getting a business.

How to test?

Links

Trello: https://trello.com/c/kRD5DTTI

PR: https://github.com/ONSdigital/ras-party/pull/180

Do we want an integration test here too?


Missing lightning bolts on "Do This Now"

Not sure where they went on iOS. @lkpttn can you share the designs with the lightening bolt on the Do This Now button?
Thanks!

From @lkpttn: Each image should be placed 30pts from the outside edges and centered on the x axis.


[WIP]: Fix devops flow

Feature type

[ ] UI
[ ] Implementation
[ ] Specification
[x] CI/CD
[ ] Other

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

[ ] Your code builds clean without any errors or warnings.
[ ] Tests for changes have been added (for bug fixes / features). If no, why?

Use draft PR next time, please.


Covid info

yonghua asked very nicely

covid page pop ups in mobile work

in mobile view tell the user to check with the nurse before entering


python36Packages.celery: 4.2.0 -> 4.2.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.6-celery/versions.
meta.description for python36Packages.celery is: '"Distributed task queue"'.

Checks done (click to expand)

built on NixOS
/nix/store/ln15h8si6cpri4g45vjr1s3dzbsr5l9k-python3.6-celery-4.2.1/bin/.celery-wrapped passed the binary check.
/nix/store/ln15h8si6cpri4g45vjr1s3dzbsr5l9k-python3.6-celery-4.2.1/bin/celery passed the binary check.
2 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 4.2.1 with grep in /nix/store/ln15h8si6cpri4g45vjr1s3dzbsr5l9k-python3.6-celery-4.2.1
directory tree listing: https://gist.github.com/3a15d2af3a48717436d97a301b364943
du listing: https://gist.github.com/db9e952fa0b10d2e6e08e23c49b991b7

Outpath report (click to expand)

Outpath difference report
16 total rebuild paths
4 package rebuilds
4 x86_64-linux rebuilds
4 i686-linux rebuilds
4 x86_64-darwin rebuilds
4 aarch64-linux rebuilds
First ten rebuilds by attrpath
python27Packages.celery
python27Packages.djmail
python36Packages.celery
python36Packages.djmail

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ln15h8si6cpri4g45vjr1s3dzbsr5l9k-python3.6-celery-4.2.1 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python36Packages.celery https://github.com/r-ryantm/nixpkgs/archive/27e3329760a95924d3e7407550655054d2028aef.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ln15h8si6cpri4g45vjr1s3dzbsr5l9k-python3.6-celery-4.2.1
ls -la /nix/store/ln15h8si6cpri4g45vjr1s3dzbsr5l9k-python3.6-celery-4.2.1/bin

Success on aarch64-linux (full log)
Attempted: python36Packages.celery
Partial log (click to expand)
    File "/build/celery-4.2.1/celery/app/trace.py", line 362, in trace_task
      'Task keyword arguments is not a mapping')
  celery.exceptions.InvalidTaskError: Task keyword arguments is not a mapping

    exc, exc_info.traceback)))

-- Docs: http://doc.pytest.org/en/latest/warnings.html
============ 2219 passed, 167 skipped, 25 warnings in 67.55 seconds ============
pytestcachePhase
/nix/store/bkpq0fqpmkrn1j236rh3f1jl9dyl9pnh-python3.6-celery-4.2.1

Success on x86_64-linux (full log)
Attempted: python36Packages.celery
Partial log (click to expand)
    File "/build/celery-4.2.1/celery/app/trace.py", line 362, in trace_task
      'Task keyword arguments is not a mapping')
  celery.exceptions.InvalidTaskError: Task keyword arguments is not a mapping

    exc, exc_info.traceback)))

-- Docs: http://doc.pytest.org/en/latest/warnings.html
=========== 2219 passed, 167 skipped, 25 warnings in 106.47 seconds ============
pytestcachePhase
/nix/store/ln15h8si6cpri4g45vjr1s3dzbsr5l9k-python3.6-celery-4.2.1

Success on x86_64-darwin (full log)
Attempted: python36Packages.celery
Partial log (click to expand)
    File "/private/tmp/nix-build-python3.6-celery-4.2.1.drv-0/celery-4.2.1/celery/app/trace.py", line 362, in trace_task
      'Task keyword arguments is not a mapping')
  celery.exceptions.InvalidTaskError: Task keyword arguments is not a mapping

    exc, exc_info.traceback)))

-- Docs: http://doc.pytest.org/en/latest/warnings.html
============ 2219 passed, 167 skipped, 25 warnings in 38.38 seconds ============
pytestcachePhase
/nix/store/8dvx1jribh79kn7lkfqgd9xx0h1p16gv-python3.6-celery-4.2.1


typo in tutorial

In this section:
https://docs.appsmith.com/tutorials/building-a-store-catalog-manager/part-2-using-forms#connecting-multiple-pages
where it says: "Type AddProductPage in Page Name field"
it must say "Type NewProductPage in Page Name field"

Fixed.


No CLI Instructions

There should likely be a link to the CLI instructions somewhere.

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

ID: 24faac4f-d940-7710-f395-577118d765af
Version Independent ID: 10d25201-c843-17ce-17c9-ca3aaa07e02f
Content: Quickstart: Create an open-source Redis cache
Content Source: articles/azure-cache-for-redis/quickstart-create-redis.md
Service: cache
GitHub Login: @flang-msft
Microsoft Alias: franlanglois

Hi @ToothlessRebel Thanks for your findings,We will investigate and update as appropriate

@ToothlessRebel we have a separate document for CLI https://docs.microsoft.com/en-us/azure/azure-cache-for-redis/scripts/create-manage-cache could you please elaborate more on why and where you are expecting the CLI link

@ToothlessRebel I have not heard back from you yet.
We will proceed to close this issue now.If there are further questions regarding this, please comment and we will gladly continue the discussion.


feat(CategoryTheory/Sites): covering families and their associated Grothendieck topology

Define covering families on a category and their associated Grothendieck topology by using the API for Coverage.
Give an explicit characterization of the covering sieves of the said topology.

Could you say a bit more about potential future applications of this API? Possibly as TODOs in the module docstring and/or in the PR description

Regarding applications, according to a duality theorem of Caramello, knowing the covering sieves of a topology is equivalent to provability in first-order geometric theories.

Could you say a bit more about potential future applications of this API? Possibly as TODOs in the module docstring and/or in the PR description

Regarding applications, according to a duality theorem of Caramello, knowing the covering families of a topology is equivalent to provability in first-order geometric theories.

As Joel suggests above, this can almost surely already be formulated with mathlib's existing GrothendieckTopology's and/or Coverages.


[KYUUBI #2643][FOLLOWUP] Using javax AuthenticationException instead of hadoop AuthenticationException

Why are the changes needed?

Using javax.security.sasl.AuthenticationException instead of hadoop AuthenticationException
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Codecov Report

Merging #2787 (796ff2e) into master (a04afab) will not change coverage.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##             master    #2787   +/-   ##
=========================================
  Coverage     62.16%   62.16%
  Complexity      201      201
=========================================
  Files           463      463
  Lines         20815    20815
  Branches       2808     2808
=========================================
  Hits          12939    12939
  Misses         6620     6620
  Partials       1256     1256

Impacted Files
Coverage Δ

...n/java/org/apache/kyuubi/client/util/AuthUtil.java
84.00% <0.00%> (ø)

.../org/apache/kyuubi/engine/jdbc/JdbcSQLEngine.scala
51.51% <0.00%> (-3.04%)
:arrow_down:

.../org/apache/kyuubi/operation/KyuubiOperation.scala
69.33% <0.00%> (+1.33%)
:arrow_up:

Continue to review full report at Codecov.

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

The UserGroupInformation may also be replaced by jdk Subject?
Seems difficult to do that if user use UserGroupInformation.setLoginUser(loginUser).

seems we can remove hadoop dependency in pom ?

seems we can remove hadoop dependency in pom ?

It is still used here.
https://github.com/apache/incubator-kyuubi/pull/2787/files#diff-282b1e8c3fee6a8b8b6814d201ba42ad60fc1a1b5546fcc2a31150f3e5ff89abR46

thanks, merging to master

thanks for your review @ulysses-you


Feature/23627 ess clear search download cache data of enc files

Add new Webhook controller, unit test cases and Functional test cases

A couple of minor comments to address please

Thanks Shirin for fixing review comments. Code looks good to me.


Revert "Publicly log from the nodepool node"

This reverts commit b6196a5f4f696e45ddf71d333699b47599f53c0f.
Logging nodepool logs via apache was temporarily useful for debugging.
We shouldn't be doing this any more for both security and because it
adds more port 80 vhosts to apache.
Signed-off-by: Jamie Lennox<EMAIL_ADDRESS>

recheck