Background process fails Net::OpenTimeout when using SSL/TLS nginx

Here is the issue, It works insecure fine. I try to use a secure with nginx i get this error. I remade new rsa keys for the secrets as well. Im at a loss. I would really like to use it securely but if I cannot i'll have to forgo portus and just use basic registry ( which im really not wanting to do) we need this for a local repo internally.
[Mailer config] Host:     FQDN.xxx.net
[Mailer config] Protocol: https://
[Initialization] Running: 'Registry events', 'Registry synchronization'
Net::OpenTimeout: connection timed out
Exception: Net::OpenTimeout: connection timed out
/srv/Portus/lib/portus/registry_client.rb:182:in `get_page': Something went wrong while fetching the catalog Response: [401] - {"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"registry","Class":"","Name":"catalog","Action":"*"}]}]} (Portus::RegistryClient::RegistryError)
        from /srv/Portus/lib/portus/registry_client.rb:160:in `paged_response'
        from /srv/Portus/lib/portus/registry_client.rb:107:in `catalog'
        from /srv/Portus/lib/portus/background/sync.rb:63:in `block in execute!'
        from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.11/lib/active_record/relation/batches.rb:51:in `block (2 levels) in find_each'
        from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.11/lib/active_record/relation/batches.rb:51:in `each'
        from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.11/lib/active_record/relation/batches.rb:51:in `block in find_each'
        from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.11/lib/active_record/relation/batches.rb:124:in `find_in_batches'
        from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.11/lib/active_record/relation/batches.rb:50:in `find_each'
        from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.11/lib/active_record/querying.rb:9:in `find_each'
        from /srv/Portus/lib/portus/background/sync.rb:62:in `execute!'
        from /srv/Portus/bin/background.rb:58:in `block (2 levels) in <top (required)>'
        from /srv/Portus/bin/background.rb:56:in `each'
        from /srv/Portus/bin/background.rb:56:in `each_with_index'
        from /srv/Portus/bin/background.rb:56:in `block in <top (required)>'
        from /srv/Portus/bin/background.rb:55:in `loop'
        from /srv/Portus/bin/background.rb:55:in `<top (required)>'
        from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/railties-4.2.11/lib/rails/commands/runner.rb:60:in `load'
        from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/railties-4.2.11/lib/rails/commands/runner.rb:60:in `<top (required)>'
        from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/railties-4.2.11/lib/rails/commands/commands_tasks.rb:123:in `require'
        from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/railties-4.2.11/lib/rails/commands/commands_tasks.rb:123:in `require_command!'
        from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/railties-4.2.11/lib/rails/commands/commands_tasks.rb:90:in `runner'
        from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/railties-4.2.11/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
        from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/railties-4.2.11/lib/rails/commands.rb:17:in `<top (required)>'
        from bin/rails:12:in `require'
        from bin/rails:12:in `<main>'
exit status 1

Here is the docker-compose I am using. portus head was not working.
version: "2"

services:
  portus:
    image: opensuse/portus:2.4.3
    environment:
      - PORTUS_MACHINE_FQDN_VALUE=${MACHINE_FQDN}

      # DB. The password for the database should definitely not be here. You are
      # probably better off with Docker Swarm secrets.
      - PORTUS_DB_HOST=db
      - PORTUS_DB_DATABASE=portus_production
      - PORTUS_DB_PASSWORD=${DATABASE_PASSWORD}
      - PORTUS_DB_POOL=5

      # Secrets. It can possibly be handled better with Swarm's secrets.
      - PORTUS_SECRET_KEY_BASE=${SECRET_KEY_BASE}
      - PORTUS_KEY_PATH=/certificates/portus.key
      - PORTUS_PASSWORD=${PORTUS_PASSWORD}

      # SSL
      - PORTUS_PUMA_TLS_KEY=/certificates/portus.key
      - PORTUS_PUMA_TLS_CERT=/certificates/portus.crt

      # NGinx is serving the assets instead of Puma. If you want to change this,
      # uncomment this line.
      - RAILS_SERVE_STATIC_FILES='true'
    ports:
      - 3000:3000
    depends_on:
      - db
    links:
      - db

    volumes:
      - ./secrets:/certificates:ro
      - static:/srv/Portus/public

  background:
    image: opensuse/portus:2.4.3
    depends_on:
      - portus
      - db
    environment:
      # Theoretically not needed, but cconfig's been buggy on this...
      - CCONFIG_PREFIX=PORTUS
      - PORTUS_MACHINE_FQDN_VALUE=${MACHINE_FQDN}

      # DB. The password for the database should definitely not be here. You are
      # probably better off with Docker Swarm secrets.
      - PORTUS_DB_HOST=db
      - PORTUS_DB_DATABASE=portus_production
      - PORTUS_DB_PASSWORD=${DATABASE_PASSWORD}
      - PORTUS_DB_POOL=5

      # Secrets. It can possibly be handled better with Swarm's secrets.
      - PORTUS_SECRET_KEY_BASE=${SECRET_KEY_BASE}
      - PORTUS_KEY_PATH=/certificates/portus.key
      - PORTUS_PASSWORD=${PORTUS_PASSWORD}
      - PORTUS_PUMA_TLS_KEY=/certificates/portus.key
      - PORTUS_PUMA_TLS_CERT=/certificates/portus.crt

      - PORTUS_BACKGROUND=true
    links:
      - db
    volumes:
      - ./secrets:/certificates:ro

  db:
    image: library/mariadb:10.0.23
    command: mysqld --character-set-server=utf8 --collation-server=utf8_unicode_ci --init-connect='SET NAMES UTF8;' --innodb-flush-log-at-trx-commit=0
    environment:
      - MYSQL_DATABASE=portus_production

      # Again, the password shouldn't be handled like this.
      - MYSQL_ROOT_PASSWORD=${DATABASE_PASSWORD}
    volumes:
      - /db_data_test:/var/lib/mysql

  registry:
    image: library/registry:2.6
    command: ["/bin/sh", "/etc/docker/registry/init"]
    environment:
      # Authentication
      REGISTRY_AUTH_TOKEN_REALM: https://${MACHINE_FQDN}/v2/token
      REGISTRY_AUTH_TOKEN_SERVICE: ${MACHINE_FQDN}
      REGISTRY_AUTH_TOKEN_ISSUER: ${MACHINE_FQDN}
      REGISTRY_AUTH_TOKEN_ROOTCERTBUNDLE: /secrets/portus.crt

      # SSL
      REGISTRY_HTTP_TLS_CERTIFICATE: /secrets/portus.crt
      REGISTRY_HTTP_TLS_KEY: /secrets/portus.key

      # Portus endpoint
      REGISTRY_NOTIFICATIONS_ENDPOINTS: >
        - name: portus
          url: https://${MACHINE_FQDN}/v2/webhooks/events
          timeout: 2000ms
          threshold: 5
          backoff: 1s
    volumes:
      - /registry_data/images:/var/lib/registry
      - ./secrets:/secrets:ro
      - ./registry/config.yml:/etc/docker/registry/config.yml:ro
      - ./registry/init:/etc/docker/registry/init:ro
    ports:
      - 5000:5000
      - 5001:5001 # required to access debug service
    links:
      - portus:portus

  nginx:
    image: library/nginx:alpine
    volumes:
      - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
      - ./secrets:/secrets:ro
      - static:/srv/Portus/public:ro
    ports:
      - 8080:80
      - 443:443
    links:
      - registry:registry
      - portus:portus

volumes:
  static:
    driver: local

Ive basically done ever single thing you goign so far as to placing the .crt file in every directory i coudl find online and running the update... I even manually moved it as a pem to the openssl cert folder.... not sure what else to do... it was saying my docker bridge compose network was not known either....
Should this not be run as a container and only bare metal? @mssola


signup: Show realm name in a tooltip on signup page.

This is needed to make sure that user can see the realm name in case it does not fits into the UI and is shown with ellipsis.
Fixes #31676.

Screenshots and screen captures:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Not sure if we should increase the delay here. It is set to 750ms currently,

Feels fine to me in manual testing!

Merged, thanks @sahil839!

Looks great. Thank you!!


3.2 compatibility

Haven't extensively tested, but tests are passing on latest master. You'll need to decide on how to handle branching (a 2.0 branch for 3.1 compat?), and update the travis.yml and README accordingly.

@chillu shall we add PHP 5.6, and maybe instead of testing master, just test 3, 3.1 and 3.2 branches? With semver we don't need to support more than one major version per branch.
We can probably forget about 3.0 for now, but @silverstripe-australia can make a new branch if they want to keep it separate. :D

Rebased, added 5.6 and 3.* builds as suggested, removed master build. Agree that creating a 3.0 compatible branch in this module is probably lower priority.

I've tagged at 2.2.0 to signify the bump of the lower version constraint to 3.1 :D

Yep, not concerned about a 3.0 module compat branch :)


Flatten data cube dimensions

There are sometimes use cases that need to "flatten" (or stack: xarray, pands) data cube dimensions. Right now, VITO uses "apply_dimension" + target_bands as a workaround, but that may not fully be covered through the specification.
We need to check whether we really want to use that approach long-term, it is a bit weird to use a const operation as callback.
The better approach could be to actually define a new process.
This is already required by multiple use cases: SRR2 UC3, SRR3 UC8
It has already been discussed as part of two other issues at least:

https://github.com/Open-EO/openeo-processes/issues/233#issuecomment-862356870
https://github.com/openEOPlatform/architecture-docs/issues/84#issuecomment-929006383

So, the input could be:

x, y, bands, time
x, y, bands
x, y, time
other?

in my opinion the result should have a shape of MxN, resulting from a combination of the available ones in the datacube.
Hence, the process should allow to recombine depending on the user's input.
Practical example:

I train a random forest regressor with NDVI values as target and [B04,B08] as predictors/features.
For training, if the data comes out an aggregate_spatial process has already a MxN shape. (M=number of polygons, N=number of bands). This is possible since aggreate_spatial removes the spatial bands (x,y).
For predicting, the data must have again the MxN shape. No problems if we use again aggregate_spatial. However, if we want to apply the prediction over a raster-cube, we need to flatten the data first.
If the input data to prediction is then x,y, bands (with bands= [B0,B08] for this particular example), we need to flatten it to MxN, with M= x * y and N = 2 (the number of bands).

If the input data has also the time dimensions, we need to allow a result like:

M = x * y * time N = bands
M = x * y N = bands * time (time series regression)

Anyway, we will lose the necessary information for reshaping the output of the machine learning algorithm, so maybe we will also need another process to reshape the output or having a more general reshape process allowing to flatten the data but also reconstruct it following a sample datacube (the data before flattening for instance.)
references:
numpy flatten
https://numpy.org/doc/stable/reference/generated/numpy.ndarray.flatten.html
numpy reshape
https://numpy.org/doc/stable/reference/generated/numpy.reshape.html

Porting over a discussion from #306 - posted by @jdries:

in our case, the flattening has been taken care of by apply_dimension, but it's fine if another process is defined for that (doing the same thing)

We've just checked the process description closely and we believe that the behavior is not covered by the process description of apply_dimension. As far as I've understood, it is that if you have a data cube x,y,t,b with 5 labels in t (as parameter dimension) and 3 labels in b (as parameter target_dimension) that you somehow want to combine b with t (like a matrix multiplication) and end up with 15 labels. That is not covered by the specification as you don't have "read" access to b but simply replace in the target dimension:

The pixel values in the target dimension get replaced by the computed pixel values.

It is possible that I've misunderstood how you envision the flattening approach through apply_dimenesion and it would be good to look at an example. What I found in UC3 used for computeStats doesn't really seem to be flattening and as such the behavior in UC3 seems fine. Having that said, it seems like the better approach to make it possible through a new process right now. In this case, it would also not necessarily be required to generate new labels through the client. The flattening process would be based upon existing implementations in e.g. xarray and should not be too hard to implement then.
cc @edzer

Looking at the example above, we also typically solve that one without flattening.
What we would do is:
cube = (x,y, t, bands)
ndvi = cube.reduce_dimension(dimension='bands',  callback=random_forest_inference)
The random_forest_inference callback then simply gets the 2 band values per pixel and timestep, and predicts the NDVI. Also our more complex cases based on deep learning work like that, no flattening and reshaping is needed.
The big problem lies more with training models, because that is a 'global' operation that can not be split up using the callback approach. On the other hand, the point sampling through aggregate_spatial does solve the problem of 'flattening' the spatial dimensions.

In my opinion, we would need a reshape process that does raster-cube to vector-cube and vice-versa (or two separate processes)
When the input is a raster-cube it flattens the data to a vector-cube:
Input: (x,y,time,band) with shape (M,N,T,B) = (10,20,100,2)
Parameters: "predictor dimension": "bands"
Output: vactor-cube with shape (M * N * T, B) = (20000,2)
Input: (x,y,time,band) with shape (M,N,T,B) = (10,20,100,2)
Parameters: "predictor dimension": "time"
Output: vactor-cube with shape (M * N * B, T) = (400,100)
Input: (x,y,time) with shape (M,N,T) = (10,20,100)
Parameters: "predictor dimension": "time"
Output: vactor-cube with shape (M * N, T) = (200,100)
Input: (x,y,band) with shape (M,N,B) = (10,20,2)
Parameters: "predictor dimension": "time"
Output: vactor-cube with shape (M * N, B) = (200,2)
When the input is a vector-cube it reshapes the data to a raster-cube given a target cube.
It would raise an error if the vector-cube can't be reshaped do to a mismatch.
Using combinations of apply_dimension and reduce_dimension might be difficult to understand for someone with a machine learning background and as we have seen it does not cover all the possible scenarios.

Could it be that we have some confusion on the 'vector-cube' concept?
You seem to be thinking of something like a big matrix. Which is a lot like a generalization of rastercube (in the sense that it doesn't have spatial dimensions).
My idea of the concept is more similar to a 'featurecollection' in GeoJSON. So a cube where spatial dimension is replaced with geometric shapes (polygons/lines/points/...) and that can otherwise still have a time and bands dimension.

Could it be that we have some confusion on the 'vector-cube' concept?

I tried to clarify some of this in #68.

Could it be that we have some confusion on the 'vector-cube' concept? You seem to be thinking of something like a big matrix. Which is a lot like a generalization of rastercube (in the sense that it doesn't have spatial dimensions). My idea of the concept is more similar to a 'featurecollection' in GeoJSON. So a cube where spatial dimension is replaced with geometric shapes (polygons/lines/points/...) and that can otherwise still have a time and bands dimension.

That's also fine, but to train a ML model we do need that this vector-cube or how we want to call it, has just 2 dimensions. So it could also have the structure that you mentioned, where each row has also the (x,y) or polygon property that generated it, but we still need a process that reshapes back and forth the data.

Not sure if I agree. To train an ML model (and also for inference), we need to provide a matrix to the model, where the shape of that matrix indeed depends on the model.
Then it seems that we now have two proposals to achieve that:

Reshaping the entire raster cube into a more general matrix
Reusing existing callback based methods (reduce_dimension, apply_neighborhood,...)

My biggest problems with the reshaping proposal:

If implemented literally, it implies large data reorganization inside the backend, for no clear reason
It consists of a couple of steps: reshape -> apply ML model -> reshape back to rastercube shape, with some kind of target cube (where does that come from?)
Backend specific, but I would need to design entirely new datastructures to work with this new type of cubes. (It's basically a 3rd type, next to raster, and geometry)

The main argument for reusing the existing processes is simply that we have them already, and we have to teach our users anyway how to work with them. I agree that these are not the most simple processes, but for EO researcher that have ambitions to use machine learning and probably deep learning as well, this should be will within their skillset.


Converting Point2D on Plane to Point3D

@theo-armour
as discussed we adjusted definition of a Plane and now includes AxisX
    "PanelType": "WallInternal",
    "PlanarBoundary3D": {
      "_type": "SAM.Analytical.PlanarBoundary3D,SAM.Analytical",
      "Guid": "286e5b5f-8875-412a-ad5a-574c8d32569a",
      "Plane": {
        "_type": "SAM.Geometry.Spatial.Plane,SAM.Geometry",
        "Origin": {
          "_type": "SAM.Geometry.Spatial.Point3D,SAM.Geometry",
          "X": 5.0000000000000036,
          "Y": 3.9999999999999849,
          "Z": 2.25
        },
        "Normal": {
          "_type": "SAM.Geometry.Spatial.Vector3D,SAM.Geometry",
          "X": 3.2862601528904635E-15,
          "Y": 1.0,
          "Z": -6.579099405186094E-17
        },
        "AxisX": {
          "_type": "SAM.Geometry.Spatial.Vector3D,SAM.Geometry",
          "X": 1.0,
          "Y": -3.2862601528904635E-15,
          "Z": 0.0
        }

so please adjust code to include way to translate Point2D into Point3D... please let us know if you need anything else new sample JSON added here
public static Point3D Convert(this Point3D origin, Vector3D normal, Planar.Point2D point2D, Vector3D axisX = null)
		{
			if (normal == null || origin == null || point2D == null)
				return null;

			Vector3D normal_Temp = normal.Unit;
			Vector3D axisX_Temp = axisX;

			if (axisX_Temp == null)
			{
				if (normal_Temp.X == 0 && normal_Temp.Y == 0)
					normal_Temp = new Vector3D(1, 0, 0);
				else
					normal_Temp = new Vector3D(normal_Temp.Y, -normal_Temp.X, 0).Unit;
			}

			Vector3D axisY = new Vector3D((normal_Temp.Y * axisX_Temp.Z) - (normal_Temp.Z * axisX_Temp.Y), (normal_Temp.Z * axisX_Temp.X) - (normal_Temp.X * axisX_Temp.Z), (normal_Temp.X * axisX_Temp.Y) - (normal_Temp.Y * axisX_Temp.X));

			Vector3D u = new Vector3D(axisX_Temp.X * point2D.X, axisX_Temp.Y * point2D.X, axisX_Temp.Z * point2D.X);
			Vector3D v = new Vector3D(axisY.X * point2D.Y, axisY.Y * point2D.Y, axisY.Z * point2D.Y);

			return new Point3D(origin.X + u.X + v.X, origin.Y + u.Y + v.Y, origin.Z + u.Z + v.Z);
		}

@michaldengusiak
done

@theo-armour  great! we have now correct geometry recognition


tests/storage-vm: combine volume.block.filesystem test with volume.size

While in there, I noticed that all the block based storage drivers were also testing that the config.mount disk was using ext4 rather than xfs when the pool was configured to use this later FS. As such, I introduced an equivalent variation for ZFS when used in volume.zfs.block_mode=true.


Changed exhibition title for-loop

guide/portuguese/csharp/for-loop

[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

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


Unable to Send Coins via Minting on PBaaS Chain (solidus.MDX)

Steps to reproduce:

Create a PBaaS chain (we have created MDX)
Setup a currency on that chain (we have created Solidus on MDX) - this was completed on Verus Desktop GUI (v0.7.3-8 on Mac Mac 10.13.6)
Using the Verus Desktop GUI (now running v0.7.3-9 on Mac 10.13.6 ), transfer the Public Address to another Wallet (recipient)
Confirm in Verus Desktop GUI that the currencyID is in the recipient wallet (Verus Desktop v0.7.3-8 on Windows 10)
Observe currency identity also stayed on original Mac Wallet (? query whether this was because revocation and recovery remained in that wallet)
On recipient Verus Desktop, attempt to Send Currency using "Fund this transaction by minting new coins." but get error "Failed to build transaction: Native fees do not match builder"
On original Verus Desktop on Mac, attempt to send currency using "Fund this transaction by minting new coins." results in error "Insufficient funds in UTXOs found for taddr from address."

We have screenshots available but for some reason GitHub edit will not allow me to attach screen shots to this ticket.


Getting an exception when running gauge specs

Expected behavior
I should be able to run specs from command line
Actual behavior
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x20 pc=0x401c54]

goroutine 1 [running]:
panic(0xa77040, 0xc082008070)
        /usr/local/Cellar/go/1.6/libexec/src/runtime/panic.go:464 +0x3f4
main.main()
        /Users/stechops/Library/Application Support/Go Agent/pipelines/Gauge-Nightly/gauge.go:152 +0xc14

Steps to reproduce

Run gauge specs in the test project
test.zip

Gauge version
Gauge version: 0.4.1.nightly-2016-06-08

Plugins
-------
csharp (0.8.0.nightly-2016-06-08)
html-report (2.1.1.nightly-2016-06-02)
java (0.4.1.nightly-2016-05-30)
ruby (0.2.0)
xml-report (0.1.2.nightly-2016-05-03)

I got the same error. Using ruby and running on MacOs.
Gauge version
Gauge version: 0.5.0

Plugins
-------
html-report (2.1.0)
ruby (0.2.1)
spectacle (0.0.1)

@karolxavierleite @sguptatw  I had this problem too, on both Ubuntu and Alpine.
Appears to be fixed in 0.5.1 nightly build - https://bintray.com/gauge/Gauge/Nightly/

This issue is fixed in the latest release 0.6.0. @sguptatw please close this issue after verifying.


Trying to start the debugger two times in a row ends in a "endless loop"

VSCode Version: Code 1.7.1 (02611b40b24c9df2726ad8b33f5ef5f67ac30b44, 2016-11-03T13:53:14.822Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

Go
lukehoban
0.6.48

There seems to be a problem with the debugger.
Once you try to start it two times it starts and will nerver end.
Note to the "Steps to Reproduce":
I do not do the exact same thing. In reality i try to resolve my bug between steps 2 and 3.
So i change and save one or more files. But the process in "Steps to Reprocuce" is the simplest way to reproduce.

Steps to Reproduce:

Produce a compile error in your golang project
Try to start the debugger. It will output a error in the DEBUG CONSOLE and nothing else happens.
Try to start the debugger a second time. The "Debug Toolbar" appears. The Progress blue line above the side bar is "spinning" and clicking on the stop symbol on the debug toolbar doesn't do anything

This seems like an issue with our go extension, thus forwarding to @ramya-rao-a to try to reproduce. Since I do not get this with node debugging

This issue was moved to Microsoft/vscode-go#770


Describe your problem

Is that the same issue #3570  ?

YES,thanks,Should we fix it, or should ragflow technicians fix the API


RHINENG-10418 workspaces feature flag

PR Title :boom:
Jira: https://issues.redhat.com/browse/RHINENG-10418
Feel free to remove this section from PR description once done.
Why do we need this change? :thought_balloon:
Please include the context of this change here.
Documentation requires update? :memo:

[ ] Yes
[ ] No

Security Checklist :lock:
Upon raising this PR please go through RedHatInsights/secure-coding-checklist
:guardsman: Checklist :dart:

[ ] Bugfix
[ ] New Feature
[ ] Refactor
[ ] Unittests Added
[ ] DRY code
[ ] Dependency Added

Additional :mega:
Feel free to add any other relevant details such as links, notes, screenshots, here.

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

Please upload report for BASE (main@369b56b). Learn more about missing BASE report.

:exclamation: Current head 99285f9 differs from pull request most recent head bd22cb2
Please upload reports for the commit bd22cb2 to get more accurate results.

Files
Patch %
Lines

src/Routes/RosPage/RosPage.js
0.00%
4 Missing and 1 partial :warning:

src/Components/Reports/DownloadReport.js
0.00%
2 Missing and 1 partial :warning:

src/Components/Reports/SystemsPDFReport.js
0.00%
3 Missing :warning:

src/Components/RosTable/RenderColumn.js
25.00%
3 Missing :warning:

src/Components/Reports/Common/SystemsTablePage.js
80.00%
1 Missing :warning:

src/Components/Reports/Util.js
91.66%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #344   +/-   ##
=======================================
  Coverage        ?   19.65%
=======================================
  Files           ?       45
  Lines           ?      987
  Branches        ?      194
=======================================
  Hits            ?      194
  Misses          ?      741
  Partials        ?       52

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


Add support for environment detection to VSCode

This is probably not relevant for us yet, but I want to track contributing this.
e.g.

https://github.com/microsoft/vscode-python/pull/15765
https://github.com/microsoft/vscode-python/pull/22779

Actually it would be really appreciated feature, I have been already struggling with this

I am noticing that uv's .venv folder is not detected by vscode.
Oddly, the .venv folder produced by poetry and pdm do get detected and auto-activated within the integrated terminal of vscode.

Huh, interesting. There's nothing special about our .venv!

I just try it with VSCodium but it does auto-activated the venv.

Would be very useful.
is there any workaround for this?

I also had issues on linux with that, on my side the problem was that I installed vscode/vscodium from a flatpak.
Installing from a regular package manager solved the issues. I just select the python interpreter from vscode and it detects all the installed packages in the .venv folder.
However I am unable to create from vscode a .venv environemnt using uv.

What might be nice is smart handling of script dependency metadata.


Change API in v3

Using font-family is not necessary most of the time; the module could become leaner and with less restrictions (e.g. object-fit has to always live with object-position inside font-family) by just storing the values inside background-size and background-position
Example
img {
    object-fit: fill; background-size: 100% 100%;
}
img {
    object-fit: cover; background-size: cover;
    object-position: bottom; background-position: bottom;
}

Table with equivalent values for object-fit

Native
For polyfill

object-fit: cover
background-size: cover

object-fit: contain
background-size: contain

object-fit: fill
background-size: 100% 100%

object-fit: none
background-size: auto

object-fit: scale-down
font-family: 'object-fit: scale-down'

Table with equivalent values for object-position

Native
For polyfill

object-position: <any>
background-position: <any>

object-position would be pretty straightforward as it's a 1:1 match with background-position

This change would require more documentation and more code. The good part is the object-position»background-position conversion since it's straightforward to document and enables changing the position in different selectors without having to re-set object-fit

Nevermind. Too complex to explain/understand, probably.


The generation of disparity map

Could you share the code of generating disparity map from depth map ？

The formula that relates depth to disparity is given by:
depth = focal * baseline / disparity


HMR not working for CSS Modules

Reproduction: https://github.com/brillout/vite-plugin-ssr/issues/261#issuecomment-1708561492

It seems like the problem is that Vite isn't setting *.module.css?direct modules to be an HMR boundary (i.e. isSelfAccepting), therefore triggering a full reload.
> npm run server:dev

> server:dev
> node ./server

Server running at http://localhost:3000
4:59:32 PM [vite-plugin-ssr][request(1)] HTTP request: /
4:59:33 PM [vite-plugin-ssr][request(1)] HTTP response / 200
node.id /home/rom/tmp/vite-plugin-ssr-mvp/pages/index/test.module.css
node.isSelfAccepting false
node.id /home/rom/tmp/vite-plugin-ssr-mvp/pages/index/index.page.jsx
node.isSelfAccepting true
mod.id /home/rom/tmp/vite-plugin-ssr-mvp/pages/index/test.module.css
hasDeadEnd false
node.id /home/rom/tmp/vite-plugin-ssr-mvp/pages/index/test.module.css?direct
node.isSelfAccepting false
No importer -> no HMR boundary found
mod.id /home/rom/tmp/vite-plugin-ssr-mvp/pages/index/test.module.css?direct
hasDeadEnd true
needFullReload true
5:00:08 PM [vite] page reload pages/index/test.module.css
5:00:08 PM [vite-plugin-ssr][request(2)] HTTP request: /
5:00:08 PM [vite-plugin-ssr][request(2)] HTTP response / 200
node.id /home/rom/tmp/vite-plugin-ssr-mvp/renderer/PageShell.css
node.isSelfAccepting true
mod.id /home/rom/tmp/vite-plugin-ssr-mvp/renderer/PageShell.css
hasDeadEnd false
node.id /home/rom/tmp/vite-plugin-ssr-mvp/renderer/PageShell.css?direct
node.isSelfAccepting true
mod.id /home/rom/tmp/vite-plugin-ssr-mvp/renderer/PageShell.css?direct
hasDeadEnd false
needFullReload false
5:00:24 PM [vite] hmr update /renderer/PageShell.css, /renderer/PageShell.css?direct

The interesting logs showing what I believe to be the issue:
node.id /home/rom/tmp/vite-plugin-ssr-mvp/pages/index/test.module.css?direct
node.isSelfAccepting false
...
node.id /home/rom/tmp/vite-plugin-ssr-mvp/renderer/PageShell.css?direct
node.isSelfAccepting true

Closing as it seems to be a Vite bug.
@wxin627 If you're up for it then dig into this file, I suspect the issue to be somewhere in there.

got it, thanks!

Is https://github.com/vitejs/vite/pull/16018 related?

@brillout I think this is the same issue https://github.com/vitejs/vite/issues/16074 and in the issue they say:

This is fixed by https://github.com/vitejs/vite/pull/16018, but wanted to file it for tracking purposes since this seems like a pretty major issue that wasn't reported.

So, Yes I think it is related. I asked for clarification.
Do you think a possible workaround for this issue would be to completly disabling server rendering in dev mode? Would this be possible using vike?

@brillout So it seems Vite has released a 2nd party plugin to fix the issue, https://github.com/privatenumber/vite-css-modules I am trying to get it to work with Vike, but so far no luck. Maybe you have a minute to investigate if this is something vike would need to incorporate at a deeper level? Also see this comment.

I got a notification on Vite PR comment, so I'm checking in here.
As brillout wrote in https://github.com/vikejs/vike/issues/1127#issuecomment-1725840225, this is due to non-self-accepting css module and the specific usage of ?direct. I've seen a same issue on my framework and also saw sveltekit has the same issue https://github.com/sveltejs/kit/issues/10905 (though they use ?inline instead of ?direct).
I'm not sure if it's fair to say Vite's bug, but it's certainly a Vite SSR limitation where frameworks need to resort to ?xxx to get CSS on server side.
The workaround I experimented on my framework https://github.com/hi-ogawa/vite-plugins/pull/346 is to filter out ?direct module from handleHotUpdate hook. It would look like this:
const config: UserConfig = {
  plugins: [
    {
      name: "hack-css-module-hmr",
      handleHotUpdate(ctx) {
        // prevent full reload due to non self-accepting css module.
        // here only "?direct" module should be filtered out as it doesn't have a parent module.
        if (ctx.file.includes("module.css")) {
          return ctx.modules.filter((m) => !m.id?.includes("?direct"))
        }
      },
    },
    react(),
    vike(),
  ]
}

@hi-ogawa Thank you for charming in here. I tested the code snippet here https://github.com/snake-py/vike-css-module-hmr and it works. @brillout maybe this would be something we can put into Vike?
const fileEndings = [....];
    {
      name: "hack-css-module-hmr",
      handleHotUpdate(ctx) {
        // prevent full reload due to non self-accepting css module.
        // here only "?direct" module should be filtered out as it doesn't have a parent module.
        if (ctx.file.includes("module") && fileEndings.some((ending)=>ctx.file.endsWith(ending)) ) {
          return ctx.modules.filter((m) => !m.id?.includes("?direct"))
        }
      },
    },

@hi-ogawa Thank you for chiming in.
@snake-py Done and pre-released as 0.4.188-commit-373ae21.

@brillout I tested the new tag here https://github.com/snake-py/vike-css-module-hmr and it does not work, anything I am doing wrong here?

"vike": "0.4.188-commit-373ae21" => remove the ^. (Btw. I ain't forgetting your eject PR, I'll get back to it once I'm done with my current priorities.)


How to pre fill the acroform fields

Configuration:

Web browser and its version: Chrome 84.0
Operating system and its version: Catalina 10.15.3
PDF.js version: 2.4.456
Is a browser extension: No
I have collected some data from the user using HTML forms and I need to fill those data to acro form fields and need to save the PDF.

You could use:
https://github.com/mozilla/pdf.js/blob/master/src/display/api.js#L877

@calixteman
in what structure I need to pass the JSON data to saveDocument method? is there any example for this?

You indeed need to fill the annotationStorage and call saveDocument. There is no example for that; you'll have to build it yourself.

Hi, I am trying to pre fill the acroform fields using annotationStorage and by calling saveDocument(annotationStorage). But PDFDocumentProxy will always get empty annotationStorage, even though I add values to annotationStorage . I have tried using promise, but the storage will always be empty. I am trying to saveDocument in side loadingTask promise. Using sample code provided in Acroforms example.
Am I doing anything wrong here, could you please suggest how to achieve pre filling field values in acroforms.
Thanks

Do you find a solution?


Unauthenticated request to APPSEC

Hello,
I'm trying to setup multi-server configuration with https connection between machines. Right now there two VMs (LAPI server and NPMplus+Firewall Bouncer). Everything works as intended until https is used. With https in-use AppSec stops working with error AppSecCheck(): Unauthenticated request to APPSEC
Sorry for bad English 😅

what do you mean with https is used?


Feature: Adding Icons

Feature description

Instead of writing Play and Pause on button, we can add icon of play and pause button. It will look more attractive to people.
Hey, @SauravMukherjee44
Please assign me with this as  an issue.
Thanks!
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Go for it! For support join our discord community: https://discord.com/servers/codein-community-831388874118660156

@SauravMukherjee44 plzz assign me this issue


"::: moniker range" appears in content

Search for ::: moniker range in the page above.

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

ID: 9ffebdc8-521c-44b5-cde4-4abdc1bd6f18
Version Independent ID: dc0effda-6d93-62aa-64c5-4e6f283b0826
Content: Build variables
Content Source: docs/build-release/concepts/definitions/build/variables.md
Service: unspecified
Product: devops
GitHub Login: @andyjlewis
Microsoft Alias: alewis

Thank you for reporting this. Fixed


Add Stream Parser Variants

Changes

Create different variants for StreamParser that work in browser and in node environments

Named BrowserStreamParser and NodeStreamParser respectively

Create abstract StreamParser class to contain shared implementation

Both StreamParser variants are subclasses on this abstract class instead of Parser

Add Unit Tests for StreamParser and NodeStreamParser

BrowserStreamParser test are not added since we aren't testing in a browser environment yet
Once karma is setup, we can finish this last unit test

Split Top Level Exports

Now there are two exports used based on the environment
This is a temporary change and will be updated to allow proper tree shaking

Start linting test files

Should prevent bugs when writing tests

merging...


NotYetConnectedException from write to connected channel

Simplified code:
public static final EventLoop LOOP = Utils.eventLoopGroup(1, "").next();

...

Promise<Channel> p = LOOP.newPromise();

new Bootstrap()
                .group(LOOP)
                .channel(Utils.clientSocketChannelClass())
                .option(ChannelOption.AUTO_READ, true)
                .option(ChannelOption.RCVBUF_ALLOCATOR, new FixedRecvByteBufAllocator(16384))
                .option(ChannelOption.SO_REUSEADDR, true)
                .option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 1000)
                .handler(new ChannelInitializer<Channel>() {
                    @Override
                    protected void initChannel(Channel socketChannel) throws Exception {
                        // initialize pipeline with HttpClientCodec and a few others
                    }

                    @Override
                    public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
                        p.tryFailure(cause);
                    }
                })
                .connect(address)
                .addListener((ChannelFuture conn) -> {
                    conn.channel().writeAndFlush(request).addListener(f -> {
                        if (f.isSuccess()) {
                            p.trySuccess(conn.channel());
                        } else {
                            p.tryFailure(f.cause());
                        }
                    });
                });

return p;

This is called a few times a second: an HTTP request is made, the response received, and the connection is closed.  However, after 5-20 minutes, the write will fail with a NotYetConnectedException, which doesn't seem like it should be possible.  Is there some event I need to wait for, and if so, how do I wait for it?

@ztellman which netty version ?

@ztellman also can you include the stacktrace ?

Sorry, left a few details out.  Version is 4.1.0.Final.  Some information on my environment:
> uname -a
Darwin aztlan.local 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64

> java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

I added in a workaround once I identified that the writes were failing, and didn't save the errors I saw earlier.  Currently trying to reproduce again, I'll update once I have the trace.

@ztellman ok thanks... keep me posted.

@ztellman ping :)

Hi, sorry for the delay in updating the issue.  I've been out sick pretty much since I reported the issue, and my attempts to reproduce the issue in the last few days haven't met with any success.  The code where the exception was thrown isn't reflected in source control, and at this point I'm starting to think I actually did write to the channel before it was connected (maybe in the ChannelInitializer) and my "workaround" for this bug just fixed my mistake.  At this point I'd be happy to close the issue, and reopen it if I can actually put together a reproducing case.
Thoughts?

Sounds good... closing for nw


Run selection/active file in dedicated terminal action

The Python extension is getting a command to run a Python file in a dedicated terminal, should we add this for the general terminal as well?
cc @karrtikr

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


[Grammar] README.md grammatical fix

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Bug fix
[x] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
In the README.md file of this project, it gives instructions on not putting the file in System32. However, it uses e.g. instead of i.e. to symbolise this, and as such, could cause confusion as it looks to be providing an example.
i.e. should be used instead of e.g.
e.g. -> as an example, don't put the file in System32
i.e. -> in other words, don't put the file in System32

%SYSTEMROOT% is not always C:\Windows, so technically e.g. is correct


Ghosts need to be able to orbit/follow entities

Description
Orbiting visual effect doesnt need to be implemented immediately, but the following does

dupe of #1727


Formatting gets weird on iPhone

Bug Report
I found a problem on http://curriculum.learnersguild.org/phases/3/
The links to "view on github", "improve this page", etc are on top of "phase 3" when I'm looking at it on my iPhone SE. I took a screen shot but don't see anywhere to attach a photo in this bug report

This is on my todo list. I'll hopefully get to it soon!
FYI you can drag and drop images into the GitHub Markdown editor.

additional comments: On my iPhone 7 plus I am unable to open the navigation menu throughout the entire app.

should be fixed now


Text inputs are different for image and video generation

Hi Author,
In terms of the following code, does it mean the image generation only accepts the class input, not sentence/description input like an sentence? If not, I think the self.y_embedder should be the same as TextEmbedder(path=text_encoder, hidden_size=hidden_size) for text-based application. Thanks
    if self.use_video:
        self.x_embedder = PatchEmbed3D(patch_size, in_channels, embed_dim=hidden_size)
        self.t_embedder = TimestepEmbedder(hidden_size)
        self.y_embedder = TextEmbedder(path=text_encoder, hidden_size=hidden_size)
        self.num_patches = np.prod([input_size[i] // patch_size[i] for i in range(3)])
    else:
        self.x_embedder = PatchEmbed(input_size, patch_size, in_channels, hidden_size, bias=True)
        self.t_embedder = TimestepEmbedder(hidden_size)
        self.y_embedder = LabelEmbedder(num_classes, hidden_size, class_dropout_prob)
        self.num_patches = self.x_embedder.num_patches

we currently only support label conditioned image generation and text conditioned video generation

thanks


feat(ts) refactor to use typescript

Converts project to Typescript. When a type was unknown I have used a type alias type TODO = any so that it is obvious that it would be preferable to update in the future. I also did not add type definitions for kongponents.js or PieChart.js because of the overwhelming nature of their errors and also because Kongponents should have their own lib level type. This means that you can continue to use js files (not coercing users to use .ts) but I think that it would be better in the future to resolve all .js files and remove allowJS in tsconfig.json. This would help with contributors not accidentally checking in untyped js instead of ts files. Also, I did not convert all

Woaaaahhhhh!!!
can't wait for this! 🚀

Thank you @darrenjennings for working on this. Could you rebase, as I would love to have it merged?

Thank you @darrenjennings for working on this. Could you rebase, as I would love to have it merged?

@bartsmykla done!


test_kernel_attributes test is not correct

OpenCL spec (https://www.khronos.org/registry/OpenCL/specs/3.0-unified/html/OpenCL_API.html#CL_KERNEL_ATTRIBUTES): For kernels not created from OpenCL C source and the clCreateProgramWithSource API call the string returned from this query will be empty.
But in test_kernel_attributes test, it read from bc binary and expect to get kernel attribute, which is not consistent with OpenCL spec. Related test code:
static bool
test_kernel_attributes(cl_device_id device, cl_uint width, const char *folder)
{
...
get_bc_file_path(folder, "kernel_attributes", bc_file_path, width);
clProgramWrapper bcprog = create_program_from_bc(context, bc_file_path);
...
// Querying the kernel for its attributes.
kernel = create_kernel_helper(bcprog, "test");
cl_int err_code = clGetKernelInfo(kernel, CL_KERNEL_ATTRIBUTES, sizeof(attributes), attributes, &res_size);
...
// Building the expected attributes vector.
std::vectorstd::string expected;
expected.push_back(std::string("work_group_size_hint(64,1,1)"));
expected.push_back(std::string("vec_type_hint(float4)"));
Please have a check. Thanks.

Hey, it looks like we've hit this issue also.
As far as I can tell all paths through the test_kernel_attributes test get their program from a clCreateProgramWithBinary call: https://github.com/KhronosGroup/OpenCL-CTS/blob/master/test_conformance/spir/run_services.cpp#L193. So, I'm wondering whether based on the spec wording:

For kernels not created from OpenCL C source and the clCreateProgramWithSource API call the string returned from this query will be empty.

whether this test should just be removed?

Or should we update test to read from .cl source file?

Relevant comments on what CL_KERNEL_ATTRIBUTES does for SPIR on current implementations:

https://github.com/KhronosGroup/OpenCL-CTS/pull/1297#issuecomment-896124934
https://github.com/KhronosGroup/OpenCL-CTS/pull/1297#issuecomment-896870116


Auto route issues

Uses a cloud run instance running a server that is able to make predictions from issue text. You can find out more about the cloud run instance in the repo variables PREDICT_ENDPOINT. I've tested this locally by hitting the endpoint on the cloud run instance.
Few things to note:

We will only auto route issues that have a probability of predicted class is >= 0.7.
Google Auth is required in order to authenticate predict requests to the server
We'll store all these auto routed issues in a db so that in a few months, we can write a script to check how many of the issues are actually routed correctly. This can be done by comparing the predicted product area and the final product area on an issue.

GCP setup for the server is not productionalized, but wanted to get something out to see if it's working before working on that a bit more.

Is there any way to enable this on a subset of repos, or with a higher confidence to start? I worry that it will end up producing too much noise, "training" folks to ignore it in the manner we discussed yesterday. What if we picked a small number of canary repos, and set confidence to like 0.85 or 0.9? It probably wouldn't make too many auto-routings, but that will give us a small cohort to get feedback on.

Is there any way to enable this on a subset of repos, or with a higher confidence to start? I worry that it will end up producing too much noise, "training" folks to ignore it in the manner we discussed yesterday.

This will only auto route on sentry and sentry-docs. So, I don't think we can really get a subset of repos smaller than this.

What if we picked a small number of canary repos, and set confidence to like 0.85 or 0.9? It probably wouldn't make too many auto-routings, but that will give us a small cohort to get feedback on.

I'm open to raising the confidence and getting the feedback on the auto-routings from those issues. I'll raise it to 0.9, and we can then lower the threshold based on the results we see.


CE template with revisions

@Alan-Cha @sriumcp is this PR still relevant? It is very old. It predates v0.9.


Bad escape for "code" in launch.json for python + remote linux setup

Does this issue occur when all extensions are disabled?: NA
In Window's python, the following launch.json snippet works. But, in linux, you need to run remote extensions.

Version: 1.67.1 (user setup)
Commit: da15b6fd3ef856477bf6f4fb29ba1b7af717770d
Date: 2022-05-06T12:37:03.389Z
Electron: 17.4.1
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042
Steps to Reproduce:

Get into any remote linux host
Add this snippet to launch.json

{
            "name": "demo bug",
            "type": "python",
            "request": "launch",
            "code":  "from json import loads; loads('123')",
            "console": "integratedTerminal"
        }

Run it, and get following result, where the code section being escaped improperly

cd xxx ; /usr/bin/env xxx/venv/bin/python xxx/.vscode-server/extensions/ms-python.python-2022.6.1/pythonFiles/lib/python/debugpy/launcher 39687 -- -c "from json import loads; loads\(\'123\'\)"
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "xxx/.vscode-server/extensions/ms-python.python-2022.6.1/pythonFiles/lib/python/debugpy/__main__.py", line 45, in <module>
    cli.main()
  File "xxx/.vscode-server/extensions/ms-python.python-2022.6.1/pythonFiles/lib/python/debugpy/../debugpy/server/cli.py", line 444, in main
    run()
  File "xxx/.vscode-server/extensions/ms-python.python-2022.6.1/pythonFiles/lib/python/debugpy/../debugpy/server/cli.py", line 337, in run_code
    code = compile(options.target, str("<string>"), str("exec"))
  File "<string>", line 1
    from json import loads; loads\(\'123\'\)

Watch out for from json import loads; loads\(\'123\'\) the \( and \)
Note that

It was worked in some old version

Yes. You can check out the document here. This should be python specific option.
https://code.visualstudio.com/docs/python/debugging#_module


Add visualization for historical state data

This PR adds an analysis of state historical data. Since, the quality of data and what data can be collected varies from state to state, some exploratory analysis could help answer some questions (e.g., What data has been collected? How does data vary from state to state? How has this changed over time?)

Sample screenshot. I pitched this in presentations the other day and it seemed like there was some interest. Since, I did the work in with Jupyter/Matplotlib I thought it might be good to capture the work here.


Hybrid ESM / CommonJS package - support both 'import' and 'require'

Since the recent module format change to the d3 packages,
I've been unable to update to the latest version of some of them because I need to be
able to require them in Node, but also to use them with tree-shaking bundlers,
in my packages that are published in both ESM and CJS format.
Would you have any issues with the following approach to restoring the require support and using package.json conditional exports or module/main to support both ES and CommonJS modules?

I made some changes to rollup config to add an additional CommonJS output with the .cjs extension (with a source map for debugging),
and updated package.json to point require to the CJS script while leaving import behavior unchanged.
Older versions of node and -- as far as I know -- the major bundlers should have no problems with this.
I considered just copying the UMD JS file to .cjs, but I wanted to be able to have a source map for the minified script and didn't want to add that to the UMD.
I have forked versions of all or most of the d3 packages with this update applied, but I wanted to submit the PR here first instead of spamming every repo.

Sorry, but I’m not interested in continuing to support anything other than ES modules. You’re welcome to fork D3 and publish your own packages if you disagree with this decision. Thank you.

No worries... I already had to do that for my use case but wanted to share it just in case.
Here's hoping the ES-only future arrives soon and we can all forget about these format issues :)


kernel: Enable IPoIB Connected Mode

Motivation for this change
This PR enables IPoIB Connected Mode in the default kernel config. They are already enabled by default on Arch Linux as well as Debian.
INFINIBAND and INFINIBAND_IPOIB are here for clarity - They along with other required flags are enabled already in the default config. INFINIBAND_IPOIB_CM is the only actual change here.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

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

[x] Fits CONTRIBUTING.md.

Gentle poke. It's important to know that in most cases this does not change the default behavior - The default is still the old Datagram Mode, but it's now possible to switch to Connected Mode (the exceptions are the IB-only Connect-IB cards which default to Connected Mode).

Introduced in 2.6.21, so there's no need for any conditional.
Looks good.


Merge  GO:0036459 thiol-dependent ubiquitinyl hydrolase activity  into GO:0004843 thiol-dependent ubiquitin-specific protease activity

GO:0036459 thiol-dependent ubiquitinyl hydrolase activity
and GO:0004843 thiol-dependent ubiquitin-specific protease activity
seem to only differ by the substrate - ie removal of ubiquitin from a protein (GO:0004843) versus from any molecule ( GO:0036459) - but we cannot find evidence that molecules other than proteins are ubiquitinated (see also https://github.com/geneontology/go-ontology/issues/17398).
I propose to merge and change the label to 'thiol-dependent deubiquitinase activity'
@ValWood @deustp01 @ukemi
OK ?
Thanks, Pascale

I do not see any difference in the  our annotation. Seems to be a completely overlapping set. All thiol-dependent to so is that required in the term name?

'Thiol-dependent' is needed here, as we're trying to disentangle/distinguish the thiol-dependent (cysteine-type) deubiquitinases (which are the majority) from the metal-dependent deubiquitinases (the JAMM family) - see #17398.

Oh. We have at least some of the JAMMs as thiol-dependent
https://www.pombase.org/gene/SPAC31G5.13
and this was community curated...I will ask about that.

As far as I know, all JAMMs are metallopeptidases - see the review mentioned on the linked ticket (PMID:19489724).
I think the problem is/was that we haven't previously had a good term for these metal-dependent deubiquitinases, leading to mis-annotations/assertions  - this is the main point now being addressed in #17398.  May well be more annotations to review depending on how exactly things get fixed...

OK, I will fix PomBase when the terms are in place.

Hi @deustp01
Note that there are Reactome mappings to the term being merged (GO:0036459); those should be moved (automatically I think in the Reactome pipeline) to the new main ID GO:0004843.
Thanks, Pascale

@sjm41 Are the following parents OK ?
+is_a: GO:0008242 ! omega peptidase activity
+is_a: GO:0101005 ! ubiquitinyl hydrolase activity
Thanks, Pascale

Yep, those parents look good to me.


Better Layout

Margin, center, etc..

Partially finished, mobile form need to be responsive

closed by #35


Use more challenging values in slice tests.

This patch trivially alters the values in the CUDA slice tests
with view of ensuring that code is working correctly in arrays
with shapes that are different in each dimension.

Codecov Report

Merging #2731 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2731      +/-   ##
==========================================
+ Coverage   86.27%   86.27%   +<.01%
==========================================
  Files         323      323
  Lines       66543    66540       -3
  Branches     7410     7410
==========================================
- Hits        57407    57405       -2
+ Misses       7946     7945       -1
  Partials     1190     1190


Compound interest ts

Why:

Closes #1374
What's being changed:

Number should be lowercase, not uppercase

@victoriacheng15  , its fixed


Cryptobot unique URL page design

Problem Statement:

This is what it looks like on my 27inch monitor.
My reaction:
THIS IS SO SAD, I WISH TO SEE THE BOT IN FULL GLORY
I actually ended up hacking CSS to see the bot in a bigger view:

Solution

[x] Add a full screen mode.
[ ] Get the height and width of the model viewer to full screen height.
[x] Make it auto-rotate slowly by default.

Get the height and width of the model viewer to full-screen height.

Looks a little wierd😅

@harsh242 yup same page. This page design needs to be thought of.
Instead of vertical tiling where cryptobot is kept on left and its' info in right, should we try horizontal tiling i.e cryptobot info in top and cryptobot in the bottom taking like 60% of the real estate?

Instead of vertical tiling where cryptobot is kept on left and its' info in right, should we try horizontal tiling i.e cryptobot info on top and cryptobot in the bottom taking like 60% of the real estate?

Yeah we can try horizontal tiling keeping the cryptobot first would also suffice, very similar to how foundation does (example here)[https://foundation.app/KatieTorn/lady-sphinx-cu-14665]

Ooh the Foundation link looks good and worth stealing (I checked it on
mobile and this as close to the experience I would want)
On Tue, Mar 30, 2021, 4:52 PM Harsh Badhai @.***> wrote:

Instead of vertical tiling where cryptobot is kept on left and its' info
in right, should we try horizontal tiling i.e cryptobot info on top and
cryptobot in the bottom taking like 60% of the real estate?
Yeah we can try horizontal tiling keeping the cryptobot first would also
suffice, very similar to how foundation does (example here)[
https://foundation.app/KatieTorn/lady-sphinx-cu-14665]
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/buidl-labs/crypto-code-school-inside-tezos/issues/278#issuecomment-810140783,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACONWBRJ6SWNQHGS7ELAK7TTGGX6FANCNFSM4ZHYAKRQ
.

@aayushsaini1 adding aayush to join the conversation


Form validation in accordion

When I fill in the form that is in the accordion, I am unable to check if the form is valid before doing an http request. As far as I know this is because the accordion group is transcluded. I found out there isn't a specific solution to access children from the parent in the controller. Is there a fix for this problem? Below some example code:
Function inside the controller
$scope.submitEmail = function () {
    $scope.submittedEmail = true;

    $scope.$watch('formChangeEmail', function (form) {
        if (form.$valid) {
            $http({
                method: 'POST',
                url: 'https://mydomain.nl/api/user/email',
                data: {
                    new_email: $scope.email.emailNew,
                    repeat_email: $scope.email.emailRepeat,
                    password: $scope.email.password
                }
            }).
                success(function (data) {
                    if (_.has(data, 'incomplete')) {
                        //Some error
                    } else {
                        //Reset input fields
                        form.$setPristine();
                    }
                }).
                error(function () {

                });
        }
    });
};

Part where the accordion directive is used
<accordion>
    <accordion-group heading="Change e-mail">
        <form id="test" name="formChangeEmail" ng-submit="submitEmail()" novalidate="novalidate" class="form-horizontal">

                New e-mail

                    <input id="inputEmail" type="email" name="inputEmailNew" ng-model="email.emailNew" required="required"/>

                        Your new e-mail address is required

                Repeat e-mail

                    <input id="inputRepeatEmail" type="email" name="inputEmailRepeat" ng-model="email.emailRepeat" required="required"/>

                        Repeat your new e-mail address

                Password

                    <input id="inputPassword" type="password" name="inputPassword" ng-model="email.password" required="required"/>

                        Your password is required to change your e-mail address

                <button type="submit" class="btn btn-primary">Wijzigen</button><button type="reset" ng-click="resetEmail()" class="btn">Annuleren</button>

        </form>
    </accordion-group>
</accordion>

READY


Update postBuildScriptVPack.cmd

Added comments to explain the purpose of the script.
Used the setlocal command to limit the scope of environment variable changes made in the script.
Set the ECHO command to on for debugging purposes.
Added the set command to display the values of all environment variables before and after running the script.
Added the endlocal command to restore the environment to its previous state before exiting the script.
Changed the paths and variables to be more descriptive.
Used REM instead of echo to comment out lines in the script.
Used set /p instead of set to prompt the user for input for the buildVersionTxt variable.
Added an error check to handle the case when the BuildVersion.txt file cannot be found.
Used goto commands to handle flow control in the script.

Changes not needed.  Please don't spam us with PRs


Remove the incorrect maintainer file

None of this is accurate
Signed-off-by: Tim Smith<EMAIL_ADDRESS>

might be worth sending a build through buildkite after a rebase before merging.

Adhoc - https://buildkite.com/chef/chef-chef-server-main-omnibus-adhoc/builds/3953


Test rails upgrade

Closes #
Changes proposed in this pull request

Instructions for Reviewers
[All PRs] - Confirm PR template filled
[Feature Branches] - Review code
[Production Merges to main]
    - Check story numbers included
    - Check for debug code
    - Check version

Closed as no longer needed.


Add playbook and instructions for installing Drupal on a single Pi

Many people have asked about installing Drupal 8 (specifically) on a single Raspberry Pi, as they're not necessarily willing to put down $400+ on a full cluster.
I'd like to add a separate playbook, maybe under the testing directory, along with a separate README, which details setting up Drupal on a single Raspberry Pi.

Most everything seems to work fine through the Ansible playbook, with one exception—MySQL starts up (but seems to take a while to write the 64MB innodb log file, since the Pi's disk access is so slow), and by the time MySQL restarts itself as part of the geerlingguy.mysql role, MySQL restart fails with the below log entries:
root@geerpitwo:/var/log# cat mysql.err
150521 17:07:46 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
150521 17:07:46 [Warning] 'THREAD_CONCURRENCY' is deprecated and will be removed in a future release.
150521 17:07:46 [Note] /usr/sbin/mysqld (mysqld 5.5.43-0+deb7u1) starting as process 10551 ...
150521 17:07:46 [Note] Plugin 'FEDERATED' is disabled.
150521 17:07:46 InnoDB: The InnoDB memory heap is disabled
150521 17:07:46 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150521 17:07:46 InnoDB: Compressed tables use zlib 1.2.7
150521 17:07:46 InnoDB: Using Linux native AIO
150521 17:07:47 InnoDB: Initializing buffer pool, size = 256.0M
150521 17:07:47 InnoDB: Completed initialization of buffer pool
150521 17:07:47  InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 64 MB
InnoDB: Database physically writes the file full: wait...
150521 17:08:00  InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 64 MB
InnoDB: Database physically writes the file full: wait...
150521 17:08:10 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
150521 17:08:10  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
150521 17:08:10  InnoDB: Waiting for the background threads to start
150521 17:08:11 InnoDB: 5.5.43 started; log sequence number 1595916
150521 17:08:11 [Note] Server hostname (bind-address): '<IP_ADDRESS>'; port: 3306
150521 17:08:11 [Note]   - '<IP_ADDRESS>' resolves to '<IP_ADDRESS>';
150521 17:08:11 [Note] Server socket created on IP: '<IP_ADDRESS>'.
150521 17:08:11 [Note] Event Scheduler: Loaded 0 events
150521 17:08:11 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.5.43-0+deb7u1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Debian)

So... I'm thinking I might need to add a new 'mysql_initial_startup_delayor something along those lines (or just add await_for` for the MySQL port (maybe... someone could configure MySQL to listen on Unix sockets...). Or wait for a Raspberry Pi with an SATA or PCIe interface so disk access isn't so horrendously slow ;)

