feat(pie-monorepo): DSW-000 bump some components to v1

Describe your changes (can list changeset entries if preferable)

Bumps some components to version 1.0.0

Author Checklist (complete before requesting a review)

[x] I have reviewed the PIE Storybook/PIE Docs PR preview
[x] If changes will affect consumers of the package, I have created a changeset entry.

Reviewer checklists (complete before approving)
Reviewer 1 - @xander-marjoram

[x] I have reviewed the PIE Storybook PR preview
[ ] I have reviewed the PIE Docs PR preview

Reviewer 2

[ ] I have reviewed the PIE Storybook/PIE Docs PR preview

This should also trigger a docs deployment because the component statuses are changing.
For now I've checked locally and the statuses do seem to have been updated, so I'm happy with this PR.


AVM specification alignment

fixes #23, #14
contributes to #9
supersedes #31
Description
The existing module has some short comings regarding following AVM conventions - this aligns more closely.
Haven't had chance to run grept apply, but this lints, docs and pre-commits cleanly.
-->
Type of Change

[ ] Non-module change (e.g. CI/CD, documentation, etc.)
[X] Azure Verified Module updates:

[ ] Bugfix containing backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in locals.version.tf.json:

[X] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
[ ] The bug was found by the module author, and no one has opened an issue to report it yet.

[ ] Feature update backwards compatible feature updates, and I have bumped the MINOR version in locals.version.tf.json.
[ ] Breaking changes and I have bumped the MAJOR version in locals.version.tf.json.
[X] Update to documentation

Checklist

[ ] I'm sure there are no other open Pull Requests for the same update/change
[ ] My corresponding pipelines / checks run clean and green without any errors or warnings
[ ] I did run all  pre-commit checks

@maheshbenke bumped to 0.2.0 as requested by @prjelesi
also have bumped the github checkout actions to 4.1.6 to resolve the merge conflict.
ready for you.


Is there a value to have an output in base64 encoding?

If so, I will write the test

Not part of RFC spec
Doesn't work in browser
Unrelated changes that break things (testing for falsy != testing for undefined)
For the small minority of users that need this, this can easily be done outside via a helper function outside of this module.


Bump wharfie to v0.6.7

Fixes issue where rewrites were incorrectly applied to the default registry endpoint, which broke fallback to the upstream registry when an image was not available from the mirror.
This was resolved in the containerd config generated by RKE2 and K3s a while back, but had not yet been addressed in wharfie.

https://github.com/rancher/wharfie/issues/25#issuecomment-2289099654

@brandond Sorry, you mind rebasing?

Closing in favor of #200


Update README and tagging on variables

Updating merge to include tagging on variable.tf and updating README.md with ref architecture

I have read the CLA Document and I hereby sign the CLA


(Gradle)Failed to resolve jwt

Gradle Error:
Failed to resolve: com.auth0.java-jwt:2.2.1
What's happened?

Hi, i try with jwt 2.2.1 and I got error too.
Try with compile group: 'com.auth0', name: 'java-jwt', version: '2.1.0'
It works fine for me.

@ComputerKaige / @rafass90 - Thanks for this info - in summary, are you saying that using Gradle and referencing as compile "com.auth0:java-jwt:2.2.1" is failing for you?  That being the case, we shall investigate cause - fyi only - maven is working:
  <dependency>
            <groupId>com.auth0</groupId>
            <artifactId>java-jwt</artifactId>
            <version>2.2.0</version>
        </dependency>

Seems there is a typo in Gradle section of README.md
Works when replacing period between com.auth0 and java-jwt to colon.
And similar to above, 2.2.1 version if not available in Gradle, though 2.2.0 is fine.

@atabekm - thank you for the input.
Maven central lists what is available and provides required gradle snippet:
// https://mvnrepository.com/artifact/com.auth0/java-jwt
compile group: 'com.auth0', name: 'java-jwt', version: '2.2.0'

Shall update the README.


Show rank, ELO and more...

Please re-add node-fetch - axios is a lot heavier and isn't needed for a Discord bot.


Add support for docker url instead of socket

Description
Hi I proxy all my docker socket requests with tecnativa/docker-socket-proxy.
This proxy adds a additional layer of security as I can control what each application is allowed to do.
Is there some way to point homarr at a tcp port instead of the docker socket, when I use Traefik I use --providers.docker.endpoint=tcp://traefik-docker-socket-proxy:2375 after joining them to the same network.
Priority
Low (Nice-to-have)

@ajnart here is my setup for
  docker-socket-proxy:
    image: tecnativa/docker-socket-proxy:${SOCKET_PROXY_VERSION}
    container_name: promtail-docker-socket-proxy
    restart: unless-stopped
    healthcheck:
      test: "wget --quiet --tries=1 --spider http://localhost:2375/v1.41/_ping || exit 1"
      interval: 10s
      timeout: 10s
      retries: 5
    read_only: true
    mem_limit: 128M
    cpus: 0.5
    security_opt:
      - no-new-privileges:true
    expose:
      - 2375
    environment:
      - TZ=Europe/Stockholm
      #- LOG_LEVEL=debug
      - CONTAINERS=1
      - NETWORKS=1
    tmpfs:
      - /run
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro

After you have that running you can access tcp://docker-socket-proxy:2375 to communicate with the docker deamon.

This would be great!  There is something similar here as well for Dozzle with the DOCKER_HOST variable (if at all helpful).  https://github.com/amir20/dozzle/issues/657

Hopefully https://github.com/ajnart/homarr/commit/debac3235e4364a50e5acf0a8481ad59fb3b2fa5 should do the trick. It works on my local machine but I am unable to test on my remote server now.


Fix compatibility with Ruby 3.2

This deprecated method was removed in Ruby 3.2.
https://bugs.ruby-lang.org/issues/17391

