Fix getSelectorFromElement when # is a selector

Check if data-target contain # to avoid JQuery error
Close : #21328

See this PR #21654 that handle the problem differently and cover more (all) possible cases of selector.

Yes I forget one case but I'll update my PR thank you @vanduynslagerp

What I meant is that #21654 solve #21328 and other issues, plus it brings other benefits described in the PR. If #21654 is merged this one (#21615) becomes irrelevant as the modified code would been removed.

I didn't change how the core of Bootstrap works but I added what you did in your PR by removing the regex because as you said it fix #18641 too 👍

Really sorry to insist...but here is a few remarks.
Only the dropdown and the alert component expect to data-target="#" to be valid. This is because the modules handle this cases by selecting the parent of the trigger in this case. See dropdown.js#L212 and alert.js#L97
So as you modification is on Util.js you impact all the other modules using getSelectorFromElement .
Also consider other possible wrong value such data-target="test". The previous code would return null because "test" do not match the regex. With you modification it would set selector to "test" and then execute $('test') not throw an exception and then return selector with the value "test".
Finally you call Jquery on the value selector and then return selector to call JQuery again in each module again on the same selector. That's not really efficient as you have JQuery parsing the dom twice.
For all these reasons and several other I decided to rewrite the function getSelectorFromElement  to return the JQuery with the list of matching elements and use that result in each module.
That also allow me to handle different cases differently in each module (for example in dropdown when neither the value of data-target nor href is a selector that returns elements I can determine the target is the parent. In in collapse, in the same situation I just skip the action as it's impossible to determine the target).
The point I was trying to make is that the best way to handle this is to get rid of the regex and use the try catch. This way we can convert all cases and we don't have to add more if elses or a more complicated regex every time we have an issue reported of type "data-target="whatever" doesn't work and should do this or that".
And doing also require the other modifications I made in #21654.
The point of my PR was in the first place to fix #18641 and improve the mechanism by making more robust. I realize later on after posting the PR, that it would also fixe #21328 so I mentioned it here.

I also added a unit test in #21654 for the issue described in #21328

Yes you're right on this :

Also consider other possible wrong value such data-target="test". The previous code would return null because "test" do not match the regex. With you modification it would set selector to "test" and then execute $('test') not throw an exception and then return selector with the value "test".

So I'll update a bit my PR thank you 👍
In your PR the same problem is present because if the selector is set to test you return
$('test') and after in each modules you check :
const target = targets ? targets[0] : null

But if targets is equal to $('test') it will return targets[0] which is undefined

So I'll update a bit my PR thank you 👍

My point was that after I made my PR (without seeing yours before, sorry...) I realized that it also fixes the same problem and covers more ground. There is no point in having both #21654 and this one. Anyway I don't want to insist more.

But if targets is equal to $('test') it will return targets[0] which is undefined

Yes that's on purpose. If there is no matching element that can be used as target then the variable target will be undefined or null and handled according by each module.
If you take the dropdown module as an example it's handled here: dropdown R206. If target is null, undefined or an empty JQuery then we use element.parentNode. This what fix the case explained in #21328.
In collapse for example we need to have a defined target and we cannot figure it out by ourselves (like using element.parentNode in dropdown as the collapse markup is different). So if target is null or undefined here then we skip the action as we don't have anything to collapse

I add on my last commit, a check if the selector exist in the DOM or not and with that we don't have to edit all plugins because it works as you described.
Your dropdown unit test is very usefull 👍

The more modifications you make, the more your PR is looking like mine.
I spent a day working on #21654 and going through all this cases, details and test. So once you will go through all of them, I imagine the code will be similar to mine.
So I'm not really what we are doing here....
I just wanted to make the point, in my first comment, that I believe #21654 solves #21328 and other reported and non-reported issues in a more thorough way.

I finished my PR I wont add anything. My PR only avoid the issue when # is used in selector that's all
On 11 Jan 2017, 18:33, at 18:33, Pierre-Denis Vanduynslager<EMAIL_ADDRESS>wrote:

The more modifications you make, the more your PR is looking like mine.
I spent a day working on #21654 and going through all this cases,
details and test. So once you will go through all of them, I imagine
the code will be similar to mine.
So I'm not really what we are doing here....
I just wanted to make the point, in my first comment, that I believe
#21654 solves #21328 and other reported and non-reported issues in a
more thorough way.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/twbs/bootstrap/pull/21615#issuecomment-271935318

Lemme know if we still need to do #22128 as well.

#22128 is useless due to the merge of this PR 👍 thank you @mdo


As a user, I would like to have a command to test my database connection with Liquibase

Description
Currently if there is a need to verify the connection to the database, it can only be done with commands that are associated with a changeLog like "status" and "generateChangeLog".
This command will conveniently allow the user to verify that the connection to the database is successful.
For example:
liquibase test-connection
Console output:
Liquibase Pro 3.9.0 by Datical licensed to Liquibase Pro Customer until Tue Sep 22 19:00:00 CDT 2020
postgres@jdbc:postgresql://localhost:5432/MYDATABASE_DEV
Liquibase command 'test-connection' was executed successfully.

Now we have! https://docs.liquibase.com/commands/change-tracking/connect.html


Add the website link in the footer

Assuming from "document change" label this is just for documents. It is complete


[Not a BUG exactly] How to use Tensor Cores while training (RTX 3080)?

Got this message while training: You are using a CUDA device ('NVIDIA GeForce RTX 3080 Laptop GPU') that has Tensor Cores. To properly utilize them, you should set torch.set_float32_matmul_precision('medium' | 'high') which will trade-off precision for performance. For more details, read https://pytorch.org/docs/stable/generated/torch.set_float32_matmul_precision.html#torch.set_float32_matmul_precision"
Is there any chance of passing the argument as suggested above to accelerate training?

Yep, potentially.
Questions for me are:

Does it actually help?
[How] do the predictions change when run "normally" on the CPU the way it'll run in the plugin?

To try this out, just put the line you copied into the script at the top.
Interested to hear what you find.

Checked it out myself. I don't see any meaningful difference in speed on my 3070Ti:

Gray is using Tensor Cores; Orange is without.
This isn't surprising to me--NAM's models are tiny in terms of deep learning while nVIDIA's hardware is going the way of supporting heavy computation.
Closing since I won't be addign it to my repo based on this. If you want to use it, as the instructions say you just have to add
torch.set_float32_matmul_precision("medium")

to the top of the CLI trainer's script.


Does not work when passed non-ascii via stdin

function get_tokens_from_stdin does not decode utf8 chars passed, so subsequent call in process_start using result of this fails
ref: https://github.com/amphp/parallel/issues/40

@DaveRandom Would this be as simple as using CreateProcessW() instead of CreateProcess()?

@DaveRandom Can you have a look, or mark this library as unmaintained? This is historically the only issue with this library there is, with easy reproducer. Why is no maintainer trying to reproduce it?

#3

@ostrolucky see #4


Add Pandas for Testing

Pandas added to project as Poetry dev dependency.
Additional file detail checks added to test_convert.py

numpy dataframe shape
nan value count for each data column
dtype check for each data column
min value check for each data column (if possible)
max value check for each data column (if possible)

LGTM.
Merging so that I can put mine in.


Create a script for creating performance-time project

The snippets targeting the variable time limit measurements are a subset of the original 300 snippets. Create a script which creates this project and avoid copying the original code.

Added for Java 241066216d7455bea7bfe723633ec979d90e048c

The source files in the performance-time project could be removed as the script copies these from the core project. This would remove duplication of the code. The build file of the performance-time project could then run the generator scripts .
However, this would make it harder to detect if the peformance-time files changed. (But this can be happen only if changes are committed to the core project.)


Random file opens when window loads

Open a PR
Close all editors
Reload the window
A random file diff from my PR is opened

Duplicate of https://github.com/microsoft/vscode-pull-request-github/issues/2295, this should already be fixed


Updates Deployment/DaemonSet Selectors

Previously, the Deployment and DaemonSet used selectors that reference the associated Contour. This prevents users from migrating existing Contour deployments to operator-managed Contour deployments. This PR updates the selectors to use the app: contour|envoy scheme used by Contour's example manifests. This PR should be reverted when Issue 1821 is fixed.
xref: https://github.com/projectcontour/contour-operator/issues/141
Signed-off-by: Daneyon Hansen<EMAIL_ADDRESS>

@danehans I know this is Alpha, but this would break any existing installs or just update the selectors automatically to what's in this PR when the new operator is deployed?

@danehans I know this is Alpha, but this would break any existing installs or just update the selectors automatically to what's in this PR when the new operator is deployed?

@danehans I know this is Alpha, but this would break any existing installs or just update the selectors automatically to what's in this PR when the new operator is deployed?

@stevesloka commit a57d786 adds support for the label transition by recreating the Deployment and DaemonSet resources.

@danehans I know this is Alpha, but this would break any existing installs or just update the selectors automatically to what's in this PR when the new operator is deployed?

@stevesloka commit a57d786 adds support for the label transition by recreating the Deployment and DaemonSet resources.


Update documentation for setCookieParams

The link for more information about "sameSite" leads to a 404 Not Found.

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Fixed issues

@clemens-it Why was the PR closed?

I deleted the repository from which originated the PR prematurely. My mistake.
Please advice, should I create a new PR from scratch?

Yes please, since I don't think this one can be reopened from a new repo.

Ok, i just created a new PR -> #19921


Creating and Implementing security.txt file

Creating and implementing security policy file for ENFO . Creating .well-known folder inside wwwroot of ENFO and placed security.txt inside (enforcement-orders -> src -> Enfo.WebbApp -> wwwroot. Also updating the ENFO WebApp csproj file. For more information, refer to https://github.com/gaepdit/EPD-IT/issues/68.

Deployed to prod: https://enfo.gaepd.org/.well-known/security.txt


thanks for share. But I am using Chime SDK. I want a complete video with both picture and sound. please support me

I want a complete video with both picture and sound. please support me!!
Process that output into a complete video file

Hi, this demo does not join the files in the "video/" directory in S3. It only joins the files in "audio" (which might also contain the video corresponding to the attendee speaking depending on your configuration).
You could modify the code in https://github.com/aws-samples/amazon-chime-media-capture-pipeline-demo/blob/main/src/processLambda/app/app.py
The process is the same, however if you have a "video" directory, the files are separated by attendee ID so you would need to choose which files you want to join, and you would need to tell ffmpeg to take the audio from a different file.  You can refer to https://www.ffmpeg.org/ffmpeg.html for how to use the different options.  The options used in the demo can be found on lines 44 and 51.

thank you. I will look for many libraries ffmpeg. for merge all file audio and video. The end customer only needs a single file full of video and audio

https://github.com/aws-samples/amazon-chime-media-capture-pipeline-demo/pull/32
New update includes media concatenation pipeline to create a single file output.


Switching between TF 1.x and TF 2.0 in the API browser loses the context

System information

TensorFlow version: from
Doc Link:

Describe the documentation issue
When I'm browsing the documentation, I often need to switch from TF 1.x to TF 2.0 or vice versa. Unfortunately, the context is lost when I do that.
For example, visit the tf.constant documentation for TF 2.0:
https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/constant
Then from the drop down menu at the top (labeled "API r2.0"), select any TF 1.x version. Notice that you do not land on the tf.constant page.
The same is true in the reverse direction.
This also makes it hard to find TF 2.0 documentation by searching: I generally land on a TF 1.x page, when I switch to TF 2.0 the context is lost.
Of course, many functions have been removed or moved, but this should not be a problem, since most of them are still available in tf.compat.v1.
We welcome contributions by users. Will you be able to update submit a PR (use the doc style guide) to fix the doc Issue?
Why not, but I would need someone to point me to the code that handles this.

I just noticed that the context is lost whenever I switch to any other TF version, not just to/from TF 2.0. I think I recall that context used to be preserved (I may be wrong). I didn't notice it until now because I was usually only interested in the latest TF version, so I didn't need to switch often. Now I do, and I think as TF 2.0 usage grows, people are going to need to switch more often too.

Hey Aurélien,
It's a good point and something we've discussed, but not prepared to invest the site infra in (at least at this time with the run-up to TF 2).
When TF 2 is out of preview and released, that will be the default experience for tensorflow.org. We will continue to host some older 1.x API docs, but for narrative docs, we will point users off to our tensorflow/docs repo, which will contain the navigable markdown docs in a release branch.

@ageron please confirm if you still face the issue

Moving this to closed status as there is no response


Model IDLE Animation

There are different behaviors of the model animations
Foundation explorer:
https://github.com/user-attachments/assets/e9021b76-df49-4c48-999a-39f114019912
Mobile Godot Explorer:
https://github.com/user-attachments/assets/ffcb899a-361d-4495-9ead-6a38a861eb1c

I couldn't see the differences. Just the rock looks like different at the beginning. That what you are referring to? :thinking:

Yes, sorry. The rock is broken (is the last frame of the 'mining' track) when should be idle


Xcode 14.1/2 - Redefinition of enumerator error

Hi, new version of Xcode 14.2 displays errors during compiling inside HTTPCParser, could someone help resolve that issue?. The same situation is for Xcode 14.1

I have the same issue now for Xcode 14.2 , anyone know hot wo fix it?
@yvbeek

Are you running into these issues in your own project or in the Telegraph workspace?
If you run into these issues in your own project, please let me know which form integration you are using.
A few minutes ago I've done a couple of commits to update the project for Xcode 14.2

I am running into these issues in my own project. I use cocoapods to integrate Telegraph

it ok when use swiftPM, but it's not work in pod

Unfortunately I'm not sure if there is a way that I can automatically test a CocoaPods integration with GitHub Actions. When I get around to deploying a new version of Telegraph, I'll run a small test project and see why it is throwing these errors for the HTTPParserC code.
I do recommend to use SwiftPM in your project if possible. Development on CocoaPods is slowing down.

Same issue here. Anyone was able to solve it?

Hi @yvbeek, I'm also experiencing this problem. Unfortunately using CocoaPods is a hard requirement in my case. Would you be willing to merge the contribution in a timely manner?

This should be resolved in the latest commits


Replace promote command with swagger import

Instead of workflow:
Swagger file -> swagger import + blueprint -> DEV
DEV -> promote -> QA
QA -> promote -> PRD

we can do:
Swagger file -> swagger import + blueprint -> DEV or QA or PRD

Each environment can have a separate blueprint, but it will cost a lot of work on maintaining.
Or it can share the same blueprint with some new properties which will be merged over default one:

endpoint:
  timeout: 10
  methods:
    - name: "Some method"
environment:
  DEV:
    endpoint:
      name: *:DEV *
      publicDomain: dev.adidas.com

  QA:
    endpoint:
      name: *:QA *
      timeout: 5
      publicDomain: qa.adidas.com

then it can be called as
mashery-toolbet swagger-import swagger.yaml --blueprint="blueprint.yaml" --env="QA"

@rathonit1 this came from the discussion with @oonovak and as we mentioned elsewhere we want to transfer all command arguments into blueprint.

@schovi , to make a note, we should include issues#19 in this release, to not delete anything in case swagger file changes, even with name and endpoints are not changed.. as we don't know which package is using particular endpoint....


Freeze conda environment as well

Like #156, but for conda
Script is Python because conda has a bug in env export that needs a little fixing.
Updates conda itself to 4.3.30, as well.

LGTM - only one note: I didn't realize we were using conda-forge to install stuff. I'm personally ok with it, but are there any downsides to doing so? The only thing I can think of is that some users might assume the anaconda repo would be the default and this would violate that assumption.

If we want recent packages, we have to use conda-forge, since anaconda updates can take longer and we can't influence the process (they still don't have the current notebook package. But in general, I think conda-forge is the more logical default channel for community-maintained projects like Binder and repo2docker.
The defaults channel is still present, it's just lower priority. And people can specify it in their environment.yml if they want those packages.

Thank you!

Sounds good to me! I use forge as my default as well, just making sure we're being intentional about the decision!


Support utf8 characters and custom delimiter

CSV downloads added UTF-8 support for french accents and delimiter configuration parameter

@bernardsemaan please change thje target of the PR to develop

@davidrapin done

@bernardsemaan can you create a task in Jira and link this PR, so that the release of the plugin can be done by a squad?

@bernardsemaan could you link the related jira issue in the PR description?

https://linkurious.atlassian.net/browse/LKE-6988


Setting the default TraceOptions correctly

Description
Currently default TraceOptions of span is set to 1 when not provided by client. This is not correct when parent context is provided.
Issue reference
closes #1495
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

/ok-to-test


run-test, error, with Python 3.7.4

./run-test
Traceback (most recent call last):
  File "/usr/local/bin/ocropus-nlbin", line 10, in <module>
    import numpy as np
  File "/usr/local/lib/python2.7/dist-packages/numpy/__init__.py", line 166, in <module>
    from . import random
  File "/usr/local/lib/python2.7/dist-packages/numpy/random/__init__.py", line 99, in <module>
    from .mtrand import *
ImportError: /usr/local/lib/python2.7/dist-packages/numpy/random/mtrand.so: undefined symbol: PyFPE_jbuf

See #334.


Multi-user environment

How do we deal with a multi-user environment, but sharing the ecosystem across machines? Can I have an array of "users"? or how does this work?
ex: root can push, but I don't want to give my users access to root. For PCI compliance I want to have each employee that can push live code to have a separate username. user1, user2, user3 should all be able to push code, but have the server track which user is pushing code. I can't have a "node" user where we all share that ssh key since that goes against best security practices.

It seems like allowing an array of users and to attempt to connect with all users might be a nice addition. If this is something we could add I could build the array functionality. I just need approval and then I'll get the pull request going.
This is useful and needed when doing PCI compliance so that passwords/keys aren't shared between users, but multiple users need access to push production code.


[FLINK-23611][yarn-tests] Refactors yarn tests and enable hadoop logs

What is the purpose of the change
We struggled to investigate FLINK-23611 due to missing Flink logs. It appears that something went wrong with the Flink cluster. The stop signal wasn't retrieved by the YARN Session Cluster thread for some reason which made the test wait forever for the thread to finish. This PR adds timeouts to the job submission and YARN Session Cluster finalization logic. See FLINK-23611 for further details on the investigation.
Brief change log

Adds timeout to YARN job submission log
Adds timeout to YARN Session cluster shutdown trigger
Hotfix for path specification (unrelated to FLINK-23611)
Extended the log output to make local debugging easier in the future

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

FYI: Build failures covered by FLINK-23984 and FLINK-23828

I rebased the branch and added another commit that should fix the YARNSessionCapacitySchedulerITCase.testDetachedPerJobYarnCluster flakiness we're experiencing locally. See 2f95f6d's commit message for further details on the change and the issue:
We observed YARNSessionCapacitySchedulerITCase.testDetachedPerJobYarnCluster
being flaky on our local machines. The AssertionError was caused by a
certain log message ("Starting TaskManagers") not being available in the
job manager logs. The reason for that was that the JobManager startup
script seems to be triggered more than once in some cases. If that
happens, two (or more) jobmanager.log files are created with the older
having ".N" added as a suffix to the name. Due to the previously used
contains method, we ended up picking the older JobManager log file.
These logs wouldn't contain the TaskManager startup log message which
is required by the assertion.

I wasn't able to figure out why we sometimes experience multiple
JobManager startups. I checked the Hadoop code for the
DefaultContainerExecutor and the DEBUG logs for YARN. I couldn't find
any indication for a restart.

But Flink renames older log files and keeps the most-recent one as
jobmanager.log. That's the one we're interested, anyway. Hence,
selecting "jobmanager.log" through equals solves the unstable test.

YARNSessionCapacitySchedulerITCase.testDetachedPerJobYarnCluster is actually caused by a bug in log4j's OnStartupTriggeringPolicy [1].
The proper fix would be removing OnStartupTriggeringPolicy from the log4j config we're using for tests (or fix the issue on the log4j side, but this would take more time).
I think the reason we're not encountering this on CI, is that CI is just terribly slow and chance of creating a file the same second as the JVM sub-process starts is really low.
[1] https://issues.apache.org/jira/browse/LOG4J2-3155

You are right. Thanks for pointing this out. I ignored the fact that the newer log file doesn't include all the log messages of the jobmanager startup.

@dmvk If you agree with my comment on missing Flink logs vs Stacktraces generated after a timeout occurred, I would suggest finalizing this PR and merging the timeout. This way, we would be able to collect the Flink logs next time.
For the flaky local test runs, you identified, I would create a separate Jira issue to cover this. I didn't find a quick way to add a custom log4j configuration file through a parameter to the Flink on YARN Session Cluster deployment.

After a pointer from @dmvk, we figured out that there's a better way to enable the timeout handling. It appears that YARN generates regular logs (every 10 mins) that prevents the tools/ci/test_controller.sh's watch dog mechanism to kick in. It checks for new log output within the commands stdout and the mvn-*.log files. That's the reason we never reach the archiving of the YARN artifacts within the test_controller.sh script.

I reverted the timeout-related changes within the Java code and disabled the log output for org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService which generated something like the following lines every 10 minutes:
22:51:31,785 [AsyncDispatcher event handler] INFO  org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService [] - Cache Size Before Clean: 0, Total Deleted: 0, Public Deleted: 0, Private Deleted: 0
22:51:32,398 [AsyncDispatcher event handler] INFO  org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService [] - Cache Size Before Clean: 0, Total Deleted: 0, Public Deleted: 0, Private Deleted: 0

I created FLINK-24169 to cover the flaky local tests caused by the OnStartupTriggeringPolicy configuration.

Can you please squash the change into a single commit?

I removed the obsolete commits but left the commits separately because they fix different things. Additionally, I rebased the branch.

Most-recent test failure related to FLINK-23047


How to Send APNS Push notification to Multiple Application using same server.

Hi,
Can you please help us to know, how to send push notification to multiple iOS app from same server.
we have two iOS app with package name as
com.domainname.application1 and
com.domainname.application2.
If I want to originate push notification from same server as database is same for both the application then How I can send the notifications.
Any help would highly be appreciated.
Regards,
Praveen Agarwal

We identified the way to use grocer gem.


Add support for searching in archives

Internally the output format for web applications is currently in archive format (jar, tar).
It would be nice (?) to support looking in archive formats like they are folders, though that means we couldn't use Glob#listSync and would have to invent something custom that looked into archive files. It could potentially be expensive too.

Though, maybe the input could be explicit, i.e.
$ jsbench --input /some/dir/output.tar/**.dart.js --include-tar

Closed as of https://github.com/matanlurey/jsbench.dart/pull/2.


Renaming of robots.json

The file robots.json is confusing and should be renamed.
Suggestions are welcome!
Ideas are:
entities.json -> since they are saved as entities in OCB
topics.json -> since they appear as topics in ROS
entities_topics.json -> see above
...

topics.json it is


added usage guidelines

Fixes

Fixes #199  by @megha070
Description

Technical details

Tests

Screenshots

Checklist

[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 the repository.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added tests for the changes I made (if applicable).
[x] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@dhruvkb Please help me with this error, referred these links as well, but couldn't help myself.
https://github.com/storybookjs/storybook/issues/9316
https://github.com/storybookjs/storybook/issues/8096

@megha070 fixed the error in 348264a.

Did that previously as well! But below error shows up.

Blocked by creativecommons/vocabulary#309


periodic conditions

Hi there,
I am trying to use your method to solve Hamiltonians with periodic conditions.
I saw that from your website you said you can add couplings by >>> self.add_coupling([1.5, 1.], 0, 'Sz', 0, 'Sz', dx)
May I ask what does "[1.5, 1.]" mean here?
thank you!
Diyora Zhang

Welcome!
Please post questions like this in our community forum .
Simply open a thread in the FAQ section. I'll be happy to answer it over there.


Suggestion: Too many grey boxes in the the documentation

The grey boxes make the documentation hard to digest.
I think they are supposed to be an emphasis on code but they refer to files, arguments, folders, and even concepts.  It's just too much.

Great suggestion, thanks! I'll be refreshing this theme once Statiq Docs comes online and I start working on a default out-of-the-box theme for docs sites. I'll keep this point in mind.


Improvement suggestion for delays

Hi guys,
Good job guys on the improvements, appreciate the new modular and extensible architecture! I have a small suggestion for the tower placement and upgrades delays. Determining how many seconds we need to wait is rather tedious for someone to check. Additionally, if I check the moveToRest function, time wait is not accurate because click and press actions are performed every "second" too. Instead, I would add a functionality for round and specific current tower upgrade detection. For example, when doing dart.upgrade('/', 2) , you would wait indefinitely inside a loop until the upgrade is available (which can be easily differentiated with the green and grey background). As for tower placement, I'd wait until a particular round is reached to place it.
The advantage of proceeding this way is a user only needs to add rounds for placement/upgrades in  settings.json. This makes it  much more user friendly.

We attempted to implement these suggestions, but the libraries we used for image parsing were just horribly unreliable for this idea. We may come back to this down the line, but until this day, we are going to be keeping the current structure.

No problem. Good luck with your project!

@halfguru Hey, don't know if you remember this project, but with the latest updates to Pytesseract, we decided to implement your suggestion. Should definitely make lives a lot easier.

@AstroCoding Awesome! Will check it out 👍


Fix zac quickstart sidebar nesting problem

the title of the pr is insufficient alone for me to understand what you're doing here and why. also it has some kind of precommit hook built into it too. please discuss this sort of change before implementing it. remove the hook and action and the rest looks ok


Support 5 total prefixes

Added support for 5 total prefixes for users who want complex prefixes without having every permutation as a separate rank.

I better idea would be to make the prefix into a list and allow infinite prefixes

https://i.gyazo.com/bb2ab0ed432b8a22e3ffc5823b0d85db.png tested and functioning.

Regards to the list thing is because of the way PEX handles data. I find it hard to put into words but I spoke to Hassan about it and he understands


after roles set up, enable update report email

After users and their roles have been entered into the system, enable the update report email to CENManager and/or admin roles. see lib/freecen1_update_processor.rb self.send_update_report() where the ccs have been set to nil during development to avoid unwanted emails.

dependent on #234


Update microsoft-recommended-block-rules.md

Removed Intune Agent from xml since blocking it get the machine into unsupported scenario regarding Intune

Why

Closes #[Issue Number]

Changes

The block is version specific, though, and only targets an old version of Intune. What's the scenario where this is actually causing a functional break to Intune?

@brunocarranca can you please clarify your intent with this edit, see Jeffrey's question:

The block is version specific, though, and only targets an old version of Intune. What's the scenario where this is actually causing a functional break to Intune?

Sent internal email to followup

Closing this PR per internal thread.


Implement numfmt

I would like to implement numfmt utility.

it seems that this task is abandoned. I'll take it

The new policy is that unimplemented features should be opened as new issues, as I can understand how it's confusing having these "Implement X" issues still open when they already exist in the source tree.


Rotate image

Hi,
how can i rotate image  with Simd?
Thanks.!

Hello.
Unfortunately Simd Library hasn't any tools to rotate image.
Ihar.

It is possible. I will do it.

maybe while you are at it, how about vertical/horizontal flip? or shall i ask in new issue

Vertical flip is simple:
Simd::Copy(src.Flipped(), dst);


Student data

[Enter feedback here]

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

ID: d7d9f53c-6ece-ea3c-9a51-9edd0efeebe3
Version Independent ID: 9c927a8e-3ebd-0c8a-76cc-9b1c980b98a3
Content: Create projects & solutions - Visual Studio (Windows)
Content Source: docs/ide/creating-solutions-and-projects.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @TerryGLee
Microsoft Alias: tglee

@8489153342k, I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


Fixed migration to use indexes

@markquintontulloch you can merge this and create a release as needed.

Thanks @oblodgett

@markquintontulloch by the way the first chunk of queries took 12 minutes on my machine and the second chunk took 16 minutes so I didn't run everything but I think that will be faster.


Possible Performance Improvement (concerning Watchers in $digest loop)

Hi there,
today I've stumbled upon a "thing" inside the $digest function of $rootScope.
This is the thing:
if you deep watch a considerably large object, then even the slightest change in it will make angular copy the whole object for the next comparison: click here to compare
I think this could be improved by fine tuning which part is copied for the next comparison.
What do you think? Is it worth the effort to improve this? Or do you think that copying large objects is only a small part of time spent during $digest loop?
My use-case is deep watching our local "model" which holds various business objects of considerable size. This "model" can be considered to be a session thing which is why we need to watch it in the first place (to be able to persist it in web storage when it changes).
Regards,
Nicolas

The question is, how would you fine-tune which part is copied? That's the thing, if the object is on the scope, it needs to be checked on each digest.

I think what would practically work is to improve angular.equals(). One could make it accept a 3rd parameter which allows to hand over a tracking array, like this:
function equals(o1, o2, paths) {
  if (!isArray(paths)) paths = null; // accept only arrays
  if (o1 === o2) return true;
  if (o1 === null || o2 === null) {
    if (paths) paths.push(''); // empty '' path means the object itself is different
    return false;
  }
  if (o1 !== o1 && o2 !== o2) return true; // NaN === NaN
  ...

This way, angular.equals() can still return a boolean, but it can also hand back information to the caller about the exact location where the given objects o1 and o2 actually differed. This information could then be handed back to angular.copy() to make it faster: the faster the bigger the object and the less change in it (maybe there's only a single change let's say somehwere 5 levels nested deep inside).
What do you think?
Regards,
Nicolas

This way, angular.equals() can still return a boolean, but it can also
hand back information to the caller about the exact location where the
given objects o1 and o2 actually differed.

This would imply that equals will need to keep on traversing the objects
even after it found a difference. With this in mind, I think it will not
make a difference, but would love to be proven wrong :) Now, without a
prototype implementation and a benchmark, this cannot be decided.
@NicBright do you want to give it a try?

Closing due to lack of response.
As @lgalfaso said, the proposed fix requires a non-negligible amount of extra work (e.g. traversing the whole object even if a change is found early on, keeping track of the paths to changed properties, additional logic to only copy the changed paths). There is no proof that the overall performance will be improved (and in what cases) - my feeling is that it won't.
(Same as @lgalfaso, I'll be happy to be proven wrong :smiley:)


Server Side Microtask Queue Emulation

Currently we just use a thread local queue to emulate the browsers microtask queue on the server. This isn't ideal when calling render_now for 2 reasons:

Multiple request handlers could run on the same thread at the same time, so render_now would process tasks from all requests.
A request handler could run on multiple threads so render_now could miss some tasks in multi-threaded runtimes.

One possible solution is to use tokios LocalSet and spawn_local. LocalSet implements Future, so we could keep blocking on it until it can't make any more progress.

Closed by #39


tests: add tests with github actions (kind) & Makefile: remove 'test-with-kind'

Commit 1
Add e2e tests for:

SGX admission webhook
FPGA admission webhook

Add a test for operator deployment
Commit 2
Makefile: remove target 'test-with-kind'

Codecov Report

Merging #858 (850b1c2) into main (4d43d0a) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 850b1c2 differs from pull request most recent head bb6c62e. Consider uploading reports for the commit bb6c62e to get more accurate results

@@           Coverage Diff           @@
##             main     #858   +/-   ##
=======================================
  Coverage   54.38%   54.38%
=======================================
  Files          39       39
  Lines        3604     3604
=======================================
  Hits         1960     1960
  Misses       1531     1531
  Partials      113      113

Continue to review full report at Codecov.

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

@hj-johannes-lee can you explain the reason for removing Makefile target? What should I do if I want to run this locally?

@bart0sh Well, I first saw that it is somewhat outdated. As you can see, the Makefile has only test for fpga webhook. So, when I asked Mikko about this matter, he said we can just drop the target.
If you think it would be better to just make it up-to-date with sgx webhook (would there be something else than this?), let me try.
@mythi What do you think?

Mikko about this matter, he said we can just drop the target.

right, it was with the assumption that we get kind install from of the actions. test-with-kind is outdated and hard to use. As we now install kind cluster manually we can of course update test-with-kind using the steps in this PR and make the new action just call make test-with-kind.

Closes: #623

@hj-johannes-lee can you fix failing CI/kind-test ?


Update Rust toolchain

Happy New Year @jac3km4, best wishes !
Simply bumps Rust toolchain to latest.
red4ext-rs tag version should probably be updated.

thanks for the PR,
rust-version in Cargo.toml specifies the minimum compatible Rust version, cargo will let you use a newer version, so I'd not bump it unless we're using a feature that was added in that particular version


docs: Add Conftest example

FYI - use the rebase and merge into the staging branch so we have a clean commit history when we eventually merge that one into master


There is no text in the settings and installation

not ready yet, will be finished in this weekend.


Fix for issue #1287 - don't list hidden files in directory listing

Hide hidden files in browse plugin, fixes #1287

Hey, this looks pretty good! I want to investigate that AppVeyor failure. Travis CI has a mechanism to overcome rate limits but I don't know how to do that with AppVeyor. I guess I could just trust that this works on Windows, but if there's a way to fix the CI environment here I think we should try to before merging -- or someone could confirm that it works on Windows for them.

I think that the fix is to create .gitcookies file as described in: https://github.com/golang/go/issues/12933 (you know the details as I can see from discussion)

I know how to do it on Travis but not Appveyor... but it looks like it worked now. :)

Yeah, it worked when I pulled master changes into branch :)

@mholt: I've exported and used IsHidden


pycuda: add recipe

Add recipe for installing pycuda python module.
Signed-off-by: Ilies CHERGUI<EMAIL_ADDRESS>Signed-off-by: Marek Belisko<EMAIL_ADDRESS>

Here is the result of the pycuda sample application dump_properties.py on the Jetson Nano devkit

root@jetson-nano-devkit:~# python3 ./dump_properties.py
1 device(s) found.
Device #0: NVIDIA Tegra X1
  Compute Capability: 5.3
  Total Memory: 4056460 KB
  ASYNC_ENGINE_COUNT: 1
  CAN_MAP_HOST_MEMORY: 1
  CLOCK_RATE: 921600
  COMPUTE_CAPABILITY_MAJOR: 5
  COMPUTE_CAPABILITY_MINOR: 3
  COMPUTE_MODE: DEFAULT
  CONCURRENT_KERNELS: 1
  ECC_ENABLED: 0
  GLOBAL_L1_CACHE_SUPPORTED: 1
  GLOBAL_MEMORY_BUS_WIDTH: 64
  GPU_OVERLAP: 1
  INTEGRATED: 1
  KERNEL_EXEC_TIMEOUT: 1
  L2_CACHE_SIZE: 262144
  LOCAL_L1_CACHE_SUPPORTED: 1
  MANAGED_MEMORY: 1
  MAXIMUM_SURFACE1D_LAYERED_LAYERS: 2048
  MAXIMUM_SURFACE1D_LAYERED_WIDTH: 16384
  MAXIMUM_SURFACE1D_WIDTH: 16384
  MAXIMUM_SURFACE2D_HEIGHT: 65536
  MAXIMUM_SURFACE2D_LAYERED_HEIGHT: 16384
  MAXIMUM_SURFACE2D_LAYERED_LAYERS: 2048
  MAXIMUM_SURFACE2D_LAYERED_WIDTH: 16384
  MAXIMUM_SURFACE2D_WIDTH: 65536
  MAXIMUM_SURFACE3D_DEPTH: 4096
  MAXIMUM_SURFACE3D_HEIGHT: 4096
  MAXIMUM_SURFACE3D_WIDTH: 4096
  MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS: 2046
  MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH: 16384
  MAXIMUM_SURFACECUBEMAP_WIDTH: 16384
  MAXIMUM_TEXTURE1D_LAYERED_LAYERS: 2048
  MAXIMUM_TEXTURE1D_LAYERED_WIDTH: 16384
  MAXIMUM_TEXTURE1D_LINEAR_WIDTH: 134217728
  MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH: 16384
  MAXIMUM_TEXTURE1D_WIDTH: 65536
  MAXIMUM_TEXTURE2D_ARRAY_HEIGHT: 16384
  MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES: 2048
  MAXIMUM_TEXTURE2D_ARRAY_WIDTH: 16384
  MAXIMUM_TEXTURE2D_GATHER_HEIGHT: 16384
  MAXIMUM_TEXTURE2D_GATHER_WIDTH: 16384
  MAXIMUM_TEXTURE2D_HEIGHT: 65536
  MAXIMUM_TEXTURE2D_LINEAR_HEIGHT: 65536
  MAXIMUM_TEXTURE2D_LINEAR_PITCH: 1048544
  MAXIMUM_TEXTURE2D_LINEAR_WIDTH: 65536
  MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT: 16384
  MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH: 16384
  MAXIMUM_TEXTURE2D_WIDTH: 65536
  MAXIMUM_TEXTURE3D_DEPTH: 4096
  MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE: 16384
  MAXIMUM_TEXTURE3D_HEIGHT: 4096
  MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE: 2048
  MAXIMUM_TEXTURE3D_WIDTH: 4096
  MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE: 2048
  MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS: 2046
  MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH: 16384
  MAXIMUM_TEXTURECUBEMAP_WIDTH: 16384
  MAX_BLOCK_DIM_X: 1024
  MAX_BLOCK_DIM_Y: 1024
  MAX_BLOCK_DIM_Z: 64
  MAX_GRID_DIM_X:<PHONE_NUMBER>
  MAX_GRID_DIM_Y: 65535
  MAX_GRID_DIM_Z: 65535
  MAX_PITCH:<PHONE_NUMBER>
  MAX_REGISTERS_PER_BLOCK: 32768
  MAX_REGISTERS_PER_MULTIPROCESSOR: 65536
  MAX_SHARED_MEMORY_PER_BLOCK: 49152
  MAX_SHARED_MEMORY_PER_MULTIPROCESSOR: 65536
  MAX_THREADS_PER_BLOCK: 1024
  MAX_THREADS_PER_MULTIPROCESSOR: 2048
  MEMORY_CLOCK_RATE: 12750
  MULTIPROCESSOR_COUNT: 1
  MULTI_GPU_BOARD: 0
  MULTI_GPU_BOARD_GROUP_ID: 0
  PCI_BUS_ID: 0
  PCI_DEVICE_ID: 0
  PCI_DOMAIN_ID: 0
  STREAM_PRIORITIES_SUPPORTED: 1
  SURFACE_ALIGNMENT: 512
  TCC_DRIVER: 0
  TEXTURE_ALIGNMENT: 512
  TEXTURE_PITCH_ALIGNMENT: 32
  TOTAL_CONSTANT_MEMORY: 65536
  UNIFIED_ADDRESSING: 1
  WARP_SIZE: 32
root@jetson-nano-devkit:~#

LGTM. Thanks.

Could you either split this into two commits, one for each recipe, or at least mention in the commit message that it also includes the pytools recipe? Otherwise, looks fine.

I wanted to do that initially (push two commits), I will do it now

@madisongh
Splitting the commit into two commits is done.


Explore go-mtree checks including SELinux labels

We should explore if go-mtree allows us to consistently check a rootfs-tree including, at least, the xattr that are devoted to SELinux.
The idea is to be capable to recreate the SELinux labels at any time and still keep the go-mtree result stable and consistent, so we can eventually check if they are not properly applied.
The use case is to:

Store the go-mtree results from a rootfs including SELinux Labels
Pack the rootfs into a container image (we loose xattr info in that process)
Upack the container including the rootfs into a filesystem
Re-apply the SELinux labelling
Check if go-mtree is consistent over the recently extracted rootfs compared with the check on step 1

Related to #135 and #22

The described procedure works, the issue I found is that luet install seams to include some cache in /var/cache/luet and even the cache is equivalent for two executions from the same exact repository the timestamps do not match. I could not find a combination of flags and configs that prevents that to happen. I tested with a repository setup such as:
repositories:
  - name: localrepo
    enable: true
    urls:
      - /root/repo
    type: disk
    cached: false

This is the experiment I did in a Leap 15.3 VM that has SELinux tools installed (required to relabel).
# install cos rootfs from PR#135 in to /root/testroot folder
> luet install --system-target /root/testroot --system-engine memory -y system/cos

# apparently luet set some cache I could not get rid of, deleting it
> rm -rf testroot/var/cache/luet

# no SELinux labels are set after installing the system/cos package
> ls -Z testroot/
? bin  ? boot  ? dev  ? etc  ? home  ? lib  ? lib64  ? mnt  ? oem  ? opt  ? proc  ? root  ? run  ? sbin  ? selinux  ? srv  ? sys  ? system  ? tmp  ? usr  ? var

# relabel the root tree under /root/testroot
> TARGET=/root/testroot
> setfiles -r ${TARGET} ${TARGET}/etc/selinux/targeted/contexts/files/file_contexts ${TARGET}

# SELinux labels are now applied
> ls -Z testroot/
       system_u:object_r:bin_t:s0 bin          system_u:object_r:lib_t:s0 lib       system_u:object_r:default_t:s0 proc            system_u:object_r:var_t:s0 srv            system_u:object_r:var_t:s0 var
      system_u:object_r:boot_t:s0 boot         system_u:object_r:lib_t:s0 lib64  system_u:object_r:admin_home_t:s0 root          system_u:object_r:sysfs_t:s0 sys
    system_u:object_r:device_t:s0 dev          system_u:object_r:mnt_t:s0 mnt       system_u:object_r:var_run_t:s0 run         system_u:object_r:default_t:s0 system
       system_u:object_r:etc_t:s0 etc      system_u:object_r:default_t:s0 oem           system_u:object_r:bin_t:s0 sbin            system_u:object_r:tmp_t:s0 tmp
 system_u:object_r:home_root_t:s0 home         system_u:object_r:usr_t:s0 opt                                    ? selinux         system_u:object_r:usr_t:s0 usr

# compute an mtree manifest including xattr
> gomtree -c -K xattrs -p /root/testroot/ > ~/root_after_labels.mtree

# install the cor rootfs to some other directory and repeat the process
> luet install --system-target /root/testnewroot --system-engine memory -y system/cos
> rm -rf testnewroot/var/cache/luet

> TARGET=/root/testnewroot
> setfiles -r ${TARGET} ${TARGET}/etc/selinux/targeted/contexts/files/file_contexts ${TARGET}

> gomtree -c -K xattrs -p /root/testnewroot/ > ~/newroot_after_labels.mtree

# check the manifest form /root/testnewroot against /root/testroot
> gomtree -K xattrs -p /root/testroot/ -f ~/newroot_after_labels.mtree
"var/cache": keyword "time": expected<PHONE_NUMBER>.637106465; got<PHONE_NUMBER>.153086983
".": keyword "time": expected<PHONE_NUMBER>.772085684; got<PHONE_NUMBER>.891225640
FATA[0004] mainfest validation failed

The check fails because of the mentioned changes in /var/cache/luet that are applied beyond container image extraction. To fully verify the procedure I did another execution of the above procedure but excluding the time keyword from the mtree manifest and adding sha512digest as an alternative not make the check too relaxed and I got successful results. IMHO we should always use both, sha512digest and time keywords for verification beyond xattr and the other defaults. Indeed I think a reasonable list of keywords for our use case could be: type,nlink,mode,uid,gid,size,xattr,link,sha512digest,time
@Itxaka I think the above is relevant for #126.
Regarding the luet issue to my eyes we are missing more fine grained control to what --system-target flag gives us. To my eyes the distinction of --root and --installroot that for instance zypper has is meaningful to this kind of use cases. Would be nice if there was a way to state the installation, but only the installation, should happen to an alternate root, however the config, cache and all other interactions luet has with the files system would be based on the current root.
I also could not manage to actually use luet util unpack form a local tarball image/package.

Regarding the luet issue to my eyes we are missing more fine grained control to what --system-target flag gives us. To my eyes the distinction of --root and --installroot that for instance zypper has is meaningful to this kind of use cases. Would be nice if there was a way to state the installation, but only the installation, should happen to an alternate root, however the config, cache and all other interactions luet has with the files system would be based on the current root.

On that, I think we have https://github.com/mudler/luet/blob/946524f90de7c4c9f579749f868b91f5f58f5750/contrib/config/luet.yaml#L100 which does this distinction for config files, but not for cache and temporarly data, I'm not the author of that part of code, so I'm not sure if would apply for caches too (but doesn't look like)

I also could not manage to actually use luet util unpack form a local tarball image/package.

yep, luet util unpack works only with container image references, it doesn't work with local tarballs

On that, I think we have https://github.com/mudler/luet/blob/946524f90de7c4c9f579749f868b91f5f58f5750/contrib/config/luet.yaml#L100 which does this distinction for config files, but not for cache and temporarly data, I'm not the author of that part of code, so I'm not sure if would apply for caches too (but doesn't look like)

Probably it would make sense to implement a cache_from_host flag or extend config_from_host functionality to include cache, even I think it makes sense to keep it separated for bootstrapping scenarios. Our cOS use cases in general are sort of a niche use cases.

cache_from_host

On that, I think we have https://github.com/mudler/luet/blob/946524f90de7c4c9f579749f868b91f5f58f5750/contrib/config/luet.yaml#L100 which does this distinction for config files, but not for cache and temporarly data, I'm not the author of that part of code, so I'm not sure if would apply for caches too (but doesn't look like)

Probably it would make sense to implement a cache_from_host flag or extend config_from_host functionality to include cache, even I think it makes sense to keep it separated for bootstrapping scenarios. Our cOS use cases in general are sort of a niche use cases.

Created https://github.com/mudler/luet/issues/208 :+1:


WIP: Init Gitlab protocol source

The idea is to load WIP protocols from wayland-protocols, so it is possible to read protocols that are not merged yet.
eg. https://wayland.app/protocols/wayland-protocols/124 would download and render screen copy protocol.
Examples:
MR with two files: https://deploy-preview-32--wayland-explorer.netlify.app/protocols/wayland-protocols/124
MR with one file: https://deploy-preview-32--wayland-explorer.netlify.app/protocols/wayland-protocols/211

Ok, this should be ready now, I'm not sure what url path would be the best, decided on /wayland-protocols for now


KubernetesCoordinator get null uid from UidEnvSupplier

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?

Bug

Which version of SkyWalking, OS, and JRE?
Skywalking 8.4.0-es6  running on Kubernetes cluster， Kubernetes server version 1.12, JRE openjdk version "1.8.0_292"

Which company or project?

What happened?
If possible, provide a way to reproduce the error. e.g. demo application, component version.

When the KubernetesCooridnator object creates, uid field get from the UidEnvSupplier is null
2021-04-25 09:29:54,270 - org.apache.skywalking.oap.server.cluster.plugin.kubernetes.KubernetesCoordinator -16079 [pool-3-thread-1] INFO  [] - [kubernetes cluster pods uid list]:[aae4de63-a5a8-11eb-825b-fe63899f72c5] 2021-04-25 09:29:54,271 - org.apache.skywalking.oap.server.cluster.plugin.kubernetes.KubernetesCoordinator -16080 [pool-3-thread-1] INFO  [] - [KubernetesCoordinator uid: ]:null]
https://github.com/apache/skywalking/blob/bf8574b07f01dcff681994e5fec599fe2bb7887b/oap-server/server-cluster-plugin/cluster-kubernetes-plugin/src/main/java/org/apache/skywalking/oap/server/cluster/plugin/kubernetes/KubernetesCoordinator.java#L55-L59
which resulted the Address isSelf flag always set to false when the RemoteInstance list is populated in queryRemoteNodes
https://github.com/apache/skywalking/blob/bf8574b07f01dcff681994e5fec599fe2bb7887b/oap-server/server-cluster-plugin/cluster-kubernetes-plugin/src/main/java/org/apache/skywalking/oap/server/cluster/plugin/kubernetes/KubernetesCoordinator.java#L62-L89
which caused the DataTTLKeeperTimer always skip not running the delete process.
https://github.com/apache/skywalking/blob/bf8574b07f01dcff681994e5fec599fe2bb7887b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/storage/ttl/DataTTLKeeperTimer.java#L74-L79

Requirement or improvement

Please describe your requirements or improvement suggestions.

add this configuration to let the code get the uid, the issue resolved.
    - name: SKYWALKING_COLLECTOR_UID
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.uid


Screen Capture when image height over 32000px，image is white.

Which version of PhantomJS are you using? Tip: run phantomjs --version.
phantomjs-2.1.1-windows
What steps will reproduce the problem?

Screen Capture when image height over 32000px，image is white.
2.
3.

Which operating system are you using?
Did you use binary PhantomJS or did you compile it from source?
Please provide any additional information below.

I also appeared this problem Did you solve it?


fix: correct event types for Windows

It looks like a couple of Windows-specific lines in iced_winit weren't updated to work with the current code. I think this should be right (at least, it fixes compiling on Windows), but it should probably get a double-check before merging.
There are still a few Windows bugs (#593 and #536), but I don't know if they are related to this (reasonably sure the first one isn't, not sure about the second one).

@wash2 Can this be merged ?


Support OSGi Factory Configurations

Hello,
I've just wrote an Ansible task to save a configuration:
---
- name: Enable logging
  wttech.aem.osgi_config:
    command: save
    pid: org.apache.sling.commons.log.LogManager.factory.config~tarmk.log
    props:
      org.apache.sling.commons.log.level: info
      org.apache.sling.commons.log.file: logs/tarmk.log
      org.apache.sling.commons.log.pattern: "{0,date,dd.MM.yyyy HH:mm:ss.SSS} *{4}* [{2}] {3} {5}"
      org.apache.sling.commons.log.names:
        - org.apache.jackrabbit.oak.segment

But it didn't match the factory and ended up like this:

Is there a way to provide the factory PID? I didn't find an appropriate flag in the CLI help.
Or maybe it could be deduced from the configuration PID?
Cheers!
Piotr

In GAP the case have been covered. Please review the both impls to find the meaningful difference. Then propose a fix. Thx! 😁

Probably tilde should be changed to dot underscore or hyphen or sth

https://github.com/wttech/aemc/pull/140

fixed by #140 ; thanks @piotr-andruszkiewicz-wttech


Aliasing commands

It doesn't look like it is possible to have aliases for [sub-] commands?
For example:
some-app cp|copy SRC DEST

Should this be supported?

@gotwarlost Looks useful and relevant to me 👍
Want to give it a shot ? It shouldn't be too hard to implement. Something like:
.Command("copy cp", "Copy files around", func(cmd *cli.Cmd) {
    // initialize the run command here
})

Then split the command name around spaces.

I should add: this is a wonderful library that has become the de-facto standard where I work.

@gotwarlost

OK, let me take a crack when I get some time.

Don't hesitate to ask if you have any question 👍

I should add: this is a wonderful library that has become the de-facto standard where I work.

Thank you so much for the kind words ! Glad to receive such feedback and to know that something I built proves useful to others 😀

@gotwarlost: FYI: I took a stab at this in #40. :)


rustPlatform: forward unpack hooks to cargo fetch

Description of changes
Sometimes it's more ergonomic to set up the build environment in hooks, to add to the default behaviour rather than replacing it.  It's very surprising that the fetcher works fine with a custom unpackPhase, but not with custom preUnpack or postUnpack.
Packages that use preUnpack or postUnpack and Cargo FODs seem to be very rare.  I searched Nixpkgs for files containing one of cargoHash, cargoDeps, and cargoSha256, and one of preUnpack or postUnpack, and only found two such packages: python3.pkgs.tokenizers and rustdesk.  Neither of their Cargo FOD hashes are affected by this change.  So if that's any indication, we're unlikely to be breaking many out-of-tree hashes with these changes either.
Here's an example of where this is useful.  I want to apply a patch to a crate dependency, so I patch the program to use a local crate override, then unpack the crate in postUnpack.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

lgtm if rebuild count looks right

Unfortunately, because these are FODs, none would be rebuilt even if the outputs did change. :/

oops, didn't think about that
anyway, lgtm then. btw I don't think python3.pkgs.tokenizers is affected by this since it doesn't use buildRustPackage


How to unit test ServerlessHub

What version of .NET does your existing project use?
.NET 6
What version of .NET are you attempting to target?
.NET 8
Description
After the migration to .NET 8, in order to use SignalR with Azure Functions, it's required to inherit from ServerlessHub. This is no longer unit testable or at least I couldn't find a way to do so.
Here's an example code that I want to unit test.
using DT.Common.Enums.WebSocket;
using DT.Host.Common.Contract.LocalAuthentication;
using DT.Host.SignalRProcessor.Contract;
using Microsoft.Extensions.Logging;
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Azure.Functions.Worker;
using Microsoft.Azure.Functions.Worker.SignalRService;
using Microsoft.AspNetCore.SignalR;
using Newtonsoft.Json;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using FromBodyAttribute = Microsoft.Azure.Functions.Worker.Http.FromBodyAttribute;
using System.Diagnostics.CodeAnalysis;

namespace DT.Host.SignalRProcessor.Functions
{
    [SignalRConnection("ConnectionStrings:SignalR")]
    [ExcludeFromCodeCoverage]
    public class SignalRMessageProcessor : ServerlessHub
    {
        private const string HubName = "digitaltrust";

        private readonly IAuthenticationManager _authenticationManager;
        private readonly ILogger<SignalRMessageProcessor> _logger;

        public SignalRMessageProcessor(
            IServiceProvider serviceProvider,
            IAuthenticationManager authenticationManager,
            ILogger<SignalRMessageProcessor> logger) : base(serviceProvider)
        {
            _authenticationManager = authenticationManager;
            _logger = logger;
        }

        [Function("negotiate")]
        public async Task<IActionResult> Negotiate(
            [HttpTrigger("get", Route = "negotiate/{userId}")] HttpRequest req,
            string userId)
        {
            var statusCode = Authenticate(req);
            if (statusCode != StatusCodes.Status200OK)
            {
                return new StatusCodeResult(statusCode);
            }
            _logger.LogInformation($"userId: {userId}; Negotiate Function triggered");

            var negotiateResponse = await NegotiateAsync(new() { UserId = userId });

            var response = JsonConvert.DeserializeObject<SignalRConnectionInfo>(negotiateResponse.ToString());

            return new OkObjectResult(response);
        }

        private int Authenticate(HttpRequest req)
        {
            req.Headers.TryGetValue("Authorization", out var authHeader);
            if (authHeader.FirstOrDefault() is null)
            {
                return StatusCodes.Status403Forbidden;
            }
            var token = authHeader.First().Trim();
            if (token.StartsWith("basic", StringComparison.OrdinalIgnoreCase))
            {
                try
                {
                    _authenticationManager.Authenticate(token);
                    return StatusCodes.Status200OK;
                }
                catch (UnauthorizedAccessException)
                {
                    return StatusCodes.Status401Unauthorized;
                }

            }
            return StatusCodes.Status401Unauthorized;
        }
}

Any guidance on this is appreciated. I tried mocking IServiceProvider with no luck.
Project configuration and dependencies
No response
Link to a repository that reproduces the issue
No response

You could have a constructor specially for testing calling the ServerlessHub constructor here. The testing constructor would be like:
  public SignalRMessageProcessor(
      ServiceHubContext serviceHubContext,
      IAuthenticationManager authenticationManager,
      ILogger<SignalRMessageProcessor> logger) : base(serviceHubContext)
  {
      _authenticationManager = authenticationManager;
      _logger = logger;
  }

You can also mock the abstract class ServiceHubContext for testing.

@Y-Sindo Thanks a lot for the reply.
I don't think I follow your suggestion, the code you provided is injecting the ServiceHubContext  but we're really inheriting from the ServerlessHub class.
Is your suggestion to change my production code to include the constructor you posted only for testing purposes?
Thanks again for the feedback!

Is your suggestion to change my production code to include the constructor you posted only for testing purposes?

Yes. This is a common practice that we use a different constructor for testing. You may find many examples in other .NET codes. As the main purpose of IServiceProvider parameter is to provide a ServiceHubContext instance to the serverless hub, it nearly has the same effect to just replace it with a mocked ServiceHubContext in your testing.

I was able to add coverage by doing this. Thanks for your suggestion!


Flake8 test failed

I have faced issue with flake8 tests in post gen hook.
Steps to reproduce:
test % docker run -ti -v $PWD:/app -w /app python:3.8 bash
root@728b016278ec:/app# ls
root@728b016278ec:/app# pip install --upgrade cookiecutter
root@728b016278ec:/app# cookiecutter gh:f213/django
project_slug [django]: test

The error:
Running flake8..
./app/models.py:3:1: I004 isort found an unexpected blank line in imports
./app/asgi.py:11:1: I004 isort found an unexpected blank line in imports
./app/pagination.py:2:1: I004 isort found an unexpected blank line in imports
./app/pagination.py:3:1: I001 isort found an import in the wrong position
./app/wsgi.py:11:1: I004 isort found an unexpected blank line in imports
./app/admin/__init__.py:1:1: I003 isort expected 1 blank line in imports, found 0
./app/admin/__init__.py:2:1: I001 isort found an import in the wrong position
./app/management/commands/makemigrations.py:2:1: I004 isort found an unexpected blank line in imports
./users/admin.py:3:1: I003 isort expected 1 blank line in imports, found 0
./users/urls.py:2:1: I003 isort expected 1 blank line in imports, found 0
ERROR: Stopping generation because post_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)

Gist logs: https://gist.github.com/teke97/557231333e9d715087cfe690575e6ede
Tested with docker images python:3.8, python:3.7 and python:3.9 (same result).

Isort configuration is explicit now, and should not fail under any environment. Thank you so much!


Property  wont show in MSIE

It seems the width and height is not interpreted as expected in MSIE 11 (edge)

Also better to fill the stripe with the whole height

It does not work for Firefox 38 either.


[Bug]: file Parsing failed

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Branch name
main
Commit ID
2afe7a7
Other environment information
当前仓库的名称是：ragflow
当前目录的Git版本号是: 2afe7a7
操作系统: Ubuntu 22.04 (内核版本: 6.5.0-27-generic)
CPU类型：x86_64
内存容量：
Docker版本：26.0.1,
Python版本：Python未安装

Actual behavior

can't parse any file.
removed all docker volume, not working.
Expected behavior
No response
Steps to reproduce
1. Normal deployment.
2. Create a knowledge base.
3. Upload any document.

Additional information
No response

Upgrade to latest dev version of the docker image. Problem solved.


add sponsors

Closes #8
Added new sponsor logos
Current Image:

Lol yes, when I saw your commits I was cringing that I missed them. Thanks @grant


Unknown css selectors throw an exception

At first glance, this makes sense, but unfortunately Chrome (for example) is not familiar with (some?) of the Mozilla prefixed selectors and hence those break this polyfill.
For instance, having this selector (taken from an example on MDN, but also part of the HTML5 Boilerplate's normalize.css):
button::-moz-focus-inner
will make this code throw:
https://github.com/FremyCompany/css-regions-polyfill/blob/f508484fbe5d4f208c3592a4e71e729e06582169/src/core/css-cascade.js#L132-L140
Specifically, line 133 will right away break.
I wonder if this is necessary. I am pretty sure if the selector would simply be ignored, everything would continue to run smoothly. Unknown selectors can be safely skipped after all.

It throws, but this is not blocking the code. The error is caught and rethrown in the setImmediate. I do that so there is a warning in the code when a selector is incorrect. It is probably ok to remove the catch() handling but it is not an issue except that it logs messages that are unwanted in the console.

Hi @FremyCompany, you are completely right of course! This does (fortunately) not block any code. When I see an uncaught exception pop up in my console however, I'll investigate it. So it took me a few moments to realise this is not an actual problem and I dare to assume I am not the only dev who took the time to do that. Since it is absolutely not relevant for any part of the algorithm, I wholeheartedly agree that the catch()-handling can go. I can create a PR for that if you agree.

I went ahread and fixed this in https://github.com/FremyCompany/css-regions-polyfill/commit/d40c91b388b490cf29fb92ab307f67e5c5015c6c

Awesome, thanks!


Would a box predict two classes?

Since the box filtering progress is done across all classes. What if a box predicts two classes? Which means, one box has two class scores higher than the confidence threshold, so this box is kept twice with two different classes. Then in fast nms, they are all kept luckily. Then it comes with this case: the same box predicts two (or more) classes. Would this situation be possible?

Yup, in theory that should be able to happen. However, in practice since the network is trained to only output 1 class with softmax, if a detection decides it wants to be 2 classes at once, both scores would be low and some other box would likely suppress it during NMS.
What's far more common and actually happens quite frequently is when two very similar detections with different classes detect the same thing and both survive, line the car / truck in this image:

 I add this piece of code:

    box_list = np.array(boxes.cpu()).tolist()
    ss = []
    print()
    print(len(box_list))
    for aa in box_list:
        if aa in ss:
            print('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~')
        else:
            ss.append(aa)
    print(len(ss))

to here.
https://github.com/dbolya/yolact/blob/29e809e563d0c3e6c47c5c6716b8cc81686a2b24/layers/functions/detection.py#L176-L179
Directly inspect that if there is any repeated box in boxes. If there are repeated boxes, this means there are boxes detecting more than one class, right? Then I found quite a lot repeated boxes.

Ah yeah so see that comment up there about the second threshold?  That's more of a bug that slightly increase mAP so I left it in than an actual phenomenon. If you set second_threshold=True at the top of the function then you should observe far fewer of those duplicates.

@dbolya  by using the second_threshold=True will i always get only detection box even if my score_threshold is low

@abhigoku10 That shouldn't be the case. Is that for your custom dataset?

@dbolya yes mine custom dataset

@abhigoku10 I just tested it on COCO and everything's working as expected. In your custom dataset results, do you have any high scoring detections that have no mask? Maybe that's what's causing that.

@dbolya  wokay i shall check that one more time , but i have double mask overlapping on each other with double detection and confidence score

Since this has been open so long, I'm going to close it. Feel free to reopen if you have any updates.

Yup, in theory that should be able to happen. However, in practice since the network is trained to only output 1 class with softmax, if a detection decides it wants to be 2 classes at once, both scores would be low and some other box would likely suppress it during NMS.
What's far more common and actually happens quite frequently is when two very similar detections with different classes detect the same thing and both survive, like the car / truck in this image:

@dbolya is there any way (parameter setting, additional code) to suppress one of the classes in case an object has two different class detections? In your example, is there a way to only have car or only truck (decision should be made on the highest confidence score I suppose?)


Repeating segments

I'm trying to fetch repeating EQD segments from a EDIFACT BICS IFTMIN document however, it seems this library does not support this.
foreach ($oMessage->getSegments('EQD') as $oSegmentEqd) {
    $oSegmentMea = $oSegmentEqd->getSegment('MEA');
}

Hi @davidvandertuijn, can you elaborate on how it doesn't support it?
Are you getting some kind of error? Or does getSegments() return an empty iterator?
Also can you provide a sample file to reproduce the issue with?

Hi @duncan3dc thanks for your fast reply. This error occurs:
Call to undefined method Metroplex\Edifact\Segments\Segment::getSegment()

Ah ok, so although that diagram represents it as a "nested" structure, EDIFACT doesn't actually support nesting, it just lists elements one after another.
You'd need to loop around all the elements, taking note of when the EQD segment appears, and then the segments that follow it.
Something a bit like this:
$items = [];
$key = -1;
foreach ($oMessage->getAllSegments() as $oSegment) {
    $code = $oSegment->getSegmentCode();

    if ($code === 'EQD') {
        ++$key;
    }

    if (in_array($code, ['MEA', 'SEL', 'RFF'], true)) {
        $items[$key][$code] = $oSegment;
    }
}

foreach ($items as $children) {
    $oSegmentMea = $children['MEA'];
}

Hope this helps!

Quick work-arround however, i'm worried what will happen if a segment exists with the same name outside the EQD block, for example UNB -> UNH -> GR18 -> GID -> GR29 -> SGP -> MEA. that MEA overwrite to the previous EQD block.

You could add some more protection to the code above, but without specific end segments for the EQD section (which I don't think you have?) it's not going to be that reliable.
It's unfortunate the EDIFACT doesn't support nesting segments like XML and other serialization formats


Custom admdebian

I think that is very usefull to have coordinates in event messages.
When I got a message on telegram I know where the event appens.
Where should we put this change?

@Admdebian is , 8 altitude ?
u added lat,long.. missed altitude. can be usefull to see if is not fixed (bot detection)


Add initial point-cloud UI with controls for base size, max attenuation, etc.

Presently there are no user-facing controls for extension users to edit the size and other parameters of point-cloud data to fit their needs. We need to add a UI, similar to Unity. The initial controls should allow control of the base point size at least.

For reference, these are the controls for Cesium for Unity:


sns.scala publish doesn't actually return a Future[PublishRequest]

def publish(     topicArn: String,     message:  String   ): Future[PublishResult] =     publish(new PublishRequest(topicArn, message))
The method above says it returns a Future[PublishResult]
However, this calls :
  def publish(     publishRequest: PublishRequest   ): Future[PublishResult] =     wrapAsyncMethod(client.publishAsync, publishRequest)
which returns wrapAsyncMethod(client.publishAsync, publishRequest)
which actually returns a Future[Nothing]
This means you cannot tell if you have successfully publishes to SNS.

@jranks123
I have forked this repo and published it under version 0.9.0
https://github.com/mingchuno/aws-wrap
Can you please check if you still have any problems? If yes, please submit a PR there


Stack overflow compiling examples/dependent-type-checker.hvm

Documents/hvm〉cargo run compile examples/dependent-type-checker.hvm
    Finished dev [unoptimized + debuginfo] target(s) in 0.02s
     Running `target/debug/hvm compile examples/dependent-type-checker.hvm`

thread 'main' has overflowed its stack
fatal runtime error: stack overflow

This appears to happen during compilation (as it happens with hvm run and hvm compile)

This is because we have some recursive functions that were not rewritten as non-recursive yet.
You can make this work by compiling on release mode (the Rust debug mode uses bigger stack frames):
cargo run --release -- run examples/dependent-type-checker.hvm 0

If still in need of bigger stacks, one can use the hack at: https://github.com/Kindelia/Kind2/blob/master/src/main.rs#L38
Also, in that repo Victor already wrote a bigger implementation that will turn into Kind version 2:
https://github.com/Kindelia/Kind2/blob/master/src/kind2.hvm

Do you know which recursive function is the problem? I can have a go at fixing it

I've found it I think: rulebook::sanitize_rule::sanitize_term, I can make this tail recursive using CPS if that's ok?

This overflow is triggered by the long strings in examples/dependent-type-checker.hvm, so I suggest a better compile time string representation would be a good fix for this.
Currently this requires strings over 550 characters long, so hvm as it is currently should be able to support expressions with depths up to 550 or so. That is most likely more than sufficient for most use cases.

Is the issue gone on master? Please reopen if not.


Styling

Coverage remained the same at 90.32% when pulling f2b37edc56284a6e60d70e015331a05e6005cf8d on styling into 895c011433b9eefff3c79b0b37636d1f36f2dd98 on development.


User request: Sticky shapes on current games

From forum: https://lichess.org/forum/lichess-feedback/marks-during-the-game-on-the-table
User wants to be able to retain the shapes drawn during a game. These could be stored locally, but there is an issue of cleaning them up.

I think I misunderstood the request. He wants to mark a square for the entirety of the game. That's not something i am willing to implement.


Remove several deprecations

Hi,
i updated the inx to be recent and correct without any errors now. Please see https://wiki.inkscape.org/wiki/index.php/INX_extension_descriptor_format for reference, as well as https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/000_validate.sh

Thank you!


Added volumio adapter

RE-CHECK!

Automated adapter checker
ioBroker.volumio

:thumbsup: No errors found

[ ] :eyes: [W400] Cannot find "volumio" in latest repository

Add comment "RE-CHECK!" to start check anew

Have I forgotten anything?

Hi,
her emy review commemts:

please also add the "info" channel in the instanceObjects :-)
you might want to catch error slike https://github.com/a-i-ks/ioBroker.volumio/runs/1866445280#step:6:367, else the adapter might crash directly when unconfigured?!
please make sure to also close the http server you open in unload - basically cleanup ALL resources!!

Thank you for checking and adjusting that

Thanks for the review and comments. This is my first JavaScript project and I am still learning. I will be fixing this. How should I proceed regarding this? The current version (0.1.0) is already released. That means I will now incorporate the review comments into a 0.1.1 and then adapt this pull request.

Exactly, just leave open here and update the PR with new version and ping us for another review round :-)

All review comments have been implemented

Hey, without conflig like started in testing you still have some missing error handling ... https://github.com/a-i-ks/ioBroker.volumio/runs/1931436539?check_suite_focus=true#step:6:375
Please catch such stuff and add proper checks

The problem should be fixed now. The tests run without unhandled exceptions. Thanks for the feedback.

Thank you!


[move-vm] Reduce VALUE_DEPTH_MAX to 128 + enable release build for CLI

PR #95 is experiencing stack overflows in some unrelated tests. After some analysis, it appears that is caused by some stress tests in BCSTests and EventTests which construct (via generics) types which have a nesting depth of 256 and are excercising the VALUE_DEPTH_MAX constant in the VM. In debug builds this constants value is simply to high, as it triggers the recursive computation of a TypeLayout.
This PR reduces the size of VALUE_DEPTH_MAX to 128 and adopts the existing tests accordingly. A max depth of 128 seems more than sufficient. (It means, in practice, that a user cannot nest more than 128 struct types.)
The PR also enables release builds of the Move CLI and therefore unit tests. This will allow in the future to analyze such failures, as it is well known that Rust in debug mode has huge stack consumption. However, it does not enable (yet) CI testing in release mode, because unfortunately, this would disable all kind of debug_assert! in our code. (We should eventually make all such assertions available also in release builds.)
Have you read the Contributing Guidelines on pull requests?
Yes

/land


Allow exclusion of content ids from most popular block

 Quiz on CPG's site showing under what's trending


Replace action object not working

Hi,
I try to replace the default start and edgecut action button, but, with this code not working. It's start the default start routine. I used this with the previous card (0.3.2), and it was worked.

actions:
  start:
    service: script.mower_start_mow
  edgecut:
    service: script.mower_start_cut_to_edge
shortcuts:
  - name: Teszt
    service: script.mower_start_mow
    icon: mdi:bell

With "Teszt" button works fine.
I cleared the cache of my browser, but no change.

Release: [1.0.4]
Browser: [chrome]
HomeAssistant version: [2024.3.3]
Landroid_cloud integration [4.0.3]

I'm sorry.
I forgott to describe new actions objects.
New actions are start_mowing, edgecut, pause and dock

Thanks, it's work fine now! :)


Added a troubleshooting page to the project guide.

Fixes #252

:shipit:
Although would it be worth listing the docker management commands for when you log in via ssh?
Like:
docker ps show active docker containers
docker ps -a show all docker containers including stopped/crashed ones
docker logs <hash-from-docker-ps>/docker logs --follow <hash-from-docker-ps>
clusternator log does automate those commands, but sometimes they're handy just in case.  Plus if we add the docker commands we might also need to explain the presence of the AWS-ECS docker container (clusternator log-ecs)... that might be an "advanced" chapter?

Yes that's a good suggestion; I'll do that.


Aaron margosis 20190522

Always process PE files even with non-standard file extensions (minus extensions that should never be PE files such as .txt);
Skip processing .js files by default; override switches available.


[pulsar-function] fix broken backward compatibility with v1-namespace while registering function

Motivation
user can't register function with v1 namespace

run cpp tests
run java8 tests

run java8 tests


TileMap map_to_world and world_to_map do not account for TileMap node positions that are not at (0,0)

Godot version:
3.2.1.stable.custom_build
OS/device including version:
Linux version 5.5.11-arch1-1 (linux@archlinux) (gcc version 9.3.0 (Arch Linux 9.3.0-1)) #1 SMP PREEMPT Sun, 22 Mar 2020 16:33:15 +0000
Issue description:
When a TileMap's node position is altered from (0, 0) the map_to_world and world_to_map functions do not account for the node position. This causes incorrect world and map positions to be returned, respectively.
For example, in my current project I have a TileMap as a child of a Node. The project has a screen size of 1920x1080. The TileMap is set to isometric with tile sizes of 96x49. The TileMap position was changed to (960, 294). This correlates to a map position of (0, 0) at a world position of (960, 294). However, when this position is converted with world_to_map it returns a map position of (16, -4) which is what the position would be if the TileMap position was (0, 0).
To get the proper positions for world_to_map the function must first subtract the TileMap's position vector from the world position vector prior to performing the world_to_map transformation.
To get the proper positions for map_to_world the function must add the TileMap's position vector to the world position vector returned by the map_to_world transformation.
GDScript fix example:
extends TileMap

func world_to_map(w_pos):
	# godot does not handle world_to_map transformation correctly when
	# the tilemap's position is not at (0, 0). We must offset our point
	# by the position of the tilemap
	return .world_to_map(w_pos - position)

func map_to_world(m_pos, ignore_half_ofs=false):
	# godot does not handle map_to_world transformation correctly when
	# the tilemap's position is not at (0, 0). We must offset our point
	# by the position of the tilemap
	return .map_to_world(m_pos, ignore_half_ofs) + position

Minimal reproduction project:

Create a new 2D scene with a Node as root. My project is also using a screen size of 1920x1080.
Add a TileMap node as a child of the root. Configure to be isometric with cells of 96x49.
Alter the TileMap node position to be something other than (0, 0), for example (960, 294).
Try to programmatically obtain the map position of any tile, for example the top most tile. The position returned will still reflect a TileMap node position at (0, 0).

Based on the PR #38551 to fix this potential bug, it was decided, that the local transform is correct and the documentation needs to be changed (to clearly state local transform / coords).
If you need global data simply use the node2d functions "to_global" for output of map_to_world and "to_local" for input of world_to_map.
From my point of view, this issue can be closed, after the official API documentation was corrected.

Fixed by #45919.


initial support for mapping types

Work in progress, don't merge.

cool!!

@yann300 btw feel free to review and intervene early. Particularly in src/ui/SolidityState.js and the call to storageViewer.storageRange, that will probably get refactored to support getting preimages using debug_preimage (see https://github.com/ethereum/go-ethereum/pull/3543 and https://github.com/ethereum/go-ethereum/pull/3407).

yeah the length here is not really relevant. but removing  this breaks tests


Could you provide a set of test vectors separate from the code?

I would like to implement in C#. To do this I need test vectors.
I do not want to look at your code for obvious reasons - I want to see if the spec is clear enough to implement independently.

Thanks for bringing this up! I agree that this would be good to have - it's been on our to-do list for a while.. I'll push it more towards the top of my own stack, and will keep you posted!

Thanks.
In case you are interested, it is so that I can check the Quantum Secure
recovery box on the new user-centered PKI I am currently working on. This
is where it will fit:
http://mathmesh.com/Documents/draft-hallambaker-mesh-advanced.html
The idea is that if we do hit quantum computing insecurity, then we will
need to switch to symmetric techniques. And having a QCR signature scheme
at least gives us a bootstrap.
My gut feeling is that Quantum computing won't scale. Or at least we are
30-100 years off working out how to make it scale. It may well require
completely different physical principles to keep quantum systems coherent
for macro timescales.
On Tue, Sep 4, 2018 at 11:27 PM, Joost Rijneveld<EMAIL_ADDRESS>wrote:

Thanks for bringing this up! I agree that this would be good to have -
it's been on our to-do list for a while.. I'll push it more towards the top
of my own stack, and will keep you posted!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/joostrijneveld/xmss-reference/issues/5#issuecomment-418587789,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB8lUOpzQvy0ly75BQ26uwoivIMLuCC-ks5uX0SngaJpZM4WaG2f
.

Resolved by #11

I am considering adding at least the XMSS-MT verify code path to OpenSSL..
Is there any chance of doing this in a similar manner to the LMS/HSS RFC (See https://www.rfc-editor.org/rfc/rfc8554.html#appendix-F)?
I assume that was what was meant by "Could you provide a set of test vectors separate from the code?"


Error No Requests

picopayments-cli --testnet status
Traceback (most recent call last):
File "/usr/local/bin/picopayments-cli", line 10, in
from picopayments_cli import api
File "/usr/local/lib/python3.4/dist-packages/picopayments_cli/api.py", line 8, in
from picopayments_cli.rpc import JsonRpc
File "/usr/local/lib/python3.4/dist-packages/picopayments_cli/rpc.py", line 8, in
import requests
ImportError: No module named 'requests'
Just following the testing guide in the Github.  Not sure if I missed any prerequisites?

I added the missing requirement, can you reinstall and see if it fixes your problem?
$ sudo pip install picopayments-cli --upgrade
$ picopayments-cli version
"0.2.1"

In the output of pip freeze you should be able to find requests==2.12.4

That fixed it.  Much appreciated!

Thank you for the bug report!


progress bar

VSCode Version: 1.0
OS Version:OS X 10.11.3

There should be a progress bar when I install some extensions.

Related to #637

There is now progress when installing extensions.


Error in PowerShell Script

In the powershell script for: "Quick agent installation in multiple servers" (step 4) there's a mismatched variable - $password should be $myCreds.
incorrect:
Register-AzureADConnectHealthADDSAgent -UserPrincipalName $USERNAME -Credential $password
correct:
Register-AzureADConnectHealthADDSAgent -UserPrincipalName $USERNAME -Credential $myCreds

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

ID: eb5cf254-9d8e-de7a-30e8-487b68205bc2
Version Independent ID: 28bc66e2-0de2-73e6-8cb8-243daab81628
Content: Azure AD Connect Health Agent installation
Content Source: articles/active-directory/hybrid/how-to-connect-health-agent-install.md
Service: active-directory
GitHub Login: @zhiweiwangmsft
Microsoft Alias: billmath

#sign-off

@scheblein Thank you for pointing this out . We have checked this and the pull request has been initiated to update the document and it will go live once the same is approved.
@Potapy4 Thank you for your contribution.

@scheblein
This has been merged to the Private branch and it will go live in the next 24 hours or so as per internal merge cycle. Sometimes this may get delayed due to various reasons but the change will be up soon.
We are closing this issue now . In case you still do not see the change after 48 hours max , please tag me to your reply and reopen this issue and I would be happy to help .
Thank you for contributing to Azure documentation.


sqlite3 files aren't detected correctly

Hi. Interesting project!
When I run it against one of my directories, I found it has some problems with sqlite3 files.
Simple example:
sqlite3 y.db 'create table y ( int id )' ; magika y.db ; file y.db

y.db: ISO 9660 CD-ROM filesystem data (archive)
y.db: SQLite 3.x database, last written using SQLite version 3037002, file counter 1, database pages 2, cookie 0x1, schema 4, UTF-8, version-valid-for 1

In most cases, a sqlite3 file is detected as ISO 9660, but I also had one case of RedHat Package Manager archive

looks pretty much broken
cd ~/Library/Application\ Support/CallHistoryDB/
magika -s CallHistory.storedata
CallHistory.storedata: ISO 9660 CD-ROM filesystem data (archive) 99%

file CallHistory.storedata
CallHistory.storedata: SQLite 3.x database, last written using SQLite version 3032003

binwalk CallHistory.storedata
DECIMAL       HEXADECIMAL     DESCRIPTION
--------------------------------------------------------------------------------
0             0x0             SQLite 3.x database,

Thanks @ujaehrig. sqlite is not in the currently supported content types, but noting this down for v2. Thanks!

Hi @reyammer, thank you. I had seen the document of the supported filetypes too late (maybe should be show more prominent on the page ;-) , but was surprised it's not supported yet. But thank you for the heads-up!
I'm closing the ticket for the moment.

no worries. tagged as "to import to our KB" so that we keep this into account (see #152 for context). sqlite is indeed very relevant and should be supported. thanks for reporting!


"Approach A" not working as intended?

When the new Xcode beta with Swift 1.2 was released I thought of trying a singleton pattern using the new class constant, similar to your "Approach A: Class constant". The problem I'm having with this is that it seems that multiple instances of the class are created and not just one as intended.
I posted a question about this at Stack Overflow:
http://stackoverflow.com/questions/28619176/singleton-pattern-in-swift-1-2

Perhaps try this:
class Singleton {
    private init() {}
    static let sharedInstance: Singleton = Singleton()
}

This is interesting.  I noticed the same behavior in the debugger but don't actually think multiple instances are getting created.  If you put a logging statement in the Init() it will only get called once and if you open up instruments and check Allocations, you'll see only one instance of the singleton

Yes, I've pretty much came to the same conclusion. Closing issue.