To get drush working... (since the boris 1.0.9+ CLI requirement in composer.json requires php5-readline to be installed—a package that's not available in Wheezy's repos), I had to manually run:
sudo composer require boris:1.0.8

Within the /usr/local/share/drush directory.
I'll have to see if I can script this or maybe modify the drush role to allow this override for all the poor souls who are trying to install Drush 7.x.x or 8.x.x on Debian Wheezy systems and running into this issue.

Everything else seems to be working fine. Don't know what to do about the boris issue for now :/
Going to close out this ticket though.

See also: https://github.com/drush-ops/drush/issues/1409

Moved out to https://github.com/geerlingguy/raspberry-pi-dramble/issues/49


[Task]: benchmark pretrained weights

What is the motivation for this task?
My I ask why there are no pretrained weights  or custom trained weights configuration in benchmark pipeline?
Describe the solution you'd like
For example, I haved trained an efficientAD model， how can I use benchmark to test my trained weights?
Additional context
No response

@qwzhuanghkclr, I'm not sure if it is available at this moment. @ashwinvaidya17 might be able to help better here.
We will be addressing the benchmarking pipeline in anomalib v1.1. Maybe we could label this as a feature request


Add:new program

I have added a java program to print fibonacci series

@all-contributer please add @sarthakbal0987 as code