I would really benefit from this one.
automatic Ruby update broke apibuilder for me :(


App sometimes crashes when scrolling during the first loading of Announcements

It doesn't happen very consistedly, though. I can't reproduce it at the moment, so I'll come back to this later.

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at System.Collections.Generic.List`1.Enumerator.MoveNext()
   at System.Linq.Enumerable.<ExceptIterator>d__1`1.MoveNext()
   at Zermelo.App.UWP.Helpers.ObservableCollectionExtensions.MorphInto[TSource](ObservableCollection`1 first, IEnumerable`1 second)

From the HockeyApp report:
Exception Type:  System.InvalidOperationException
Crashed Thread:  3

Application Specific Information:
Collection was modified; enumeration operation may not execute.

Exception Stack:
System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
System.Collections.Generic.List`1.Enumerator.MoveNextRare()
System.Collections.Generic.List`1.Enumerator.MoveNext()
System.Linq.Enumerable.<ExceptIterator>d__1`1.MoveNext()
Zermelo.App.UWP.Helpers.ObservableCollectionExtensions.MorphInto[TSource](ObservableCollection`1 first, IEnumerable`1 second)
Zermelo.App.UWP.ViewModels.AnnouncementsViewModel.<GetAnnouncements>b__3_0(IEnumerable`1 a)
System.Reactive.AnonymousSafeObserver`1.OnNext(T value)
System.Reactive.ScheduledObserver`1.Run(Object state, Action`1 recurse)
System.Reactive.Concurrency.Scheduler.<>c__DisplayClass50`1.<InvokeRec1>b__4d(TState state1)
System.Reactive.Concurrency.Scheduler.InvokeRec1[TState](IScheduler scheduler, Pair`2 pair)
System.Reactive.Concurrency.CoreDispatcherScheduler.<>c__DisplayClass2`1.<Schedule>b__0()
System.Reactive.Concurrency.CoreDispatcherScheduler.<>c__DisplayClass2`1.<>c__DisplayClass4.<Schedule>b__1(Object o, Object e)
Windows.ApplicationModel.Core.UnhandledError.Propagate()
Microsoft.HockeyApp.Extensibility.Windows.UnhandledExceptionTelemetryModule.CoreApplication_UnhandledErrorDetected(Object sender, UnhandledErrorDetectedEventArgs e)

Nope, afc2f4a didn't fix this 😒

Exception gets thrown in the Remove loop in ObservableCollectionExtensions.MorphInto(), on opening the the Announcements view for the first time on a day.
When iterating over remove in the foreach, the iterator calls MoveNextRare() when executing MoveNext(), because the version of the list has changed while iterating, which means that the remove list changed while iterating over it.
I'll add a DebugList type to figure out what's going on inside.

Relevant StackOverflow question: before digging in deeper into the list, I'll try the suggestion in the answer.

The app doesn't crash anymore (yay!), but the ordering of the items somehow still gets messed up:

Refresh doesn't reorder the items, restart does.

It looks to be fixed now.


[BUG]failed to create harvester server

Describe the bug

kubectl -n harvester-system get po                             uos: Fri Apr 29 03:39:00 2022

NAME                                       READY   STATUS             RESTARTS   AGE
harvester-798866ff75-vbwlv                 0/1     CrashLoopBackOff   6    	 14m
harvester-load-balancer-59bf75f489-9pcrf   1/1     Running            0    	 14m
harvester-webhook-54ff6b4f57-pbflq         1/1     Running            0    	 14m
kube-vip-cloud-provider-0                  1/1     Running            0    	 14m
virt-api-79448ff685-7zv7n                  1/1     Running            0    	 13m
virt-api-79448ff685-qdzrk                  1/1     Running            0    	 13m
virt-controller-6c7f5d4fbf-4tcgk           1/1     Running            0          13m
virt-controller-6c7f5d4fbf-jq5bj           1/1     Running            0          13m
virt-handler-66whv                         1/1     Running            0          13m
virt-operator-78b84587c9-dp4xp             1/1     Running            0    	 14m

kubectl -n harvester-system logs harvester-798866ff75-vbwlv
WARNING: proto: message VersionResponse is already registered
See https://developers.google.com/protocol-buffers/docs/reference/go/faq#namespace-conflict

WARNING: proto: file "rpc.proto" is already registered
See https://developers.google.com/protocol-buffers/docs/reference/go/faq#namespace-conflict
WARNING: proto: file "rpc.proto" has a name conflict over VersionResponse
See https://developers.google.com/protocol-buffers/docs/reference/go/faq#namespace-conflict
time="2022-04-28T19:30:41Z" level=info msg="Starting controller"
time="2022-04-28T19:30:41Z" level=info msg="Do not update the existing CRD KeyPair"
time="2022-04-28T19:30:41Z" level=info msg="Do not update the existing CRD Upgrade"
time="2022-04-28T19:30:41Z" level=info msg="Do not update the existing CRD Version"
time="2022-04-28T19:30:41Z" level=info msg="Do not update the existing CRD VirtualMachineImage"
time="2022-04-28T19:30:41Z" level=info msg="Do not update the existing CRD VirtualMachineTemplate"
time="2022-04-28T19:30:41Z" level=info msg="Do not update the existing CRD Setting"
time="2022-04-28T19:30:41Z" level=info msg="Do not update the existing CRD APIService"
time="2022-04-28T19:30:41Z" level=info msg="Do not update the existing CRD Setting"
time="2022-04-28T19:30:41Z" level=info msg="Do not update the existing CRD User"
time="2022-04-28T19:30:41Z" level=info msg="Do not update the existing CRD Group"
time="2022-04-28T19:30:41Z" level=info msg="Do not update the existing CRD GroupMember"
time="2022-04-28T19:30:41Z" level=info msg="Do not update the existing CRD Token"
time="2022-04-28T19:30:41Z" level=info msg="Do not update the existing CRD NodeDriver"
time="2022-04-28T19:30:41Z" level=fatal msg="failed to create harvester server: failed inspecting type v1beta1.VirtualMachineTemplateVersion, field spec: failed inspecting type v1beta1.VirtualMachineTemplateVersionSpec, field vm: failed inspecting type v1beta1.VirtualMachineSourceSpec, field spec: failed inspecting type v1.VirtualMachineSpec, field template: failed inspecting type v1.VirtualMachineInstanceTemplateSpec, field spec: failed inspecting type v1.VirtualMachineInstanceSpec, field domain: failed inspecting type v1.DomainSpec, field devices: failed inspecting type v1.Devices, field disks: failed inspecting type v1.Disk, field bootOrder: unknown type kind uint"
To Reproduce
Steps to reproduce the behavior:

Go to '...'
helm install harvester harvester
--namespace harvester-system
--set longhorn.enabled=true,minio.persistence.storageClass=longhorn,service.harvester.type=NodePort

Expected behavior

Support bundle

Environment:

Harvester ISO version:
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):

Additional context
Add any other context about the problem here.

helm install harvester harvester --namespace harvester-system --set service.harvester.type=NodePort
the same problems

Harvester needs to be installed via Harvester ISO manually or via PXE, many underlayer works are needed and done at installation stage.  Directly install Harvester via Helm is not supported.
Please refer: https://docs.harvesterhci.io/v1.0/install/iso-install/

@w13915984028
thanks for your answer.
havester support many kinds install way.
for example:

iso
kubernetes
rancher

@iamwlb Please refer https://docs.harvesterhci.io/v1.0/install/iso-install/  and related parts.
Directly use HELM to install Harvester into a existing kubernetes is not supported.
Please take a look of the ISO-install guide, it is not only the deployment of Harvester into kubernetes, but also a lot of work about OS, about related base components.

Closing because Harvester can not be installed via Helm only. See here for a detailed explanation.
Harvester can be installed via:

ISO
USB
PXE


Adding backend for login/signup

Adding backend for login/signup
issue closes :- #56
@gupta-ritik @Maheshwari-Love So the thing is i have created the signin, signup, verify token and logout routes in the api folder and i am sure they are correct but i don't know how to use them and make the signup/signin working because i haven't learned that yet in next js so sorry for that but the routes are correct you can check them. Thank you for understanding.
Please check the PR properly and if you find any issue you can ping me here i will try to solve that issue.

@gupta-ritik Pending PR (reminder)


How does Argo support long running workload

Something like I define first step start a nginx pod. The following workflow will stuck in the first step. I want to know if Argo has some way to support long running workload?
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: steps-
spec:
  entrypoint: hello-hello-hello
  templates:
  - name: hello-hello-hello
    steps:
    - - name: hello1
        template: nginx
    - - name: hello2a
        template: whalesay
        arguments:
          parameters: [{name: message, value: "hello2a"}]
      - name: hello2b
        template: whalesay
        arguments:
          parameters: [{name: message, value: "hello2b"}]

  - name: whalesay
    inputs:
      parameters:
      - name: message
    container:
      image: docker/whalesay
      command: [cowsay]
      args: ["{{inputs.parameters.message}}"]

  - name: nginx
    container:
      image: nginx:1.7.9
      ports:
        - containerPort: 80

Argo Workflows in not suitable for running things like Nginx. Have you considered Argo CD for this?

You can certainly run nginx in Argo with what we call Daemoned nodes. The Workflow will progress from the Daemoned node once it is up and ready and will be brought down once the step or dag group in which it is a member of completes.
Take a look at these examples:

https://github.com/argoproj/argo/blob/master/examples/daemon-nginx.yaml

https://github.com/argoproj/argo/blob/master/examples/daemon-step.yaml

https://github.com/argoproj/argo/blob/master/examples/daemoned-stateful-set-with-service.yaml

You can certainly run nginx in Argo with what we call Daemoned nodes.

Good point. It's not clear from you question what your use case is. If it is running Nignx app as application - then you should look at other tools.
However, if, as is more likely, you want to run Nginx while your workflow is running  then daemoned steps (or sidecars) are probably what you want.


[MINOR][DOC] Version related doc fix in functions.scala

What changes were proposed in this pull request?
This PR proposes to

remove description about behaviour change information about 2.1.0 and 2.2.0 in from_json added in 2.3.0.

fix @since 2.0 to @since 2.0.0 for consistency in hash.

How was this patch tested?
N/A

I tried to find the same instances in functions.scala and I believe these are all. Please pick this change up if anyone has a PR fixing related this code path (rather than leaving it to make a conflict).

I tried to find the same instances in functions.scala and I believe these are all. Please pick this change up if anyone has a PR fixing some codes around this (rather than leaving it to make a conflict).

Test build #79034 has started for PR 18500 at commit 2f03524.

Actually, let me pick this up to https://github.com/apache/spark/pull/18498.

Test build #79034 has finished for PR 18500 at commit 2f03524.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/79034/
Test PASSed.

Merged build finished. Test PASSed.


Remove Abbreviated Release DOCX

The "Abbreviated Release" is a DOCX; we should switch this with a PDF so we're not using a proprietary file format (http://www.ucsb.edu/webguide/policies).

URL of the page in the GitHub-hosted repo:
http://ucsb-wsg.github.io/policies/


Fix build-script -B

Without additional options, build-script -B was badly broken:

It added a broken --independent-samples option to the driver command line
Slow tests that ran only 1 sample by default would break the statistics

Fix the first issue by adding --independent-samples to the command line only when a sample was actually provided by other options.
Fix the second issue by including --min-samples=2 in the command.
With these changes, I'm now able to successfully run benchmarks with a simple build-script -B command.

@swift-ci Please benchmark

@swift-ci Please smoke test

@swift-ci Please test


[Backport release-22.11] brave: 1.47.171 -> 1.47.186

https://community.brave.com/t/release-channel-1-47-186/465341
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Sorry, forgot the automatic backport tag on the original PR :)

The label is always effective, even after the PR is merged.

@ofborg build brave


CAB-3614 - Execute wildcard searches against data-api person endpoint

For lastname and firstname

Coverage increased (+0.01%) to 81.621% when pulling f673e63b4a3a7d9c43ccffd5bef56275f482dda1 on feature/CAB-3614 into 48a328275d03e80a7af4ac737e1f821d583b3151 on develop.


Make it more lightweight (20 GB > 18 GB 1.9 GB RAM > 1.8 GB)

duplicate of https://github.com/GuestSneezeOS-Official/GuestSneezeOS/issues/24

this could be possible since i installed it on a 16 GB Dell PC but it used 2.1 GB Of ram

it worked since it uses how much disk space is available


update images on index page

We received the rest of the images for the index page, including a new one for locations
Next step: think about adjusting the colours

I would go maybe for something blueish or reddish (according to the pictures below)

maybe a bit too cold?

Hm, it seems you have to give credit, a link to the license and say if you have made changes


Issue #SB-30088 feat: Updated portal version

Closing
Duplicate of https://github.com/Sunbird-Ed/SunbirdEd-portal/pull/8111


Fix missing backslashes in haddock examples

I really like the haddock improvements you did since the last time I played with the project :smiley:

The documentation has come a long way.


Changelog is not up-to-date

[Enter feedback here]
Missing the actual 2207.40000.8 and many changelogs from the past.

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

ID: 865063ea-60f4-de74-20e8-77abe9ce0fc6
Version Independent ID: 865063ea-60f4-de74-20e8-77abe9ce0fc6
Content: Windows Subsystem for Android™ Release Notes
Content Source: hub/android/wsa/release-notes.md
Product: dev-environment
Technology: windows-android
GitHub Login: @mattwojo
Microsoft Alias: mattwoj

Thanks for raising this issue @norbertwell! Connected with the PM and just got the updated release notes in: https://github.com/MicrosoftDocs/windows-dev-docs/commit/93e0224cd269c5b9ea616600d29bffe7f0de1a61


Edit box likes to appear at the bottom when set to top

I'm reasonably new to LSG. It really ties my custom UI together. Thank you.
I've got the Edit bar set to appear Top. And it works a fair amount of the time.
But once I get a whisper from a friend it likes to drop the edit box to the bottom. Which, unfortunately, is partially below the WoW window at that point.
I'm not sure it is the whispers that cause it. That's just when I notice it most.
Is there anything I can do to help with the report? I'm not sure it is whispers causing it specifically.
If I set channel back to guild (/g) and reload, the edit bar goes back to the top. But will eventually get dropped down again.

Hi, from my limited testing, I couldn't reproduce it. What chat mode you use? Classic or IM? It's a setting in Blizz Social config. And are you using an addon like leatrix plus? There's a similar report from another guy recently, but in his case it's just a conflict with leatrix's submodule since two addons were fighting over a single UI element.

Not using Leatrix. Only addon related to chat (aside from LSG) I'm using is Prat. I've been out of game since filing this but I'll keep trying to nail it down :)

I can't test anything atm. I had another surgery yesterday and I won't be home until Saturday evening, and even then I'll a bit more time to rest. So this will have to wait until I'm feel even a bit better.

I'm pretty sure now that I've had time to play that it was a conflict where Prat was attaching it to the bottom while LSG was attaching to top.
I've forced both to top. I'll post back if it happens again (or if it doesn't after extended play).
Hope you feel better soon, I completely sympathize. Similar issues caused me to have delays between replies as well :)

Haha, that's why I asked about leatrix, when you said prat, I knew that it's a conflict between addons, but I don't remember what's going on in prat, so I didn't say much. I think you could disable the editbox or whatever module in prat.
Anyway, I'll be closing this one.


Add definition for angular-grid (ag-grid)

I'd love to have a type file for angular-grid:
Project: https://github.com/ceolter/angular-grid

I think this is it:
https://gist.github.com/greglockwood/67ea53a5f43852ba24c4
Can we include it in TSD?

Here's the official one... oops :)
https://github.com/ceolter/angular-grid/blob/master/dist/angular-grid.d.ts
Would be nice to have it in TSD, though.

+1

#6085


Publishing Pdbs as assets to debug with SourceLink

Hi, I am trying to debug a dotnetcore 3.0 OpenId Server (using IdentityServer which itself uses the AspnetCore librairies that I am trying to debug) . I tried to compile the libraries and add the pdb to my project directory but the process is really tedious :

I  have to rename all the dependencies with the correct tags
I have to modify the Nuget.config to point to local directory
I have to copy pdbs in various locations

For the moment, I couldn't succeed because of various problems of dependencies.
I recently discovered SourceLink ( which is recently GA) and if had the pdbs of AspNetcore it would so simple to debug this app.
Would it be possible to publish the pdbs of AspNetCore for windows/linux as an asset of a github release ?

@TulyOpt thanks for contacting us.
ASP.NET Core already supports sourcelink and publishes PDBs to the appropriate symbol servers for all the releases.
I suggest you look into https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/sourcelink and also turn off "Just my code" in visual studio if its not working for you at the moment.
We use it ourselves many times to debug/troubleshoot customers issues, so you shouldn't have a problem getting it to work.

Hi @javiercn , thanks for your quick answer. However, I still can't find the pdbs for the debugging process : is there a public url where I can't them ( i am using Linux) ? Is this : http://srv.symbolsource.org/pdb/Public that I should request ?


@:dox(show) does not work for private fields and methods

This looks to be the problem of the default theme with isPublic checks everywhere but since all other themes were removed shouldn't it be supported?

Related: #39


Added MVNU file

Adds Mount Vernon Nazarene University. Emails like<EMAIL_ADDRESS>

@PiersenS Thank you for your patience while waiting for a review and processing your request. Pull request merged. Please start applying for JetBrains educational subscription at https://www.jetbrains.com/shop/eform/students in an hour, to allow the changes to propagate through JetBrains systems.


ros2_control: 3.11.0-1 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository ros2_control to 3.11.0-1:

upstream repository: https://github.com/ros-controls/ros2_control.git
release repository: https://github.com/ros2-gbp/ros2_control-release.git
distro file: rolling/distribution.yaml
bloom version: 0.11.2
previous version for package: 3.10.0-1

controller_interface
* [ControllerManager] Add Class for Async Controllers and Lifecycle Management (#932 <https://github.com/ros-controls/ros2_control/issues/932>)
* Contributors: Márk Szitanics

controller_manager
* [ControllerManager] Add Class for Async Controllers and Lifecycle Management (#932 <https://github.com/ros-controls/ros2_control/issues/932>)
* Consistent use of colors for warning and error msgs in spawner (#974 <https://github.com/ros-controls/ros2_control/issues/974>)
* Fix wrong warning messages (#973 <https://github.com/ros-controls/ros2_control/issues/973>)
* Add log level support to spawner node (#972 <https://github.com/ros-controls/ros2_control/issues/972>)
* Contributors: Dr. Denis, Márk Szitanics, Bijou Abraham

controller_manager_msgs

No changes

hardware_interface
* Check for missing hardware interfaces that use the gpio tag. (#975 <https://github.com/ros-controls/ros2_control/issues/975>)
* Contributors: Ryan Sandzimier

joint_limits

No changes

ros2_control

No changes

ros2_control_test_assets

No changes

ros2controlcli

No changes

rqt_controller_manager

No changes

transmission_interface

No changes

Holding for Rolling migration

This will need to be re-released with generated branches for RHEL 9. You can do that simply by invoking bloom again to automatically bump the platform release number.


Forgot password UI fixes

Currently blocked by #508
Steps to reproduce
Click forgot password in login view. Type a wrong email and see that the "resend opt" will appear there.
Also, continue the "forgot-password" process. in the final step, the "password successfully updated" message will appear on sumbit pressed
Expected behaviour
"resend opt" message should appear on the next screen, which is the 4-digit code insertion's page
"password successfully updated" should be after a successful update of the password
Would you like to work on the issue?
If none else want, i can work on that

Merged #508.
Sure, you can pick it up 👍

Hey @amoraitis, I looked into this issue.. right now two messages are displayed.. First "Your password has been reset. Login with the new password." and secondly "password successfully updated". Do we need both the messages or just one?

Only first message is fine 👍

@Swati4star Yes.

@vbvjain The first message is seen even if the code entered is incorrect. Look into it.

Also:

show a loader after has typed in the email id & press enter. (It feels like nothing is happening)
when user is typing new password, hide the keyboard when confirm is pressed (It's when there is some error, we are showing snackbar & it's not visible if keyboard is up)

@Swati4star Sure.


Transactionize QIITA-pet

Although I've changed a lot of files, I've been just decorating the functions that need to be executed as a transactions.
The files that I'm missing to transactionize are:
preprocessing_handlers.py
compute.py
vamps_handlers.py
ebi_handlers.py
analysis_handlers.py
The reason why is that they depend on Qiita-ware and we need to do some changes in qiita-ware, which we will talk on today's meeting.
Please test this in your local machines before merging.

:+1:

AuthCreateHandler post method needs a decorator. Other then that, is good.

@squirrelo can you merge?


Fix uninitialized HorizonMemcachedReadyCondition

This change makes sure that HorizonMemcachedReadyCondition is initialized when the reconcile logic starts.
This also fixes handling of shared memcached instance so that the given Memcached CR instance is properly used.

/lgtm


Fix: broken link in README.md

Updated since https://github.com/William-Yeh/ansible-prometheus/commit/93ddea5f79e8057e455ec5dec3006425331e18be
Thank you.


no connection HA

Hello, since a few weeks the WB has no connection to HA. I didnt change anythings.
Can someone hlep me?
Thx
aloha

maybe restart the ha and see in the log what you see about the wallbox? and paste the log here maybe we should know more.

It stucks at the initialize. See screenshoot.

i think username is admin

Yes, this was the issue.
Thx fpr helping


An error occurs when the npx/ yarn hardhat compile command is run  ,Unable to download zksolc, download page cannot be found

An error occurs when the npx/ yarn hardhat compile command is run  ,Unable to download zksolc, download page cannot be found

hey @scholar-zhiwei can you confirm if this is still an issue? Please try updating both zksync-cli and the the project dependencies. In you hardhat.config.ts you should be able to use version: "latest" which will download a newer version of the compiler.

Closing due to staleness.


Orient DB web studio not working

OrientDB Version: 2.2.17
Java Version: 1.8
OS: windows
Expected behavior
Normal behaviour of webstudion
Actual behavior
Steps to reproduce
I have downloaded 2.2.17 and executing via bin/server.bat. console working fine but webstudio is displaying only interrupt. Attached screenshot

hi @rishi3195
does it work with Chrome?

I don't have chrome on my machine as its not allowed.

On my box works with Chrome/Fireforx/Opera.
Let me check with IE

Are you able to show me the log of the JS console?

I am using IE11.
What is JS console?

The Javascript Console. I don't know if IE has it
I will check it
Thanks

hi @rishi3195
do you have Microsoft Edge? We did test it there and it works

cant use any other browser or variant.. its strictly IE11

Hi @rishi3195 , thanks for opening this
We have reproduced the issue and we will work to solve it. We'll keep you updated


Feature/expose primary file version [PREP-144]

Ticket
Needed for https://openscience.atlassian.net/browse/PREP-144
Purpose
The version of the primary file for the preprint needs to be exposed in the view preprint page.
Changes
Adds version of the selected file to the view preprint page.  Can definitely relocate this info on the page if there's a better place to put it.

@pattisdr thanks for the work. We probably need to talk to product team about functionality and location. I'll coordinate with them.

@caneruguz there are two other PR's needed alongside this, one for Ember-OSF and one for OSF. Links in ticket.

@pattisdr I moved it to demo lane in JIRA. Let's check in with product first before code review


feat: Offensive and Humor Input in AffectiveAnnotationProject

Features added with this PR:

Offensive Input will be shown when the AffectiveAnnotation project is_offensive_mode mode is set to true
Summary Input will be shown when the AffectiveAnnotation project is_summary_mode mode is set to true
Humor Input will be shown when the AffectiveAnnotation project is_humor_mode mode is set to true

What's changed:

frontend/.eslintrc.js: increased the limit of max characters in one line from 100 to 150
frontend/i18n/*/projects/annotation.js: translation for the newly added project modes questions
frontend/i18n/*/rules.js: required rules translation
frontend/pages/projects/_id/affective-annotation/index.vue: implemented the new inputs; removed the blank space in the annotation box

What's new:

frontend/components/tasks/affectiveAnnotation/humor/HumorInput.vue: Humor Input component for  AffectiveAnnotation project
frontend/components/tasks/affectiveAnnotation/offensive/OffensiveInput.vue: Offensive Input component for  AffectiveAnnotation project

Notable:

Now that I noticed it, the styling looks different from this PR: https://github.com/CLARIN-PL/doccano/pull/31  XD I think we can choose which style to be used and one of us will follow XD

Screenshots:

@teddy-f-47

Thank you for pointing it out! I didn't compare to the newest requirements XD I will add them

I think I will go with Anh's approach about that XD   Would be better not to modify the other component
I think the mode can be shown with another approach, so I will follow yours perhaps, with a slight modification because I want to show the Wcale and W pełni texts.
To be honest, I don't really like using the TextfieldWithSeq2Seq component because it was made to handle keywords and we are not handling keywords here, the UX is different  :<  I like the approach of using modal to show the whole component and that we can use the Enter button tho. So I will modify it a bit probably.

@haanh764
I like that suggestion, thank you XD  I will use it. Sorry, I missed that requirement.

Hi, sorry for taking some time to response 😅 I have seen the code and I think everything is fine. I like that you refactored the async fetch() so that setDoc and setArticleData are separated. XD Great job, approved for merging!
Btw for the api connection, I will try to update my PR either today or tomorrow at the latest so that it can be merged, and then you can add api connections for these inputs 😅 I'm not sure tho, do you want to include the api connections in this PR or a separate PR?

I will include them in separate PR xD


feat: support $control.focus() properly

so far, focus() on a selected  worked
but delivered the wrong return value,
incorrectly reporting an error

runs smoothly, but the test case should be complemented with a check like https://webdriver.io/docs/api/element/isFocused.html

test case should be complemented with a check like https://webdriver.io/docs/api/element/isFocused.html

done!

👍🏿


Add repository initial files

Add the following initial files to the repository:

.gitignore
README.md
LICENSE
CHANGELOG.md
ROADMAP.md
TODO.md

Solved.
Without a pull request as a first commit in the repository.


update Content-Security-Policy: add matters s3 url

should fix large part of #2254  as @robertu7 mentioned there were still others servers when users were copying pictures
these old articles were referencing from srcSet=https://matters-server-production.s3-ap-southeast-1.amazonaws.com/embed/... directly

running local dev with NEXT_PUBLIC_API_URL=https://server.matters.news/graphql can show http://localhost:3000/@935593258/文革实验-为了入戏-这群演员回到了疯狂的1969-zdpuArRLyD1g7voKCJo85beSDZ2JyM9REqKYQo2EwxB7wqQdd with all 5 pictures no problem:


Speedtest does not match real speedtest

Hey,
the speedtests are not matching the "real app wise speedtests".
As you can see by the graph at the beginning the speed (esp download) was nearly matching the real download speed, after around 3hrs the Speed (esp Download) got down to around 50mbits - while thee ookla speedtest app shows always 950~Mbps - even though the dedicated raspi4 4gb model started to measure only 50 up/down.

thank you ;)

        Thank you for prompt reply.---- On Wed, 23 Mar 2022 12:52:27 +0100  Dennis<EMAIL_ADDRESS>wrote ----

Hey,
the speedtests are not matching the "real app wise speedtests".
As you can see by the graph at the beginning the speed (esp download) was nearly matching the real download speed, after around 3hrs the Speed (esp Download) got down to around 50mbits - while thee ookla speedtest app shows always 950~Mbps - even though the dedicated raspi4 4gb model started to measure only 50 up/down.
thank you ;)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>
--- DISCLAIMER ---
This mail is sent from the domain rikjoh.com.If you are not the intended recipient, please disregard this e-mail.

I think your problem is actually with the docker container MiguelNdeCarvalho/speedtest-exporter.
Maybe check issues there and in general with the Ookla speedtest.
These issues might help you:

Speed Test Issues / Errors Running SpeedTest In Docker #109
Speedtest results are inaccurate - CLOSED / No Issue #102
Docker speedtest results are not the same using the speedtest-cli locally #98

So quite a few things that could contribute to the differences you're seing.
You might want to try one of the following:

Install speedtest-cli natively on your Raspberry and check if you still get different speeds. That way you establish if the problem is with the docker container or in differences on how your clients are connected (Raspberry vs your PC / Mac).
Install the p3terx/speed-cloudflare Docker and test speed with this too.

And then post your results. You can hopefully narrow down the problem that way.

Also this might be related:

#322

checked everything you linked-nothing applies to this.
Since i reinstalled on a 64bit i thought its fixed, but today its back to the same behavior.
If this repeats after i complete reinstall the RaspiImage i will dump this project.
The whole infrastructure in my house is completely cat 6a for wall outlets to fibreoptic switches for each floor down to the cellar mainframe measured. So all wall outlets router, patchfield etc are certified and recently tested/measured. Bandwith is constant to the datacenters 4miles away. Speedtests by the speedtest app.
i checked also to have the speedtest installed natively as cli - same
anyway thanks - doubt this can be solved


PRINCIPAL SECURITY.md

#65

 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.


Generated PhP doesn't follow PhP method overloading standards

Brief Description
PhP shouldn't allow any method overriding since it relies on method names alone for method signatures. However, Umple is allowing method overriding as long as the function parameter types are different.
Minimum Steps to Reproduce
Use the following to generate PhP in Umple online:
class C
{
  a(String input)
  {
  }
  a(Integer input)
  {
  }

}

It should produce an error, but doesn't.

We don't have a consistent way to flag errors that affect only one generated language at the current time. One way to deal with this in PhP would be to generate one method and a condition that says if String then execute the first block, and if integer then generate the second. But that would not scale up to many arguments. We may want to do that and leave the other cases unresolved


I cannot add onclick on Link Element

Link component cannot support any callbacks. I want to know have action after use click it. But I found it cannot be done with Link. Can anyone help me with that? Many thanks

fixed.


fix crash while dynamically delete rows from tableview with animation

Hi @astrokin
I see that you are using method
indices.contains(index)
I think this is not good for performance reasons. The cost of this operation is O(n) in worst case, and this is going to be called a lot because method invoke is calling for many delegate/datasource method for UITableView.

Hi @maxsokolov afaik NO :)

Complexity: O(1) if the collection conforms to RandomAccessCollection; otherwise, O(n), where n is the length of the collection.

public struct Array : RandomAccessCollection, MutableCollection

developer.apple.com

@astrokin
the link above is pointing to count property.

But I may be wrong about O(n). I see that indices is CountableRange, not an Array.

@maxsokolov my fault. seems miss-reading... i'll add my case in demo project later to demonstrate the case. Please feel free to close this PR

@astrokin I've added simple check here.
Thanks for pointing out to the problem!


add tutorial for custom pipeline

This PR adds a guide for how to use the evaluator with a custom pipeline. Specifically, it shows how to wrap it for a Scikit-Learn or Spacy mode.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@ola13: the DummyTextClassificationPipeline is essentially the same as this. I don't think we want to explicitly test the sklearn or spacy dependency if we don't integrate the wrappers into the library. If at some point we do that I agree we should test it.


[ROCm] Implementing reduction for complex64 and complex128

This PR implements reduction for complex64 and complex128 on ROCm by casting the tensors to hipFloatComplex and hipDoubleComplex respectively.

@ekuznetsov139 Can you please resolve conflicts? Thanks!

Rasmus, would you have time to review this PR? I think you might be able to provide better feedback than me. Thank you!

@ekuznetsov139 Can you please check @rmlarsen's comments and resolve conflicts?. Thanks!

@ekuznetsov139 gentle ping

@ekuznetsov139  Any update on this PR? Please. Thanks!

@gbaned waiting for response from @rmlarsen.

@rmlarsen, Any update on this PR? Please. Thanks!

@rmlarsen, Any update on this PR? Please. Thanks!


Custom Build Arguments definable via Lagoon API

specifically for npm tokens

Would this work: https://docs.openshift.com/container-platform/3.7/dev_guide/builds/build_inputs.html#using-secrets-during-build and adding it to the Lagoon BuildConfig

Unfortunately it's a bit more complex as the Secrets are mounted into the Build Config and the Build Config is overwritten by Lagoon on every deploy so we would need to find a way to have the Build Config more persistent. I'm researching how we could do this.

this will be solved by https://github.com/amazeeio/lagoon/issues/694


Respect quote configuration with autoRemoveTemplateString

With the template-string-converter.autoRemoveTemplateString option, it would be nice if this respected the user's settings:

.editorconfig -> quote_type
any Prettier configuration files -> singleQuote
more?

Or, in lieu of reading all of the configuration files, some additional ideas:

reading in the configuration for the current file from VS Code (does this exist?)
checking the current file for the more common quote style and using that style

I've removed the setting, so am closing this

Ok, in case the followup PR https://github.com/meganrogge/template-string-converter/pull/48 gets merged, maybe this can be reopened then.

I was going to open a new issue but found this one. Is there plans to add support for converting back to single quotes instead of doubles when removing template strings? Would you accept a PR?

Hey, thanks for asking. Would totally accept a PR for this.


Course Page for students:

(1) A place where the student can see their "grades" (i.e. their row of the uploaded CSV).  This might be a placeholder until we have this feature implemented.
(2) A place where they can see the team(s) to which they are assigned, and information about those teams.   This may be similar to the view that the instructor has now on the GitHub Teams page, but we need to think through what parts of that are appropriate for students vs. instructors/admins (e.g. students shouldn't have access to run the jobs, maybe?)

As a student I would like to see:

My team
Issues assigned to me
Slack link
repo link


[TechDocs] OpenStack Swift Lowercase Migration Support Added

Hey, I just made a Pull Request!

This PR adds support for TechDocs Beta migration for OpenStack Swift. Also this PR fixes the issue of lowercase routing, which doesn't same in every location (i.e API -> apı in Turkish)
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Hi! Would you mind rebasing this on a fresh master? I see that your yarn.lock has changes in it that were our fault and have been fixed recently.

done that @freben

any updates? @freben @iamEAP

are we gonna wait for backstage/reviewers approval? @iamEAP

Approved! I'll let @iamEAP merge when convenient


Feature Request: remote file parsing

In this blog post: https://en.hackndo.com/remote-lsass-dump-passwords/#dump-size
there are code edits that assist in parsing remote files without needing to download them. It would be awesome if Pypykatz had this feature.

Hello,
I'm not entirely sure what the request is. There is an API available here to parse whatever object you throw at it as long as you have those 4 methods implemented.
Also that is what LSASSY uses.
Please clarify.

Hello,
I'm not entirely sure what the request is. There is an API available here to parse whatever object you throw at it as long as you have those 4 methods implemented.
Also that is what LSASSY uses.
Please clarify.

Having this capability:
pypykatz lsa minidump adsec.local/jsnow:Winter_is_coming_\!@DC01.adsec.local:/C$/Windows/Temp/lsass.dmp
Unless I'm missing something this capability doesn't exist currently

Having this capability:
pypykatz lsa minidump adsec.local/jsnow:Winter_is_coming_\!@DC01.adsec.local:/C$/Windows/Temp/lsass.dmp
Unless I'm missing something this capability doesn't exist currently

Understood.
I always wanted to do something like that however there are these things to consider:

LSASSY already has this feature and as far as I know it works well, @Hackndo did a good job
If I'd wanted to implement that feature I'd had to change a major part of the codebase to support asyncio (to support aiosmb as supporting impacket is already implemented in lsassy) OR at least to have every single structure a size parameter (for read-ahead). The latter might be doable (and it would greatly help LSASSY as well) but it'd be a lot of work and I currently don't have much time for that.
Is there any specific reason you want to have this in pypykatz instead of using LSASSY? Personally I'd rather help out that project if something is missing than do changes in the most-used part of pypykatz as re-testing everything takes ages.

Understood.
I always wanted to do something like that however there are these things to consider:

LSASSY already has this feature and as far as I know it works well, @Hackndo did a good job
If I'd wanted to implement that feature I'd had to change a major part of the codebase to support asyncio (to support aiosmb as supporting impacket is already implemented in lsassy) OR at least to have every single structure a size parameter (for read-ahead). The latter might be doable (and it would greatly help LSASSY as well) but it'd be a lot of work and I currently don't have much time for that.
Is there any specific reason you want to have this in pypykatz instead of using LSASSY? Personally I'd rather help out that project if something is missing than do changes in the most-used part of pypykatz as re-testing everything takes ages.

you closed this too early.  If errors arise pls let me know in another issue.


Accessibility: focus時のoutlineの調整

close #9

[x] text input
[x] checkbox
[x] radio

-
before
after

input

checkbox

radio

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


research: look for an android api to display floating windows

before displaying anything over other apps I need to ensure the user explicitely grants the app with the required permission as per [android docs](https://developer.android.com/reference/android/provider/Settings#canDrawOverlays(android.content.Context).
So asked gpt for a code snippet as well as reviewed [this example repo](https://developer.android.com/reference/android/provider/Settings#canDrawOverlays(android.content.Context).
    private fun checkPermission() {
        if (!Settings.canDrawOverlays(this)) {
            val intent = Intent(
                Settings.ACTION_MANAGE_OVERLAY_PERMISSION,
                Uri.parse("package:$packageName")
            )
            startActivity(intent)
        }
    }

apparentely I need to use something called a service, a long running background operation. Created a simple service class and started it using startService from a material themed LargeFloatingActionButton. Services have a lifecycle just like activities, onCreate (executed on the first call to startService), onStartComand (every time startService is called), onDestroy and onBind

inside a service I need to get the WindowManager instance associated with a display, to do that:

Get display's UI context with createWindowContext
call getSystemService on that contex

according to [the docs](https://developer.android.com/reference/android/view/WindowManager?hl=en) is better to use Presentation. gotta check it out


cmd/operator-sdk/generate/crds.go: error with non-go projects

Description of the change:
Emit error message when using operator-sdk generate crds from non-Go projects.
Motivation for the change:
operator-sdk generate crds is only supported for Go projects. Non-Go projects should use operator-sdk add crd

@joelanford this is technically a bugfix right? Would be worth adding a fragment.

There's a bug associated with this https://bugzilla.redhat.com/show_bug.cgi?id=1838881. Once this PR merges we need to move the bug to MODIFIED.

HI @joelanford,
Shows that it is missing just a rebase with the master to get merged.

@fabianvf @estroz @camilamacedo86
Updated per @fabianvf's suggestion and rebased to latest master. PTAL


Automatically deliver raw when user-agent matches curl/.*

I believe It would be very practical if, when queried from tools like curl, httpie et al. do automatically deliver the /raw/output instead of the html frontend.

Mrm, I tend to agree but it might also be confusing. I'll give it a good thought.

Sounds like a good idea to me. Maybe just serve raw output if the user agent doesn't contain Mozilla/5.0, or see if the Accept header doesn't explicitly contain text/html (or even prescribes something else, though curl's default is just */*).


Poltergeist raises Timeout even after page is loaded

Hi,
I am using poltergeist with capybara to do some tests. You can see the initialization here:
def scenario_start(scenario_id = '', timeout= 60, debug= true)
    Capybara.run_server = false
    Capybara.javascript_driver = :poltergeist
    Capybara.default_wait_time = 60
    Capybara.register_driver :poltergeist do |app|
      Capybara::Poltergeist::Driver.new(app, { :debug => debug, :timeout => timeout, :phantomjs_options => ['--ignore-ssl-errors=yes', '--proxy-type=none'] })
    end
    Capybara.reset_sessions!

    @counter = []
    @session = Capybara::Session.new(:poltergeist)

  end

After this, I try to do a login, the loading is slow but about 12s average. I've already tried tweaking poltergeist timeout init variable but to no avail...
When the Timeout exception is raise a screenshot is taken of the last visited page and I can see the full page in the image. I have already incresead the time out up to 400...
Will start to cry in about 1 hour....

@npassaro I know this was nearly 3 years ago now, but do you recall the phantomjs issue that you were referring to? Or what the resolution was? I have a page that is showing as fully loaded but it's almost like phantomjs is waiting for the open websocket connection to finish, which of course it never does.

That was exactly the issue.
I haven't look at this for a long time but as I remember there is a javascript event that is triggered when the page finishes loading, i.e. onLoadFinished.
For what I understood, and I might be completely wrong, this event is independent of the websocket connection. However, phantomjs 1.9.x used an implementation of Webkit that used an implementation of the websocket standard that was not the standard that won. For some reason, the old Webkit would hang waiting for the websocket to close in order to trigger onLoadFinished. For the user, this is not a problem, the page loads. For the tester, this means that there was no way to know when to validate the DOM since the page "is never loaded".
I this issue is related to this: https://github.com/ariya/phantomjs/issues/11018

@npassaro Thanks. I managed to fix it in the end by not initialising the websocket straight away. Instead I now initialise it on the window load event. This means that phantomjs sees that the page has loaded and then the websocket is opened.

@andymantell I believe using PhantomJS 2.1.1 and switching to using puma as the "server" (Capybara.server = :puma) should let websockets work correctly.

Ah thanks @twalpole, I'll give that a try. Hadn't heard of Puma before

@twalpole Thanks for the recommendation. Switching to Puma is helping me with a similar issue.


morphometry and morphometric analysis should be merged

To my understanding these are synonyms of each other.

these are under AnalysisTechnique


Sort imports

We have the beginning of a project structure organized by features
where inside a feature there are imports of (1) third-party modules such
as react, react-native, react-redux, (2) modules exported by other features
and (3) modules internal to the feature. In order to make the imports
easier to read, group them by their origin and then sort them in
alphabetical order within the group.

+1 to merge


Capitalized book title

Capitalized book title under "Soft Skills".

[x ] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)
[ x] My pull request targets the master branch of freeCodeCamp.
[x ] None of my changes are plagiarized from another source without proper attribution.
[x ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

LGTM @amylearnscode
Thanks for contributing !


Big Meta Merge

This pull request attempts to unify the currently ongoing efforts to refactor and clean up this crate. I went a step further with it.
This PR combines #1 and #4 functionality and cleanliness-wise but also changes the core feature of the crate. Now, instead of having to wrap panics in human_panic::catch_unwind, the functionality is now boiled down to a single macro that the user has to invoke at the beginning of the crate.
#[macro_use]
extern crate human_panic;

fn main() {
  setup_panic!();

  // ...

  panic!("OMG EVERYTHING IS ON FIRE!!!");
 Looking back, I should have merged #4 into #1 first, then merge that into my stuff :smirk:
Comments? @killercup @yoshuawuyts

It's unclear to me how this will handle returned errors from the result type, as per #4. If it does, maybe the API could be a bit more explicit about it? I feel taking a closure would be the most explicit API for this.

@yoshuawuyts Ah, I'm not entirely sure how that was supposed to work. Could you elaborate a little bit on that?
But the core motivation behind this change was to remove the need to wrap panics in special blocks. This way it becomes a drop-in crate that can be applied to any existing application.

@spacekookie ahhhh, right gotcha. Yeah that sounds super useful. I'm thinking of merging #2 and then #4 though. Would you mind rebasing on top of that after that?
As to the other thing: it'd be nice if cargo run --example err would work too! It currently doesn't with this patch. We might need to tweak the format a little, but we can always do that in later patches.
Awesome work; can't wait to see all patches come together! :tada:

@yoshuawuyts re handling Result, too: I'd not do that. Like, at all. I can go into more detail if you want (outside a drive-by PR comment like this one), but a Result's error variant is about "program flow errors" in contrast to "assertion errors", and should always be able to generate a human-readable error message. You might still want to make these errors nicer, but I'd use a vastly different mechanism. I expect a crate called human-panic to only deal with panics.

This doesn't mean we shouldn't try to make all errors nice, of course. I'd really like to add some boilerplate to quicli that produces

meaningful error codes (cf. gitter log)
useful error messages (this is possible but could use some love, like, a link to the docs)
good panic handlers (what this crate does)

@killercup alright, sounds reasonable!
Cool, let's merge this branch in stead of #4. @spacekookie would you mind rebasing? - should be prettty straight forward I reckon :sparkles:
Going to add y'all to this repo + crates.io too :tada:

Ah... @yoshuawuyts I see the problem there.  I'll try to rebase this though so we can merge it.
Also... @ my name not showing up, no idea what that could be. Although I think you're not the first one who can't find my on Github :stuck_out_tongue_closed_eyes:

Try my e-mail<EMAIL_ADDRESS>(or "kookie katharina" which sometimes works too)


Error with 1.3.1

I'm playing Afterbirth with Windows 10 x64, and I cannot use MissingHUD2 with it. In the same machine, I was able to run MHUD2 with Rebirth without a problem., but now I get a error with the injected DLL.
I already tried compatibility mode with Windows 8 and Windows 7.
The version of MHUD2 is 1.3.1.
 Check MHUD2.log for details. (Error Code: 0)
[2015-11-12 09:31:25 AM] [TID: 1596] [INFO ] GitHub reported no updates available.
[2015-11-12 09:31:30 AM] [TID: 1596] [INFO ] Missing HUD 2 exiting with exit code 0.
[2015-11-12 09:31:30 AM] [TID: 1596] [INFO ] Stopping DLL injection monitor thread.

Try deleting this folder: "%PROGRAMDATA%\boost_interprocess".
Something is going wrong with the new preferences aspect of the DLL, which is why you could run old versions fine.

I have the same issue. I have deleted boost_interprocess (keeps comming back). Running the Exe as admin. Tryed running Isaac as admin aswell.
Windows 10.
Version 1.3.2

Does this version work for either of you when run as admin?
https://mega.nz/#!48QwGCaL!PrKKcBzqt218w7ORumDABJIvrtN-_7vvi4PirszWZaA

I deleted the folder you said, and the new 1.3.2 version worked without admin.
I tried this alpha build you sent, it also worked with and without admin.

The alpha2 buid works with and without admin for me. Thanks!

Thanks for letting me know.
I will incorporate this fix into the next MHUD2 version.

Running both as admin resulted in DLL error, so how do I get to the  "%PROGRAMDATA%\boost_interprocess" folder?

The patch I provided above has been implemented in v1.4.0


Adds test case for url-decode transform keyword

Cf https://redmine.openinfosecfoundation.org/issues/2689
Maybe we should add the check for Content-Type: application/x-www-form-urlencoded in the signature

Test should pass only when https://github.com/OISF/suricata/pull/4347 gets merged


Mint  Activity not visible in NFT preview

I tried this on Canary and production. In the NFT preview, you cannot see activity MINT (when was NFT minted). You can see others like list, buy, and transfer.. but no Mint. I checked more than 1 NFT.


dedicated view for Records that errored during processing

If Records error during processing, they might show up in the "error in processing" column of the Job details page, but there is not a dedicated view to view or export those.

Done, e.g.:


brainstorm enemies

G.

Turrets: placed in random places or in certain spots that track players movement. Given some sort of weak spot that can allow bubbles/hero to defeat it. (Perhaps gives a power up upon defeating?)
Crystal Golem: Massive creatures, made out of crystals armour. Possess immense strength and durability. Moves slowly but unleashes powerful melee(crystals) attacks. Can only be defeated by a power up? or escape from it.
Chest: Disguises itself as a normal treasure chest. Can weaken players by shooting out poisonous gas.
Skeleton archer: Patrols certain areas of the maze, shoot arrows at player from a distance. Easy enemy with a low health bar.
Slick Slime: Slime that oozes along the the maze. It moves slowly but steadily, leaving a trail of slippery residue behind it. If the user steps on the residue, their movement speed is reduced temporarily. The slime itself is harmless.


Update to gcc 13.2.0 -- Needed for Ubuntu 23.10

See https://gcc.gnu.org/gcc-13/

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

I feel like I'm hitting a repeat of https://github.com/conda-forge/ctng-compilers-feedstock/issues/95  for ubuntu 23.10

Ummmm:

For C++, construction of the global iostream objects std::cout, std::cin, etc. is now done inside the standard library, instead of in every source file that includes the  header. This change improves the start-up performance of C++ programs, but it means that code compiled with GCC 13.1 will crash if the correct version of libstdc++.so is not used at runtime. See the documentation about using the right libstdc++.so at runtime. Future GCC releases will mitigate the problem so that the program cannot be run at all with an older libstdc++.so.

Really not sure what to do about this. @h-vetinari has anything been using GCC 13 for now?

I can confirm that this helps get thigns working for ubuntu 23.10

thank you!

This change improves the start-up performance of C++ programs, but it means that code compiled with GCC 13.1 will crash if the correct version of libstdc++.so is not used at runtime.

This is pretty wild IMO, but luckily it seems that zero feedstocks are using GCC 13 so far.

it seems that this note was present even in GCC 13.1. I believe maybe it is warning users that they must use libstdc++ built with 13+ or else face serious consequences.
I think we do that at conda forge right?

Shouldn't be a problem for us

Thanks for confirming!


Upgraded dependencies

Codecov Report

Merging #129 (7b847fa) into master (da27b96) will decrease coverage by 0.09%.
The diff coverage is 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@             Coverage Diff              @@
##             master     #129      +/-   ##
============================================
- Coverage     99.57%   99.48%   -0.09%
  Complexity      998      998
============================================
  Files           162      162
  Lines          3526     3526
============================================
- Hits           3511     3508       -3
- Misses           15       18       +3

Files Changed
Coverage Δ

app/src/Service/Cors/CorsService.php
100.00% <ø> (ø)

app/src/Service/WalletService.php
100.00% <ø> (ø)

app/src/Config/AppConfig.php
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


nix.nixPath does not set NIX_PATH correctly

I'm using the config option nix.nixPath to set $NIX_PATH. It's supposed to be colon-separated if there are multiple entries in the list, but instead it's space separated. For example:
nix.nixPath = ["nixpkgs=/foo" "home-manager=/bar"];
should result in
NIX_PATH="nixpkgs=/foo:home-manager=/bar"
but it's currently
NIX_PATH="nixpkgs=/foo home-manager=/bar"
and the various nix-* tools can't understand it.

I went for the Option 2, created a PR.


Buffer.(read|write)(U)Int(LE|BE)(8|16|32)

Just adding something that I've been looking at which could maybe be improved.
Using Node Buffer vs Int32Array to read/write 32 bit values to buffers.
NAME                           REPS
-----------------------------------
Buffer                   64,553,382
Int32Array              174,148,855

const arrayBuffer = new ArrayBuffer(NUM_CASES * 4)
const buffer = Buffer.from(arrayBuffer)
const buffer32 = new Int32Array(arrayBuffer)

{
  Buffer: (index, value) => {
    buffer.writeInt32LE(value, index * 4)
    assert(buffer.readInt32LE(index * 4) === value)
  },
  Int32Array: (index, value) => {
    buffer32[index] = value
    assert(buffer32[index] === value)
  },
  DataView: () => {
    const c = cases[caseIndex]
    view.setInt32(caseIndex * 4, c, true)
    assert(view.getInt32(caseIndex * 4, true) === c)
    if (++caseIndex === NUM_CASES) {
      caseIndex = 0
    }
  },
}

Would using https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView help?

Buffer                   64,382,619
Int32Array              173,271,415
DataView                157,751,918

I was thinking maybe something like this could be faster:
class FasterBuffer extends FastBuffer {
  constructor(...args) {
    super(...args)
    this._view = new DataView(this.buffer, this.byteOffset, this.byteLength)
  }

  writeInt32LE(value, offset) {
    this._view.setInt32(offset, value, true)
  }

  readInt32LE(offset) {
    this._view.getInt32(offset, true)
  }
}

Deno is doing this: https://github.com/denoland/deno/pull/17815

Word of warning from the author of the linked Deno PR: The performance benefit is nothing that spectacular. I'm not sure how the Node.js Buffer method implementations are written, but the Deno std/node Buffer polyfills were written with basically byte-by-byte reading/writing into the Uint8Array that underpins the Buffer class polyfill.
When I tried out the speed of reading or writing into an ArrayBuffer through a plain DataView, it was 2-3 times faster than the Buffer polyfills. Unfortunately, when I tried to do the same using a "hidden" DataView like is proposed here with the this._view, the performance was between roughly equal to perhaps 5% better. The main benefit in Deno's case would be fewer lines of code for similar or just a tad better performance.
My guess is that V8 is somehow "gatekeeping" some optimisations behind a precondition that is not fulfilled by the "hidden" DataView. Though, my tests were done with not the original code itself but an imitation that used the class keyword instead of a plain Function so I cannot actually say for certain that the same would apply equally for Deno or Node.

Update: Starting in V8 12.0 it seems that we'll see improved performance for Buffer APIs from this CL. I am not sure how this will affect the DataView vs self-built APIs performance balance, though.


Remove all mention of obsolete config files

neo4j-wrapper.conf is still valid for 3.0. In 3.1, the settings function
correctly places settings in neo4j.conf instead (this is in fact
supported in 3.0 as well but let's keep to the official way).

@spacecowboy This looks good to me. You have exercised commendable self-control in retaining the neo4j-wrapper.conf stuff for 3.0.


TBI Motor/Verbal Data Request

Redirects tbi severity as a scalar to represent glasgow coma scale

so i don't see anywhere where gcs is set on the patient, you could just copy and paste that howto code into nervous.cpp and set it as a function of that as part of this pull request, seems like this is just to make that data avalable? currently it will just always return 0 per these commits


Debug (Attach): Define SourceMap and persist it on launch.json

I'm using Debug (Attach) to successfully attach to the debugger. The issue is no breakpoint is bound due to the fact that SourceMap paths is not provided.
So my first question is: Is there a way to provide the SourceMap path to the command?
Secondly: is there a way to persist this into a config in the launch.json file? Something like:

{
            "name": "Attach to Kubernetes Pod",
            "type": "....",
            "request": "attach",
            "debugPort": 9229,
            "deploymentName": "${env:SERVICE_NAME}",
            "containerName": "${env:SERVICE_NAME}"
             "resolveSourceMapLocations": [
                "${workspaceFolder}/Services/${env:SERVICE_NAME}/**",
                "!**/node_modules/**"
            ]

}

Some context:  I am using k3d to create my local cluster (DiD setup).
I tried using the extensions from CloudCode but that is unable to find the pod by name.

This is Node debugging with something like TypeScript or webpack in play, right?  I'm not very familiar with that scenario.  How would you normally provide source maps in a remote debug session?

It's plain nodejs debugging with no TS nor webpack. To be honest I never used remote debugging, but rather I'm connected to the container and then attach to the debugger from within.
And in that case I am using the following config in the launch.json:
        {
            "name": "Attach",
            "port": 9229,
            "request": "attach",
            "skipFiles": [
                "<node_internals>/**"
            ],
            "type": "pwa-node",
            "resolveSourceMapLocations": [
                "${workspaceFolder}/Services/${env:SERVICE_NAME}/**",
                "!**/node_modules/**"
            ]
        },

But I think the option would be the same for remote debugging, here there are more information: https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_source-maps
Maybe in remote debugging case it's enough to specify the following?
"localRoot": "${workspaceFolder}",
"remoteRoot": "C:\\Users\\username\\project\\server"

@lstocchi @bacongobbler Does either of you have bandwidth to look at this please?

Did you check the doc about vscode js debug for all available options? https://github.com/microsoft/vscode-js-debug/blob/master/OPTIONS.md
Any sample app we can use to replicate the issue and help you better @gionapaolini ?

I'll try to find the time to make a proper example repository @lstocchi

While I was preparing the sample project, I did not incur in the same issue, so it might be an issue related to volumes (since I haven't used them in the sample project).
Before I continue my investigation though, I would like to focus on my second request that is: is it possible to persist the command on the launch.json file?
As mentioned before, something like this:
{
    "name": "Attach to Kubernetes Pod",
    "type": "....",
    "request": "attach",
    "debugPort": 9229,
    "clusterHost": "....",
    "namespace": "development"
    "deploymentName": "service1",
    "containerName": "service1"
}

Just to provide some more context on my intentions, what I'm trying to achieve is to have a compound configuration (https://code.visualstudio.com/docs/editor/debugging#_compound-launch-configurations) for which I can press a single button and automatically debug all the services running on a local cluster within a single window (instead of having the need to open multiple vscode instances that quickly drains memory)


Refactor feedback string into its own class

closes #57

Thanks for helping with this, much appreciated!


Unable to find element when the target page doesn't include Jquery.

Hi,
I am trying to write an integration test to check the form submission to an external website. There are two pages in the flow with first having the form part and second page shows a confirmation.
Every control on the form page has a unique id and name to it. But, for some reason these controls can't be identified using the attribute FindById. I have tried other attributes as well such as FindByName, FindByCss and FindByXPath but nothing seems to work. I get the error message "$ is undefined".
Please note: The target website doesn't include Jquery.
Below is the model and test for the target page. Unfortunately, I can't provide the target URL for privacy reasons.

public class CulinaryAdventureFormPage: Page<CulinaryAdventureFormPage>
{
        [FindById("QR~QID3")]
        public TextInput<_> CruiseLineBookingReferenceNo { get; private set; }

        //[FindById("QR~QID5", ScopeSource = ScopeSource.Parent,OuterXPath = "")]
        //[FindByXPath("//*[@id='QID5']/div[3]/div/fieldset/div/div", Index = 0, OuterXPath = "")]
        [FindById("QR~QID5")]

        public TextInput<_> FirstName { get; private set; }

        [FindById("#QR~QID6")]
        public TextInput<_> LastName { get; private set; }

        [FindById("#QR~QID7")]
        public TextInput<_> TravelAgency { get; private set; }

        [FindById("#QR~QID8")]
        public TextInput<_> ContactNumber { get; private set; }

        [FindById("QR~QID9")]
        public TextInput<_> EmailAddress { get; private set; }

        [FindById("QR~QID10")]
        public Select<StatesEnum, _> State { get; private set; }

        [FindById("QR~QID16~1")]
        public CheckBox<_> TermsAndConditions { get; private set; }

        [FindById("NextButton")]
        public Button<_> Submit { get; private set; }
}

[TestFixture]
public class CulinaryAdventureFormPageTest : AtataTestsWithoutDbBase
{
    [TestCase("98547854")]
    public void SubmitCulinaryAdventureForm(string aBookingId)
    {
            CulinaryAdventureFormPage formPage = Go.To<CulinaryAdventureFormPage>();
            // Arrange
            formPage.FirstName.Set("XXXXXXXX").LastName.Set("XXXXXXXXX");
    }
}

I appreciate in advance any help on this issue.

Hi,
Very strange issue. I haven't seen such "$ is undefined" error using Atata. JQuery is not used by Atata at all (except WaitForJQueryAjaxAttribute trigger which you don't use, anyway trigger uses jQuery not $).
Both your selectors [FindById("QR~QID5")] and [FindById("#QR~QID6")] work for me.
Could you please provide a part of log of the failed test as well as full exception details? Also browser version, driver version and OS info can be useful.

Hi,
Thanks for the quick reply.
I will try to re-produce the issue with another website link. The website page for which I was writing has been removed because of the promotion that was over. So, can't re-run the test to fetch the exception details. However, I will setup another url and will test it again.
Also, just for curiosity, I would like to know the working behind FindById and FindByCss attribute. Are these using java script to search in the DOM i.e. something like document.getElementById or document.evaluate etc.
I will come back to you when I have another go at it.
Thanks.


promise.done no longer available?

Hi, after upgrading to jsforce 1.5.0 my script starts throwing an error - apparently promise.done is no longer available, so my code that depends on it no longer runs. Is there plan to bring this method back?
Thanks!

We changed the internal promise library.
You can change the done() to then(), because done() is not standard Promise function.

The documentation is out of date. It shows done as an available method.
http://jsforce.github.io/jsforce/doc/Promise.html


 Should fire the onTimeChange event so that the state can be updated with the new value.

@karls4 will be fixed in the next release

Please update @coreui/react-pro to v4.7.2.
Using onTimeChange event you will get null when clear.


PopupPanel will focus and hover buttons in the panel when popup

when popup a popuppanel,the button in the panel will be hovered and focused.
in the test example.when click the popup button the popuppanel will show and button1 will be hovered with red rectangle.
the theme onle set hover is red and press green
here is the example
Test.zip

Reopening, as this is still a valid issue.

Seems working in 3.2.3


use a different network than the default public ipfs network

Summary
Ideally, we want to connect only to nodes that run some lazyledger node, too.
Problem Definition
IPFS nodes connect to a large set of nodes by default. That's cool but we want our nodes to only connect to a set of nodes that 1) load the LL ipld plugin and 2) run some other portion of the lazyledger software (light client, (full) node, archival node etc).
Proposal

Provide an alternative set of bootstrap nodes. Ideally, we'd automatically deploy a node before each release and its address to the default config (this is good for testing purposes).
Add a way to only connect to a subnet. Using a private network (swarm key) could be the first very simple approach. Ideally, though we would modify to which nodes the ll-core nodes connect to by using some form of different network ID / protocol version (?) than the public ipfs network uses.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

To summarize / capture some input we got on Discord from @Wondertan:

I don't think you need to have a separate network. Being part of IPFS network would help both networks to contribute each other in a win/win model by joing and expanding DHT network.

Even though most of the network won't understand your custom multihash codec, they still will be able to distritbute them over DHT and help all the participant to find content hosters, along with your nodes helping them.

Any node's peer.ID can still be close to some content's hash by XOR metric, what would allow the node to help others in finding that content, even without specifically supporting the mh codec. The support is required only when you want to download and read the content. Though, I need to double check that.
Also, there is a notion of bootstrap peers specifically for DHT:
https://github.com/libp2p/go-libp2p-kad-dht/blob/master/dht_bootstrap.go#L13

If we want, we can still use the default bootsrap nodes and use them to find other peers that use a specific protocol. e.g. here is a simple example that implements a chat-app and uses the default bootstrap nodes to find other nodes to talk to: https://github.com/libp2p/go-libp2p-examples/tree/master/chat-with-mdns

Triaging this depends to some extend on the outcome of running more benchmarks: https://github.com/lazyledger/ipld-plugin-experiments/issues/10
If rerunning the experiments yields OKish results, we do not need to act upon this before mainnet.

Transferred this from https://github.com/celestiaorg/celestia-core to https://github.com/celestiaorg/celestia-node
IMO, we should reconsider if we want to run a full-blown IPFS node in https://github.com/celestiaorg/celestia-node/issues/1


TimeDistributed.call() does not work correctly with Masking

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
binary
TensorFlow version
2.16.1
Custom code
Yes
OS platform and distribution
Mac OS Sequoia 15.1.1
Mobile device
Macbook Pro
Python version
3.11.9
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I am trying to use a Masking layer to deal with variable-sized sequences being fed to an LSTM layer. Using TimeDistributed with Masking gives the following error:
ValueError: Exception encountered when calling TimeDistributed.call().

`TimeDistributed` Layer should be passed a `mask` of shape (None, None, ...), received: mask.shape=(None, 8)

Arguments received by TimeDistributed.call():
  • inputs=tf.Tensor(shape=(None, None, 8), dtype=float32)
  • training=True
  • mask=tf.Tensor(shape=(None, 8), dtype=bool)

Tensorflow version: 2.16.1
Tensorflow-metal version: 1.1.0
Keras version: 3.0.0
Standalone code to reproduce the issue
from keras.layers import Masking, Input, LSTM, Dense, TimeDistributed
from keras.models import Sequential
from keras.utils import pad_sequences

# Create sequences
length = 8
n_batch = length
n_neurons = length
seq = [round(i/float(length), 2) for i in range(length)]

# Outputs same as inputs, just as an example
X = [seq, [xx * 2 for xx in seq[:4]]]
y = [seq, [yy * 2 for yy in seq[:4]]]

# Pad the sequences to be of the same length
maxlen = max([len(xx) for xx in X])
padded_X = pad_sequences(
    X, dtype='float', maxlen=maxlen, padding='post', value=-1
)

padded_y = pad_sequences(
    y, dtype='float', maxlen=maxlen, padding='post', value=-1
)

# Make a sample LSTM model
model = Sequential()
model.add(Input(shape=(length, 1)))
model.add(Masking(mask_value=-1.))
model.add(LSTM(n_neurons, return_sequences=True))
model.add(TimeDistributed(Dense(1)))
model.summary()

# Fit the model
model.compile(loss='mean_squared_error', optimizer='adam')
history = model.fit(padded_X, padded_y, epochs=5, verbose=1)

Relevant log output
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[1], line 35
     33 # Fit the model
     34 model.compile(loss='mean_squared_error', optimizer='adam')
---> 35 history = model.fit(padded_X, padded_y, epochs=500, verbose=1) #, batch_size=2)

File ~/venvs/sat-etl-tf/lib/python3.11/site-packages/keras/src/utils/traceback_utils.py:123, in filter_traceback.<locals>.error_handler(*args, **kwargs)
    120     filtered_tb = _process_traceback_frames(e.__traceback__)
    121     # To get the full stack trace, call:
    122     # `keras.config.disable_traceback_filtering()`
--> 123     raise e.with_traceback(filtered_tb) from None
    124 finally:
    125     del filtered_tb

File ~/venvs/sat-etl-tf/lib/python3.11/site-packages/keras/src/layers/rnn/time_distributed.py:81, in TimeDistributed.call(self, inputs, training, mask)
     78 timesteps = input_shape[1]
     80 if mask_shape is not None and mask_shape[:2] != (batch_size, timesteps):
---> 81     raise ValueError(
     82         "`TimeDistributed` Layer should be passed a `mask` of shape "
     83         f"({batch_size}, {timesteps}, ...), "
     84         f"received: mask.shape={mask_shape}"
     85     )
     87 def time_distributed_transpose(data):
     88     """Swaps the timestep and batch dimensions of a tensor."""

ValueError: Exception encountered when calling TimeDistributed.call().

`TimeDistributed` Layer should be passed a `mask` of shape (None, None, ...), received: mask.shape=(None, 8)

Arguments received by TimeDistributed.call():
  • inputs=tf.Tensor(shape=(None, None, 8), dtype=float32)
  • training=True
  • mask=tf.Tensor(shape=(None, 8), dtype=bool)

The Masking layer in Keras is designed to work with 3D input tensors that have the shape (batch_size, timesteps, features). This is because the Masking layer is typically used in the context of sequence models like RNNs, LSTMs, and GRUs, which process data sequentially over time. As your input is missing at least one dimension this is expected.

My input to the masking layer is 3D, see the model summary below:
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Layer (type)                    ┃ Output Shape              ┃    Param # ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ masking (Masking)               │ (None, 8, 1)              │          0 │
├─────────────────────────────────┼───────────────────────────┼────────────┤
│ lstm (LSTM)                     │ (None, 8, 8)              │        320 │
├─────────────────────────────────┼───────────────────────────┼────────────┤
│ time_distributed                │ (None, 8, 1)              │          9 │
│ (TimeDistributed)               │                           │            │
└─────────────────────────────────┴───────────────────────────┴────────────┘
 Total params: 329 (1.29 KB)
 Trainable params: 329 (1.29 KB)
 Non-trainable params: 0 (0.00 B)

None is the placeholder for the batchsize dimension, 8 is the number of time steps, and 1 is the feature dimension.

I see, Let me check.

Try this :
import numpy as np
import tensorflow as tf
from tensorflow.keras.layers import Masking, Input, LSTM, Dense, TimeDistributed
from keras.src.models.sequential import Sequential
from keras._tf_keras.keras.utils import pad_sequences

# Create sequences
length = 8
n_batch = length
n_neurons = length
seq = [round(i / float(length), 2) for i in range(length)]

# Outputs same as inputs, just as an example
X = [seq, [xx * 2 for xx in seq[:4]]]
y = [seq, [yy * 2 for yy in seq[:4]]]

# Pad the sequences to be of the same length
maxlen = max([len(xx) for xx in X])
padded_X = pad_sequences(X, dtype='float', maxlen=maxlen, padding='post', value=-1)
padded_y = pad_sequences(y, dtype='float', maxlen=maxlen, padding='post', value=-1)

# Expand dimensions to have shape (batch_size, timesteps, features)
padded_X = np.expand_dims(padded_X, axis=-1)
padded_y = np.expand_dims(padded_y, axis=-1)

# Ensure Eager Execution is enabled
tf.config.run_functions_eagerly(True)

# Make a sample LSTM model
model = Sequential()
model.add(Input(shape=(maxlen, 1)))  # Adjust the input shape
model.add(Masking(mask_value=-1.))
model.add(LSTM(n_neurons, return_sequences=True))
model.add(TimeDistributed(Dense(1)))
model.summary()

# Compile the model
model.compile(loss='mean_squared_error', optimizer='adam')

# Train the model
history = model.fit(padded_X, padded_y, epochs=5, verbose=1)

Thanks!


aider should register the commits it does

Issue
if the --no-attribute-author/committer is used, seems like causes this issue:
> /undo
The last commit was not made by aider in this chat session.

To solve this, aider should keep a track of the commits (probably better using the commit ID) on a history file in order to know which ones has been made by aider
Version and model info
No response

Thanks for trying aider and filing this issue.
This bug should be fixed in the latest release.


[Issue]: Dutch National Flag Algorithm

Description
Given an array of 0's, 1's, and 2's, the task is to sort this array without using extra space or a sorting algorithm.
Domain
Competitive Programming
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


Add Google docstrings for existing algorithms [WIP]

[x] A2C

Push a commit to relaunch checks

Mark the PR as a draft OR or add a tag '[WIP]' if you're stlil working on it

Should I close this?
Else please resolve the merge conflicts

Reopen if you're still working on it


ENH: bounds function

Shapely has a bounds attribute, implemented at:
https://github.com/Toblerity/Shapely/blob/803b21bb87f3f76ce25bec4e015b46038c0df1f4/shapely/coords.py#L159-L186
I personally find this a useful operation that I use regularly. You can already get the coordinates per geometry and calculate the min/max of this, but doing that on an array of geometries still requires some manual looping.
Something to add to pygeos?

Postgis seems to have something related: ST_Extent (https://postgis.net/docs/ST_Extent.html). But this returns a "BOX" object instead of the 4 values as bounds does. And it is also an aggregation function (so it typically creates the bounding box of multiple geometries, I suppose, similarly to the total_bounds in GeoPandas)
The "spatial" equivalent is actually the pygeos.envelope function, which gives you the polygon representation of this bounding box. But from there it is still not that straightforward to get the 4 bounding coordinates.

The GEOS C-API exposes Xmin, Xmax, Ymin, Ymax functions since version 3.7. That is probably what we need. I do wonder if performing the envelope and getting the values from the coordinate sequence would be more efficient.

As discussed in #69, we would also like a total_bounds function

@caspervdw this appears resolved as of #69, #107

Indeed!


WebpackOptionsValidationError: Invalid configuration object.

Tried both methods of installation... copying files and yo...
Either way I get this error when I run npm start.
`Starting 'start'...
Starting 'clean'...
Finished 'clean' after 0ms
Starting 'appsettings'...
Finished 'appsettings' after 0ms
WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

configuration has an unknown property 'postcss'. These properties are valid:
object { amd?, bail?, cache?, context?, dependencies?, devServer?, devtool?, entry, externals?, loader?, module?, name?, node?, output?, plugins?, profile?, recordsInputPath?, recordsOutputPath?, recordsPath?, resolve?, resolveLoader?, stats?, target?, watch?, watchOptions? }
For typos: please correct them.
For loader options: webpack 2 no longer allows custom properties in configuration.
Loaders should be updated to allow passing options via loader options in module.rules.
Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:
plugins: {
new webpack.LoaderOptionsPlugin({
// test: /.xxx$/, // may apply this only for some modules
options: {
postcss: ...
}
})
}
at webpack (C:\Users\simon\REACT\ASPNET CORE REACT REDUX STARTER KIT\STARTER KIT CLONE\node_modules\webpack\lib\webpack.js:16:9)
at resolve (C:\Users\simon\REACT\ASPNET CORE REACT REDUX STARTER KIT\STARTER KIT CLONE\run.js:159:24)
at Promise.resolve.then.then.then (C:\Users\simon\REACT\ASPNET CORE REACT REDUX STARTER KIT\STARTER KIT CLONE\run.js:156:17)

I have what I would consider a bog standard windows 10 system. I am using node.js v 6.6.0 and npm 3.10.8
I have no idea how to fix this...

This issue is the same as this one:
https://github.com/kriasoft/aspnet-starter-kit/issues/21
You'll need to install an earlier version of Webpack, or fix the references to postcss in webpack.js

I Dropped back to Webpack 1.12.9 and no longer got the error
package.json
"webpack": "1.12.9",

I have this issue as well but I'm still new to all of this so I have no idea how to drop back to Webpack. Going to see what I can figure out but I may not have the time to.


[ISSUE #6100] Modify RemoteAddressStrategyFactory integer type

Make sure set the target branch to develop
What is the purpose of the change
close #6110
Brief changelog
Modify RemoteAddressStrategyFactory integer type
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Codecov Report

Merging #6111 (d9d7151) into develop (975b4f1) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##             develop    #6111      +/-   ##
=============================================
- Coverage      43.23%   43.21%   -0.02%
- Complexity      8846     8854       +8
=============================================
  Files           1094     1094
  Lines          77137    77137
  Branches       10057    10057
=============================================
- Hits           33350    33338      -12
- Misses         39623    39633      +10
- Partials        4164     4166       +2

Impacted Files
Coverage Δ

...cketmq/acl/plain/RemoteAddressStrategyFactory.java
89.51% <100.00%> (ø)

.../apache/rocketmq/store/ha/io/AbstractHAReader.java
79.31% <0.00%> (-10.35%)
:arrow_down:

...org/apache/rocketmq/common/stats/StatsItemSet.java
41.79% <0.00%> (-8.96%)
:arrow_down:

.../rocketmq/client/producer/RequestFutureHolder.java
81.39% <0.00%> (-6.98%)
:arrow_down:

.../org/apache/rocketmq/remoting/netty/TlsHelper.java
71.57% <0.00%> (-6.32%)
:arrow_down:

...ache/rocketmq/common/stats/MomentStatsItemSet.java
39.13% <0.00%> (-4.35%)
:arrow_down:

...cketmq/store/ha/autoswitch/AutoSwitchHAClient.java
74.00% <0.00%> (-2.53%)
:arrow_down:

...a/org/apache/rocketmq/filter/util/BloomFilter.java
60.43% <0.00%> (-2.20%)
:arrow_down:

...he/rocketmq/client/impl/consumer/ProcessQueue.java
59.91% <0.00%> (-1.77%)
:arrow_down:

...rg/apache/rocketmq/remoting/netty/NettyLogger.java
13.60% <0.00%> (-1.37%)
:arrow_down:

... and 19 more

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


ESP32 as I2S Slave for a standard "DSP" I2S audio stream (IDFGH-4995)

Problem
Most of the audio codec chips are capable to work in I2S Master mode (the ESP32 is I2S Slave) and they can provide output and expect input data in so called "DSP" (or "multichannel") stream as follows:

It is unclear how the ESP32 should be properly configured of whatever is currently put in the ESP-IDP I2S enumerations:

How a populated structure of i2s_config_t type should look like on passing it to i2s_driver_install() function?
There is no DSP or multichannel option clearly visible...
Solution
Separate enumeration entry for "DSP" stream.
Alternatives
Please propose
Additional context
In ESP-ADF there is some thoughts about DSP operations but no implementation is done in their FW most probably because of lack of I2S functionality about I2S DSP mode.
E.g. AUDIO_HAL_I2S_DSP

Shall we have an update or opinion at least here?

Any statement..?


fix bunch of minor bugs

Symbol and Scalar pickling
ConditionalDimension pickling
SubDimension pickling
ConditionalDimension usage with symbolic factor

all equipped with tests

Codecov Report

Merging #801 into master will increase coverage by 0.01%.
The diff coverage is 98.03%.

@@            Coverage Diff             @@
##           master     #801      +/-   ##
==========================================
+ Coverage   88.73%   88.75%   +0.01%
==========================================
  Files         104      104
  Lines       11204    11223      +19
  Branches     2211     2210       -1
==========================================
+ Hits         9942     9961      +19
  Misses        979      979
  Partials      283      283

Impacted Files
Coverage Δ

devito/types/constant.py
90.69% <ø> (ø)
:arrow_up:

devito/symbolics/extended_sympy.py
85.35% <100%> (+0.37%)
:arrow_up:

devito/symbolics/queries.py
85.05% <100%> (ø)
:arrow_up:

devito/types/dimension.py
93.15% <100%> (ø)
:arrow_up:

devito/types/basic.py
94.6% <97.22%> (+0.19%)
: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 c889286...22ba49e. Read the comment docs.

merged.


CORE-18000 - Capture the exception thrown by the state manager and abort the current batch of requests

DON'T MERGE THIS PR FOR NOW.