@all-contributors please add @sarthakbal0987  for tests and code

You have mistakenly add two programs in one branch so it will better if you will create another branch for this program and again make a pull request.


{Compute} Fix test failures

Description

test case problem
An RSA key file or key value must be supplied to SSH Key Value. You can use --generate-ssh-keys to let CLI generate one for you
test_vm_create_with_workspace_linux
test_vm_extension_with_id
test_vm_update_with_workspace_linux
allow large response
test_vm_show_list_sizes_list_ip_addresses
service change
test_vm_availset_convert
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

Added ssh-keygen -f ~/.ssh/id_rsa -t rsa -N '' to pipeline environment initialization script.


Jira Dashboard Table/Card - support for tableOptions

Hey, I just made a Pull Request!
Context
Most of cards on the homepage follows the rule that the Title is part of InfoCard and the content is stretched, which is not easily possible with current setup.
Also probably most of users won't need to use filter search functionality on the homepage and it takes free space.
Note, it does not make influence to the dashboard page, just the homepage.
Before:

After:

Issue ticket number and link

Fixes # (issue)

Checklist before requesting a review

[x] I have performed a self-review of my own code
[x] I have verified that the code builds perfectly fine on my local system
[x] I have verified that my code follows the style already available in the repository
[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)

Anyone?

Anyone?

Nice! Will have a look at it as soon as we can :+1:

Thank you :-)


Suggest PAT as credential for cloning Altinn repos

Description
Working through the developer course in the docs as a newbie, it wasn't obvious how I should clone the repo for my app

I've registered using my Github user (so I haven't made a password)
SSH keys are disabled in Gitea AFAICT

This PR suggests that a PAT can be used as password when cloning the repository. Not sure if there are other ways?
Related Issue(s)
N/A
Verification

[x] Your code builds clean without any errors or warnings
[x] Manual testing done (required)
[ ] Relevant automated test added (if you find this hard, leave it and we'll help out)
[ ] All tests run green

Documentation

[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

Btw, the PR template here mentions tests, but I can't tell if they exist? The pipeline seems to just run the hugo build, is there anything else to it?

You can also set a password in gitea, it will not affect the possibility to login with github, but I think the PAT soultion seems better as the user isn't forced to create yet another password that is possibly easy to guess


actionGroup behavior

This plugin looks very useful :+1:. I found the concept of having mutations grouped in the test code but the behavior is unclear to me. I thought the way this works is that the mutation are grouped during undo and redo. However action groups seem to be only grouped during undo. I put together a test case here: https://github.com/nlochschmidt/undo-redo-vuex/blob/test-action-groups/test/test-action-group-undo.js that looks like this:
Initial state:
 addItem -> myAction:addItem -> myAction:addItem -> myAction2:addItem
|------------------------------ done --------------------------------| ↑ | undone |

After first undo (myAction2 group undone):
 addItem -> myAction:addItem -> myAction:addItem -> myAction2:addItem
|--------------------- done --------------------| ↑ |---- undone ----|

After second undo (myAction group undone):
 addItem -> myAction:addItem -> myAction:addItem -> myAction2:addItem
| done | ↑ |--------------------- undone ----------------------------|

After first redo (myAction group restored):
 addItem -> myAction:addItem -> myAction:addItem -> myAction2:addItem
|----------------- done ------------------------| ↑ |---- undone ----|

This is actually where things break, because only the first addItem of the myAction group is restored
After second redo (myAction2 group should be restored):
 addItem -> myAction:addItem -> myAction:addItem -> myAction2:addItem
|----------------- done ---------------------------------------------| ↑ | undone |

So is that expected behavior or a bug? Also what would you suppose should be the behavior if an actionGroup value is used multiple times with other mutations done in between? My guess is, the group should be split and only those mutations up to that point should be undone/restored.

Hi @nlochschmidt, thanks so much for finding this issue and preparing the test scenario! 👍I must admit that the tests for actionGroups are rather simplistic (as this feature was not really used in the project we were primarily using this for), so really appreciate the time you took to come up with test.
I've traced down the source of the error, and it's due to how the undone stack is tracked and updated during the undo operation. The consequence of this is only observed after the subsequent redo.
This will be resolved very shortly in the next release :)
Once again thanks for the issue and detailed description! (PRs for more comprehensive test coverage will be much appreciated)
Cheers!

Ok great! For my project I definitely need the action groups, I'll try to provide a PR soon and you can check out my solution and see if you want to merge it in.

@andrewbeng89 Submitted PR #4 related to this issue. Even if you decide to implement it differently, you might be able to make use of the additional tests.

@andrewbeng89 just saw your 1.1.2 release :pray: unfortunately using my advanced test case from #4 it is becomes visible that the order of mutations is wrong. That was not visible from the previous test, because all items have been the same 😔. Sorry about that...

Great work! Thanks for being so responsive. I did a quick test and it seems to works now. It would still be great to have the action groups documented in the README though.
Btw. did you think about what I wrote in the first comment on this issue?

Also what would you suppose should be the behavior if an actionGroup value is used multiple times with other mutations done in between? My guess is, the group should be split and only those mutations up to that point should be undone/restored.

Since we didn't need the undo redo callback functionality which is the main cause for #5 and we need to move fast, I decided to take inspiration from this plugin but completely rewrite and simplify it for our usecase.
Anyway I'll leave it up to you to close this Issue or leave it open until if you think there is more to be done here. Up to you

Also what would you suppose should be the behavior if an actionGroup value is used multiple times with other mutations done in between? My guess is, the group should be split and only those mutations up to that point should be undone/restored.

I've reimplemented the done/undone stack logic with Array.prototype.reduceRight to handle this scenario in the latest 1.1.5 release 😅


Internship Apply Paulo Tintaya

E-mail
<EMAIL_ADDRESS>Full Name
Paulo Emanuel Tintaya Conde
URL perfil Linkedin
https://www.linkedin.com/in/paulotintaya/
Bio
Experienced Back-End Web Developer with a passion for mentoring and a love for Python and Django. I thrive on turning ideas into robust, scalable web applications. Whether it's crafting efficient code, guiding the next generation of developers, or solving complex challenges.
Send your CV

[X] I have sent my CV to<EMAIL_ADDRESS>
What projects are you interested in?

[X] scicookie, is a template developed by Open Science Labs that creates projects from project templates and is based on Cookieninja A Cookiecutter Fork command-line utility. Repository
[ ] makim, is based on make and focus on improve the way to define targets and dependencies. Instead of using the Makefile format, it uses yaml format Repository
[ ] containers-sugar. The idea of this project is to organize your stack of containers, gathering some useful scripts and keeping this information centralized in a configuration file. So the command line would be very simple. Repository
[X] github-actions-chatgpt-pr-reviewer. This GitHub actions uses OpenAI ChatGPT in order to review the changes presented in a PR and will recommend improvements. Repository
[ ] semantic-release-pr-title-check. Checks for Angular commit message format in the Pull Request Title. Repository
[ ] satellite-weather-downloader, is a system for downloading, transforming and analysing Copernicus weather data using Xarray. It consists in two major apps, satellite_downloader and satellite_weather. Repository
[ ] CrawlClima. This package contains the PEGATWEETS and PEGATEMPERATURA modules for automatically capturing tweets and weather data. Repository
[X] dowloader-app. A shapefiles downloader. Repository
[X] conda-forge-warning. Conda-Forge Warning aims to present conda-forge package without maintenance. Repository
[X] pyreaddbc, is a Python library for working with DBase database file. Legacy systems from the Brazilian Ministry of Health still uses DBF and DBC formats to Publicize data. Repository
[X] ghreport. A GitHub Report tool. Repository
[ ] gh-check-pr-is-updated. This GitHub actions aims to check if the current PR's branch is updated on top of the upstream branch. Repository
[X] github-actions-self-hosted-runner. Dockerfile for the creation of a GitHub Actions runner image to be deployed dynamically. Repository
[ ] fqlearn. A graphic solver tool to teach mass transfer and thermodynamics.Repository
[X] pydatastructs. A project that aims to be a Python package for various data structures and algorithms (including their parallel implementations).Repository

Code of Conduct

[X] I have read the Code of Conduct and I agree.

Hi! @tintayadev  We have reviewed your application, thank you for applying. We have a few questions before we continue.
We understand that everyone has a unique schedule, and we want to make sure the internship can work for you. Could share your availability with us? Tell us how many hours per week you can dedicate to the internship, and if you have any preferred start and end dates, please let us know. This information will help us tailor the internship experience suits your needs.

Hey there, thank you so much for considering my application. Regarding my availability for the internship. I'm currently a university student, so I won't be able to commit to a full-time schedule. However, I can dedicate 15 hours per week(3-4 hours per day). But I'm also open to increase my time if needed to meet the internship requirements. I would prefer to start the internship in mid-November if possible, and I'm flexible with the end date, willing to continue as long as needed. Please let me know if it's possible to work with this schedule, and once again thank you so much.

Dear @tintayadev  ,
Thank you for your application to the Open Science Labs Internship Program.
We're excited to share that we've completed our selection process.  We have taken into account your time availability. You will receive an email from us tomorrow with the results.
Your patience and interest are greatly appreciated. If you have questions, contact us at<EMAIL_ADDRESS>Thank you for being part of our process.


Create a high level library for playing music

I'd like to start another small project to explore high level library design.
This time I've been thinking about a simple library to play music. It could be expanded to play sounds later, but for now I think it is best to start small. The new thing with this library will be that there are resources one controls, such as starting, stopping or pausing the music. When you ask it to play another piece it will automatically stop playing the current one. rust-sdl2_mixer supports this out of the box.
The method music::start will setup a HashMap<T, Asset> as current object of the type you want to control the music track. You can then bind the asset to a value of that type, so when asking it to play a piece you can use the value instead of referring to the asset. I think this fits with game programming since you can separate the way assets are loaded or represented from how it is used. It is also possible to give an early error message when an asset can not be loaded.

@ruud-v-a Short sounds are sometimes loaded into memory to reduce latency, which is a different use case than music where latency might not matter. As you said, it depends on the project you want to use it for.

@ruud-v-a Short sounds are sometimes loaded into memory to reduce latency, which is a different use case than music where latency might not matter. As you said, it depends on the project you want to use it for.


#'free throws confusing error when passed nil

Give a better error.
This is the current error
There is no applicable method for the generic function
  #<STANDARD-GENERIC-FUNCTION (SB-PCL::SLOT-ACCESSOR :GLOBAL
                               CEPL.PIPELINES::PROG-IDS
                               SB-PCL::READER) (1)>
when called with arguments
  (NIL).
   [Condition of type SIMPLE-ERROR]

Restarts:
 0: [RETRY] Retry calling the generic function.
 1: [RETRY] Retry SLIME REPL evaluation request.
 2: [*ABORT] Return to SLIME's top level.
 3: [ABORT] abort thread (#<THREAD "repl-thread" RUNNING {10030FFFA3}>)

Backtrace:
  0: ((:METHOD NO-APPLICABLE-METHOD (T)) #<STANDARD-GENERIC-FUNCTION (SB-PCL::SLOT-ACCESSOR :GLOBAL CEPL.PIPELINES::PROG-IDS SB-PCL::READER) (1)> NIL) [fast-method]
  1: (SB-PCL::CALL-NO-APPLICABLE-METHOD #<STANDARD-GENERIC-FUNCTION (SB-PCL::SLOT-ACCESSOR :GLOBAL CEPL.PIPELINES::PROG-IDS SB-PCL::READER) (1)> (NIL))
  2: ((FLET SB-THREAD::WITH-MUTEX-THUNK :IN FREE-PIPELINE))
  3: ((FLET #:WITHOUT-INTERRUPTS-BODY-358 :IN SB-THREAD::CALL-WITH-MUTEX))
  4: (SB-THREAD::CALL-WITH-MUTEX #<CLOSURE (FLET SB-THREAD::WITH-MUTEX-THUNK :IN FREE-PIPELINE) {7FFFF4AC5ACB}> #<SB-THREAD:MUTEX "Anonymous lock" owner: #<SB-THREAD:THREAD "repl-thread" RUNNING {10030FFFA..
  5: (FREE-PIPELINE NIL)
      Locals:
        CEPL.PIPELINES::PIPELINE = NIL
  6: (RESET)
  7: (PLAY :START NIL)
  8: (SB-INT:SIMPLE-EVAL-IN-LEXENV (PLAY :START) #<NULL-LEXENV>)
  9: (EVAL (PLAY :START))
 --more--

Fixed


chore: merge main to dev branch

Description
This pull request introduces a new feature that enhances the code review workflow by automatically running unit tests and static code analysis on every commit. The modified files include:

.github/workflows/code-review.yml: Added a new GitHub Actions workflow that runs the unit tests and static code analysis on every commit to the repository.
README.md: Updated the documentation to reflect the new code review workflow.
dist/index.js: Compiled JavaScript file after running the TypeScript compiler.
src/ut_ts.ts: Modified the existing unit tests to conform to the new code review workflow.

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

@coderabbitai generate interesting stats about this repository and render them as a table.


circle-ci does not seem to run and/or is not publicly available

See the title 😄

Thanks!
They are working now. Sorry I had to use your branch about node@6 to test it. I merged it, CircleCI failed (https://circleci.com/gh/atlassian/yarn-deduplicate/34) and I had to revert it.


run mode for single RFC does not work (fixes #10)

Julian - apologies that this has been sitting for so long. I've found a process that will let me locate outstanding PRs against all ietf-tools repos more easily, so I hope this won't happen again.

@NGPixel : We need to retool the CI for this repo and verify that tests still work.


Tado Thermostats not setting supportedThermostatModes

Tado (Connect) thermostats (cooling and heating) are not fully implementing the required attributes of the Thermostat Mode capability.  Specifically, they are not setting supportedThermostatModes which is a required attribute.  This causes problem in third party integrations with SmartThings that expect this value to be populated, such as seen in home-assistant/home-assistant#21298

@andrewsayre This project is now discontinued, i no longer have access to the smartthings platform which is undertaking a large amount of change ( it used to conform to the Thermostat Specification, but this is being modified by samsung) . please create a pull request with the required changes and i will merge

This project is now discontinued, i no longer have access to the smartthings platform which is undertaking a large amount of change ( it used to conform to the Thermostat Specification, but this is being modified by samsung) . please create a pull request with the required changes and i will merge

FYI @rafuz Are you able to resolve and submit a PR?  I don't have these devices to know the logic of which modes are supported, but can try and sketch something together over the weekend if need be.

I have the devices, smartthing v2 hub and home assistant so I am able to test the full enviroment.
Anyway I am not much able to correct the DHT alone and I am also trying to fix the native HomeAssistant Tado AC integration https://community.home-assistant.io/t/tado-ac-how-to-properly-configure/58478/3

@rafuz if you need any help I have a much improved plugin for Homeseer and have a lot more of the functionality fixed in that plugin.


keeweb-connect firefox is down

https://addons.mozilla.org/en-CA/firefox/addon/keeweb-connect/

We had to change the extension name so the next release of keeweb will work with the new extension.
https://github.com/keeweb/keeweb/pull/2174


Referring to "fastcore: An Underrated Python Library" notebook: NameError: name 'delegates' is not defined; name 'PrePostInitMeta' is not defined

Ref: notebook: "fastcore: An Underrated Python Library"
Thanks for sharing! Great work!
I opened the Colab version, installed the required packages and restarted the runtime as instructed.
Run into the following:

And also

All other cell worked!
Don't know if this is the right place to report this.  If not, pls help and indicate the right location.
Many thanks!

Thanks I fixed this now.


When using with debug flag: Set host-node request: error=":-port/self/set-host-node": invalid port ":-port"

Description:
When running the CLI with Debug flag enabled, the dashboard starts empty. When looking into the Hub's logs, an error repeat constantly.
Environment:
EKS, 2 nodes.
Steps to reproduce:

Run latest release (V41.3) with -d flag
See empty dashboard starts:

Watch Hub's logs
See:

2023-07-09T07:37:30Z INF pkg/worker/update.go:9 > Updating workers through HTTP requests...
2023-07-09T07:37:30Z INF pkg/worker/hosts.go:89 > Doing set host-node request: url=http://<IP_ADDRESS>:-port/self/set-host-node
2023-07-09T07:37:30Z ERR pkg/worker/hosts.go:92 > Set host-node request: error="parse \"http://<IP_ADDRESS>:-port/self/set-host-node\": invalid port \":-port\"
2023-07-09T07:37:30Z INF pkg/worker/hosts.go:89 > Doing set host-node request: url=http://<IP_ADDRESS>:-port/self/set-host-node
2023-07-09T07:37:30Z ERR pkg/worker/hosts.go:92 > Set host-node request: error="parse \"http://<IP_ADDRESS>:-port/self/set-host-node\": invalid port \":-port\
2023-07-09T07:37:30Z INF pkg/worker/targets.go:33 > Doing set targeted pods request: url=http://<IP_ADDRESS>:-port/pods/set-targeted
2023-07-09T07:37:30Z ERR pkg/worker/targets.go:36 > Set targeted pods request: error="parse \"http://<IP_ADDRESS>:-port/pods/set-targeted\": invalid port \":-po

Fixed with https://github.com/kubeshark/kubeshark/commit/2224d0e9f4945b4c7544c91197745e4b85690f7e


Some suggestions about Chinese text

This is a suggestion from a technical writer with 20 years experience in IT-related writing. It is hard to enjoy the Chinese text because the translation is stiff and rigid. I heard too many China's developers said they preferred to directly read English documents since they could not understand the Chinese translation of k8s. Hereby, I only changed the begining paragraph. If you have a plan to polish and optimize the Chinese text, please send me a message. I am very glad to join the k8s community and help to do much more freely.

This is a suggestion from a technical writer with 20 years experience in IT-related writing. It is hard to enjoy the Chinese text because the translation is stiff and rigid. I heard too many China's developers said they preferred to directly read English documents since they could not understand the Chinese translation of k8s. Hereby, I only changed the begining paragraph. If you have a plan to polish and optimize the Chinese text, please send me a message. I am very glad to join the k8s community and help to do much more freely.

I don't see a "suggestion" from your comment, I see arrogance, ignorance, pretentious from it. The localization team has been working very hard, based on their passion or even enthusiasm at open source. Not all members are paid for their work in the community. It is always easier to point fingers to others than to sit down and cross check each and every single word, one by one, line by line. For developers who can consume the English documents well, reading the English version is always a better option, because it contains the latest contents and revisions. There is no barrier for anyone to join the team, and there is no strict hierarchy in it. You can jump onto any of the pages and propose a revision, you can start by filing issues against the defects or imperfect translations, you can help review PRs from other peers. We are more than happy to have more hands doing the real job, rather than to have more people bad-mouthing others.

-_! Sorry for early impolite to ignore your translator's efforts. Fighting.

Please squash your PR into a single commit.
/approve

Please squash your PR into a single commit. /approve

Squashed, thanks, man. If you have any localized task in queue, I'm glad to help you freely. You can touch me with<EMAIL_ADDRESS>or WeChat seawind100

@windsonsea We have a few tasks that need help. please check the issues #33474, #33475, #33476, #33477, #33478, #33479 and sign on tasks there.

/lgtm

@windsonsea We have a few tasks that need help. please check the issues #33474, #33475, #33476, #33477, #33478, #33479 and sign on tasks there.

wow, your response is so quick. Could I pick the task #33474? I need some talk to know more details.


Authorization Error

Authorization Error
Error 400: redirect_uri_mismatch
The redirect URI in the request, /__/auth/handler, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.google.com/apis/credentials/oauthclient/${your_client_id}?project=${your_project_number}

Are you passing the URI callback as a parameter? Make sure it is url-encoded and there is no typo errors. Also, if you could provide more context here, it would be great .
As Google's server receives user permission, it will redirect the browser to whatever you defined as the redirect uri. It will include the token as a parameter in that request, allowing your callback page to validate the token, obtain an entry token, and proceed to the rest of your app.

Mr  ayamanxdev!!
Can you give me time? I want to talk to you .


As a user,  I want a popup with the list of controls when the game starts

Use a scene without the game character but with UI list of game controls


isRuleDirty oversensitive to newline conventions

When a rule is modified, newlines are converted automatically between \n or \r\n depending on OS. If a rule is modified and the changes are reverted manually, the editor still thinks the rule has changed even if there are only differences in the newline representation. This bug should be resolved in one of these ways:

isRuleDirty should ignore differences in newline representation
Consistently use the same newline convention within the editor across platforms. This would involve transforming all current rules and forcing a convention within the editor config
Configure editor so that it does not automatically convert newlines to the current platform

When rule with Rule Id: Check number 6 is loaded, it starts as modified and there is no way to select another rule. This is probably the same issue.


[Feature Request] Generate transcript?

With option to choose timed or not.

Hello @BhaturaGuy! There plugin that can do what you want – YTranscript. I'm very busy this quarter, so I'd not add new feature till summer for sure

Incorporating a video-to-text transcription (Transcribe) feature directly into the plugin could dramatically enhance productivity and user experience. As you may be aware, YouTube itself offers a transcription option, but having this functionality directly in the plugin would simplify workflows and be particularly helpful, not just for educational materials but also for non-English speaking users.
This feature could make content more accessible and navigable, aiding comprehension and retention, especially in academic or learning environments. Understanding that you're quite busy this quarter, I hope this suggestion might be considered for future updates, possibly by the summer or when your schedule allows.